CN118845066A - X-ray image reconstruction method, reconstruction system and computer readable storage medium - Google Patents
X-ray image reconstruction method, reconstruction system and computer readable storage medium Download PDFInfo
- Publication number
- CN118845066A CN118845066A CN202411346438.5A CN202411346438A CN118845066A CN 118845066 A CN118845066 A CN 118845066A CN 202411346438 A CN202411346438 A CN 202411346438A CN 118845066 A CN118845066 A CN 118845066A
- Authority
- CN
- China
- Prior art keywords
- pixel
- ray
- detector
- ray image
- image reconstruction
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 238000003384 imaging method Methods 0.000 claims abstract description 53
- 238000004458 analytical method Methods 0.000 claims abstract description 44
- 239000011159 matrix material Substances 0.000 claims description 30
- 238000001514 detection method Methods 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 12
- 238000004422 calculation algorithm Methods 0.000 claims description 8
- 230000006870 function Effects 0.000 claims description 5
- 230000009466 transformation Effects 0.000 claims description 4
- 238000002366 time-of-flight method Methods 0.000 claims description 2
- 238000004364 calculation method Methods 0.000 description 6
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 1
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 1
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 238000002059 diagnostic imaging Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
- G06T17/20—Finite element generation, e.g. wire-frame surface description, tesselation
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B6/00—Apparatus or devices for radiation diagnosis; Apparatus or devices for radiation diagnosis combined with radiation therapy equipment
- A61B6/52—Devices using data or image processing specially adapted for radiation diagnosis
- A61B6/5205—Devices using data or image processing specially adapted for radiation diagnosis involving processing of raw data to produce diagnostic data
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B6/00—Apparatus or devices for radiation diagnosis; Apparatus or devices for radiation diagnosis combined with radiation therapy equipment
- A61B6/52—Devices using data or image processing specially adapted for radiation diagnosis
- A61B6/5211—Devices using data or image processing specially adapted for radiation diagnosis involving processing of medical diagnostic data
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B6/00—Apparatus or devices for radiation diagnosis; Apparatus or devices for radiation diagnosis combined with radiation therapy equipment
- A61B6/58—Testing, adjusting or calibrating thereof
- A61B6/582—Calibration
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Medical Informatics (AREA)
- Physics & Mathematics (AREA)
- Biomedical Technology (AREA)
- Animal Behavior & Ethology (AREA)
- Biophysics (AREA)
- Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
- Optics & Photonics (AREA)
- Pathology (AREA)
- Radiology & Medical Imaging (AREA)
- Veterinary Medicine (AREA)
- Heart & Thoracic Surgery (AREA)
- Molecular Biology (AREA)
- Surgery (AREA)
- High Energy & Nuclear Physics (AREA)
- General Health & Medical Sciences (AREA)
- Public Health (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Computer Graphics (AREA)
- Geometry (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Apparatus For Radiation Diagnosis (AREA)
Abstract
X光图像的重建方法,包括S10至S50。S10:获取待成像物体在数次X光成像的各次X光成像中探测器各像素的实测光强值。S40:根据各次X光成像中探测器各像素的入射X光束在分析区域的各有限元内的传播距离及各次X光成像中探测器各像素的实测光强值,计算得到探测器各像素的校正后线性衰减系数。S50:根据探测器各像素的校正后线性衰减系数生成X光图像。该重建方法能够校正由X光辐照场的锥形特性造成的X光图像的几何畸变。此外还提供了计算机可读存储介质及X光图像的重建系统。
The reconstruction method of X-ray images includes S10 to S50. S10: Obtain the measured light intensity value of each pixel of the detector in each X-ray imaging of the object to be imaged in several X-ray imagings. S40: Calculate the corrected linear attenuation coefficient of each pixel of the detector according to the propagation distance of the incident X-ray beam of each pixel of the detector in each finite element of the analysis area in each X-ray imaging and the measured light intensity value of each pixel of the detector in each X-ray imaging. S50: Generate an X-ray image according to the corrected linear attenuation coefficient of each pixel of the detector. The reconstruction method can correct the geometric distortion of the X-ray image caused by the conical characteristics of the X-ray irradiation field. In addition, a computer-readable storage medium and an X-ray image reconstruction system are provided.
Description
技术领域Technical Field
本发明涉及医疗成像领域,尤其涉及X光图像的重建方法,及用于实现该重建方法的重建系统和计算机可读存储介质。The present invention relates to the field of medical imaging, and in particular to a method for reconstructing an X-ray image, and a reconstruction system and a computer-readable storage medium for implementing the reconstruction method.
背景技术Background Art
在X光成像过程中,设备会产生一个锥形的X光辐照场。由于X光辐照场的锥形特性,若直接根据探测器各像素的实测光强值重建图像,得到的图像会出现放大效应,且这种放大效应从待成像物体中心向边缘逐渐增强,导致无法准确反映物体的内部结构。During the X-ray imaging process, the device generates a cone-shaped X-ray irradiation field. Due to the cone-shaped characteristics of the X-ray irradiation field, if the image is directly reconstructed based on the measured light intensity values of each pixel of the detector, the resulting image will have a magnification effect, and this magnification effect gradually increases from the center to the edge of the object to be imaged, resulting in an inability to accurately reflect the internal structure of the object.
发明内容Summary of the invention
本发明的目的是提供一种X光图像的重建方法,其能够校正由X光辐照场的锥形特性造成的X光图像的几何畸变。The object of the present invention is to provide a method for reconstructing an X-ray image, which can correct the geometric distortion of the X-ray image caused by the conical characteristics of the X-ray irradiation field.
本发明的另一个目的是提供一种计算机可读存储介质,其可用于校正由X光辐照场的锥形特性造成的X光图像的几何畸变。Another object of the present invention is to provide a computer-readable storage medium that can be used to correct the geometric distortion of an X-ray image caused by the conical characteristics of the X-ray irradiation field.
本发明的再一个目的是提供一种X光图像的重建系统,其能够校正由X光辐照场的锥形特性造成的X光图像的几何畸变。Another object of the present invention is to provide an X-ray image reconstruction system that is capable of correcting the geometric distortion of the X-ray image caused by the conical characteristics of the X-ray irradiation field.
本发明提供了一种X光图像的重建方法,其包括S10至S50。S10:获取待成像物体在数次X光成像的各次X光成像中探测器各像素的实测光强值,其中数次X光成像中待成像物体的姿势和位置不变,且数次X光成像的X光焦点的位置不同。S40:根据各次X光成像中探测器各像素的入射X光束在分析区域的各有限元内的传播距离及各次X光成像中探测器各像素的实测光强值,计算得到探测器各像素的校正后线性衰减系数,探测器各像素的校正后线性衰减系数为X光束沿垂直于探测平面的方向穿过分析区域到达探测器该像素的线性衰减系数。S50:根据探测器各像素的校正后线性衰减系数生成X光图像。The present invention provides a method for reconstructing an X-ray image, which includes S10 to S50. S10: Obtain the measured light intensity value of each pixel of the detector in each of several X-ray imagings of the object to be imaged, wherein the posture and position of the object to be imaged in the several X-ray imagings remain unchanged, and the positions of the X-ray focal points of the several X-ray imagings are different. S40: According to the propagation distance of the incident X-ray beam of each pixel of the detector in each finite element of the analysis area in each X-ray imaging and the measured light intensity value of each pixel of the detector in each X-ray imaging, calculate the corrected linear attenuation coefficient of each pixel of the detector, the corrected linear attenuation coefficient of each pixel of the detector is the linear attenuation coefficient of the X-ray beam passing through the analysis area in a direction perpendicular to the detection plane to reach the pixel of the detector. S50: Generate an X-ray image according to the corrected linear attenuation coefficient of each pixel of the detector.
该X光图像的重建方法能够校正由X光辐照场的锥形特性造成的X光图像的几何畸变。The X-ray image reconstruction method can correct the geometric distortion of the X-ray image caused by the cone characteristic of the X-ray irradiation field.
在X光图像的重建方法的另一种示意性实施方式中,S40包括S41和S42。S41:根据各次X光成像中探测器各像素的实测光强值计算得到各次X光成像中探测器各像素的实际线性衰减系数。S42:根据各次X光成像中探测器各像素的入射X光束在分析区域的各有限元内的传播距离及各次X光成像中探测器各像素的实际线性衰减系数,利用代数重建算法,计算得到探测器各像素的校正后线性衰减系数。利用代数重建算法可在数据较少或质量较差的情况下计算得到探测器各像素的校正后线性衰减系数,借此提高重建方法的适用性。In another exemplary embodiment of the X-ray image reconstruction method, S40 includes S41 and S42. S41: Calculate the actual linear attenuation coefficient of each pixel of the detector in each X-ray imaging according to the measured light intensity value of each pixel of the detector in each X-ray imaging. S42: Calculate the corrected linear attenuation coefficient of each pixel of the detector according to the propagation distance of the incident X-ray beam of each pixel of the detector in each finite element of the analysis area in each X-ray imaging and the actual linear attenuation coefficient of each pixel of the detector in each X-ray imaging using an algebraic reconstruction algorithm. The corrected linear attenuation coefficient of each pixel of the detector can be calculated using the algebraic reconstruction algorithm when there is less data or the data quality is poor, thereby improving the applicability of the reconstruction method.
在X光图像的重建方法的再一种示意性实施方式中,S42包括S421至S423。In another exemplary implementation of the X-ray image reconstruction method, S42 includes S421 to S423.
S421:针对各次X光成像建立如下公式(1),S421: Establish the following formula (1) for each X-ray imaging:
公式(1), Formula (1),
其中,为代数重建算法的系数矩阵,其是第次X光成像中探测器各像素的入射X光束在分析区域的各有限元内的传播距离的矩阵,是第次X光成像中探测器各像素的实际线性衰减系数的矩阵,是各有限元的单位衰减因子的矩阵。in, is the coefficient matrix of the algebraic reconstruction algorithm, which is The matrix of the propagation distance of the incident X-ray beam of each pixel of the detector in each finite element of the analysis area in the secondary X-ray imaging, It is The matrix of the actual linear attenuation coefficients of each pixel of the detector in the secondary X-ray imaging, is the matrix of unit attenuation factors for each finite element.
S422:建立如下公式(2),S422: Establish the following formula (2):
公式(2), Formula (2),
其中,是X光束沿垂直于探测平面的方向穿过分析区域到达探测器各像素的过程中在分析区域的各有限元内的传播距离的矩阵,且,是探测器各像素的校正后线性衰减系数的矩阵,是各有限元的单位衰减因子的矩阵。in, is the matrix of the propagation distance of the X-ray beam in each finite element of the analysis area in the process of passing through the analysis area in a direction perpendicular to the detection plane to reach each pixel of the detector, and , is the matrix of corrected linear attenuation coefficients for each pixel of the detector, is the matrix of unit attenuation factors for each finite element.
S423:根据公式(1)和公式(2)定义变换函数:,从而求解,得到。借此可便于运算。S423: Define the transformation function according to formula (1) and formula (2): , thus solving ,get This makes calculations easier.
在X光图像的重建方法的还一种示意性实施方式中,数次X光成像的X光焦点位于垂直于探测平面的同一条直线上。借此利于简化后续的几何运算。In another exemplary embodiment of the X-ray image reconstruction method, the X-ray focal points of several X-ray images are located on the same straight line perpendicular to the detection plane, thereby simplifying subsequent geometric operations.
在X光图像的重建方法的还一种示意性实施方式中,在S40之前还包括S20和S30。S20:确定一个包含待成像物体在数次X光成像中被照射的部分的空间区域作为分析区域。S30:对所述分析区域进行网格划分,形成数个有限元。In another exemplary embodiment of the X-ray image reconstruction method, before S40, S20 and S30 are also included. S20: Determine a spatial region including a portion of the object to be imaged that is irradiated in several X-ray imagings as an analysis region. S30: Mesh the analysis region to form several finite elements.
在X光图像的重建方法的还一种示意性实施方式中,S20包括S21和S22。S21:获取待成像物体的被照射的部分的全部或部分边界,称为参考边界。S22:根据参考边界确定作为分析区域的空间区域,使参考边界作为分析区域的边界的至少一部分。借此利于缩小分析区域的范围,利于降低后续的运算量。In another exemplary embodiment of the X-ray image reconstruction method, S20 includes S21 and S22. S21: Acquire the entire or partial boundary of the irradiated portion of the object to be imaged, referred to as the reference boundary. S22: Determine the spatial region as the analysis region according to the reference boundary, and use the reference boundary as at least a part of the boundary of the analysis region. This helps to narrow the scope of the analysis region and reduce the subsequent amount of calculation.
在X光图像的重建方法的还一种示意性实施方式中,获取待成像物体的被照射的部分的全部或部分边界的方法包括雷达成像法、激光扫描法、结构光扫描法、立体视觉法和/或时间飞行法。借此可便于实施。In another exemplary embodiment of the X-ray image reconstruction method, the method of obtaining all or part of the boundary of the irradiated part of the object to be imaged includes radar imaging, laser scanning, structured light scanning, stereo vision and/or time-of-flight method, which can be easily implemented.
在X光图像的重建方法的还一种示意性实施方式中,网格划分的网格单元为矩体,其中矩体的一组相对面与探测平面平行。借此利于简化后续几何运算。In another exemplary embodiment of the X-ray image reconstruction method, the grid unit of the grid division is a rectangular body, wherein a set of opposite faces of the rectangular body are parallel to the detection plane, thereby simplifying subsequent geometric operations.
在X光图像的重建方法的还一种示意性实施方式中,S50包括S51和S52。S51:根据探测器各像素的校正后线性衰减系数计算得到探测器各像素的校正光强值。S52:根据探测器各像素的校正光强值生成X光图像。In another exemplary embodiment of the X-ray image reconstruction method, S50 includes S51 and S52. S51: Calculate the corrected light intensity value of each pixel of the detector according to the corrected linear attenuation coefficient of each pixel of the detector. S52: Generate an X-ray image according to the corrected light intensity value of each pixel of the detector.
在X光图像的重建方法的还一种示意性实施方式中,S51中通过如下公式(3)计算得到探测器各像素的校正光强值,In another exemplary implementation of the X-ray image reconstruction method, in S51, the corrected light intensity value of each pixel of the detector is calculated by the following formula (3):
公式(3), Formula (3),
其中,是对应探测器各像素的入射光强值的矩阵,是探测器各像素的校正光强值的矩阵,是探测器各像素的校正后线性衰减系数的矩阵。in, is the matrix of incident light intensity values corresponding to each pixel of the detector, is the matrix of corrected light intensity values for each pixel of the detector, is the matrix of corrected linear attenuation coefficients for each pixel of the detector.
本发明还提供了一种计算机可读存储介质,其上存储有计算机程序。计算机程序被处理器执行时,可实现上述X光图像的重建方法的步骤。从而校正由X光辐照场的锥形特性造成的X光图像的几何畸变。The present invention also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the above-mentioned X-ray image reconstruction method can be implemented, thereby correcting the geometric distortion of the X-ray image caused by the conical characteristics of the X-ray irradiation field.
本发明还提供了一种X光图像的重建系统,包括存储处理单元。存储处理单元包括存储器和处理器。存储器存储有计算机程序。处理器执行计算机程序时,可实现上述X光图像的重建方法。该X光图像的重建系统能够校正由X光辐照场的锥形特性造成的X光图像的几何畸变。The present invention also provides an X-ray image reconstruction system, including a storage processing unit. The storage processing unit includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the above-mentioned X-ray image reconstruction method can be implemented. The X-ray image reconstruction system can correct the geometric distortion of the X-ray image caused by the conical characteristics of the X-ray irradiation field.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
以下附图仅对本发明做示意性说明和解释,并不限定本发明的范围。The following drawings are only used to schematically illustrate and explain the present invention, and do not limit the scope of the present invention.
图1为X光图像的重建方法的一种示意性实施方式的流程图。FIG1 is a flow chart of a schematic implementation of a method for reconstructing an X-ray image.
图2用于示意性地说明两次X光成像的X光焦点的位置。FIG. 2 is used to schematically illustrate the positions of the X-ray focal points of two X-ray imagings.
图3用于说明确定分析区域的一种示意性方法。FIG. 3 is used to illustrate a schematic method for determining the analysis area.
图4为图1所示的重建方法的S42的流程图。FIG. 4 is a flow chart of S42 of the reconstruction method shown in FIG. 1 .
标号说明Description of symbols
10 待成像物体10 Object to be imaged
30 3D相机30 3D Camera
S 探测平面S Detection plane
F1 第一X光焦点F1 First X-ray Focus
F2 第二X光焦点F2 Second X-ray focus
B 参考边界B Reference Boundary
A 分析区域A Analysis area
具体实施方式DETAILED DESCRIPTION
为了对发明的技术特征、目的和效果有更加清楚的理解,现对照附图说明本发明的具体实施方式,在各图中相同的标号表示结构相同或结构相似但功能相同的部件。In order to have a clearer understanding of the technical features, purposes and effects of the invention, the specific embodiments of the present invention are now described with reference to the accompanying drawings. The same reference numerals in the drawings represent components with the same structure or similar structures but the same functions.
在本文中,“示意性”表示“充当实例、例子或说明”,不应将在本文中被描述为“示意性”的任何图示、实施方式解释为一种更优选的或更具优点的技术方案。In this document, “exemplary” means “serving as an example, instance or illustration”, and any diagram or implementation described in this document as “exemplary” should not be interpreted as a more preferred or more advantageous technical solution.
在本文中,“第一”、“第二”等并非表示其重要程度或顺序等,仅用于表示彼此的区别,以利文件的描述。In this article, "first", "second", etc. do not indicate their importance or order, but are only used to indicate the difference between each other for the convenience of document description.
为使图面简洁,各图中只示意性地表示出了与本发明相关的部分,它们并不代表其作为产品的实际结构。In order to simplify the drawings, each figure only schematically shows the parts related to the present invention, which do not represent the actual structure of the product.
图1为X光图像的重建方法的一种示意性实施方式的流程图。如图1所示,X光图像的重建方法包括以下S10至S50。Fig. 1 is a flow chart of an exemplary embodiment of a method for reconstructing an X-ray image. As shown in Fig. 1, the method for reconstructing an X-ray image includes the following steps S10 to S50.
S10:获取待成像物体在数次X光成像的各次X光成像中探测器各像素的实测光强值,其中数次X光成像中待成像物体的姿势和位置不变,且数次X光成像的X光焦点的位置不同。其中,待成像物体的姿势和位置不变,指的是待成像物体相对于探测平面的姿势和位置不变。S10: obtaining the measured light intensity value of each pixel of the detector of the object to be imaged in each of the X-ray imaging of the plurality of X-ray imaging, wherein the posture and position of the object to be imaged in the plurality of X-ray imaging are unchanged, and the positions of the X-ray focal points of the plurality of X-ray imaging are different. The unchanged posture and position of the object to be imaged refers to the unchanged posture and position of the object to be imaged relative to the detection plane.
具体地,在示意性实施方式中,数次X光成像的X光焦点例如位于垂直于探测平面的同一条直线上。图2中以两次X光成像为例,显示了第一次X光成像的第一X光焦点F1和第二次X光成像的第二X光焦点F2。第一X光焦点F1和第二X光焦点F2位于垂直于探测平面S的同一条直线L上。借此利于简化后续的几何运算。Specifically, in the exemplary embodiment, the X-ray focal points of several X-ray images are, for example, located on the same straight line perpendicular to the detection plane. FIG2 takes two X-ray images as an example, showing the first X-ray focal point F1 of the first X-ray image and the second X-ray focal point F2 of the second X-ray image. The first X-ray focal point F1 and the second X-ray focal point F2 are located on the same straight line L perpendicular to the detection plane S. This helps to simplify subsequent geometric operations.
S20:确定一个包含待成像物体在数次X光成像中被照射的部分的空间区域作为分析区域。具体地,S20例如包括以下S21和S22。S20: Determine a spatial region including the portion of the object to be imaged that is irradiated in a plurality of X-ray imagings as an analysis region. Specifically, S20 includes, for example, the following S21 and S22.
S21:获取待成像物体的被照射的部分的全部或部分边界,称为参考边界。参考边界例如为三维边界面,但不限于此。S21: Acquire the entire or partial boundary of the irradiated portion of the object to be imaged, which is called a reference boundary. The reference boundary is, for example, a three-dimensional boundary surface, but is not limited thereto.
S22:根据参考边界确定作为分析区域的空间区域,使参考边界作为分析区域的边界的至少一部分。S22: Determine a spatial region as an analysis region according to a reference boundary, so that the reference boundary serves as at least a part of a boundary of the analysis region.
这样做利于缩小分析区域的范围,利于降低后续的运算量。尤其是在能够获取待成像物体的被照射的部分的全部边界的情况下,可以将该全部边界限定的范围作为分析区域,这样确定的分析区域是最小的。This helps to reduce the scope of the analysis area and the amount of subsequent calculations. In particular, when the entire boundary of the irradiated portion of the object to be imaged can be obtained, the scope defined by the entire boundary can be used as the analysis area, so that the analysis area determined is the smallest.
在示意性实施方式中,获取待成像物体的被照射的部分的全部或部分边界的方法例如为雷达成像法、激光扫描法、结构光扫描法、立体视觉法或时间飞行法等,当然这些方向也可以组合使用。雷达成像法:通过测量信号的时间延迟和相位信息,结合复杂的信号处理技术,能够有效地获取物体的表面形状和位置。激光扫描法:使用激光雷达或三维激光扫描仪,发射激光束到物体表面,通过测量激光反射回来的时间或角度,精确计算物体表面的三维信息。结构光扫描法:使用结构光三维扫描仪,投射已知的光栅或图案到物体表面,使用摄像头捕捉图案的变形,通过算法计算得到物体的三维轮廓。立体视觉法:使用双目或多目摄像系统,从不同角度拍摄物体,通过三角测量法计算物体表面的深度信息,生成三维轮廓。时间飞行法(Time-of-Flight, ToF):使用ToF相机,发射光脉冲到物体表面,通过测量光脉冲返回的时间差,计算出物体表面各点的距离,进而生成三维轮廓。In an exemplary embodiment, the method of obtaining the entire or partial boundary of the irradiated part of the object to be imaged is, for example, radar imaging, laser scanning, structured light scanning, stereo vision or time flight method, etc. Of course, these directions can also be used in combination. Radar imaging method: By measuring the time delay and phase information of the signal, combined with complex signal processing technology, the surface shape and position of the object can be effectively obtained. Laser scanning method: Using laser radar or three-dimensional laser scanner, a laser beam is emitted to the surface of the object, and the three-dimensional information of the surface of the object is accurately calculated by measuring the time or angle of the laser reflection back. Structured light scanning method: Using a structured light three-dimensional scanner, a known grating or pattern is projected onto the surface of the object, and a camera is used to capture the deformation of the pattern, and the three-dimensional contour of the object is calculated by an algorithm. Stereo vision method: Using a binocular or multi-camera system, the object is photographed from different angles, and the depth information of the surface of the object is calculated by triangulation to generate a three-dimensional contour. Time-of-Flight (ToF): Using a ToF camera, a light pulse is emitted to the surface of the object, and the distance of each point on the surface of the object is calculated by measuring the time difference of the light pulse returning, thereby generating a three-dimensional contour.
如图3所示,在立体视觉法的一种示意性实施方式中,例如通过3D相机30获取待成像物体10的参考边界B(图3中用红色线条表示)。参考边界B作为分析区域A(图3中用蓝色覆盖区域表示)的边界的一部分。分析区域A的边界的其余部分可根据3D相机30的视野盲区(即位于探测平面S上侧的被边界B遮挡的区域)来确定,使得分析区域A包含该视野盲区。As shown in FIG3 , in an exemplary implementation of the stereoscopic vision method, a reference boundary B (indicated by a red line in FIG3 ) of the object 10 to be imaged is obtained, for example, by a 3D camera 30. The reference boundary B is used as a part of the boundary of the analysis area A (indicated by a blue covered area in FIG3 ). The rest of the boundary of the analysis area A can be determined based on the blind area of the field of view of the 3D camera 30 (i.e., the area blocked by the boundary B on the upper side of the detection plane S), so that the analysis area A includes the blind area of the field of view.
在其他示意性实施方式中,如果不考虑待成像物体的被照射的部分的边界,也可以将整个X光辐照场作为分析区域,这样会增加运算量。In other exemplary embodiments, if the boundary of the irradiated portion of the object to be imaged is not considered, the entire X-ray irradiation field may be used as the analysis area, which will increase the amount of calculation.
S30:对分析区域进行网格划分,形成数个有限元。网格划分的网格单元例如为矩体,其中矩体的一组相对面与探测平面平行,借此利于简化后续几何运算,但不限于此。在其他示意性实施方式中,网格划分的网格单元也可以是其他形式。S30: Mesh the analysis area to form a plurality of finite elements. The mesh unit of the mesh division is, for example, a rectangular body, wherein a set of opposite faces of the rectangular body are parallel to the detection plane, thereby simplifying subsequent geometric operations, but not limited thereto. In other exemplary embodiments, the mesh unit of the mesh division may also be in other forms.
S40:根据各次X光成像中探测器各像素的入射X光束在分析区域的各有限元内的传播距离及各次X光成像中探测器各像素的实测光强值,计算得到探测器各像素的校正后线性衰减系数,探测器各像素的校正后线性衰减系数为X光束沿垂直于探测平面的方向穿过分析区域到达探测器该像素的线性衰减系数。S40: According to the propagation distance of the incident X-ray beam of each pixel of the detector in each finite element of the analysis area and the measured light intensity value of each pixel of the detector in each X-ray imaging, the corrected linear attenuation coefficient of each pixel of the detector is calculated. The corrected linear attenuation coefficient of each pixel of the detector is the linear attenuation coefficient of the X-ray beam passing through the analysis area in a direction perpendicular to the detection plane to reach the pixel of the detector.
为了方便运算,例如可以将探测器各像素的入射X光束用从X光焦点到像素中心点的直线来表示。在此基础上,通过几何运算即可得到探测器各像素的入射X光束在分析区域的各有限元内的传播距离。For the convenience of calculation, for example, the incident X-ray beam of each pixel of the detector can be represented by a straight line from the X-ray focus to the center point of the pixel. On this basis, the propagation distance of the incident X-ray beam of each pixel of the detector in each finite element of the analysis area can be obtained through geometric calculation.
具体地,S40例如包括以下S41和S42。Specifically, S40 includes, for example, the following S41 and S42.
S41:根据各次X光成像中探测器各像素的实测光强值计算得到各次X光成像中探测器各像素的实际线性衰减系数。S41: Calculate the actual linear attenuation coefficient of each pixel of the detector in each X-ray imaging according to the measured light intensity value of each pixel of the detector in each X-ray imaging.
S42:根据各次X光成像中探测器各像素的入射X光束在分析区域的各有限元内的传播距离及各次X光成像中探测器各像素的实际线性衰减系数,利用代数重建算法,计算得到探测器各像素的校正后线性衰减系数。S42: According to the propagation distance of the incident X-ray beam of each pixel of the detector in each finite element of the analysis area and the actual linear attenuation coefficient of each pixel of the detector in each X-ray imaging, the corrected linear attenuation coefficient of each pixel of the detector is calculated using an algebraic reconstruction algorithm.
具体地,如图4所示,在示意性实施方式中,S42例如包括以下S421至S423。Specifically, as shown in FIG. 4 , in an exemplary embodiment, S42 includes, for example, the following S421 to S423 .
S421:针对各次X光成像建立如下公式(1),S421: Establish the following formula (1) for each X-ray imaging:
公式(1), Formula (1),
其中,为代数重建算法的系数矩阵,其是第次X光成像中探测器各像素的入射X光束在分析区域的各有限元内的传播距离的矩阵,是第次X光成像中探测器各像素的实际线性衰减系数的矩阵,是各有限元的单位衰减因子的矩阵。in, is the coefficient matrix of the algebraic reconstruction algorithm, which is The matrix of the propagation distance of the incident X-ray beam of each pixel of the detector in each finite element of the analysis area in the secondary X-ray imaging, It is The matrix of the actual linear attenuation coefficients of each pixel of the detector in the secondary X-ray imaging, is the matrix of unit attenuation factors for each finite element.
以两次X光成像为例,则可以建立和。Taking two X-ray images as an example, we can establish and .
S422:建立如下公式(2),S422: Establish the following formula (2):
公式(2), Formula (2),
其中,是X光束沿垂直于探测平面的方向穿过分析区域到达探测器各像素的过程中在分析区域的各有限元内的传播距离的矩阵,且,是探测器各像素的校正后线性衰减系数的矩阵,是各有限元的单位衰减因子的矩阵。in, is the matrix of the propagation distance of the X-ray beam in each finite element of the analysis area in the process of passing through the analysis area in a direction perpendicular to the detection plane to reach each pixel of the detector, and , is the matrix of corrected linear attenuation coefficients for each pixel of the detector, is the matrix of unit attenuation factors for each finite element.
S423:根据公式(1)和公式(2)定义变换函数:,从而求解,得到。S423: Define the transformation function according to formula (1) and formula (2): , thus solving ,get .
以两次X光成像为例,根据公式(1)和公式(2)定义变换函数:,从而求解,得到。Taking two X-ray images as an example, the transformation function is defined according to formula (1) and formula (2): , thus solving ,get .
可以理解,该X光图像的重建方法中,利用的X光成像的次数越多,得到的的值越准确。It can be understood that in the X-ray image reconstruction method, the more times the X-ray imaging is used, the more The more accurate the value.
但不限于此,在其他示意性实施方式中,也可以先根据各次X光成像中探测器各像素的入射X光束在分析区域的各有限元内的传播距离及各次X光成像中探测器各像素的实测光强值,计算得到各有限元的单位衰减因子,再根据各有限元的单位衰减因子计算探测器各像素的校正后线性衰减系数。However, it is not limited to this. In other exemplary embodiments, the unit attenuation factor of each finite element can be calculated based on the propagation distance of the incident X-ray beam of each pixel of the detector in each X-ray imaging within each finite element of the analysis area and the measured light intensity value of each pixel of the detector in each X-ray imaging, and then the corrected linear attenuation coefficient of each pixel of the detector can be calculated based on the unit attenuation factor of each finite element.
S50:根据探测器各像素的校正后线性衰减系数生成X光图像。S50: Generate an X-ray image according to the corrected linear attenuation coefficient of each pixel of the detector.
具体地,S50例如包括以下S51和S52。Specifically, S50 includes, for example, the following S51 and S52.
S51:根据探测器各像素的校正后线性衰减系数计算得到探测器各像素的校正光强值。S51: Calculate the corrected light intensity value of each pixel of the detector according to the corrected linear attenuation coefficient of each pixel of the detector.
具体地,S51中例如通过如下公式(3)计算得到探测器各像素的校正光强值,Specifically, in S51, the corrected light intensity value of each pixel of the detector is calculated by, for example, the following formula (3):
公式(3), Formula (3),
其中,是对应探测器各像素的入射光强值(即入射光的强度值)的矩阵,是探测器各像素的校正光强值的矩阵,是探测器各像素的校正后线性衰减系数的矩阵。in, is a matrix of incident light intensity values (i.e., incident light intensity values) corresponding to each pixel of the detector. is the matrix of corrected light intensity values for each pixel of the detector, is the matrix of corrected linear attenuation coefficients for each pixel of the detector.
S52:根据探测器各像素的校正光强值生成X光图像。根据光强值生成X光图像可利用现有方法实现,在此不再赘述。S52: Generate an X-ray image according to the corrected light intensity value of each pixel of the detector. Generating an X-ray image according to the light intensity value can be achieved using existing methods, which will not be described in detail here.
该X光图像的重建方法,根据各次X光成像中探测器各像素的入射X光束在分析区域的各有限元内的传播距离及各次X光成像中探测器各像素的实测光强值,计算得到探测器各像素的校正后线性衰减系数,并根据探测器各像素的校正后线性衰减系数生成X光图像。借此校正由X光辐照场的锥形特性造成的X光图像的几何畸变。The X-ray image reconstruction method calculates the corrected linear attenuation coefficient of each pixel of the detector according to the propagation distance of the incident X-ray beam of each pixel of the detector in each finite element of the analysis area in each X-ray imaging and the measured light intensity value of each pixel of the detector in each X-ray imaging, and generates an X-ray image according to the corrected linear attenuation coefficient of each pixel of the detector, thereby correcting the geometric distortion of the X-ray image caused by the conical characteristics of the X-ray irradiation field.
本发明还提供了一种计算机可读存储介质,在其一种示意性实施方式中,计算机可读存储介质上存储有计算机程序。计算机程序被处理器执行时,可实现上述X光图像的重建方法的步骤,从而校正由X光辐照场的锥形特性造成的X光图像的几何畸变。The present invention also provides a computer-readable storage medium, in one exemplary embodiment of which a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the steps of the above-mentioned X-ray image reconstruction method can be implemented, thereby correcting the geometric distortion of the X-ray image caused by the conical characteristics of the X-ray irradiation field.
本发明还提供了一种X光图像的重建系统,在其一种示意性实施方式中,重建系统包括存储处理单元。存储处理单元包括存储器和处理器。存储器存储有计算机程序。处理器执行计算机程序时,可实现上述X光图像的重建方法。该X光图像的重建系统能够校正由X光辐照场的锥形特性造成的X光图像的几何畸变。The present invention also provides an X-ray image reconstruction system. In an exemplary embodiment thereof, the reconstruction system includes a storage processing unit. The storage processing unit includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the above-mentioned X-ray image reconstruction method can be implemented. The X-ray image reconstruction system can correct the geometric distortion of the X-ray image caused by the conical characteristics of the X-ray irradiation field.
应当理解,虽然本说明书是按照各个实施例描述的,但并非每个实施例仅包含一个独立的技术方案,说明书的这种叙述方式仅仅是为清楚起见,本领域技术人员应当将说明书作为一个整体,各实施例中的技术方案也可以经适当组合,形成本领域技术人员可以理解的其他实施方式。It should be understood that although this specification is described according to various embodiments, not every embodiment contains only one independent technical solution. This narrative method of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation methods that can be understood by those skilled in the art.
上文所列出的一系列的详细说明仅仅是针对本发明的可行性实施例的具体说明,它们并非用以限制本发明的保护范围,凡未脱离本发明技艺精神所作的等效实施方案或变更,如特征的组合、分割或重复,均应包含在本发明的保护范围之内。The series of detailed descriptions listed above are only specific descriptions of feasible embodiments of the present invention. They are not intended to limit the scope of protection of the present invention. Any equivalent implementation scheme or changes that do not deviate from the technical spirit of the present invention, such as combination, division or repetition of features, should be included in the scope of protection of the present invention.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202411346438.5A CN118845066B (en) | 2024-09-25 | 2024-09-25 | Reconstruction method, reconstruction system and computer readable storage medium for X-ray image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202411346438.5A CN118845066B (en) | 2024-09-25 | 2024-09-25 | Reconstruction method, reconstruction system and computer readable storage medium for X-ray image |
Publications (2)
Publication Number | Publication Date |
---|---|
CN118845066A true CN118845066A (en) | 2024-10-29 |
CN118845066B CN118845066B (en) | 2024-12-20 |
Family
ID=93162350
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202411346438.5A Active CN118845066B (en) | 2024-09-25 | 2024-09-25 | Reconstruction method, reconstruction system and computer readable storage medium for X-ray image |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118845066B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5640436A (en) * | 1995-01-26 | 1997-06-17 | Hitachi Medical Corporation | Method and apparatus for X-ray computed tomography |
US20060232608A1 (en) * | 2005-04-15 | 2006-10-19 | T.I.E.S., Llc | Object Identifying System for Segmenting Unreconstructed Data in Image Tomography |
US20090232272A1 (en) * | 2008-03-17 | 2009-09-17 | Canon Kabushiki Kaisha | X-ray imaging apparatus and control method thereof |
CN103690187A (en) * | 2013-08-13 | 2014-04-02 | 清华大学 | Device and method for measuring oral BMD (Bone Mineral Density) based on X-ray |
US20140205170A1 (en) * | 2013-01-23 | 2014-07-24 | Czestochowa University Of Technology | Fast iterative image reconstruction method for 3d computed tomography |
-
2024
- 2024-09-25 CN CN202411346438.5A patent/CN118845066B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5640436A (en) * | 1995-01-26 | 1997-06-17 | Hitachi Medical Corporation | Method and apparatus for X-ray computed tomography |
US20060232608A1 (en) * | 2005-04-15 | 2006-10-19 | T.I.E.S., Llc | Object Identifying System for Segmenting Unreconstructed Data in Image Tomography |
US20090232272A1 (en) * | 2008-03-17 | 2009-09-17 | Canon Kabushiki Kaisha | X-ray imaging apparatus and control method thereof |
US20140205170A1 (en) * | 2013-01-23 | 2014-07-24 | Czestochowa University Of Technology | Fast iterative image reconstruction method for 3d computed tomography |
CN103690187A (en) * | 2013-08-13 | 2014-04-02 | 清华大学 | Device and method for measuring oral BMD (Bone Mineral Density) based on X-ray |
Non-Patent Citations (1)
Title |
---|
张顺利;张定华;程云勇;李小林;: "锥束CT感兴趣区域图像重建研究", 计算机应用研究, no. 09, 15 September 2012 (2012-09-15) * |
Also Published As
Publication number | Publication date |
---|---|
CN118845066B (en) | 2024-12-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102618542B1 (en) | ToF (time of flight) capturing apparatus and method for processing image for decreasing blur of depth image thereof | |
WO2018103693A1 (en) | Hybrid light measurement method for measuring three-dimensional profile | |
CN110702034A (en) | High-light-reflection surface three-dimensional surface shape measuring method, server and system | |
JP6841863B2 (en) | OCT retinal image data rendering method, storage medium storing OCT retinal image data rendering program, OCT retinal image data rendering program and OCT retinal image data rendering device | |
JP2012517651A (en) | Registration of 3D point cloud data for 2D electro-optic image data | |
CN112132906A (en) | A method and system for calibrating external parameters between a depth camera and a visible light camera | |
JP2003130621A (en) | Method and system for measuring three-dimensional shape | |
US11143499B2 (en) | Three-dimensional information generating device and method capable of self-calibration | |
JP2002202122A (en) | Calibration method for two-dimensional distance image sensor | |
JP2008249431A (en) | 3D image correction method and apparatus | |
WO2024183379A1 (en) | Calibration method for mems galvanometer-based structured light three-dimensional scanning system | |
CN107534731A (en) | Image processing device and image processing method | |
CN112802171A (en) | Three-dimensional face reconstruction method, device, system and storage medium | |
JP2022024688A (en) | Depth map generator and its program, and depth map generation system | |
TWI776848B (en) | Method and optical system for acquiring the tomographical distribution of wave fronts of electromagnetic fields | |
US12138092B2 (en) | Estimation device, estimation method, and estimation program | |
JP2021018123A (en) | Signal processor and method for processing signal | |
CN118845066A (en) | X-ray image reconstruction method, reconstruction system and computer readable storage medium | |
US20250040798A1 (en) | Intraoral Scanner, Intraoral Scanning System, Method for Performing Intraoral Scans and Computer Program Product | |
CN116543030A (en) | Depth estimation model and method, training system and i-TOF depth camera | |
KR20230077143A (en) | An enhancement technique of graphics data generated by cameras | |
CN114387403A (en) | A large depth of field microscopic three-dimensional acquisition device and method, imaging device and method | |
JP2005043083A (en) | System and method for reducing photographing error, program, and recording medium | |
JP6750867B2 (en) | Image processing apparatus, control method thereof, imaging apparatus, and program | |
Raj | Accurate depth from defocus estimation with video-rate implementation |
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 | ||
GR01 | Patent grant |