CN113096081B - X-ray exposure brightness control method, device, equipment and storage medium - Google Patents

X-ray exposure brightness control method, device, equipment and storage medium Download PDF

Info

Publication number
CN113096081B
CN113096081B CN202110339233.4A CN202110339233A CN113096081B CN 113096081 B CN113096081 B CN 113096081B CN 202110339233 A CN202110339233 A CN 202110339233A CN 113096081 B CN113096081 B CN 113096081B
Authority
CN
China
Prior art keywords
value
tube voltage
kvp
abs
fitting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110339233.4A
Other languages
Chinese (zh)
Other versions
CN113096081A (en
Inventor
李海枫
靳晓飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Haihui Medical Beijing Technology Co ltd
Original Assignee
Haihui Medical Beijing Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Haihui Medical Beijing Technology Co ltd filed Critical Haihui Medical Beijing Technology Co ltd
Priority to CN202110339233.4A priority Critical patent/CN113096081B/en
Publication of CN113096081A publication Critical patent/CN113096081A/en
Application granted granted Critical
Publication of CN113096081B publication Critical patent/CN113096081B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B6/00Apparatus or devices for radiation diagnosis; Apparatus or devices for radiation diagnosis combined with radiation therapy equipment
    • A61B6/54Control of apparatus or devices for radiation diagnosis
    • A61B6/542Control of apparatus or devices for radiation diagnosis involving control of exposure
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0012Biomedical image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10116X-ray image

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Medical Informatics (AREA)
  • Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Radiology & Medical Imaging (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Biophysics (AREA)
  • Molecular Biology (AREA)
  • High Energy & Nuclear Physics (AREA)
  • Optics & Photonics (AREA)
  • Pathology (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Quality & Reliability (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • X-Ray Techniques (AREA)
  • Apparatus For Radiation Diagnosis (AREA)

Abstract

The invention discloses a method, a device, equipment and a storage medium for controlling X-ray exposure brightness, wherein the method comprises the following steps: solving an ABS value v 0 at the current moment of the ROI area; constructing a fitting polynomial by using the voltage values of the tube and the ABS values at the current moment and a plurality of previous moments; if the ABS value V 0 at the current moment is between V min and V max, taking the initial tube voltage value as the final tube voltage value at the current moment; if the ABS value v 0<Vmin at the current moment is increased, substituting the current moment tube voltage into a fitting polynomial to calculate a fitting ABS value and drawing a fitting curve, and taking the tube voltage value corresponding to the fitting ABS value with the highest increasing point as the final tube voltage value at the current moment; if the current moment ABS value v 0>Vmax is the current moment ABS value, the current moment tube voltage is reduced and substituted into a fitting polynomial to calculate a fitting ABS value, a fitting curve is drawn, and the tube voltage value corresponding to the reduced lowest point fitting ABS value is used as the final tube voltage value at the current moment.

Description

X-ray exposure brightness control method, device, equipment and storage medium
Technical Field
The present invention relates to the field of X-ray machine technologies, and in particular, to a method apparatus, a device, and a storage medium for controlling X-ray exposure brightness.
Background
In the C-type arm and G-type arm systems of the mobile X-ray machine, the optimization of an ABS function (automatic brightness control) on an image and the control of exposure dose are very critical functions, and are mainly used for realizing the adjustment of the KV value of exposure according to the difference of the ROI areas of a photographed image and finding out the optimal dose data. The quality of the ABS modulation and the rate of modulation affect the exposure dose and exposure time. The good ABS algorithm can shorten exposure time and reduce exposure dose, which is very beneficial to both doctors and patients.
In the prior art, the dynamic dose adjusting method is to increase the dose or decrease the dose by gradually adjusting KV and MA values. For example, typically, the dose is gradually increased, checking if the ABS value reaches a predetermined target brightness value range once, and if not, then the dose is gradually increased until the condition is met. The period of gradual dose adjustment is relatively long, and before the dose is adjusted, part of the image is often ineffective, so that useful information can not be provided for clinical diagnosis, and the perspective time is increased, and unnecessary dose is absorbed by a person in perspective.
Therefore, a method capable of rapidly and accurately adjusting the ABS value of the ROI area is needed, and up to now, there is no better solution.
Disclosure of Invention
In order to solve the above problems, the present invention discloses an X-ray exposure brightness control method, comprising the steps of:
obtaining a shooting image at the current time t0, and dividing the shooting image into a plurality of sub-images;
selecting a plurality of sub-images to form an ROI (region of interest) area, and taking the average value of the products of the average gray scale of each sub-image of the ROI area and the corresponding weight as the current moment ABS value v 0 of the ROI area of the shot image;
constructing a fitting polynomial by using the current time t0, tube voltage values at a plurality of previous times and ABS values;
if the ABS value V 0 at the current time is between V min and V max, the initial tube voltage value is taken as the final tube voltage value at the current time t 0;
If the ABS value v 0<Vmin at the current moment is the ABS value v 0<Vmin, the tube voltage kVp 0 at the current moment is increased by a first set step length to obtain a value-added tube voltage value, the value-added tube voltage value is substituted into the fitting polynomial to obtain a fitting ABS value, the fitting ABS value obtained in sequence is drawn into a fitting curve, and the tube voltage value corresponding to the fitting ABS value of the highest point of the increment is used as the final tube voltage value at the current moment t 0;
If the current time ABS value v 0>Vmax is the current time tube voltage kVp 0 is decreased by a second set step length to obtain a reduced tube voltage value, substituting the reduced tube voltage value into the fitting polynomial to obtain a fitting ABS value, drawing a fitting curve with the fitting ABS values obtained in sequence, taking the tube voltage value corresponding to the decreasing lowest point fitting ABS value as the final tube voltage value at the current time t0,
Wherein, V min and V max are the lower limit and the upper limit of the range of the brightness ABS value of the X-ray exposure image respectively.
Optionally, the calculation formula of ABS value v 0 of the current time t0 of the ROI area of the captured image using the average value of the product of the average gray scale of each sub-image of the ROI area and the corresponding weight is as follows:
v0=∑(A(i)(j)*K(i)(j))/∑K(i)(j),(i=1...m,j=1...m)
A (i)(j): average gray scale of the sub-image;
K (i)(j): weight corresponding to each sub-image;
m is the number of square areas divided in the image length direction;
n is the number of square areas divided in the image width direction.
Optionally, the fitting polynomial is a cubic fitting polynomial:
v=a(kVp-kVp0)3+b(kVp-kVp0)2+c(kVp-kVp0)+v0
Wherein ,(kVp0,v0),(kVp1,v1),(kVp2,v2),(kVp3,v3) corresponds to the tube voltage value and ABS value at times t0, t1, t2, t3, respectively, t0 represents the current time, t0> t1> t2> t3, wherein kVp 0≠kVp1≠kVp2≠kVp3 is a different tube voltage value, and v 0、v1、v2、v3 is an ABS value corresponding to a different tube voltage.
Optionally, the tube voltage kVp 0 is incremented by the first set step, which means that the tube voltage value is incremented by at least 1KV at a time from the tube voltage kVp 0 at the current time t 0.
Optionally, the tube voltage kVp 0 decreases by the second set step from the current time at the current time t0, which means that the tube voltage value decreases by at least 1KV at a time from the tube voltage kVp 0 at the current time t 0.
The invention also provides an X-ray exposure brightness control device, which comprises:
The ROI region ABS value acquisition module is used for acquiring a shooting image at the current time t0 and dividing the shooting image into a plurality of sub-images;
selecting a plurality of sub-images to form an ROI (region of interest) area, and taking the average value of the products of the average gray scale of each sub-image of the ROI area and the corresponding weight as the current moment ABS value v 0 of the ROI area of the shot image;
the fitting polynomial construction module is used for constructing a fitting polynomial by utilizing the current time t0, the tube voltage values and the ABS values at a plurality of previous times;
The final tube voltage determining module is used for judging that if the ABS value V 0 at the current moment is between V min and V max, the initial tube voltage value is taken as the final tube voltage value at the current moment t 0;
If the ABS value v 0<Vmin at the current moment is the ABS value v 0<Vmin, the tube voltage kVp 0 at the current moment is increased by a first set step length to obtain a value-added tube voltage value, the value-added tube voltage value is substituted into the fitting polynomial to obtain a fitting ABS value, the fitting ABS value obtained in sequence is drawn into a fitting curve, and the tube voltage value corresponding to the fitting ABS value of the highest point of the increment is used as the final tube voltage value at the current moment t 0;
If the current time ABS value v 0>Vmax is the current time tube voltage kVp 0 is decreased by a second set step length to obtain a reduced tube voltage value, substituting the reduced tube voltage value into the fitting polynomial to obtain a fitting ABS value, drawing a fitting curve with the fitting ABS values obtained in sequence, taking the tube voltage value corresponding to the decreasing lowest point fitting ABS value as the final tube voltage value at the current time t0,
Wherein, V min and V max are the lower limit and the upper limit of the range of the brightness ABS value of the X-ray exposure image.
The invention also provides an electronic device comprising:
At least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the X-ray exposure brightness control method as described above.
The present invention also provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the X-ray exposure brightness control method as described above.
In the process of exposing and acquiring an image, the invention calculates the ABS value of the ROI area by the initial tube voltage value, compares the ABS value with the range of the brightness ABS value of the exposure image of the X-ray machine, calculates the ABS values under different tube voltages by using a fitting polynomial of the ABS values, compares the range of the ABS value of the X-ray image, adjusts the tube voltage value and rapidly acquires the tube voltage corresponding to the ABS value. The method overcomes the waste of long-time exposure and ineffective dose caused by the traditional gradual dose lifting, effectively protects patients and doctors, reduces exposure time and exposure dose, and also protects the core equipment of X-rays.
Drawings
The above-mentioned features and technical advantages of the present invention will become more apparent and readily appreciated from the following description of the embodiments thereof, taken in conjunction with the accompanying drawings.
FIG. 1 is a flow chart showing a method for controlling X-ray exposure brightness according to an embodiment of the present invention;
FIG. 2 is a schematic diagram showing a fitted curve of an embodiment of the present invention.
FIG. 3 is a schematic block diagram illustrating an embodiment of an X-ray exposure brightness control device according to the present invention;
Fig. 4 is a schematic structural diagram of an embodiment of an electronic device for implementing an X-ray exposure brightness control method according to the present invention.
Detailed Description
Embodiments of the present invention will be described below with reference to the accompanying drawings. Those skilled in the art will recognize that the described embodiments may be modified in various different ways, or combinations thereof, without departing from the spirit and scope of the invention. Accordingly, the drawings and description are to be regarded as illustrative in nature and not as restrictive in scope. Furthermore, in the present specification, the drawings are not drawn to scale, and like reference numerals denote like parts.
Abbreviation interpretation:
ABS: automatic brightness control;
ABS value: the automatic brightness value is a scalar value;
KV: an X-ray tube voltage;
ROI: and (3) imaging the region of interest.
The X-ray exposure brightness control method of the embodiment comprises the following steps:
s1, obtaining a shooting image at the current time t0, and dividing the shooting image into a plurality of sub-images;
For example, an image taken by an X-ray machine is 1024×1024, and is divided into 16×16 square areas each containing 64×64 pixels, each square area being a sub-image.
S2, selecting a plurality of sub-images to form an ROI (region of interest), taking the average value of the average gray scale of each sub-image and the corresponding weight product as an ABS value v 0 at the current time t0 of the ROI of the shot image, wherein the calculation formula is as follows:
v0=∑(A(i)(j)*K(i)(j))/∑K(i)(j),(i=1...m,j=1...n)
A (i)(j): average gray scale of the selected ROI area;
K (i)(j): weight corresponding to each sub-image;
m is the number of square areas divided in the image length direction;
n is the number of square areas divided in the image width direction.
The average gray scale of the sub-image is to quantize the pixel value of the sub-image, quantize the gray scale value with continuous black-gray-white change into 256 gray scales, the range of gray scale value is 0-255, which indicates that the brightness is from deep to shallow, and each pixel value is one of 256 gray scales between black and white. Thereby obtaining the average gray level of the sub-image, which is the value of the data transmission through the computer control unit device.
S3, constructing a fitting polynomial by using the current time t0, tube voltage values at a plurality of previous times and ABS values;
Specifically, a polynomial is fitted using the (tube voltage, ABS value) data at the present time t0 and a plurality of times before,
For example, four sets (tube voltage, ABS value) of data (kVp0,v0),(kVp1,v1),(kVp2,v2),(kVp3,v3) correspond to the tube voltage values and ABS values at times t0, t1, t2, t3, respectively, t0 representing the current time, t0> t1> t2> t3. Wherein kVp 0≠kVp1≠kVp2≠kVp3 is different tube voltage values, v 0、v1、v2、v3 is ABS value corresponding to different tube voltages.
Fitting a third order polynomial from the four sets of data:
v=a(kVp-kVp0)3+b(kVp-kVp0)2+c(kVp-kVp0)+v0
With the above four sets of data, coefficients a, b, c can be obtained by solving the following equations.
Obtaining coefficients of a, b and c
S4, V min and V max are ranges of X-ray exposure image brightness ABS values. If the ABS value V 0 at the current time is between V min and V max, taking the corresponding tube voltage value as the final tube voltage value at the current time t0;
If the ABS value v 0<Vmin at the current time, the tube voltage kVp 0 at the current time t0 is incremented by the first set step to obtain a value-added tube voltage value, for example, the tube voltage value is gradually incremented to 120KV from the tube voltage kVp 0 at the current time t0 by 1KV each time. Substituting the obtained increment pipe voltage value into the fitting polynomial every time of increment, solving a fitting ABS value, drawing a fitting curve by the fitting ABS values obtained in sequence, ending increment by a first set step length when the fitting curve is not increment, and taking the pipe voltage value corresponding to the fitting ABS value of the highest increment point as a final pipe voltage value at the current time t 0;
Specifically, if the tube voltage is gradually increased, the radiation dose is increased, and the image brightness is also increased, and the ABS value of v 0 =Σ (a (i) (j) x K (i) (j))/Σk (i) (j) should also be increased according to the formula v 0 =Σ (a (i) (j) x K (i) (j). So if the ABS value calculated from the fitting polynomial is not increasing, the fitting curve is thus up to this point, taking the tube voltage value corresponding to the fitting ABS value of the increasing highest point as the final tube voltage value at the current time t 0.
If the ABS value v 0>Vmax at the present moment, the tube voltage kVp 0 at the present moment t0 is decremented by the second set step to obtain a decremented tube voltage value, e.g., the tube voltage value is decremented by 1KV each time from the tube voltage kVp 0 at the present moment t0, gradually decreasing to 40KV. Substituting the obtained reduced tube voltage value into the fitting polynomial every time of the decrease, solving a fitting ABS value, drawing a fitting curve by the fitting ABS values obtained in sequence, ending decreasing by a second set step length when the fitting curve is not the decrease, and taking the tube voltage value corresponding to the decreasing lowest point fitting ABS value as the final tube voltage value at the current time t 0.
Specifically, if the tube voltage is gradually reduced, the radiation dose is reduced, the image brightness is also reduced, and the ABS value of Σk (i) should be reduced according to the formula v 0 = Σ (a (i) (j) x K (i) (j))/Σk (i) (j). So if the ABS value calculated from the fitting polynomial is not decreasing, the fitting curve is thus up to this point, the tube voltage value corresponding to the decreasing lowest point fitting ABS value is taken as the final tube voltage value at the current time t 0.
Fig. 3 is a schematic functional block diagram of an embodiment of an X-ray exposure brightness control device according to the present invention.
The X-ray exposure luminance control apparatus 100 of the present invention may be mounted in an electronic device. Depending on the functions implemented, the X-ray exposure brightness control device 100 may comprise an ROI region ABS value acquisition module 101, a fitting polynomial construction module 102, a final tube voltage determination module 103. The module of the present invention refers to a series of computer program segments capable of being executed by a processor of an electronic device and of performing a fixed function, which are stored in a memory of the electronic device.
In the present embodiment, the functions concerning the respective modules are as follows:
the ROI area ABS value acquisition module 101 is configured to acquire a captured image at a current time t0, and divide the captured image into a plurality of sub-images;
selecting a plurality of sub-images to form an ROI (region of interest) area, and taking the average value of the products of the average gray scale of each sub-image of the ROI area and the corresponding weight as the current moment ABS value v 0 of the ROI area of the shot image;
a fitting polynomial construction module 102, configured to construct a fitting polynomial by using the current time t0, the tube voltage values at a plurality of previous times, and ABS values, where a method of constructing a fitting polynomial is as described above;
The final tube voltage determining module 103 is configured to determine that if the ABS value V 0 at the current time is between V min and V max, the initial tube voltage value is taken as the final tube voltage value at the current time t 0;
If the ABS value v 0<Vmin at the current moment is the ABS value v 0<Vmin, the tube voltage kVp 0 at the current moment is increased by a first set step length to obtain a value-added tube voltage value, the value-added tube voltage value is substituted into the fitting polynomial to obtain a fitting ABS value, the fitting ABS value obtained in sequence is drawn into a fitting curve, and the tube voltage value corresponding to the fitting ABS value of the highest point of the increment is used as the final tube voltage value at the current moment t 0;
If the current time ABS value v 0>Vmax is the current time tube voltage kVp 0 is decreased by a second set step length to obtain a reduced tube voltage value, substituting the reduced tube voltage value into the fitting polynomial to obtain a fitting ABS value, drawing a fitting curve with the fitting ABS values obtained in sequence, taking the tube voltage value corresponding to the decreasing lowest point fitting ABS value as the final tube voltage value at the current time t0,
Wherein, V min and V max are the range of the brightness ABS value of the X-ray exposure image.
Fig. 4 is a schematic structural diagram of an embodiment of an electronic device for implementing the X-ray exposure brightness control method according to the present invention.
The electronic device 1 may comprise a processor 10, a memory 11 and a bus, and may further comprise a computer program, such as an X-ray exposure brightness control program 12, stored in the memory 11 and executable on the processor 10.
The memory 11 includes at least one type of readable storage medium, including flash memory, a mobile hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device 1, such as a removable hard disk of the electronic device 1. The memory 11 may in other embodiments also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk, a smart memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD) or the like, which are provided on the electronic device 1. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device 1. The memory 11 may be used not only for storing application software installed in the electronic device 1 and various types of data, such as codes of an X-ray exposure brightness control program, etc., but also for temporarily storing data that has been output or is to be output.
The processor 10 may be comprised of integrated circuits in some embodiments, for example, a single packaged integrated circuit, or may be comprised of multiple integrated circuits packaged with the same or different functions, including one or more central processing units (Central Processing unit, CPU), microprocessors, digital processing chips, graphics processors, combinations of various control chips, and the like. The processor 10 is a Control Unit (Control Unit) of the electronic device, connects respective parts of the entire electronic device using various interfaces and lines, executes or executes programs or modules (for example, an X-ray exposure brightness Control program or the like) stored in the memory 11, and invokes data stored in the memory 11 to perform various functions of the electronic device 1 and process data.
The bus may be a peripheral component interconnect standard (PERIPHERAL COMPONENT INTERCONNECT, PCI) bus, or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. The bus is arranged to enable a connection communication between the memory 11 and at least one processor 10 etc.
Fig. 4 shows only an electronic device with components, it being understood by a person skilled in the art that the structure shown in fig. 4 does not constitute a limitation of the electronic device 1, and may comprise fewer or more components than shown, or may combine certain components, or may be arranged in different components.
For example, although not shown, the electronic device 1 may further include a power source (such as a battery) for supplying power to each component, and optionally, the power source may be logically connected to the at least one processor 10 through a power management device, so as to implement functions of charge management, discharge management, and power consumption management through the power management device. The power supply may also include one or more of any of a direct current or alternating current power supply, recharging device, power failure detection circuit, power converter or inverter, power status indicator, etc. The electronic device 1 may further include various sensors, bluetooth modules, wi-Fi modules, etc., which will not be described herein.
Further, the electronic device 1 may also comprise a network interface, optionally the network interface may comprise a wired interface and/or a wireless interface (e.g. WI-FI interface, bluetooth interface, etc.), typically used for establishing a communication connection between the electronic device 1 and other electronic devices.
The electronic device 1 may optionally further comprise a user interface, which may be a Display, an input unit, such as a Keyboard (Keyboard), or a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, or the like. The display may also be referred to as a display screen or display unit, as appropriate, for displaying information processed in the electronic device 1 and for displaying a visual user interface.
It should be understood that the embodiments described are for illustrative purposes only and are not limited to this configuration in the scope of the patent application.
The X-ray exposure brightness control program 12 stored in the memory 11 in the electronic device 1 is a combination of a plurality of instructions, which when executed in the processor 10, can implement:
s1, obtaining a shooting image at the current time t0, and dividing the shooting image into a plurality of sub-images;
S2, selecting a plurality of sub-images to form an ROI (region of interest), and taking the average value of the products of the average gray scale of each sub-image of the ROI and the corresponding weight as the current moment ABS value v 0 of the ROI of the shot image;
S3, constructing a fitting polynomial by using the current time t0, the tube voltage values and the ABS values at a plurality of previous times, wherein the method for constructing the fitting polynomial is as described above;
S4, if the ABS value V 0 at the current moment is between V min and V max, taking the initial tube voltage value as a final tube voltage value at the current moment t 0;
If the ABS value v 0<Vmin at the current moment is the ABS value v 0<Vmin, the tube voltage kVp 0 at the current moment is increased by a first set step length to obtain a value-added tube voltage value, the value-added tube voltage value is substituted into the fitting polynomial to obtain a fitting ABS value, the fitting ABS value obtained in sequence is drawn into a fitting curve, and the tube voltage value corresponding to the fitting ABS value of the highest point of the increment is used as the final tube voltage value at the current moment t 0;
If the current time ABS value v 0>Vmax is the current time tube voltage kVp 0 is decreased by a second set step length to obtain a reduced tube voltage value, substituting the reduced tube voltage value into the fitting polynomial to obtain a fitting ABS value, drawing a fitting curve with the fitting ABS values obtained in sequence, taking the tube voltage value corresponding to the decreasing lowest point fitting ABS value as the final tube voltage value at the current time t0,
Wherein, V min and V max are the range of the brightness ABS value of the X-ray exposure image.
The specific operation flow is shown in fig. 1, and the specific description of the X-ray exposure brightness control method can be referred to in fig. 2, and will not be repeated here.
Further, the modules integrated in the electronic device 1 may be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as a stand alone product. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM).
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus, device and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be other manners of division when actually implemented.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units can be realized in a form of hardware or a form of hardware and a form of software functional modules.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof.
The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
Finally, it should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made to the technical solution of the present invention without departing from the spirit and scope of the technical solution of the present invention.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (7)

1. An X-ray exposure brightness control method, characterized by comprising the steps of:
obtaining a shooting image at the current time t0, and dividing the shooting image into a plurality of sub-images;
selecting a plurality of sub-images to form an ROI (region of interest) area, and taking the average value of the products of the average gray scale of each sub-image of the ROI area and the corresponding weight as the current moment ABS value v 0 of the ROI area of the shot image;
constructing a fitting polynomial by using the current time t0, tube voltage values at a plurality of previous times and ABS values;
if the ABS value V 0 at the current time is between V min and V max, the initial tube voltage value is taken as the final tube voltage value at the current time t 0;
If the ABS value v 0<Vmin at the current moment is the ABS value v 0<Vmin, the tube voltage kVp 0 at the current moment is increased by a first set step length to obtain a value-added tube voltage value, the value-added tube voltage value is substituted into the fitting polynomial to obtain a fitting ABS value, the fitting ABS value obtained in sequence is drawn into a fitting curve, and the tube voltage value corresponding to the fitting ABS value of the highest point of the increment is used as the final tube voltage value at the current moment t 0;
If the current time ABS value v 0>Vmax is the current time tube voltage kVp 0 is decreased by a second set step length to obtain a reduced tube voltage value, substituting the reduced tube voltage value into the fitting polynomial to obtain a fitting ABS value, drawing a fitting curve with the fitting ABS values obtained in sequence, taking the tube voltage value corresponding to the decreasing lowest point fitting ABS value as the final tube voltage value at the current time t0,
Wherein, V min and V max are respectively the lower limit and the upper limit of the range of the brightness ABS value of the X-ray exposure image,
The fitting polynomial is a cubic fitting polynomial:
v=a(kVp-kVp0)3+b(kVp-kVp0)2+c(kVp-kVp0)+v0
Wherein ,(kVp0,v0),(kVp1,v1),(kVp2,v2),(kVp3,v3) corresponds to the tube voltage value and ABS value at times t0, t1, t2, t3, respectively, t0 represents the current time, t0> t1> t2> t3, wherein kVp 0≠kVp1≠kVp2≠kVp3 is a different tube voltage value, and v 0、v1、v2、v3 is an ABS value corresponding to a different tube voltage.
2. The method for controlling the brightness of X-ray exposure according to claim 1, wherein,
The calculation formula of the ABS value v 0 at the current time t0 of the ROI area of the captured image, which is the average value of the product of the average gray scale of each sub-image of the ROI area and the corresponding weight, is as follows:
v0=∑(A(i)(j)*K(i)(j))/∑K(i)(j),(i=1...m,j=1...n)
A (i)(j): average gray scale of the sub-image;
K (i)(j): weight corresponding to each sub-image;
m is the number of square areas divided in the image length direction;
n is the number of square areas divided in the image width direction.
3. The method for controlling the brightness of X-ray exposure according to claim 1, wherein,
The tube voltage kVp 0 is incremented by a first set step, which means that the tube voltage value is incremented by at least 1KV each time by the tube voltage kVp 0 at the current time t 0.
4. The method for controlling the brightness of X-ray exposure according to claim 1, wherein,
The tube voltage kVp 0 at the current time t0 decreases by a second set step, which means that the tube voltage value decreases by at least 1KV at a time from the tube voltage kVp 0 at the current time t 0.
5. An X-ray exposure brightness control apparatus comprising:
The ROI region ABS value acquisition module is used for acquiring a shooting image at the current time t0 and dividing the shooting image into a plurality of sub-images;
selecting a plurality of sub-images to form an ROI (region of interest) area, and taking the average value of the products of the average gray scale of each sub-image of the ROI area and the corresponding weight as the current moment ABS value v 0 of the ROI area of the shot image;
the fitting polynomial construction module is used for constructing a fitting polynomial by utilizing the current time t0, the tube voltage values and the ABS values at a plurality of previous times;
The final tube voltage determining module is used for judging that if the ABS value V 0 at the current moment is between V min and V max, the initial tube voltage value is taken as the final tube voltage value at the current moment t 0;
If the ABS value v 0<Vmin at the current moment is the ABS value v 0<Vmin, the tube voltage kVp 0 at the current moment is increased by a first set step length to obtain a value-added tube voltage value, the value-added tube voltage value is substituted into the fitting polynomial to obtain a fitting ABS value, the fitting ABS value obtained in sequence is drawn into a fitting curve, and the tube voltage value corresponding to the fitting ABS value of the highest point of the increment is used as the final tube voltage value at the current moment t 0;
If the current time ABS value v 0>Vmax is the current time tube voltage kVp 0 is decreased by a second set step length to obtain a reduced tube voltage value, substituting the reduced tube voltage value into the fitting polynomial to obtain a fitting ABS value, drawing a fitting curve with the fitting ABS values obtained in sequence, taking the tube voltage value corresponding to the decreasing lowest point fitting ABS value as the final tube voltage value at the current time t0,
Wherein, V min and V max are the lower limit and the upper limit of the range of the brightness ABS value of the X-ray exposure image,
The fitting polynomial is a cubic fitting polynomial:
v=a(kVp-kVp0)3+b(kVp-kVp0)2+c(kVp-kVp0)+v0
Wherein ,(kVp0,v0),(kVp1,v1),(kVp2,v2),(kVp3,v3) corresponds to the tube voltage value and ABS value at times t0, t1, t2, t3, respectively, t0 represents the current time, t0> t1> t2> t3, wherein kVp 0≠kVp1≠kVp2≠kVp3 is a different tube voltage value, and v 0、v1、v2、v3 is an ABS value corresponding to a different tube voltage.
6. An electronic device, the electronic device comprising:
At least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the X-ray exposure brightness control method according to any one of claims 1 to 4.
7. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the X-ray exposure brightness control method according to any one of claims 1 to 4.
CN202110339233.4A 2021-03-30 2021-03-30 X-ray exposure brightness control method, device, equipment and storage medium Active CN113096081B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110339233.4A CN113096081B (en) 2021-03-30 2021-03-30 X-ray exposure brightness control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110339233.4A CN113096081B (en) 2021-03-30 2021-03-30 X-ray exposure brightness control method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113096081A CN113096081A (en) 2021-07-09
CN113096081B true CN113096081B (en) 2024-06-07

Family

ID=76670877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110339233.4A Active CN113096081B (en) 2021-03-30 2021-03-30 X-ray exposure brightness control method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113096081B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873437A (en) * 2009-09-15 2010-10-27 杭州海康威视系统技术有限公司 Method and device for regulating exposure
CN104394330A (en) * 2014-12-08 2015-03-04 深圳先进技术研究院 Automatic control method and automatic control system of image brightness
CN105405121A (en) * 2015-10-21 2016-03-16 深圳市安健科技有限公司 Method and system used for adjusting X-ray perspective image brightness
CN106572826A (en) * 2014-06-13 2017-04-19 帕洛代克斯集团有限公司 Systems and methods of automated dose control in X-ray imaging
CN106999127A (en) * 2014-11-19 2017-08-01 皇家飞利浦有限公司 X-ray pre-exposure light control device
CN107845070A (en) * 2017-05-17 2018-03-27 深圳蓝韵医学影像有限公司 A kind of method of digital X-ray perspective dosage full-automatic tracking

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873437A (en) * 2009-09-15 2010-10-27 杭州海康威视系统技术有限公司 Method and device for regulating exposure
CN106572826A (en) * 2014-06-13 2017-04-19 帕洛代克斯集团有限公司 Systems and methods of automated dose control in X-ray imaging
CN106999127A (en) * 2014-11-19 2017-08-01 皇家飞利浦有限公司 X-ray pre-exposure light control device
CN104394330A (en) * 2014-12-08 2015-03-04 深圳先进技术研究院 Automatic control method and automatic control system of image brightness
CN105405121A (en) * 2015-10-21 2016-03-16 深圳市安健科技有限公司 Method and system used for adjusting X-ray perspective image brightness
CN107845070A (en) * 2017-05-17 2018-03-27 深圳蓝韵医学影像有限公司 A kind of method of digital X-ray perspective dosage full-automatic tracking

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于Excel VBA的射线曝光曲线制作方法;王晨宝;钟黎明;;现代工业经济和信息化;20120515(10);全文 *

Also Published As

Publication number Publication date
CN113096081A (en) 2021-07-09

Similar Documents

Publication Publication Date Title
CN104916259B (en) Control the method, apparatus and medical display of the brightness of display screen of medical display
KR100866424B1 (en) Real-time dynamic design of liquid crystal displaylcd panel power management through brightness control
CN107872662B (en) Display device
US8368724B2 (en) Display apparatus and control method thereof for saving power
CN105025282B (en) Self adaptation contrast intensification device and method
US20170047022A1 (en) Display apparatus and control method thereof
JP2019049706A (en) Burn-in statistics and burn-in compensation
US8872732B2 (en) Multi-display system with backlight intensity correction
CN104851387B (en) Display device and driving method thereof
CN113724652B (en) Compensation method and device for Mura of OLED display panel and readable medium
TW201908936A (en) Display apparatus and image processing method thereof
CN109637437B (en) Image display control method, device, medium and display screen control system
JP2015031874A (en) Display device, control method of display device, and program
CN112071267A (en) Brightness adjusting method, brightness adjusting device, terminal equipment and storage medium
US10049610B2 (en) Display apparatus and method for controlling same
CN111476760B (en) Medical image generation method and device, electronic equipment and medium
KR20160063989A (en) Display apparatus and method for controlling same
CN113096081B (en) X-ray exposure brightness control method, device, equipment and storage medium
CN114283728A (en) Compensation method and device of display panel and computer readable storage medium
JP2010277231A (en) Data processing apparatus, method, and program
CN107274857B (en) Method for adjusting output image of display and display system
US11763777B2 (en) Image display device, image display system, image display method, and computer program for providing a low-luminance grayscale standard display function (GSDF) display
JP6039316B2 (en) Image output device, control method thereof, image display device, control method thereof, and storage medium
CN114333678B (en) Display control method, device, apparatus, storage medium, and program product
CN112304421B (en) Processing method of gray scale intensity data, storage medium and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant