Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a terminal to which a device for adjusting the brightness of a perspective image in a hardware operating environment according to an embodiment of the present invention belongs.
The terminal of the embodiment of the invention can be a PC. As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in a direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile terminal; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operation server, a network communication module, a user interface module, and a program for adjusting the brightness of the fluoroscopic image.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be used to call up an adjustment program for the brightness of the fluoroscopic image stored in the memory 1005.
In this embodiment, the apparatus for adjusting the brightness of a fluoroscopic image includes: a memory 1005, a processor 1001 and a program for adjusting the brightness of the perspective image, which is stored in the memory 1005 and can be run on the processor 1001, wherein when the processor 1001 calls the program for adjusting the brightness of the perspective image stored in the memory 1005, the following operations are performed:
determining a target gray scale range based on performance parameters of the detector;
acquiring a first perspective image, and calculating a gray average value of the first perspective image;
determining whether the mean grayscale value is within the target grayscale range;
and when the gray average value is not in the target gray range, sending a voltage signal to a high voltage generator to adjust the perspective dose so as to enable the gray average value of a second perspective image to be in the target gray range, wherein the second perspective image comprises the perspective image acquired after the perspective dose is adjusted.
Further, the processor 1001 may call the adjustment program of the brightness of the fluoroscopic image stored in the memory 1005, and also perform the following operations:
acquiring performance parameters of a detector, and determining a target gray value based on the performance parameters;
and calculating the target gray scale range based on the target gray scale value and a first preset formula.
Further, the processor 1001 may call the adjustment program of the brightness of the fluoroscopic image stored in the memory 1005, and also perform the following operations:
acquiring an initial perspective dose, and acquiring the first perspective image based on the initial perspective dose;
and acquiring the pixels of all the pixel points in the first perspective image and the number of the pixel points, calculating the average value of the pixels, and taking the average value as the gray average value.
Further, the processor 1001 may call the adjustment program of the brightness of the fluoroscopic image stored in the memory 1005, and also perform the following operations:
when the gray average value is smaller than the minimum target gray, sending a first voltage value to a high-voltage generator, and increasing the perspective dose;
calculating a first waiting time for the high voltage generator to increase the perspective dose;
and sending a reference voltage to a high voltage generator when a first waiting time is reached, wherein the first voltage value is smaller than the reference voltage.
Further, the processor 1001 may call the adjustment program of the brightness of the fluoroscopic image stored in the memory 1005, and also perform the following operations:
when the gray average value is larger than the maximum target gray, a second voltage value is sent to the high-voltage generator, and the perspective dose is reduced;
and calculating a second waiting time for the high-voltage generator to reduce the perspective dose, and sending a reference voltage to the high-voltage generator when the second waiting time is reached, wherein the second voltage value is greater than the reference voltage.
Further, the processor 1001 may call the adjustment program of the brightness of the fluoroscopic image stored in the memory 1005, and also perform the following operations:
obtaining a maximum gray value based on the performance parameter of the detector;
and acquiring a dark field gray level average value of the dark field image, and calculating the first waiting time according to a second preset formula.
Further, the processor 1001 may call the adjustment program of the brightness of the fluoroscopic image stored in the memory 1005, and also perform the following operations:
when the mean gray level of the first perspective image is within the target gray level range, sending a reference voltage to the high voltage generator;
and acquiring the current perspective dose of the high voltage generator, and performing stable perspective based on the current perspective dose.
The invention further provides a method for adjusting the brightness of the perspective image. Referring to fig. 2, fig. 2 is a flowchart illustrating a data processing method according to a first embodiment of the present invention.
In this embodiment, the method for adjusting the brightness of the perspective image includes the following steps:
step S10, determining a target gray scale range based on the performance parameters of the detector;
in this embodiment, the performance parameter of the detector includes a maximum range of the output image expressed in binaryFor example, the data in the image is represented by 12 bits, and the maximum value can be represented by 4096 bits, 14 bits, and 16383. A target gray value can be determined from the performance parameter of the detector, which is typically one half, one third, etc. of the parameter, for example one half of 4096 is 2048, although it can also be set by a human operator based on technical experience. Then according to ThrLOW(1-Cof) TargetGray and ThrHighCalculating a reasonable range of the target gray scale by using a formula of (1+ Cof) × TargetGray, wherein Cof is a constant and ranges from 0 to 1, for example, 0.1, 0.2, 0.3 and the like, the value is reasonably calculated by a worker according to technical experience, and TargetGray represents a target gray scale value ThrLOWRepresents the minimum target gray value, ThrHighRepresenting the maximum target gray level, with a reasonable range of the target gray level denoted as [ ThrLowThrHigh]。
Step S20, acquiring a first perspective image, and calculating a gray average value of the first perspective image;
in this embodiment, the first fluoroscopic image refers to a fluoroscopic image acquired by the digital X-ray fluoroscopy system software under an initial fluoroscopic dose condition, which is set according to experience of the medical technician, for example, the fluoroscopic KV is 70, and the default fluoroscopic mA is 2.5. When a perspective image acquired by the software of the digital X-ray perspective system under the condition of initial perspective dose is acquired, the gray value and the area of each area in the perspective image are acquired, and the gray average value in the perspective image is calculated according to the gray value and the area.
Step S30, determining whether the gray average value is within the target gray range;
in this embodiment, the target gray scale range includes a minimum target gray scale and a maximum target gray scale, and the gray scale average value of the first perspective image is compared with the minimum target gray scale and the maximum target gray scale to determine whether the gray scale average value is within the target gray scale range.
Step S40, when the gray average is not within the target gray range, sending a voltage signal to a high voltage generator to adjust the perspective dose, so that the gray average of the second perspective image is within the target gray range, and the gray average of the second perspective image is within the target gray range, where the second perspective image includes the perspective image acquired after the perspective dose is adjusted.
In this embodiment, when the gray level mean value of the first perspective image is not within the target gray level range, the digital X-ray perspective system software will send a voltage value to the high voltage generator, and when the high voltage generator receives the sent voltage signal, the voltage signal includes the voltage value, adjust the perspective dose, which includes the perspective voltage and the perspective current, the voltage value is sent according to a comparison between the gray level mean value of the first image and the target gray level range, specifically, when the gray level mean value is smaller than the minimum target gray level, send a low voltage value to the high voltage generator, the low voltage value is smaller than the reference voltage value, and KV is used to send the low voltage value to the high voltage generatorLowIndicating, for example, that the reference voltage BaseKV is 5.0, and that the low voltage value KV is transmittedLow1.0. When the average value of the gray scale is larger than the maximum target gray scale, a high voltage value is sent to the high voltage generator, the high voltage value is larger than the reference voltage value, and KV is usedHighIndicating, for example, the transmitted high voltage value KV with the reference voltage BaseKV being 5.0High=9.0。
Further, when sending KV to the high voltage generatorLowOr KVHighAnd then, calculating the waiting time for increasing or decreasing the perspective dose of the high-voltage generator, wherein the increased or decreased perspective dose can be determined according to a curve relation diagram set by a technician when the perspective dose is increased or decreased, after the waiting time elapses, sending a reference voltage to the high-voltage generator to stabilize the perspective dose, then acquiring a second perspective image by digital X-ray perspective system software, calculating a gray-scale mean value of the second perspective image, determining whether the gray-scale mean value of the second perspective image is within a target gray-scale range, and when the gray-scale mean value is not within the target gray-scale range, continuously adjusting the perspective dose of the high-voltage generator, and so on until the calculated gray-scale mean value of the perspective image is within the target gray-scale range.
In the method for adjusting brightness of a perspective image, a target gray scale range is determined based on performance parameters of a detector, a first perspective image is then acquired, a gray scale mean value of the first perspective image is calculated, whether the gray scale mean value is within the target gray scale range is then determined, and finally when the gray scale mean value is not within the target gray scale range, a voltage signal is sent to a high voltage generator to adjust perspective dose, so that the gray scale mean value of a second perspective image is within the target gray scale range, wherein the second perspective image comprises the perspective image acquired after the perspective dose is adjusted; the contrast between the gray average value of the first perspective image and the target gray range is realized, the voltage signal is directly sent to the high-voltage generator to adjust the perspective dose, electronic components such as a photomultiplier tube, a photodiode and a control circuit are not needed, the response speed of the high-voltage generator is improved, the cost of equipment is reduced, and the time for stabilizing the image brightness is effectively reduced.
Based on the first embodiment, a second embodiment of the method for adjusting the brightness of a perspective image according to the present invention is provided, and referring to fig. 3, in this embodiment, step S10 includes:
step S11, acquiring performance parameters of the detector, and determining a target gray value based on the performance parameters;
in this embodiment, the performance parameter includes the maximum range of the output image represented by binary, for example, the data in the image is represented by 12 bits, the maximum value can be represented by 4096, by 14 bits, and the maximum value is 16383. A target gray value can be determined from the performance parameter of the detector, which is typically one half, one third, etc. of the parameter, for example one half of 4096 is 2048, although it can also be set by a human operator based on technical experience.
Step S12, calculating the target gray scale range based on the target gray scale value and a first preset formula.
In this embodiment, the first predetermined formula includes ThrLOW(1-Cof) TargetGray, calculating a minimum target gray, the first predetermined formula further including ThrHigh(1+ Cof) TargetGray, calculating the maximum target grayThe target gray scale range is [ ThrLow ThrHigh]。
In the method for adjusting the brightness of the perspective image, the performance parameters of the detector are acquired, the target gray value is determined based on the performance parameters, and then the target gray range is calculated based on the target gray value and a first preset formula; the target gray scale range is determined according to the performance parameters of the detector, so that whether the gray scale mean value of the image is within the target gray scale range or not can be determined when the image is in a perspective mode, and the perspective dose is considered to be appropriate when the gray scale mean value is within the gray scale range, so that the appropriate perspective dose can be quickly found, and the time for stabilizing the brightness of the image is shortened.
Based on the second embodiment, a third embodiment of the method for adjusting the brightness of a perspective image according to the present invention is provided, and referring to fig. 4, in this embodiment, step S20 includes:
step S21, acquiring an initial perspective dose, and acquiring the first perspective image based on the initial perspective dose;
in this embodiment, the initial fluoroscopy dose is set by a technician according to experience, the initial fluoroscopy dose includes an initial fluoroscopy voltage and an initial fluoroscopy current, for example, the default initial fluoroscopy KV is 70, the default initial fluoroscopy mA is 2.5, and the digitized X-ray fluoroscopy system software acquires the fluoroscopy image under the condition of the initial fluoroscopy dose, which is not specifically limited in this embodiment.
Step S22, obtaining the pixels of each pixel point in the first perspective image and the number of the pixel points, and calculating the gray average of the first perspective image.
In this embodiment, the thicknesses of the irradiated portions of the human body are different, so that the pixels of the pixels in the acquired first perspective image are different, the pixels of the pixels and the number of the pixels in the first perspective image are acquired, the sum of the pixels is calculated, the average value of the pixels is calculated according to the sum of the pixels and the number of the pixels, and the average value is used as the gray-scale average value of the first perspective image.
In the method for adjusting the brightness of the perspective image, an initial perspective dose is obtained, the first perspective image is obtained based on the initial perspective dose, then the pixels of each pixel point in the first perspective image and the number of the pixel points are obtained, the average value of the pixels is calculated, and the average value is used as the gray level average value; the gray level mean value of the perspective image is rapidly determined by calculating the pixel mean value of the pixel points.
Based on the third embodiment, a fourth embodiment of the method for adjusting the brightness of a perspective image according to the present invention is provided, and referring to fig. 5, in this embodiment, the target gray scale range includes a minimum target gray scale and a maximum target gray scale, and step S40 includes:
step S41, when the average value of the gray scale is smaller than the minimum target gray scale, a first voltage value is sent to a high voltage generator, and the perspective dose is increased;
in this embodiment, the target gray scale range includes a minimum target gray scale and a maximum target gray scale, and the first voltage value is smaller than the reference voltage, which may be called as a low voltage value, in KVLowIndicating, for example, that the reference voltage BaseKV is 5.0, and that the low voltage value KV is transmittedLow1.0. When the high voltage generator receives the low voltage value, the perspective dose is increased, and the perspective dose comprises a perspective voltage and a perspective current, wherein the perspective voltage refers to the voltage between the cathode and the anode of the X-ray tube, and the perspective current refers to the current between the cathode and the anode of the X-ray tube.
Step S42, calculating a first waiting time for the high voltage generator to increase the perspective dose;
in this embodiment, T1 is MaxUpTime (TargetGray-meanggray)/(maxggray-MinGray), which is a calculation formula of a first waiting time, where T1 is expressed as a first waiting time, TargetGray is expressed as a target gray value of the detector, maxggray is expressed as a maximum gray value of the detector, and if the detector output image is 14 bits, maxggray is 16383, meanggray is expressed as a gray average value of the first perspective image, MaxUpTime is expressed as a time required for the gray value of the image to decrease from maxggray to MinGray in ms, which is obtained through experimental tests, and the time required for different high voltage generators may be different, and MinGray is expressed as a gray average value of the detector image, in this example, MinGray average value is 105, the dark field image includes a region to which an X-ray cannot strike, and a gray value of the region may be obtained, and a gray average value of the gray value of the region is calculated.
Step S43, sending a reference voltage to the high voltage generator when a first waiting time is reached, wherein the first voltage value is smaller than the reference voltage.
In this embodiment, when the first waiting time is reached, the reference voltage is sent to the high voltage generator, the reference voltage is sent to enable the perspective dose to be stabilized at the current perspective dose, then the second perspective image is obtained under the condition of the current perspective dose, the gray level mean value of the second perspective image is calculated, and whether the gray level mean value of the second perspective image is within the target gray level range or not is judged.
In the method for adjusting brightness of a medical perspective image, when the average value of the gray levels is smaller than the minimum target gray level, a first voltage value is sent to a high voltage generator, the perspective dose is increased, then a first waiting time for the high voltage generator to increase the perspective dose is calculated, and finally a reference voltage is sent to the high voltage generator when the first waiting time is reached, wherein the first voltage value is smaller than the reference voltage; the waiting time for increasing the perspective dose is calculated under the condition that the perspective dose needs to be increased, and the time for stabilizing the image brightness is effectively reduced.
Based on the fourth embodiment, a fifth embodiment of the method for adjusting the brightness of a perspective image according to the present invention is provided, and referring to fig. 6, in this embodiment, step S40 includes:
step S44, when the average value of the gray scale is larger than the maximum target gray scale, a second voltage value is sent to a high voltage generator, and the perspective dose is reduced;
in this embodiment, the target gray scale range includes a minimum target gray scale and a maximum target gray scale, and the second voltage value is greater than the reference voltage, which may be called a high voltage value, ThrHighIndicating, for example, that the reference voltage BaseKV is 5.0, and that the high voltage value KV is transmittedHigh9.0. When the high voltage generator receives the high voltage value, the perspective dose is reduced, and the perspective dose comprisesThe device comprises a perspective voltage and a perspective current, wherein the perspective voltage refers to the voltage between a cathode and an anode of the X-ray tube, and the perspective current refers to the current between the cathode and the anode of the X-ray tube.
And step S45, calculating a second waiting time for the high voltage generator to reduce the perspective dose, and sending a reference voltage to the high voltage generator when the second waiting time is reached, wherein the second voltage value is greater than the reference voltage.
In this embodiment, T2 is maxdown time (MeanGray-TargetGray)/(maxgay-MinGray), which is a calculation formula of a second waiting time, where T2 is expressed as the second waiting time, TargetGray is expressed as a target gray value of the detector, maxgay is expressed as a maximum gray value of the detector, and maxgay is expressed as a maximum gray value of the detector, if the detector output image is 14 bits, maxgay is 16383, meargay is expressed as a gray average value of the first perspective image, maxdown time is expressed as a time required for the gray value of the image to decrease from maxgay to MinGray, which is obtained through experimental tests and may be different for different high voltage generators, and MinGray is expressed as a gray average value of a dark field image of the detector, in this example, MinGray field image is 105, which includes a region where X-rays cannot reach, and a gray value of the region may be obtained and a gray average value of the gray value of the region may be calculated.
Further, in this embodiment, when the first waiting time reaches, a reference voltage is sent to the high voltage generator, the reference voltage is sent to enable the fluoroscopic dose to be stabilized at the current fluoroscopic dose, then the second fluoroscopic image is acquired under the condition of the current fluoroscopic dose, the gray-scale mean value of the second fluoroscopic image is calculated, and whether the gray-scale mean value of the second fluoroscopic image is within the target gray-scale range is determined.
In the method for adjusting the brightness of the perspective image, when the average value of the gray levels is greater than the maximum target gray level, a second voltage value is sent to the high voltage generator, so that the perspective dose is reduced, then a second waiting time for the high voltage generator to reduce the perspective dose is calculated, and a reference voltage is sent to the high voltage generator when the second waiting time is reached, wherein the second voltage value is greater than the reference voltage value; the waiting time for reducing the perspective dose is calculated under the condition that the perspective dose needs to be reduced, and the time for stabilizing the image brightness is effectively reduced.
Based on the fifth embodiment, a sixth embodiment of the method for adjusting the brightness of a perspective image according to the present invention is provided, and referring to fig. 7, in this embodiment, step S42 includes:
step S421, obtaining the maximum gray value based on the performance parameter of the detector;
in this embodiment, the performance parameter includes a maximum range of the output image represented by binary, and the maximum gray value of the image can be obtained according to the performance parameter, and the maximum gray value is represented by maxgay, for example, if the output image of the detector is 14 bits, maxgay is 16383, and the maximum value represented by binary 14 bits is converted into a decimal 16383.
Step S422, obtaining a dark field gray level average value of the dark field image, and calculating the first waiting time according to a second preset formula.
In this embodiment, the dark-field image includes an image of a region where X-rays cannot be emitted, MinGray represents a dark-field gray level mean value of a dark-field image of the detector, further, pixels and numbers of each pixel point in the dark-field image are obtained, an average pixel in the dark-field image is calculated, the average pixel is a dark field gray level average value of the dark field image, the first waiting time is calculated according to a second dark field gray level value and a second preset formula, the second preset formula comprises T1 (MaxUpTime)/(MaxGray-MinGray), wherein T1 is expressed as a first waiting time, TargetGray is expressed as a target gray value of the detector, maxgay is expressed as a maximum gray value of the detector, MeanGray is expressed as a gray mean of the first perspective image, MaxUpTime is expressed as a time required for an image gray value to decrease from maxgay to MinGray in ms, the time is obtained through experimental tests, and the time required by different high-voltage generators can be different.
In the method for adjusting the brightness of the perspective image, the maximum gray value is obtained based on the performance parameter of the detector, then the dark field gray average value of the dark field image is obtained, and the first waiting time is calculated according to a second preset formula; the first waiting time is calculated according to the second preset formula, so that the reference voltage can be sent when the first waiting time is up to stabilize the dose, and the time required for stabilizing the image brightness is effectively reduced.
Based on the sixth embodiment, a seventh embodiment of the method for adjusting the brightness of a perspective image according to the present invention is provided, and referring to fig. 8, in this embodiment, after step S40, the method further includes:
step S50, when the mean value of the gray levels of the first perspective image is within the target gray level range, sending a reference voltage to the high voltage generator;
in this embodiment, when the gray value of the first perspective image is within the target gray range, it indicates that the current perspective dose is the proper perspective dose, and a reference voltage is sent to the high voltage generator to stabilize the perspective dose.
And step S60, acquiring the current perspective dose of the high voltage generator, and performing stable perspective based on the current perspective dose.
In this embodiment, when the fluoroscopy dose is stabilized, the current fluoroscopy dose is acquired, and stable fluoroscopy is performed according to the current fluoroscopy dose until the end of fluoroscopy. When the gray level mean value of the first perspective image is in the target gray level range, the initial perspective dose is a proper dose, stable perspective is conducted according to the initial perspective dose, after the perspective dose is increased or decreased, when the calculated image gray level mean value is in the target gray level range, the currently used perspective dose is obtained, reference voltage is sent to a high-voltage generator, the dose is stabilized, and stable perspective is conducted according to the current perspective dose.
In the method for adjusting the brightness of the perspective image, when the gray average value of the first perspective image is within the target gray range, a reference voltage is sent to the high-voltage generator, then the current perspective dose of the high-voltage generator is obtained, and stable perspective is performed based on the current perspective dose; the high-voltage generator for sending the reference voltage value when the dosage is proper is realized, so that the perspective is stabilized, and the quality of the perspective image is improved.
The present invention further provides a computer-readable storage medium, in this embodiment, a program for adjusting the brightness of a perspective image is stored on the computer-readable storage medium, wherein:
determining a target gray scale range based on performance parameters of the detector;
acquiring a first perspective image, and calculating a gray average value of the first perspective image;
determining whether the mean grayscale value is within the target grayscale range;
and when the gray average value is not in the target gray range, sending a voltage signal to a high voltage generator to adjust the perspective dose so as to enable the gray average value of a second perspective image to be in the target gray range, wherein the second perspective image comprises the perspective image acquired after the perspective dose is adjusted.
Further, when the processor executes the program for adjusting the brightness of the perspective image, the method further includes the following steps:
acquiring performance parameters of a detector, and determining a target gray value based on the performance parameters;
and calculating the target gray scale range based on the target gray scale value and a first preset formula.
Further, when the processor executes the program for adjusting the brightness of the perspective image, the method further includes the following steps:
acquiring an initial perspective dose, and acquiring the first perspective image based on the initial perspective dose;
and acquiring the pixels of all the pixel points in the first perspective image and the number of the pixel points, calculating the average value of the pixels, and taking the average value as the gray average value.
Further, when the processor executes the program for adjusting the brightness of the perspective image, the method further includes the following steps:
when the gray average value is smaller than the minimum target gray, sending a first voltage value to a high-voltage generator, and increasing the perspective dose;
calculating a first waiting time for the high voltage generator to increase the perspective dose;
and sending a reference voltage to a high voltage generator when a first waiting time is reached, wherein the first voltage value is smaller than the reference voltage.
Further, when the processor executes the program for adjusting the brightness of the perspective image, the method further includes the following steps:
when the gray average value is larger than the maximum target gray, a second voltage value is sent to the high-voltage generator, and the perspective dose is reduced;
and calculating a second waiting time for the high-voltage generator to reduce the perspective dose, and sending a reference voltage to the high-voltage generator when the second waiting time is reached, wherein the second voltage value is greater than the reference voltage.
Further, when the processor executes the program for adjusting the brightness of the perspective image, the method further includes the following steps:
obtaining a maximum gray value based on the performance parameter of the detector;
and acquiring a dark field gray level average value of the dark field image, and calculating the first waiting time according to a second preset formula.
Further, when the processor executes the program for adjusting the brightness of the perspective image, the method further includes the following steps:
when the mean gray level of the first perspective image is within the target gray level range, sending a reference voltage to the high voltage generator;
and acquiring the current perspective dose of the high voltage generator, and performing stable perspective based on the current perspective dose.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.