CN113096081A - 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
CN113096081A
CN113096081A CN202110339233.4A CN202110339233A CN113096081A CN 113096081 A CN113096081 A CN 113096081A CN 202110339233 A CN202110339233 A CN 202110339233A CN 113096081 A CN113096081 A CN 113096081A
Authority
CN
China
Prior art keywords
value
tube voltage
abs
fitting
kvp
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.)
Granted
Application number
CN202110339233.4A
Other languages
Chinese (zh)
Other versions
CN113096081B (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

Images

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 the exposure brightness of X-rays, wherein the method comprises the following steps: obtaining the ABS value v of ROI at the current moment0(ii) a Constructing a fitting polynomial by using the tube voltage values and the ABS values at the current moment and a plurality of moments before; if the ABS value v at the current moment0At VminAnd VmaxTaking the initial tube voltage value as the final tube voltage value at the current moment; if the ABS value v at the current moment0<VminGradually increasing the tube voltage at the current moment, substituting the gradually increased tube voltage into a fitting polynomial to obtain a fitting ABS value to draw a fitting curve, and taking the tube voltage value corresponding to the fitting ABS value at the highest point of the gradually increased tube voltage as the final tube voltage value at the current moment; if the ABS value v at the current moment0>VmaxThen, the tube voltage at the current moment is gradually decreased and substituted into the fitting polynomial to obtain the fitting AThe BS value draws a fitting curve, and the tube voltage value corresponding to the fitting ABS value with the lowest descending point is taken 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 invention relates to the technical field of X-ray machines, in particular to a method, a device and a storage medium for controlling the exposure brightness of an X-ray.
Background
In a C-arm and G-arm system of a mobile X-ray machine, the optimization of an image and the control of exposure dose by an ABS function (automatic brightness control) are very critical functions, and the ABS function is mainly used for adjusting the KV value of exposure according to the difference of ROI areas of a photographed image and finding out optimal dose data. The quality of the ABS adjustment and the rate of adjustment affect the exposure dose and exposure time. A good ABS algorithm can shorten the exposure time and reduce the exposure dose, which is very beneficial to both the physician and the patient.
In the prior art, the method for dynamically adjusting the dose is to gradually adjust KV and MA values to increase the dose or decrease the dose. For example, it is common to gradually increase the dose, check if the ABS value reaches a predetermined target brightness value range once, and if not, gradually increase the dose until the condition is satisfied. The period of gradual adjustment of the dose is relatively long, the image is ineffective before the dose is adjusted, useful information cannot be provided for clinical diagnosis, and the fluoroscopy time is increased, so that the person who is subjected to fluoroscopy absorbs unnecessary dose.
Therefore, a method for adjusting the ABS value of the ROI quickly and accurately is needed, and so far, no better solution is available.
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:
acquiring a shot image at the current time t0, and dividing the shot image into a plurality of sub-images;
selecting a plurality of sub-images to form an ROI (region of interest), and taking the average value of the product of the average gray scale of each sub-image of the ROI and the corresponding weight as the ABS (anti-lock braking system) value v at the current moment of the ROI of the shot image0
Constructing a fitting polynomial by using the tube voltage values and the ABS values at the current time t0 and a plurality of previous times;
if the ABS value v at the current moment0At VminAnd VmaxTaking the initial tube voltage value as the final tube voltage value at the current time t 0;
if the ABS value v at the current moment0<VminThen the tube voltage kVp at the current moment0Increasing by a first set step length to obtain a value-added tube voltage value, substituting the value-added tube voltage value into the fitting polynomial to obtain a fitting ABS value, drawing a fitting curve of the successively obtained fitting ABS values, and taking a tube voltage value corresponding to the fitting ABS value with the highest increasing point as a final tube voltage value at the current time t 0;
if the ABS value v at the current moment0>VmaxThen the tube voltage kVp at the current moment0Decreasing by a second set step length to obtain a value-decreasing tube voltage value, substituting the value-decreasing tube voltage value into the fitting polynomial to obtain a fitting ABS value, drawing a fitting curve of the successively obtained fitting ABS values, taking the tube voltage value corresponding to the lowest point fitting ABS value as the final tube voltage value at the current time t0,
wherein, the VminAnd VmaxRespectively, the lower limit and the upper limit of the range of the exposure image brightness ABS value of the X-ray machine.
Optionally, the average value of the product of the average gray scale of each sub-image of the ROI area and the corresponding weight is used as the ABS value v of the current time t0 of the ROI area of the captured image0The calculation formula of (a) 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 subimages;
K(i)(j): the weight corresponding to each sub-image;
m is the number of square regions divided in the image length direction;
n is the number of square regions 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
Figure BDA0002998873290000021
Figure BDA0002998873290000022
Figure BDA0002998873290000023
wherein (kVp)0,v0),(kVp1,v1),(kVp2,v2),(kVp3,v3) The tube voltage value and the ABS value at the time points t0, t1, t2 and t3 respectively, wherein t0 represents the current time point, t0>t1>t2>t3, wherein kVp0≠kVp1≠kVp2≠kVp3For different tube voltage values, v0、v1、v2、v3ABS values for different tube voltages.
Optionally, the voltage kVp of the tube at the current moment0The tube voltage value is increased by a first set step length, namely the tube voltage kVp at the current moment from the current moment t00At least 1KV increments.
Optionally, the tube voltage kVp at the current moment t0 is obtained from the current moment t00The tube voltage value is decreased by a second set step length, namely the tube voltage value is decreased from the current time t0 to the current time kVp0At least 1KV is decremented each time.
The present invention also provides an X-ray exposure luminance control apparatus, comprising:
the ROI area ABS value acquisition module is used for acquiring a shot image at the current time t0 and dividing the shot image into a plurality of sub-images;
selecting multiple sub-images to form ROI region, and selecting each sub-imageIs taken as the average value of the product of the average gray scale and the corresponding weight as the ABS value v at the current moment of the ROI area of the shot image0
The fitting polynomial constructing module is used for constructing a fitting polynomial by using the tube voltage values and the ABS values at the current moment t0 and a plurality of previous moments;
a final tube voltage determining module for determining if the ABS value v at the current moment0At VminAnd VmaxTaking the initial tube voltage value as the final tube voltage value at the current time t 0;
if the ABS value v at the current moment0<VminThen the tube voltage kVp at the current moment0Increasing by a first set step length to obtain a value-added tube voltage value, substituting the value-added tube voltage value into the fitting polynomial to obtain a fitting ABS value, drawing a fitting curve of the successively obtained fitting ABS values, and taking a tube voltage value corresponding to the fitting ABS value with the highest increasing point as a final tube voltage value at the current time t 0;
if the ABS value v at the current moment0>VmaxThen the tube voltage kVp at the current moment0Decreasing by a second set step length to obtain a value-decreasing tube voltage value, substituting the value-decreasing tube voltage value into the fitting polynomial to obtain a fitting ABS value, drawing a fitting curve of the successively obtained fitting ABS values, taking the tube voltage value corresponding to the lowest point fitting ABS value as the final tube voltage value at the current time t0,
wherein, the VminAnd VmaxThe lower limit and the upper limit of the range of the ABS value of the exposure image of the X-ray machine.
The present invention also provides an electronic device, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
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 obtaining an image by exposure, 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 value under different tube voltages by utilizing the fitting polynomial of the ABS value, compares the range of the ABS value of the X-ray image, adjusts the tube voltage value and quickly obtains the tube voltage corresponding to the ABS value. The waste of long-time exposure and invalid dose caused by traditional gradual dosage increase is overcome, the patient and the doctor are effectively protected, the exposure time and the exposure dose are reduced, and the core equipment of X-rays is also protected.
Drawings
The above 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 flowchart illustrating an X-ray exposure brightness control method 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 block diagram of an embodiment of an apparatus for controlling exposure brightness of X-ray according to the present invention;
fig. 4 is a schematic structural diagram of an embodiment of an electronic device for implementing the method for controlling the exposure brightness of X-rays according to the present invention.
Detailed Description
Embodiments of the present invention will be described below with reference to the accompanying drawings. Those of ordinary skill in the art will recognize that the described embodiments can be modified in various different ways, or combinations thereof, without departing from the spirit and scope of the present invention. Accordingly, the drawings and description are illustrative in nature and not intended to limit the scope of the claims. Furthermore, in the present description, the drawings are not to scale and like reference numerals refer to like parts.
Explanation of abbreviations:
ABS: automatic brightness control;
ABS value: the automatic brightness value is a scalar value;
KV: an X-ray tube voltage;
ROI: an image region of interest.
The X-ray exposure brightness control method of the present embodiment includes the steps of:
s1, obtaining the shot image at the current time t0, and dividing the shot image into a plurality of sub-images;
for example, an image taken by an X-ray machine is a 1024 × 1024 image, which is divided into 16 × 16 square areas, each square area including 64 × 64 pixels, and each square area is used as a sub-image.
S2, selecting a plurality of sub-images to form an ROI (region of interest), and taking the average value of the product of the average gray scale of each sub-image and the corresponding weight as the ABS value v of the current time t0 of the ROI of the shot image0The 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 region;
K(i)(j): the weight corresponding to each sub-image;
m is the number of square regions divided in the image length direction;
n is the number of square regions divided in the image width direction.
The average gray scale of the sub-image means that the pixel value of the sub-image is quantized, the gray scale value with continuous black-gray-white change is quantized into 256 gray scales, the range of the gray scale value is 0-255, the brightness is represented from dark to light, and each pixel value is one of 256 gray scales between black and white. Thereby obtaining an average gray level of the sub-image, which is a value of data transmission through the computer control unit device.
S3, constructing a fitting polynomial by using the tube voltage values and the ABS values at the current time t0 and a plurality of previous times;
specifically, a polynomial is fitted with data (tube voltage, ABS value) at the present time t0 and a plurality of previous times,
for example, four sets (tube voltage, ABS value) of data (kVp0,v0),(kVp1,v1),(kVp2,v2),(kVp3,v3) The tube voltage value and the ABS value at the time points t0, t1, t2 and t3 respectively, wherein t0 represents the current time point, t0>t1>t2>t 3. Wherein kVp0≠kVp1≠kVp2≠kVp3For different tube voltage values, v0、v1、v2、v3ABS values for different tube voltages.
A cubic polynomial is fitted from the four sets of data:
v=a(kVp-kVp0)3+b(kVp-kVp0)2+c(kVp-kVp0)+v0
using the above four sets of data, the coefficients a, b, c can be obtained by solving the following set of equations.
Figure BDA0002998873290000041
Figure BDA0002998873290000042
Figure BDA0002998873290000051
Determining the coefficients of a, b and c
Figure BDA0002998873290000052
Figure BDA0002998873290000053
Figure BDA0002998873290000054
S4,VminAnd VmaxIs the range of the ABS value of the exposure image of the X-ray machine. If the ABS value v at the current moment0At VminAnd VmaxTaking the corresponding tube voltage value as the final tube voltage value at the current time t 0;
if the ABS value v at the current moment0<VminThen, the tube voltage kVp at the current time t0 is obtained0Increasing by a first set step to obtain a value-added tube voltage value, for example, the tube voltage value is increased from the current tube voltage kVp at the current time t00The voltage is gradually increased to 120KV each time the voltage is increased by 1 KV. Substituting the obtained value-added tube voltage value into the fitting polynomial every time of increasing, obtaining a fitting ABS value, drawing a fitting curve of the successively obtained fitting ABS values, finishing increasing by a first set step length when the fitting curve is not increasing, 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 time t 0;
specifically, if the tube voltage is gradually increased, the radiation dose is increased, and the image brightness is also increased according to the formula v0Σ (a) (i) (j) k (i) (j)/Σ k (i) (j) ABS value should also be increased. Therefore, if the ABS value calculated by the fitting polynomial is not increasing, the fitting curve is up to this point, and the tube voltage value corresponding to the fitting ABS value with the highest increasing point is taken as the final tube voltage value at the current time t 0.
If the ABS value v at the current moment0>VmaxThen the tube voltage kVp at the current moment t0 is obtained0Decreasing in a second set step to obtain a reduced tube voltage value, e.g., the tube voltage value is decreased from the current tube voltage kVp at the current time t00The voltage is gradually decreased to 40KV each time the voltage is decreased to 1 KV. Substituting the obtained voltage value of the subtraction tube into the fitting polynomial for each time of degressive measurement to obtain a fitting ABS value, drawing a fitting curve of the successively obtained fitting ABS values, finishing degressive measurement by a second set step length when the fitting curve is not degressive, and deliveringAnd taking the tube voltage value corresponding to the lowest point fitting ABS value as the final tube voltage value at the current time t 0.
In particular, if the tube voltage is gradually decreased, the radiation dose is decreased, and the image brightness is also decreased according to the formula v0Σ (a) (i) (j) k (i) (j)/Σ k (i) (j) ABS value should also be decreased. Therefore, if the ABS value calculated by the fitting polynomial is not decreasing, 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 t0 by the fitting curve.
Fig. 3 is a schematic diagram of functional modules of an embodiment of the apparatus for controlling exposure brightness of X-ray according to the present invention.
The X-ray exposure luminance control device 100 of the present invention can be incorporated in an electronic apparatus. According to the realized functions, the X-ray exposure brightness control device 100 may include an ROI ABS value acquisition module 101, a fitting polynomial construction module 102, and a final tube voltage determination module 103. The module of the present invention refers to a series of computer program segments that can be executed by a processor of an electronic device and can perform a fixed function, and is stored in a memory of the electronic device.
In the present embodiment, the functions of the modules are as follows:
an ROI area ABS value obtaining module 101, configured to obtain 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), and taking the average value of the product of the average gray scale of each sub-image of the ROI and the corresponding weight as the ABS (anti-lock braking system) value v at the current moment of the ROI of the shot image0
A fitting polynomial constructing module 102, configured to construct a fitting polynomial using the tube voltage values and the ABS values at the current time t0 and a plurality of previous times, where a method of constructing the fitting polynomial is as described above;
a final tube voltage determining module 103 for determining if the ABS value v is present0At VminAnd VmaxTaking the initial tube voltage value as the final tube voltage value at the current time t 0;
if the ABS value v at the current moment0<VminThen the tube voltage kVp at the current moment0Increasing by a first set step length to obtain a value-added tube voltage value, substituting the value-added tube voltage value into the fitting polynomial to obtain a fitting ABS value, drawing a fitting curve of the successively obtained fitting ABS values, and taking a tube voltage value corresponding to the fitting ABS value with the highest increasing point as a final tube voltage value at the current time t 0;
if the ABS value v at the current moment0>VmaxThen the tube voltage kVp at the current moment0Decreasing by a second set step length to obtain a value-decreasing tube voltage value, substituting the value-decreasing tube voltage value into the fitting polynomial to obtain a fitting ABS value, drawing a fitting curve of the successively obtained fitting ABS values, taking the tube voltage value corresponding to the lowest point fitting ABS value as the final tube voltage value at the current time t0,
wherein, the VminAnd VmaxIs the range of the ABS value of the exposure image of the X-ray machine.
Fig. 4 is a schematic structural diagram of an embodiment of an electronic device for implementing the method for controlling the exposure brightness of X-rays 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, which includes flash memory, removable hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disk, 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 also be an external storage device of the electronic device 1 in other embodiments, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and 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 to store application software installed in the electronic apparatus 1 and various types of data, such as codes of an X-ray exposure brightness control program, but also to temporarily store data that has been output or is to be output.
The processor 10 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same or different functions, including one or more Central Processing Units (CPUs), microprocessors, digital Processing chips, graphics processors, and combinations of various control chips. The processor 10 is a Control Unit (Control Unit) of the electronic device, connects various components of the electronic device by using various interfaces and lines, and executes various functions and processes data of the electronic device 1 by running or executing programs or modules (e.g., X-ray exposure brightness Control programs, etc.) stored in the memory 11 and calling data stored in the memory 11.
The bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is arranged to enable connection communication between the memory 11 and at least one processor 10 or the like.
Fig. 4 only shows an electronic device with components, and it will be understood by those 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 those shown, or some components may be combined, or a different arrangement of components.
For example, although not shown, the electronic device 1 may further include a power supply (such as a battery) for supplying power to each component, and optionally, the power supply 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, power consumption management, and the like through the power management device. The power supply may also include any component of one or more dc or ac power sources, recharging devices, power failure detection circuitry, power converters or inverters, power status indicators, and the like. The electronic device 1 may further include various sensors, a bluetooth module, a Wi-Fi module, and the like, which are not described herein again.
Further, the electronic device 1 may further include a network interface, and optionally, the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a bluetooth interface, etc.), which are generally used for establishing a communication connection between the electronic device 1 and other electronic devices.
Optionally, the electronic device 1 may further comprise a user interface, which may be a Display (Display), an input unit (such as a Keyboard), and optionally 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 device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information processed in the electronic device 1 and for displaying a visualized user interface, among other things.
It is to be understood that the described embodiments are for purposes of illustration only and that the scope of the appended claims is not limited to such structures.
The X-ray exposure brightness control program 12 stored in the memory 11 of the electronic device 1 is a combination of instructions that, when executed in the processor 10, can implement:
s1, obtaining the shot image at the current time t0, and dividing the shot image into a plurality of sub-images;
s2, selecting a plurality of sub-images to form an ROI area, and taking the average value of the product of the average gray scale of each sub-image of the ROI area and the corresponding weight as the ABS value v at the current time of the ROI area of the shot image0
S3, constructing a fitting polynomial by using the tube voltage values and the ABS values at the current time t0 and a plurality of previous times, wherein the method for constructing the fitting polynomial is as described above;
s4, if the ABS value v at the current moment0At VminAnd VmaxTaking the initial tube voltage value as the final tube voltage value at the current time t 0;
if the ABS value v at the current moment0<VminThen the tube voltage kVp at the current moment0Increasing by a first set step length to obtain a value-added tube voltage value, substituting the value-added tube voltage value into the fitting polynomial to obtain a fitting ABS value, drawing a fitting curve of the successively obtained fitting ABS values, and taking a tube voltage value corresponding to the fitting ABS value with the highest increasing point as a final tube voltage value at the current time t 0;
if the ABS value v at the current moment0>VmaxThen the tube voltage kVp at the current moment0Decreasing by a second set step length to obtain a value-decreasing tube voltage value, substituting the value-decreasing tube voltage value into the fitting polynomial to obtain a fitting ABS value, drawing a fitting curve of the successively obtained fitting ABS values, taking the tube voltage value corresponding to the lowest point fitting ABS value as the final tube voltage value at the current time t0,
wherein, the VminAnd VmaxIs the range of the ABS value of the exposure image of the X-ray machine.
The specific operation flow is the type of the flow of the X-ray exposure brightness control method shown in fig. 1, and specific reference may be made to the description of the X-ray exposure brightness control method shown in fig. 2, which is not described herein again.
Further, the integrated modules of the electronic device 1 may be stored in a computer-readable storage medium if they are implemented in the form of software functional units and sold or used as independent products. The computer-readable medium may include: any entity or device capable of carrying said computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM).
In the embodiments provided by the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
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 attributes 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 embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. An X-ray exposure brightness control method is characterized by comprising the following steps:
acquiring a shot image at the current time t0, and dividing the shot image into a plurality of sub-images;
selecting a plurality of sub-images to form an ROI (region of interest), and taking the average value of the product of the average gray scale of each sub-image of the ROI and the corresponding weight as the ABS (anti-lock braking system) value v at the current moment of the ROI of the shot image0
Constructing a fitting polynomial by using the tube voltage values and the ABS values at the current time t0 and a plurality of previous times;
if the ABS value v at the current moment0At VminAnd VmaxTaking the initial tube voltage value as the final tube voltage value at the current time t 0;
if the ABS value v at the current moment0<VminThen the tube voltage kVp at the current moment0Increasing by a first set step length to obtain a value-added tube voltage value, substituting the value-added tube voltage value into the fitting polynomial to obtain a fitting ABS value, drawing a fitting curve of the successively obtained fitting ABS values, and taking a tube voltage value corresponding to the fitting ABS value with the highest increasing point as a final tube voltage value at the current time t 0;
if the ABS value v at the current moment0>VmaxThen the tube voltage kVp at the current moment0Decreasing by a second set step length to obtain a value-decreasing tube voltage value, substituting the value-decreasing tube voltage value into the fitting polynomial to obtain a fitting ABS value, drawing a fitting curve of the successively obtained fitting ABS values, taking the tube voltage value corresponding to the lowest point fitting ABS value as the final tube voltage value at the current time t0,
wherein, the VminAnd VmaxRespectively, the lower limit and the upper limit of the range of the exposure image brightness ABS value of the X-ray machine.
2. The X-ray exposure brightness control method according to claim 1,
taking the average value of the product of the average gray scale of each sub-image of the ROI area and the corresponding weight as the ABS value v of the current time t0 of the ROI area of the shot image0The calculation formula of (a) 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 subimages;
K(i)(j): the weight corresponding to each sub-image;
m is the number of square regions divided in the image length direction;
n is the number of square regions divided in the image width direction.
3. The X-ray exposure brightness control method according to claim 1,
the fitting polynomial is a cubic fitting polynomial:
v=a(kVp-kVp0)3+b(kVp-kVp0)2+c(kVp-kVp0)+v0
Figure FDA0002998873280000011
Figure FDA0002998873280000012
Figure FDA0002998873280000021
wherein (kVp)0,v0),(kVp1,v1),(kVp2,v2),(kVp3,v3) The tube voltage value and the ABS value at the time points t0, t1, t2 and t3 respectively, wherein t0 represents the current time point, t0>t1>t2>t3, wherein kVp0≠kVp1≠kVp2≠kVp3For different tube voltage values, v0、v1、v2、v3ABS values for different tube voltages.
4. The X-ray exposure brightness control method according to claim 1,
the voltage kVp of the tube at the current moment0The tube voltage value is increased by a first set step length, namely the tube voltage kVp at the current moment from the current moment t00At least 1KV increments.
5. The X-ray exposure brightness control method according to claim 1,
the tube voltage kVp at the current moment t00The tube voltage value is decreased by a second set step length, namely the tube voltage value is decreased from the current time t0 to the current time kVp0At least 1KV is decremented each time.
6. An X-ray exposure brightness control apparatus, comprising:
the ROI area ABS value acquisition module is used for acquiring a shot image at the current time t0 and dividing the shot image into a plurality of sub-images;
selecting a plurality of sub-images to form an ROI (region of interest), and taking the average value of the product of the average gray scale of each sub-image of the ROI and the corresponding weight as the ABS (anti-lock braking system) value v at the current moment of the ROI of the shot image0
The fitting polynomial constructing module is used for constructing a fitting polynomial by using the tube voltage values and the ABS values at the current moment t0 and a plurality of previous moments;
a final tube voltage determining module for determining if the ABS value v at the current moment0At VminAnd VmaxTaking the initial tube voltage value as the final tube voltage value at the current time t 0;
if when it is usedFront time ABS value v0<VminThen the tube voltage kVp at the current moment0Increasing by a first set step length to obtain a value-added tube voltage value, substituting the value-added tube voltage value into the fitting polynomial to obtain a fitting ABS value, drawing a fitting curve of the successively obtained fitting ABS values, and taking a tube voltage value corresponding to the fitting ABS value with the highest increasing point as a final tube voltage value at the current time t 0;
if the ABS value v at the current moment0>VmaxThen the tube voltage kVp at the current moment0Decreasing by a second set step length to obtain a value-decreasing tube voltage value, substituting the value-decreasing tube voltage value into the fitting polynomial to obtain a fitting ABS value, drawing a fitting curve of the successively obtained fitting ABS values, taking the tube voltage value corresponding to the lowest point fitting ABS value as the final tube voltage value at the current time t0,
wherein, the VminAnd VmaxThe lower limit and the upper limit of the range of the ABS value of the exposure image of the X-ray machine.
7. An electronic device, characterized in that the electronic device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of X-ray exposure brightness control of any one of claims 1 to 5.
8. A computer-readable storage medium storing a computer program, wherein the computer program is executed by a processor to implement the X-ray exposure brightness control method according to any one of claims 1 to 5.
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 true CN113096081A (en) 2021-07-09
CN113096081B 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的射线曝光曲线制作方法", 现代工业经济和信息化, no. 10, 15 May 2012 (2012-05-15) *

