X-ray photography dual-energy exposure imaging method
By using X-ray dual-energy exposure imaging method in breast tumor surgery, the conventional and high-energy exposure images are fused and the grayscale dynamic range is expanded, the problem of low X-ray absorption rate of breast tissue is solved, and high quality adapted to different densities is achieved Image acquisition simplifies the doctor's operation process.
Patent Information
- Application Number
- CN202411112111.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2024-11-26
AI Technical Summary
In breast tumor breast-conserving surgery, the absorption rate of X-rays by breast tissue is small, and the prior art is difficult to accurately control the energy and dose of X-rays, resulting in doctors needing to adjust exposure parameters based on experience or try multiple times to obtain ideal images. Adapt to the difficulties of tissue density and thickness of different specimens.
Using X-ray dual-energy exposure imaging method, the two-image images are fused through weighted average or Laplace pyramid algorithm, and the histogram equalization algorithm is used to expand the grayscale dynamic range, increase the secondary high-energy X-ray exposure, and adapt to a wider range. specimen tissue density.
Based on traditional specimen X-ray photography technology, a set of exposure parameters is used to adapt to different tissue densities and obtain high-quality specimen X-ray images, reducing the complexity of doctors to adjust exposure parameters and the need for multiple attempts.
Smart Images

Figure CN119023711A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of medical technology and relates to an X-ray photography dual-energy exposure imaging method. Background Art
[0002] During breast-conserving surgery, doctors observe the X-ray images of the specimen to determine whether the edge of the tumor has been completely removed. Compared with human tissues such as bones and muscles, breast tissue has a relatively low absorption rate for X-rays, and the energy and dose of X-rays need to be precisely controlled to more clearly display the internal tissue conditions of the removed specimen, so that doctors can accurately identify whether the specimen resection margin is at a safe enough distance from the tumor tissue and whether more tissue needs to be removed.
[0003] Due to individual differences among patients, the tissue density, thickness and other properties of the resected specimens vary greatly, requiring doctors to reasonably set X-ray exposure parameters based on experience, or to attempt multiple exposures in order to obtain the ideal image.
[0004] Therefore, an X-ray photography dual-energy exposure imaging method is designed to overcome the above problems. Summary of the invention
[0005] The purpose of the present invention is to overcome the shortcomings of the prior art and provide an X-ray photography dual-energy exposure imaging method. By introducing the technical means of dual-energy exposure, the specimen photography equipment can use a set of exposure parameters to adapt to a wider range of specimen tissue densities. Based on the traditional specimen X-ray photography technology, the present invention adds a second high-energy X-ray exposure, adopts a weighted average or Laplace pyramid algorithm to fuse the images of the two imaging, and adopts a histogram equalization algorithm to expand the grayscale dynamic range of the fused image.
[0006] The present invention is implemented by the following technical scheme: an X-ray photography dual-energy exposure imaging method, the method uses the following devices, a specimen radiation intensity cabin, a digital high-voltage power supply, an X-ray tube, and a dynamic ray flat panel detector, and the method comprises the following steps:
[0007] 1) Place the specimen to be imaged into the radiation cabin and close the cabin door;
[0008] 2) Sending conventional exposure parameters to the high-voltage power supply to start high-voltage output;
[0009] 3) The X-ray tube is loaded with high voltage and outputs X-rays;
[0010] 4) Reading specimen X-ray image data from the X-ray flat panel detector;
[0011] 5) After completing the data reading, the high-voltage power supply stops the high-voltage output, sends the high-energy exposure parameters, and starts again;
[0012] 6) Reading high-energy X-ray image data of the specimen from the X-ray flat panel detector;
[0013] 7) Fusion of two exposure image data;
[0014] 8) Perform grayscale histogram equalization algorithm operation on the fused data;
[0015] 9) Data final image.
[0016] Preferably, the conventional exposure parameters in step 2) are voltage: 22 kV to 28 kV, and current: 1 mA to 2 mA.
[0017] As a preference, the parameter range for restarting the high energy exposure in step 5) is defined as follows: voltage: 40kV~45kV, current: 0.1mA~0.5mA
[0018] Preferably, the fusion algorithm in step 7) is a weighted average algorithm or a Laplace pyramid average algorithm.
[0019] As a preference: the specific algorithm process of the weighted average algorithm is:
[0020] G0=(G L *H+G H *L) / (H+L);
[0021] in:
[0022] G0 is the gray value of each point in the fused image;
[0023] G L Get the gray value of each point in the image for conventional exposure;
[0024] G H Get the gray value of each point in the image for high energy exposure;
[0025] L is the average gray value of the conventional exposure image;
[0026] H is the average gray value of the high-energy exposure image.
[0027] As a preferred embodiment, the specific algorithm process of the Laplace pyramid averaging algorithm is:
[0028] a. Perform Laplace pyramid decomposition on the conventional exposure image and the high-energy exposure image to obtain 4 to 9 layers of decomposition images;
[0029] b. Fusion of each layer of images using the weighted average algorithm described above;
[0030] c. Reconstruct the fused image using the Laplace pyramid algorithm to obtain the final fused image.
[0031] The beneficial effects of the present invention are as follows:
[0032] The present invention introduces dual-energy exposure technology so that the specimen photography equipment can use a set of exposure parameters to adapt to a wider range of specimen tissue densities. On the basis of traditional specimen X-ray photography technology, a second high-energy X-ray exposure is added, and a weighted average or Laplace pyramid algorithm is used to fuse the two images, and a histogram equalization algorithm is used to expand the grayscale dynamic range of the fused image. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 This is an existing single conventional exposure image.
[0034] Figure 2 This is an existing single high-energy exposure image.
[0035] Figure 3 This is the dual-energy exposure image (weighted average algorithm fusion) of the present invention.
[0036] Figure 4 It is the dual-energy exposure image (Laplacian pyramid fusion) of the present invention. DETAILED DESCRIPTION
[0037] In order to enable those skilled in the art to more clearly understand the objectives, technical solutions and advantages of the present invention, the present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0038] In the description of the present invention, it is necessary to understand that the orientation or position relationship indicated by the terms such as "up", "down", "left", "right", "inside", "outside", "horizontal" and "vertical" is based on the orientation or position relationship shown in the accompanying drawings, and is only for the convenience of describing the present invention, rather than indicating or implying that the device or original referred to must have a specific orientation, and therefore cannot be understood as a limitation on the present invention.
[0039] The present invention will be described in detail below with reference to the accompanying drawings: Figure 3-4 As shown, an X-ray photography dual-energy exposure imaging method uses the following devices: a specimen radiation intensity chamber, a digital high-voltage power supply, an X-ray tube, and a dynamic ray flat panel detector. The method includes the following steps:
[0040] 1) Place the specimen to be imaged into the radiation cabin and close the cabin door;
[0041] 2) Sending conventional exposure parameters to the high-voltage power supply to start high-voltage output;
[0042] 3) The X-ray tube is loaded with high voltage and outputs X-rays;
[0043] 4) Reading specimen X-ray image data from the X-ray flat panel detector;
[0044] 5) After completing the data reading, the high-voltage power supply stops the high-voltage output, sends the high-energy exposure parameters, and starts again;
[0045] 6) Reading high-energy X-ray image data of the specimen from the X-ray flat panel detector;
[0046] 7) Fusion of two exposure image data;
[0047] 8) Perform grayscale histogram equalization algorithm operation on the fused data;
[0048] 9) Data final image.
[0049] The conventional exposure parameters in step 2) are voltage: 22 kV to 28 kV, current: 1 mA to 2 mA.
[0050] The parameter range for restarting high energy exposure in step 5) is defined as follows: voltage: 40 kV to 45 kV, current: 0.1 mA to 0.5 mA. The fusion algorithm in step 7) is a weighted average algorithm or a Laplace pyramid average algorithm.
[0051] The specific algorithm process of the weighted average algorithm is:
[0052] G0=(G L *H+G H *L) / (H+L);
[0053] in:
[0054] G0 is the gray value of each point in the fused image;
[0055] G L Get the gray value of each point in the image for conventional exposure;
[0056] G H Get the gray value of each point in the image for high energy exposure;
[0057] L is the average gray value of the conventional exposure image;
[0058] H is the average gray value of the high-energy exposure image.
[0059] H is the average gray value of the high-energy exposure image.
[0060] The specific algorithm process of the Laplace pyramid averaging algorithm is as follows:
[0061] a. Perform Laplace pyramid decomposition on the conventional exposure image and the high-energy exposure image to obtain 4 to 9 layers of decomposition images;
[0062] b. Fusion of each layer of images using the weighted average algorithm described above;
[0063] c. Reconstruct the fused image using the Laplace pyramid algorithm to obtain the final fused image.
[0064] The white area in the figure is due to insufficient X-ray energy, which did not penetrate the sample, resulting in the failure to image the area. If the X-ray energy is simply increased, the tissue density in the lower half of the image is low, and the X-ray exposure is excessive, which reduces the grayscale dynamic range of the image, making the image dark and less clear.
[0065] By fusing images of conventional exposure and high-energy exposure, the different demands for X-ray energy in areas with different specimen tissue density are taken into account. Regardless of the specimen tissue density, a relatively clear image can be obtained.
[0066] In actual application, the specimen photography equipment is set with reasonable conventional and high-energy exposure parameters when it leaves the factory. Doctors can obtain high-quality specimen X-ray images with one click, eliminating the need to spend energy and effort to carefully adjust the X-ray exposure parameters.
[0067] Example
[0068] The equipment used in the implementation of the present invention includes:
[0069] 1. Specimen radiation cabin;
[0070] 2. Digital high voltage power supply;
[0071] 3. X-ray tube;
[0072] 4. Dynamic X-ray flat panel detector.
[0073] The implementation steps of the present invention are as follows:
[0074] 1. Place the specimen to be imaged into the radiation cabin and close the cabin door;
[0075] 2. Send conventional exposure parameters to the high-voltage power supply and start high-voltage output;
[0076] Among them, the exposure parameter range is defined as follows:
[0077] Voltage: 22kV~28kV
[0078] Current: 1mA~2mA
[0079] 3. The X-ray tube is loaded with high voltage and outputs X-rays;
[0080] 4. Read the specimen X-ray image data from the X-ray flat panel detector;
[0081] 5. After completing the data reading, the high-voltage power supply stops the high-voltage output, sends the high-energy exposure parameters, and starts again;
[0082] Among them, the high energy exposure parameter range is defined as follows:
[0083] Voltage: 40kV~45kV;
[0084] Current: 0.1mA~0.5mA;
[0085] 6. Read the specimen high-energy X-ray image data from the X-ray flat panel detector;
[0086] 7. Fusion of two exposure image data;
[0087] The fusion algorithm can choose one of the following two to perform the operation:
[0088] 1) Weighted average:
[0089] The calculation formula is as follows:
[0090] G0=(G L *H+G H *L) / (H+L);
[0091] in:
[0092] G0 is the gray value of each point in the fused image;
[0093] G L Get the gray value of each point in the image for conventional exposure;
[0094] G H Get the gray value of each point in the image for high energy exposure;
[0095] L is the average gray value of the conventional exposure image;
[0096] H is the average gray value of the high-energy exposure image.
[0097] 1) Laplacian pyramid averaging:
[0098] a) performing Laplacian pyramid decomposition on the conventional exposure image and the high-energy exposure image to obtain 4 to 9 layers of decomposition images;
[0099] b) fusing each layer of images according to the weighted average algorithm mentioned above;
[0100] c) The fused image is reconstructed using the Laplacian pyramid algorithm to obtain the final fused image.
[0101] 8. Perform grayscale histogram equalization algorithm operation on the fused data;
[0102] 9. Final image of data.
[0103] The specific embodiments described herein are merely illustrative of the principles and effects of the present invention and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed by the present invention shall still be covered by the claims of the present invention.
Claims
1. An X-ray photography dual-energy exposure imaging method, the method uses the following devices, a specimen radiation intensity cabin, a digital high-voltage power supply, an X-ray tube, and a dynamic ray flat panel detector, characterized in that: The method comprises the following steps: 1) Place the specimen to be imaged into the radiation cabin and close the cabin door; 2) Sending conventional exposure parameters to the high-voltage power supply to start high-voltage output; 3) The X-ray tube is loaded with high voltage and outputs X-rays; 4) Reading specimen X-ray image data from the X-ray flat panel detector; 5) After completing the data reading, the high-voltage power supply stops the high-voltage output, sends the high-energy exposure parameters, and starts again; 6) Reading high-energy X-ray image data of the specimen from the X-ray flat panel detector; 7) Fusion of two exposure image data; 8) Perform grayscale histogram equalization algorithm operation on the fused data; 9) Data final image.
2. The X-ray photography dual energy exposure imaging method according to claim 1, characterized in that: The conventional exposure parameters in step 2) are voltage: 22 kV to 28 kV, current: 1 mA to 2 mA.
3. The X-ray photography dual energy exposure imaging method according to claim 1, characterized in that: In the step 5), the parameter range for restarting the high energy exposure is defined as follows: voltage: 40 kV to 45 kV, current: 0.1 mA to 0.5 mA.
4. The X-ray photography dual energy exposure imaging method according to claim 1, characterized in that: The fusion algorithm in step 7) is a weighted average algorithm or a Laplace pyramid average algorithm.
5. The X-ray photography dual energy exposure imaging method according to claim 4, characterized in that: The specific algorithm process of the weighted average algorithm is: G0=(G L *H+G H *L) / (H+L); in: G0 is the gray value of each point in the fused image; G L Get the gray value of each point in the image for conventional exposure; G H Get the gray value of each point in the image for high energy exposure; L is the average gray value of the conventional exposure image; H is the average gray value of the high-energy exposure image.
6. The X-ray photography dual energy exposure imaging method according to claim 4, characterized in that: The specific algorithm process of the Laplace pyramid averaging algorithm is as follows: a. Perform Laplace pyramid decomposition on the conventional exposure image and the high-energy exposure image to obtain 4 to 9 layers of decomposition images; b. Fusion of each layer of images using the weighted average algorithm described above; c. Reconstruct the fused image using the Laplace pyramid algorithm to obtain the final fused image.