Also Published As

Publication number Publication date
CN113096081B (en) 2024-06-07

Similar Documents

Publication Publication Date Title
CN111932482B (en) Method and device for detecting target object in image, electronic equipment and storage medium
WO2021189910A1 (en) Image recognition method and apparatus, and electronic device and computer-readable storage medium
CN111652845A (en) Abnormal cell automatic labeling method and device, electronic equipment and storage medium
CN112465060A (en) Method and device for detecting target object in image, electronic equipment and readable storage medium
CN111696084B (en) Cell image segmentation method, device, electronic equipment and readable storage medium
CN102670225A (en) Automated imaging contrast agent determination system
US20080219498A1 (en) Visual discrimination model for single image applications
US20180185002A1 (en) Image processing apparatus, image processing method, and image processing system
CN108764139B (en) Face detection method, mobile terminal and computer readable storage medium
CN107068042B (en) Image processing method
CN111932534A (en) Medical image picture analysis method and device, electronic equipment and readable storage medium
CN104603863B (en) The control method of image display device, image display device
CN113379651A (en) Image processing method and system in laser imaging process and related equipment
CN111476760A (en) Medical image generation method and device, electronic equipment and medium
CN101772954A (en) The administrative skill that is used for video playback
KR20160063989A (en) Display apparatus and method for controlling same
CN111932563B (en) Picture region segmentation method and device, electronic equipment and storage medium
CN113096081A (en) X-ray exposure brightness control method, device, equipment and storage medium
JP4210464B2 (en) X-ray diagnostic imaging equipment
CN110738639A (en) Medical image detection result display method, device, equipment and storage medium
CN103610469A (en) Radiology department digital radiography system and operation method thereof
CN106963406A (en) Decay pattern and positron emission fault video generation device
CN112304421B (en) Processing method of gray scale intensity data, storage medium and terminal equipment
JP2013140325A (en) Image output device, control method thereof, image display device, control method thereof and storage medium
CN107887004A (en) Method of adjustment, device and the computer-readable recording medium of fluoroscopy images brightness

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