CN104764756B - The scaling method of cone-beam CT imaging system - Google Patents
The scaling method of cone-beam CT imaging system Download PDFInfo
- Publication number
- CN104764756B CN104764756B CN201510145507.0A CN201510145507A CN104764756B CN 104764756 B CN104764756 B CN 104764756B CN 201510145507 A CN201510145507 A CN 201510145507A CN 104764756 B CN104764756 B CN 104764756B
- Authority
- CN
- China
- Prior art keywords
- angle
- origin
- coordinate
- coordinates
- detector
- 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.)
- Expired - Fee Related
Links
Landscapes
- Length Measuring Devices By Optical Means (AREA)
- Image Analysis (AREA)
Abstract
本发明公开了一种锥束CT成像系统的标定方法,包括:建造模体,模体大体上是塑料圆柱体,模体的上下底面各镶嵌了两组钢珠,每组包括N个钢珠;获取2N个钢珠中心的投影坐标,并分别拟合出每组的N个钢珠中心投影坐标所在椭圆的轨迹T1和轨迹T2;得到i系原点O和交点D并求出角度η、A1、B1、A2、B2四点坐标;构造第一目标函数f(θ*,wy*,wz*)以计算角度θ和在i系下,计算W坐标系的原点Ow坐标(wy,wz)和光源Ps坐标(sy,sz);构造第二目标函数并计算角度构造第三目标函数H(t)并求出角度t;计算在W系下的光源Ps坐标和原点O坐标()。本发明能对任意复杂轨道的CBCT系统进行标定,且无需预先知道系统的任何几何信息,利用一次投影即可得到该投影位置的全部几何参数,普适性和针对性强。
The invention discloses a calibration method for a cone-beam CT imaging system. The projected coordinates of 2N steel ball centers, and respectively fit the trajectory T 1 and trajectory T 2 of the ellipse where the projected coordinates of the N steel ball centers of each group are located; obtain the origin O and intersection point D of the i system and obtain the angles η, A 1 , Four coordinates of B 1 , A 2 , and B 2 ; construct the first objective function f(θ*, w y *, w z *) to calculate the angle θ and in the i system, calculate the origin O w coordinate of the W coordinate system ( w y , w z ) and light source P s coordinates (s y , s z ); construct the second objective function and calculate the angle Construct the third objective function H(t) and find the angle t; calculate the coordinates of the light source P s in the W system and origin O coordinates ( ). The invention can calibrate the CBCT system of arbitrary complex orbits without knowing any geometric information of the system in advance, and can obtain all the geometric parameters of the projected position by using one projection, and has strong universality and pertinence.
Description
技术领域technical field
本发明涉及X光计算机断层成像技术领域,尤其涉及一种锥束CT成像系统的标定方法。The invention relates to the technical field of X-ray computed tomography imaging, in particular to a calibration method for a cone-beam CT imaging system.
背景技术Background technique
锥束CT(Cone Beam Computed Tomography,CBCT)技术是应用锥束X光源围绕三维物体作各个角度的旋转,获取物体在多个角度下的投影,然后运用锥束投影图的重建算法重建出物体三维图像的技术。其原理主要是利用物体不同成分对X光的衰减系数不同的特点,在物体后方探测器上得到能反映物体组分特征的投影图像。Cone beam CT (Cone Beam Computed Tomography, CBCT) technology is to use the cone beam X light source to rotate around the three-dimensional object at various angles, obtain the projection of the object at multiple angles, and then use the reconstruction algorithm of the cone beam projection map to reconstruct the three-dimensional object Image technology. Its principle is mainly to use the different characteristics of the attenuation coefficients of different components of the object on X-rays, and obtain a projection image that can reflect the characteristics of the object components on the detector behind the object.
CBCT系统的几何参数是指描述系统的X光源、物体和探测器之间的角度和位置的几何参量。这些几何参量会影响物体的投影图像,并会作为重要的信息在重建算法中使用。因此CBCT系统的几何参数标定具有提高重建图像质量,防止出现图像伪影的重要意义。The geometric parameters of the CBCT system refer to the geometric parameters that describe the angle and position between the X light source, object and detector of the system. These geometric parameters will affect the projected image of the object and will be used as important information in the reconstruction algorithm. Therefore, the geometric parameter calibration of CBCT system is of great significance to improve the reconstructed image quality and prevent image artifacts.
在实际应用的过程中,CBCT系统中X光源的扫描轨迹不一定是完整的圆周,比如相关技术中C-arm CT系统的光源被固定在C型旋转臂上,医生可以在为患者手术的同时,及时观察成像情况。这种C-arm CT系统的扫描轨迹不是一个完整的圆周,另外由于重力的作用,轨迹的中心会出现偏离圆心的情况,造成X光源到探测器的距离发生改变,这种沿不规则轨道扫描的CBCT系统同样需要精确标定它的几何参数。In the process of practical application, the scanning trajectory of the X light source in the CBCT system is not necessarily a complete circle. For example, in the related art, the light source of the C-arm CT system is fixed on the C-shaped rotating arm, and the doctor can operate on the patient at the same time. , observe the imaging situation in time. The scanning trajectory of this C-arm CT system is not a complete circle. In addition, due to the effect of gravity, the center of the trajectory will deviate from the center of the circle, causing the distance from the X-ray source to the detector to change. This scanning along an irregular trajectory The CBCT system also needs to accurately calibrate its geometric parameters.
发明内容Contents of the invention
本发明旨在至少在一定程度上解决相关技术中的技术问题之一。为此,本发明的一个目的在于提出一种锥束CT成像系统的标定方法,该锥束CT成像系统的标定方法可以对任意复杂轨道的CBCT系统进行标定,具有较强的普适性。The present invention aims to solve one of the technical problems in the related art at least to a certain extent. Therefore, an object of the present invention is to propose a calibration method for a cone-beam CT imaging system, which can calibrate a CBCT system with any complex orbit, and has strong universality.
为了实现上述目的,本发明第一方面实施例的锥束CT成像系统的标定方法,包括以下步骤:建造模体,其中,所述模体为标定参照物,所述模体大体上是塑料圆柱体,所述模体的上下底面各镶嵌了两组钢珠,每组包括N(N不小于5)个钢珠,所述模体底面圆的直径记为2r,所述两组钢珠中心所决定的两个平面的间距记为2l;以所述钢珠投影在系的所有像素的值为权重对每个钢珠的投影求加权平均坐标值,以获取所述2N个钢珠中心的投影坐标,并分别拟合出每组的N个钢珠中心投影坐标所在椭圆的轨迹T1和轨迹T2;分别将所述每组的N个钢珠中心投影坐标在相应的轨迹上定好顺序,并得到系下的原点O和交点D以及计算角度η和A1、B1、A2、B2四点坐标,其中,所述2N个钢珠中心投影坐标均在所述系下表达,所述A1、B1分别为P1、Q1在OD上的投影,所述A2、B2分别为P2、Q2在所述OD上的投影,称矩形P1P2Q1Q2(长为2l,宽为2r)为探测器绕所述系下的旋转角度θ后,所述模体被系下的平面所截得的截面,所述角度η为所述探测器在绕所述旋转所述角度θ和绕所述系下的旋转角度后,绕所述系下的旋转的角度;在所述平面内,根据所述角度η、所述原点O、所述交点D、Q1坐标(s1,t1)、P2坐标(s2,t2)、A1坐标A2坐标B1坐标B2坐标构造第一目标函数f(θ*,wy*,wz*),并以此计算所述角度θ、在所述平面内的所述原点Ow坐标(wy,wz)和所述光源Ps坐标(sy,sz),其中,所述原点Ow同时也是所述模体的中心;根据所述模体两个底面圆上任意一点的投影应分别位于所述轨迹T1和所述轨迹T2上的几何关系来构造第二目标函数并计算所述角度根据所述原点O、所述角度θ、所述角度η、所述角度和在所述平面内的所述原点Ow坐标(wy,wz)和所述光源Ps坐标(sy,sz)以及钢珠投影中心坐标间的位置关系构造第三目标函数H(t)并求出角度t;以及根据所述原点O、所述角度θ、所述角度η、所述角度所述角度t和在所述平面内的所述原点Ow坐标(wy,wz)和所述光源Ps坐标(sy,sz)计算在系下的光源Ps坐标和原点O坐标 In order to achieve the above object, the calibration method of the cone beam CT imaging system in the embodiment of the first aspect of the present invention includes the following steps: constructing a phantom, wherein the phantom is a calibration reference object, and the phantom is generally a plastic cylinder Two sets of steel balls are inlaid on the upper and lower bottom surfaces of the mold body, each group includes N (N is not less than 5) steel balls, the diameter of the bottom surface of the mold body is recorded as 2r, and the center of the two groups of steel balls determines The distance between two planes is recorded as 2l; The values of all pixels in the system are weighted to calculate the weighted average coordinate value of the projection of each steel ball to obtain the projected coordinates of the 2N steel ball centers, and respectively fit the trajectory of the ellipse where the projected coordinates of the N steel ball centers of each group are located T 1 and track T 2 ; the projected coordinates of the N steel ball centers of each group are respectively ordered on the corresponding track, and obtained The origin O and the intersection point D and the coordinates of the calculated angle η and A 1 , B 1 , A 2 , and B 2 under the system, wherein, the projected coordinates of the 2N steel ball centers are all in the Expressed below, the A 1 and B 1 are the projections of P 1 and Q 1 on the OD respectively, and the A 2 and B 2 are the projections of P 2 and Q 2 on the OD respectively, which is called the rectangle P 1 P 2 Q 1 Q 2 (length 2l, width 2r) is the detector around the under the After rotating the angle θ, the phantom is under the The section cut by the plane, the angle η is the detector around the rotate the angle θ and around the under the Rotation angle after, around the under the angle of rotation; in the In the plane, according to the angle η, the origin O, the intersection point D, Q 1 coordinates (s 1 , t 1 ), P 2 coordinates (s 2 , t 2 ), A 1 coordinates A 2 coordinates B 1 coordinates B 2 coordinates Construct the first objective function f(θ*,w y *,w z *), and use it to calculate the angle θ, in the The origin O w coordinates (w y , w z ) and the light source P s coordinates (s y , s z ) in the plane, wherein, the origin O w is also the center of the phantom; according to the The projection of any point on the two bottom circles of the phantom should be respectively located on the geometric relationship between the trajectory T1 and the trajectory T2 to construct the second objective function and calculate the angle According to the origin O, the angle θ, the angle η, the angle and in the The positional relationship between the origin O w coordinates (w y , w z ) and the light source P s coordinates (s y , s z ) in the plane and the steel ball projection center coordinates constructs a third objective function H(t) and obtains out angle t; and according to the origin O, the angle θ, the angle η, the angle The angle t and the The origin O w coordinates (w y , w z ) and the light source P s coordinates (s y , s z ) in the plane are calculated at The coordinates of the light source P s in the system and origin O coordinates
根据本发明实施例的锥束CT成像系统的标定方法,具有以下有益效果:(1)可以对任意复杂轨道的CBCT系统进行标定,具有较强的普适性。(2)利用一次投影即可得到该投影位置的全部几何参数,从而对于CT系统扫描角度不全的情况非常有针对性。(3)不需要预先知道任何系统的几何信息,可以用于自身机械精度很差的几何系统。The calibration method of the cone beam CT imaging system according to the embodiment of the present invention has the following beneficial effects: (1) It can calibrate the CBCT system of any complex orbit, and has strong universality. (2) All the geometric parameters of the projection position can be obtained by using one projection, so it is very targeted for the situation that the scanning angle of the CT system is incomplete. (3) It does not need to know the geometric information of any system in advance, and can be used for geometric systems with poor mechanical precision.
进一步地,在本发明的一个实施例中,所述系为相对周围环境静止的世界坐标系,所述系以所述模体的中心为原点Ow,所述系以所述模体的轴为在开始投影前,所述系以垂直于所述的射线为所述系下的根据所述所述和右手定则确定;所述系为描述所述探测器理想状态的虚拟探测器坐标系,所述系以所述光源Ps和所述原点Ow的连线与所述探测器平面的交点为所述原点O,所述和所述同向,定义PsO与所述确定的平面为所述平面,所述过所述原点O且垂直于所述根据所述所述和右手定则确定;以及所述系为基于所述探测器本身的坐标系,所述系以所述原点O为原点,所述和所述平行于所述探测器的行列线,所述垂直于所述探测器平面,其中,定义所述所述所述分别与所述所述所述对应重合时的状态为所述探测器的初始状态。Further, in one embodiment of the present invention, the The system is a world coordinate system that is stationary relative to the surrounding environment, and the With the center of the phantom as the origin O w , the The axis of the phantom is Before starting projection, the tied perpendicular to the The ray is said under the according to the said and the right-hand rule; the is the virtual detector coordinate system describing the ideal state of the detector, the The point of intersection of the connection line between the light source P s and the origin O w and the detector plane is the origin O, the and said same direction, define P s O with the Determine the plane for the plane, the through the origin O and perpendicular to the according to the said and the right-hand rule determine; and the system is the coordinate system based on the detector itself, the With the origin O as the origin, the and said parallel to the row and column lines of the detectors, the perpendicular to the detector plane, where, defining the said said respectively with the said said The corresponding coincident state is the initial state of the detector.
进一步地,在本发明的一个实施例中,从所述探测器的初始状态到所述探测器的任一状态包括以下步骤:所述探测器从所述探测器的初始状态绕所述旋转,与所述形成所述角度θ,此处,所述角度θ值按照以所述为正方向的右手定则方式定义;所述探测器从所述探测器的初始状态绕所述旋转,与所述形成所述角度此处,所述角度值按照以所述为正方向的右手定则方式定义;以及所述探测器从所述探测器的初始状态绕所述旋转,与所述形成所述角度η,此处,所述角度η值按照以所述为正方向的右手定则方式定义。Further, in one embodiment of the present invention, from the initial state of the detector to any state of the detector includes the following steps: the detector moves around the rotation, with the form the angle θ, where the value of the angle θ is in accordance with the is defined in a right-hand rule manner for the positive direction; the detector orbits the rotation, with the form the angle Here, the angle value as described in is defined in a right-hand rule manner for the positive direction; and the detector orbits the rotation, with the Form the angle η, where the value of the angle η is according to the Defined in the right-hand rule manner for the positive direction.
进一步地,在本发明的一个实施例中,根据以下方程分别拟合出每组的N个钢珠中心投影坐标所在椭圆的轨迹T1和轨迹T2:Further, in one embodiment of the present invention, the trajectory T 1 and trajectory T 2 of the ellipse where the projected coordinates of the centers of the N steel balls of each group are respectively fitted according to the following equations:
其中,a1、b1、c1、和a2、b2、c2、由每组的所述N个钢珠中心投影在所述系的坐标拟合得到。Among them, a 1 , b 1 , c 1 , and a 2 , b 2 , c 2 , Projected by the centers of the N steel balls in each group on the The coordinates of the system are fitted.
进一步地,在本发明的一个实施例中,所述分别将所述每组的N个钢珠中心投影坐标在相应的轨迹上定好顺序,并得到系下的原点O和交点D具体为:分别将所述每组的N个钢珠中心投影坐标在相应的轨迹上定好顺序;连接E1F2和E2F1得到所述原点O,其中,所述E1和所述E2分别为所述轨迹T1上纵坐标最大的钢珠中心投影和纵坐标最小的钢珠中心投影,所述F1和所述F2分别为所述轨迹T2上纵坐标最大的钢珠中心投影和纵坐标最小的钢珠中心投影;以及连接E1F1和E2F2,所述E1F1和所述E2F2在空间中延长线的交点作为所述交点D,其中,所述OD与所述的夹角为所述角度η。Further, in one embodiment of the present invention, the projected coordinates of the center projection coordinates of the N steel balls in each group are respectively ordered on the corresponding trajectory, and obtained The origin O and the intersection point D under the system are specifically as follows: the projected coordinates of the N steel ball centers of each group are respectively ordered on the corresponding trajectory; the origin O is obtained by connecting E 1 F 2 and E 2 F 1 , wherein, The E 1 and the E 2 are respectively the steel ball center projection with the largest ordinate and the steel ball center projection with the smallest ordinate on the trajectory T 1 , and the F 1 and the F 2 are respectively the projections of the steel ball center on the trajectory T 2 . The steel ball center projection with the largest ordinate and the steel ball center projection with the smallest ordinate; and connecting E 1 F 1 and E 2 F 2 , the intersection of the extension lines of E 1 F 1 and E 2 F 2 in space as the all The intersection point D, wherein, the OD and the The included angle is the angle η.
进一步地,在本发明的一个实施例中,根据以下步骤计算所述角度θ、在所述平面内的所述原点Ow坐标(wy,wz)和所述光源Ps坐标(sy,sz):在所述平面内,对于待定的原点Ow*坐标(wy*,wz*),根据所述矩形P1P2Q1Q2的长和宽得到相应的待定矩形顶点P1*、P2*、Q1*、Q2*,连接所述原点O和所述原点Ow*得到直线OOw*;待定角度θ*,过所述交点D作所述的平行线DPs*和所述直线OOw*相交于点Ps*,连接A1P1*、B1Q1*、A2P2*、B2Q2*分别与所述直线OOw*相交于构造第一目标函数f(θ*,wy*,wz*)用以表示所述Ps*、的离散程度,其中,所述第一目标函数f(θ*,wy*,wz*)越大,所述Ps*、的离散程度越大,当所述第一目标函数f(θ*,wy*,wz*)=0时表示所述Ps*、五点重合;计算的优化结果,以获得所述角度θ和在所述平面内的所述原点Ow坐标(wy,wz),即:θ=θ0;取θ0,对应求出的所述Ps*、 五点的平均坐标为所述光源Ps坐标(sy,sz)。Further, in one embodiment of the present invention, the angle θ is calculated according to the following steps, in the The origin O w coordinates (w y , w z ) and the light source P s coordinates (s y , s z ) in the plane: in the In the plane, for the undetermined origin O w * coordinates (w y *, w z *), according to the length and width of the rectangle P 1 P 2 Q 1 Q 2 to obtain the corresponding undetermined rectangle vertices P 1 *, P 2 * , Q 1 *, Q 2 *, connect the origin O and the origin O w * to obtain a straight line OO w *; undetermined angle θ*, pass the intersection D to make the The parallel line DP s * and said straight line OO w * intersect at point P s *, connecting A 1 P 1 *, B 1 Q 1 *, A 2 P 2 *, B 2 Q 2 * with said straight line OO w * intersects at Construct the first objective function f(θ*, w y *, w z *) to represent the P s *, degree of dispersion, wherein the greater the first objective function f(θ*, w y *, w z *), the greater the P s *, The greater the degree of dispersion, when the first objective function f(θ*,w y *,w z *)=0, it means that the P s *, five-point coincidence; calculation The optimization results to obtain the angle θ and the The origin O w coordinates (w y , w z ) in the plane, namely: θ=θ 0 ; take θ 0 , Corresponding to the obtained P s *, The average coordinates of the five points are the light source P s coordinates (s y , s z ).
进一步地,在本发明的一个实施例中,或其中,λ一般为1或2。Further, in one embodiment of the present invention, or Wherein, λ is generally 1 or 2.
进一步地,在本发明的一个实施例中,根据以下步骤计算所述角度待定角度根据已求出的所述角度η、所述角度θ、在所述平面内的所述原点Ow坐标(wy,wz)、所述光源Ps坐标(sy,sz)和待定角度计算所述模体两个底面圆在所述系的轨迹T1*、T2*;在所述轨迹T1*、T2*上,分别取点(u1,v1)和(u2,v2),构造函数以衡量所述点(u1,v1)和(u2,v2)分别与所述轨迹T1和所述轨迹T2的偏离程度,其中,所述越大,所述点(u1,v1)和(u2,v2)分别与所述轨迹T1和轨迹T2的偏离程度越大;构造第二目标函数以计算所述角度其中,M表示共取了M组在所述轨迹T1*、T2*上的所述点(u1,v1)和(u2,v2), Further, in one embodiment of the present invention, the angle is calculated according to the following steps Angle to be determined According to the obtained angle η, the angle θ, in the The origin O w coordinates (w y , w z ), the light source P s coordinates (s y , s z ) and the undetermined angle in the plane Compute the two base circles of the phantom in the Trajectories T 1 *, T 2 * of the system; on the trajectories T 1 *, T 2 *, respectively take points (u 1 , v 1 ) and (u 2 , v 2 ), the constructor To measure the degree of deviation of the points (u 1 , v 1 ) and (u 2 , v 2 ) from the track T 1 and the track T 2 respectively, wherein the The larger , the greater the degree of deviation between the points (u 1 , v 1 ) and (u 2 , v 2 ) and the track T 1 and track T 2 respectively; construct the second objective function to calculate the angle Wherein, M means that a total of M groups of points (u 1 , v 1 ) and (u 2 , v 2 ) on the trajectories T 1 * and T 2 * are taken,
进一步地,在本发明的一个实施例中,Further, in one embodiment of the present invention,
其中,a1、b1、c1、和a2、b2、c2、由每组的所述N个钢珠中心投影在所述系的坐标拟合得到。Among them, a 1 , b 1 , c 1 , and a 2 , b 2 , c 2 , Projected by the centers of the N steel balls in each group on the The coordinates of the system are fitted.
进一步地,在本发明的一个实施例中,根据以下公式计算所述角度t:Further, in one embodiment of the present invention, the angle t is calculated according to the following formula:
t=argmin{H(t*)}t=argmin{H(t*)}
其中,角度参数t*描述所述模体底面圆上的钢珠位于该底面圆上的位置,函数h1(t*)、h2(t*)分别为在已知所述角度η、所述角度θ、所述原点Ow坐标(wy,wz),所述光源Ps坐标(sy,sz)和所述角度的前提下,在模体两个底面上处于t*所对应位置的钢珠的投影和在所述系下最近的钢珠投影中心的距离。in, The angle parameter t* describes the position of the steel ball on the bottom circle of the phantom, and the functions h 1 (t*) and h 2 (t*) are respectively when the angle η and the angle θ are known. , the origin O w coordinates (w y , w z ), the light source P s coordinates (s y , s z ) and the angle Under the premise of , the projection of the steel ball at the position corresponding to t* on the two bottom surfaces of the phantom and the Tie down the distance to the nearest steel ball projection center.
进一步地,在本发明的一个实施例中, Further, in one embodiment of the present invention,
附图说明Description of drawings
图1是根据本发明一个实施例的锥束CT成像系统的标定方法的流程图;1 is a flowchart of a calibration method of a cone beam CT imaging system according to an embodiment of the present invention;
图2是根据本发明一个实施例的锥束CT成像系统的标定方法中模体的结构示意图;2 is a schematic structural view of a phantom in a calibration method of a cone beam CT imaging system according to an embodiment of the present invention;
图3是根据本发明一个实施例的锥束CT成像系统的标定方法的坐标系定义示意图;Fig. 3 is a schematic diagram of defining a coordinate system of a calibration method of a cone beam CT imaging system according to an embodiment of the present invention;
图4是根据本发明一个实施例的锥束CT成像系统的标定方法中探测器从探测器的初始状态绕旋转角度θ的旋转示意图;Fig. 4 is the calibration method of the cone beam CT imaging system according to an embodiment of the present invention, in which the detector rotates from the initial state of the detector Schematic diagram of the rotation of the rotation angle θ;
图5是根据本发明一个实施例的锥束CT成像系统的中探测器继续绕旋转角度的旋转示意图;Fig. 5 is that the middle detector of the cone beam CT imaging system according to one embodiment of the present invention continues to circle Rotation angle Schematic diagram of the rotation;
图6是根据本发明一个实施例的锥束CT成像系统的标定方法中探测器继续绕旋转角度η的旋转示意图;Fig. 6 shows that the detector continues to circle around in the calibration method of the cone beam CT imaging system according to an embodiment of the present invention. Rotation schematic diagram of rotation angle η;
图7是根据本发明一个实施例的锥束CT成像系统的标定方法中探测器继续绕旋转角度η后系和系的坐标系示意图;Fig. 7 shows that the detector continues to circle around in the calibration method of the cone beam CT imaging system according to an embodiment of the present invention. After rotation angle η Department and The schematic diagram of the coordinate system of the system;
图8是根据本发明一个实施例的锥束CT成像系统的标定方法中的平面的示意图;Fig. 8 is a calibration method of a cone beam CT imaging system according to an embodiment of the present invention schematic diagram of the plane;
图9是根据本发明一个实施例的锥束CT成像系统的标定方法的原点O和交点D的定位示意图;以及9 is a schematic diagram of the positioning of the origin O and the intersection D of the calibration method of the cone beam CT imaging system according to an embodiment of the present invention; and
图10是根据本发明一个具体实施例的锥束CT成像系统的标定方法的流程。Fig. 10 is a flowchart of a calibration method of a cone beam CT imaging system according to a specific embodiment of the present invention.
具体实施方式detailed description
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本发明,而不能理解为对本发明的限制。Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.
下面参考附图描述本发明实施例的锥束CT成像系统的标定方法。The following describes the calibration method of the cone beam CT imaging system according to the embodiment of the present invention with reference to the accompanying drawings.
图1是根据本发明一个实施例的锥束CT成像系统的标定方法的流程图。如图1所示,本发明实施例的锥束CT成像系统的标定方法,包括以下步骤:Fig. 1 is a flowchart of a calibration method of a cone beam CT imaging system according to an embodiment of the present invention. As shown in Figure 1, the calibration method of the cone beam CT imaging system of the embodiment of the present invention includes the following steps:
S1,建造模体,其中,模体为标定参照物,模体大体上是塑料圆柱体,模体的上下底面各镶嵌了两组钢珠,每组包括N(N不小于5)个钢珠,模体底面圆的直径记为2r,两组钢珠中心所决定的两个平面的间距记为2l。S1, constructing the phantom, wherein, the phantom is a calibration reference object, the phantom is generally a plastic cylinder, two groups of steel balls are inlaid on the upper and lower bottom surfaces of the phantom, each group includes N (N is not less than 5) steel balls, the phantom The diameter of the body bottom circle is recorded as 2r, and the distance between the two planes determined by the centers of the two groups of steel balls is recorded as 2l.
具体地,在本发明的一个实施例中,如图2所示,两组钢珠中心分别设置在模体的两底面圆上,且每组的N个(例如6个)钢珠等角均匀放置,两组钢珠中心所决定两底面圆的平面间距为2l,每组的N个钢珠中心决定的底面圆的直径为2r,N、l、r和钢珠自身的半径需满足能够在投影图上识别钢珠中心位置的前提下,使得投影面积尽可能大。Specifically, in one embodiment of the present invention, as shown in Figure 2, the centers of the two groups of steel balls are respectively arranged on the two bottom circles of the mold body, and N (for example, 6) steel balls in each group are placed equiangularly and evenly, The plane distance between the two bottom circles determined by the centers of two groups of steel balls is 2l, the diameter of the bottom circle determined by the centers of N steel balls in each group is 2r, and the radius of N, l, r and the steel balls themselves must meet the requirements to identify the steel balls on the projection map Under the premise of the center position, make the projected area as large as possible.
进一步地,对于任意待标定的CBCT系统,首先定义如下3个坐标系系、系和系。如图3所示,系为相对周围环境静止的世界坐标系,系以模体的中心为原点Ow,系以模体的轴为(y轴,的正反向任意),在开始投影前,系以垂直于的某条射线为(x轴),系下的(z轴)根据和右手定则确定。系为描述探测器理想状态的虚拟探测器坐标系,系以光源Ps和原点Ow的连线与探测器平面的交点为原点O,(y轴)和同向,定义PsO与确定的平面为平面,(z轴)过原点O且垂直于(x轴)根据和右手定则确定,其中,的正方向为光源Ps在上的投影位于正半轴时的方向。系为基于探测器本身的坐标系,系以原点O为原点,(x轴)和(y轴)平行于探测器的行列线,(z轴)垂直于探测器平面。其中,定义分别与对应重合时的状态为探测器的初始状态。Further, for any CBCT system to be calibrated, first define the following three coordinate systems Tie, Department and Tie. As shown in Figure 3, The system is a world coordinate system that is stationary relative to the surrounding environment, Take the center of the phantom as the origin O w , The axis of the phantom is (y axis, The forward and reverse are arbitrary), before starting the projection, tied perpendicular to A ray of (x-axis), under the (z-axis) according to and the right-hand rule determine. is the virtual detector coordinate system describing the ideal state of the detector, The intersection of the line connecting the light source P s and the origin O w with the detector plane is the origin O, (y-axis) and In the same direction, define P s O and The determined plane is flat, (z-axis) through the origin O and perpendicular to (x-axis) according to and the right-hand rule determine, where, The positive direction of the light source P s in The projection on Orientation when the half axis is positive. The system is the coordinate system based on the detector itself, With the origin O as the origin, (x-axis) and (y-axis) parallel to the row and column lines of the detectors, (z-axis) is perpendicular to the detector plane. Among them, define respectively with The state corresponding to coincidence is the initial state of the detector.
进一步地,在本发明的一个实施例中,从探测器的初始状态到探测器的任一状态包括以下步骤:Further, in one embodiment of the present invention, from the initial state of the detector to any state of the detector includes the following steps:
S8,探测器从探测器的初始状态绕旋转,与形成角度θ,此处,角度θ值按照以为正方向的右手定则方式定义。S8, the detector orbits from the initial state of the detector rotate, with form the angle θ, where the value of the angle θ is according to Defined in the right-hand rule manner for the positive direction.
步骤S8中探测器的旋转示意图如图4所示。A schematic diagram of the rotation of the detector in step S8 is shown in FIG. 4 .
S9,探测器从探测器的初始状态绕旋转,与形成角度此处,角度值按照以为正方向的右手定则方式定义。S9, the detector orbits from the initial state of the detector rotate, with form an angle Here, the angle value according to Defined in the right-hand rule manner for the positive direction.
步骤S9中探测器的旋转示意图如图5所示。A schematic diagram of the rotation of the detector in step S9 is shown in FIG. 5 .
S10,探测器从探测器的初始状态绕旋转,与形成角度η,此处,角度η值按照以为正方向的右手定则方式定义。S10, the detector rotates from the initial state of the detector to rotate, with form an angle η, where the value of the angle η is according to Defined in the right-hand rule manner for the positive direction.
步骤S10中探测器的旋转示意图如图6所示,此时的系和系如图7所示。The schematic diagram of the rotation of the detector in step S10 is shown in Figure 6, at this time Department and The system is shown in Figure 7.
需要说明的是,步骤S8至步骤S10中,探测器的每一次旋转都会使得中两个轴的方向发生变化,为使图4至图6更具可理解性,图4至图6中是指探测器该次旋转之前的也即旋转角度θ、角度角度η所分别围绕的 It should be noted that, from step S8 to step S10, each rotation of the detector will make The direction of the two axes changes, in order to make Figure 4 to Figure 6 more understandable, in Figure 4 to Figure 6 refers to the detector before this rotation That is, the rotation angle θ, the angle The angle η is surrounded by
S2,以钢珠投影在系的所有像素的值为权重对每个钢珠的投影求加权平均坐标值,以获取2N个钢珠中心的投影坐标,并分别拟合出每组的N个钢珠中心投影坐标所在椭圆的轨迹T1和轨迹T2。S2, projected by steel balls on The values of all pixels in the system are weighted to calculate the weighted average coordinate value of the projection of each steel ball to obtain the projected coordinates of 2N steel ball centers, and respectively fit the trajectory T 1 of the ellipse where the projected coordinates of the N steel ball centers of each group are located and trajectory T 2 .
由于每组N个钢珠在空间中的位置处于底面圆上,所以每组的N个钢珠中心投影坐标应该处于底面圆的投影上,即一个椭圆上。在本发明的一个实施例中,可以根据以下方程分别拟合出每组的N个钢珠中心投影坐标所在椭圆的轨迹T1和轨迹T2:Since the position of each group of N steel balls in space is on the bottom circle, the projected coordinates of the centers of the N steel balls in each group should be on the projection of the bottom circle, that is, on an ellipse. In one embodiment of the present invention, the locus T 1 and the locus T 2 of the ellipse where the projected coordinates of the N steel ball centers of each group are located can be respectively fitted according to the following equations:
其中,a1、b1、c1、和a2、b2、c2、由每组的N个钢珠中心投影在系的坐标拟合得到。Among them, a 1 , b 1 , c 1 , and a 2 , b 2 , c 2 , Projected by the centers of N steel balls in each group on The coordinates of the system are fitted.
S3,分别将每组的N个钢珠中心投影坐标在相应的轨迹上定好顺序,并得到系下的原点O和交点D以及计算角度η和A1、B1、A2、B2四点坐标,其中,2N个钢珠中心投影坐标均在系下表达,A1、B1分别为P1、Q1在OD上的投影,A2、B2分别为P2、Q2在OD上的投影,称矩形P1P2Q1Q2(长为2l,宽为2r)为探测器绕系下的旋转角度θ后,模体被系下的平面所截得的截面,角度η为探测器在绕旋转角度θ和绕系下的旋转角度后,绕系下的旋转的角度。S3, the projected coordinates of the center of N steel balls in each group are respectively ordered on the corresponding trajectory, and obtained The origin O, the intersection point D and the calculated angle η and the four-point coordinates of A 1 , B 1 , A 2 , and B 2 under the system, among which, the center projection coordinates of 2N steel balls are all in Expressed below, A 1 and B 1 are the projections of P 1 and Q 1 on OD respectively, A 2 and B 2 are the projections of P 2 and Q 2 on OD respectively, called rectangle P 1 P 2 Q 1 Q 2 (Length is 2l, width is 2r) for the detector around under the After rotating the angle θ, the phantom is under the The section cut by the plane, the angle η is the Rotation angle θ and around under the Rotation angle after, around under the The angle of rotation.
需要说明的是,如图8所示,探测器绕系下的旋转角度θ后,和OD所在直线重合且和的夹角为角度θ,探测器绕旋转角度θ和绕旋转角度并绕系下的轴旋转角度η后,OD和的夹角为角度η。图8中,||P1P2||=2l,||P1Q1||=2r,直线PsD平行于并与探测器平面相交于D,A1B1、A2B2分别由轨迹T1和轨迹T2与OD相交得到。It should be noted that, as shown in Figure 8, the detector under the After rotating the angle θ, coincides with the line where OD is located and with The included angle is the angle θ, and the detector revolves around Rotation angle θ and around Rotation angle And around under the After shaft rotation angle η, OD and The included angle is angle η. In Fig. 8, ||P 1 P 2 ||=2l, ||P 1 Q 1 ||=2r, the straight line P s D is parallel to And intersect with the detector plane at D, A 1 B 1 , A 2 B 2 are respectively obtained by intersecting the trajectory T 1 and T 2 with OD.
进一步地,在本发明的一个实施例中,分别将每组的N个钢珠中心投影坐标在相应的轨迹上定好顺序,并得到系下的原点O和交点D具体可以为:Further, in one embodiment of the present invention, the projected coordinates of the centers of N steel balls in each group are respectively ordered on the corresponding trajectories, and obtained The origin O and intersection point D under the system can be specifically:
S31,分别将每组的N个钢珠中心投影坐标在相应的轨迹上定好顺序。S31. Respectively determine the order of the projected coordinates of the centers of the N steel balls in each group on the corresponding trajectories.
S32,连接E1F2和E2F1得到原点O,其中,E1和E2分别为轨迹T1上纵坐标最大的钢珠中心投影和纵坐标最小的钢珠中心投影,F1和F2分别为轨迹T2上纵坐标最大的钢珠中心投影和纵坐标最小的钢珠中心投影。S32, connecting E 1 F 2 and E 2 F 1 to obtain the origin O, wherein E 1 and E 2 are respectively the steel ball center projection with the largest ordinate and the steel ball center projection with the smallest ordinate on the track T 1 , F 1 and F 2 are respectively the projection of the steel ball center with the largest ordinate and the projection of the steel ball center with the smallest ordinate on the trajectory T2.
E1、E2、F1和F2如图3所示。E 1 , E 2 , F 1 and F 2 are shown in FIG. 3 .
S33,连接E1F1和E2F2,E1F1和E2F2在空间中延长线的交点作为交点D,其中,OD与的夹角为角度η。S33, connect E 1 F 1 and E 2 F 2 , the intersection of E 1 F 1 and E 2 F 2 extended lines in space is taken as intersection D, where OD and The included angle is angle η.
步骤S32和步骤S33中定位原点O和交点D的示意图如图9所示。A schematic diagram of positioning the origin O and the intersection point D in step S32 and step S33 is shown in FIG. 9 .
S4,在平面内,根据角度η、原点O、交点D、Q1坐标(s1,t1)、P2坐标(s2,t2)、A1坐标A2坐标B1坐标B2坐标构造第一目标函数f(θ*,wy*,wz*),并以此计算角度θ、在平面内的原点Ow坐标(wy,wz)和光源Ps坐标(sy,sz),其中,原点Ow同时也是模体的中心。S4, in In the plane, according to angle η, origin O, intersection point D, Q 1 coordinate (s 1 , t 1 ), P 2 coordinate (s 2 , t 2 ), A 1 coordinate A 2 coordinates B 1 coordinates B 2 coordinates Construct the first objective function f(θ*,w y *,w z *), and use it to calculate the angle θ, in The origin O w coordinates (w y , w z ) and the light source P s coordinates (s y , s z ) in the plane, where the origin O w is also the center of the phantom.
具体地,在本发明的一个实施例中,可以根据以下步骤计算角度θ、在平面内的原点Ow坐标(wy,wz)和光源Ps坐标(sy,sz):Specifically, in one embodiment of the present invention, the angle θ can be calculated according to the following steps, where The origin O w coordinates (w y , w z ) and the light source P s coordinates (s y , s z ) in the plane:
S41,在平面内,对于待定的原点Ow*坐标(wy*,wz*),根据矩形P1P2Q1Q2的长和宽得到相应的待定矩形顶点P1*、P2*、Q1*、Q2*,连接原点O和原点Ow*得到直线OOw*。S41, at In the plane, for the undetermined origin O w * coordinates (w y *, w z *), get the corresponding undetermined rectangle vertices P 1 *, P 2 *, Q according to the length and width of the rectangle P 1 P 2 Q 1 Q 2 1 *, Q 2 *, connect the origin O and the origin O w * to get the straight line OO w *.
S42,待定角度θ*,过交点D作的平行线DPs*和直线OOw*相交于点Ps*,连接A1P1*、B1Q1*、A2P2*、B2Q2*分别与直线OOw*相交于 S42, undetermined angle θ*, pass the intersection point D for The parallel line DP s * and the straight line OO w * intersect at the point P s *, connecting A 1 P 1 *, B 1 Q 1 *, A 2 P 2 *, B 2 Q 2 * intersect the straight line OO w * at
S43,构造第一目标函数f(θ*,wy*,wz*)用以表示Ps*、的离散程度,其中,第一目标函数f(θ*,wy*,wz*)越大,Ps*、的离散程度越大,当第一目标函数f(θ*,wy*,wz*)=0时表示Ps*、五点重合。S43. Construct the first objective function f(θ*, w y *, w z *) to represent P s *, The degree of dispersion of , where the greater the first objective function f(θ*, w y *, w z *), the greater the P s *, The greater the degree of dispersion, when the first objective function f(θ*,w y *,w z *)=0, it means P s *, Five coincides.
S44,计算的优化结果,以获得角度θ和在平面内的原点Ow坐标(wy,wz),即:θ=θ0。S44, computing The optimization results of to obtain the angle θ and the The origin O w coordinates (w y , w z ) in the plane, namely: θ=θ 0 .
S45,取θ0,对应求出的Ps*、五点的平均坐标为光源Ps坐标(sy,sz)。S45, take θ 0 , Corresponding to the obtained P s *, The average coordinates of the five points are the light source P s coordinates (s y , s z ).
具体地,在本发明的一个实施例中, sz=||OD||sinθ,(s1,t1)=(wy-l,wz-r),(s2,t2)=(wy+l,wz+r)。进一步地,根据PsQ1B1,PsP2A2三点共线,可知:令 Specifically, in one embodiment of the present invention, s z =||OD||sinθ, (s 1 ,t 1 )=(w y -l,w z -r), (s 2 ,t 2 )=(w y +l,w z +r). Further, according to P s Q 1 B 1 , P s P 2 A 2 are collinear, we can know: make
进一步地,在本发明的一个实施例中,当时,O为B1A2中点,B1A2平行Q1P2,其中,2r为底面圆的直径,2l为两组钢珠中心所决定的两个平面的间距。Further, in one embodiment of the present invention, when , O is the midpoint of B 1 A 2 , B 1 A 2 is parallel to Q 1 P 2 , Among them, 2r is the diameter of the bottom circle, and 2l is the distance between two planes determined by the centers of two groups of steel balls.
进一步地,在本发明的另一个实施例中,当时,wy=ξwz,其中, 或等,其中,λ一般为1或2。Further, in another embodiment of the present invention, when hour, w y =ξw z , in, or etc., where λ is generally 1 or 2.
S5,根据模体两个底面圆上任意一点的投影应分别位于轨迹T1和轨迹T2上的几何关系来构造第二目标函数并计算角度 S5, construct the second objective function according to the geometric relationship that the projection of any point on the two bottom circles of the phantom should be located on the trajectory T1 and the trajectory T2 respectively and calculate the angle
进一步地,在本发明的一个实施例中,可以根据以下步骤计算角度 Further, in one embodiment of the present invention, the angle can be calculated according to the following steps
S51,待定角度根据已求出的角度η、角度θ、在平面内的原点Ow坐标(wy,wz)、光源Ps坐标(sy,sz)和待定角度计算模体两个底面圆在系的轨迹T1*、T2*。S51, angle to be determined According to the obtained angle η, angle θ, in The origin O w coordinates (w y , w z ) in the plane, the light source P s coordinates (s y , s z ) and the undetermined angle Compute the two base circles of the phantom at The trajectories T 1 *, T 2 * of the system.
S52,在轨迹T1*、T2*上,分别取点(u1,v1)和(u2,v2),构造函数以衡量点(u1,v1)和(u2,v2)分别与轨迹T1和轨迹T2的偏离程度,其中,越大,点(u1,v1)和(u2,v2)分别与轨迹T1和轨迹T2的偏离程度越大。S52. Take points (u 1 , v 1 ) and (u 2 , v 2 ) respectively on the trajectories T 1 * and T 2 *, and construct the function To measure the degree of deviation of points (u 1 , v 1 ) and (u 2 , v 2 ) from track T 1 and track T 2 respectively, where, The larger , the greater the degree of deviation of points (u 1 , v 1 ) and (u 2 , v 2 ) from track T 1 and track T 2 respectively.
具体地,在本发明的一个实施例中,Specifically, in one embodiment of the present invention,
其中,a1、b1、c1、和a2、b2、c2、由每组的N个钢珠中心投影在系的坐标拟合得到。Among them, a 1 , b 1 , c 1 , and a 2 , b 2 , c 2 , Projected by the centers of N steel balls in each group on The coordinates of the system are fitted.
S53,构造第二目标函数以计算角度其中,M表示共取了M组在轨迹T1*、T2*上的点(u1,v1)和(u2,v2), S53, constructing a second objective function to calculate the angle Among them, M means that a total of M groups of points (u 1 , v 1 ) and (u 2 , v 2 ) on the trajectory T 1 * and T 2 * have been taken,
其中,M为大于或等于1的整数,j为小于M的整数,第二目标函数用于衡量角度下钢珠中心投影坐标与轨迹T1和轨迹T2的偏差。Among them, M is an integer greater than or equal to 1, j is an integer smaller than M, and the second objective function used to measure the angle The deviation between the projected coordinates of the center of the lower steel ball and the trajectory T1 and T2.
需要说明的是,平面绕旋转-η时,平面上所有点的位置也都绕旋转了-η。此时,在系下,新的系中三个基向量分别可以表示为:It should be noted, plane around When rotating -η, The positions of all points on the plane are also around Rotated -η. At this time, at next, new The three basis vectors in the system can be expressed as:
进一步地,在本发明的一个实施例中,对于两底面圆上的分别任意一点K1,2,在系下,其中,α1,2∈[0,360°),定义与平面的交点为R1,2,则在系下,且解得:根据λ求出在系下的坐标,再用即可得到R1,2在新的系下的坐标将坐标绕原点O旋转角度η后再分别代入拟合轨迹T1和轨迹T2的方程,因此,根据轨迹T1和轨迹T2上的任意多个点即可获得轨迹T1和轨迹T2的方程中各参数。Furthermore, in an embodiment of the present invention, for any point K 1,2 on the two bottom circles respectively, at next, Among them, α 1,2 ∈ [0,360°), define and The intersection point of the plane is R 1,2 , then in next, and Solutions have to: Find out according to λ exist The coordinates under the system, and then use can get R 1,2 in the new Coordinates under the system the coordinates Rotate the angle η around the origin O and then substitute into the equations of the fitted trajectory T1 and trajectory T2 respectively. Therefore, the equations of trajectory T1 and trajectory T2 can be obtained according to any number of points on the trajectory T1 and trajectory T2 Each parameter in .
S6,根据原点O、角度θ、角度η、角度和在平面内的原点Ow坐标(wy,wz)和光源Ps坐标(sy,sz)以及钢珠投影中心坐标间的位置关系构造第三目标函数H(t)并求出角度t。S6, according to origin O, angle θ, angle η, angle and in The position relationship between the origin O w coordinates (w y , w z ) in the plane, the light source P s coordinates (s y , s z ) and the center coordinates of the steel ball projection constructs the third objective function H(t) and obtains the angle t.
其中,角度t为系下的正半轴在系下的平面上的投影和系下的正方向的夹角,且角度t的正方向和系下的满足右手定则,其中,模体的第一张投影中和重合。where the angle t is under the Positive semi-axis at under the projection on the plane and under the The included angle in the positive direction, and the sum of the positive direction of the angle t under the Satisfy the right-hand rule, where, in the first projection of the motif with coincide.
由于模体的第一张投影对应系统的和重合,所以模体的第一张投影对应系统的t=0。进一步地,在本发明的一个实施例中,可以根据以下公式计算角度t:Since the first projection of the phantom corresponds to the with coincide, so the first projection of the phantom corresponds to t=0 of the system. Further, in an embodiment of the present invention, the angle t can be calculated according to the following formula:
其中,角度参数t*描述模体底面圆上的钢珠位于该底面圆上的位置,函数h1(t*)、h2(t*)分别为在已知角度η、角度θ、原点Ow坐标(wy,wz),光源Ps坐标(sy,sz)和角度的前提下,在模体两个底面上处于t*所对应位置的钢珠的投影和在系下最近的钢珠投影中心的距离。具体地,在本发明的一个实施例中,为绕原点O旋转角度η后,与相距最近的钢珠中心的距离,为绕原点O旋转角度η后,与相距最近的钢珠中心的距离,为PsK1,2与平面的交点,K1,2为两底面圆上的分别任意一点,在系下,i为大于等于0且小于等于N-1的整数。H(t)以为周期,确定H(t)的真值需要结合前一次投影标定的角度t。in, The angle parameter t* describes the position of the steel ball on the bottom circle of the phantom, and the functions h 1 (t*), h 2 (t*) are respectively at the known angle η, angle θ, and origin O w coordinates ( w y , w z ), light source P s coordinates (s y , s z ) and angle Under the premise of , the projection of the steel ball at the position corresponding to t* on the two bottom surfaces of the phantom and the Tie down the distance to the nearest steel ball projection center. Specifically, in one embodiment of the present invention, for After rotating the angle η around the origin O, to the nearest steel ball center distance, for After rotating the angle η around the origin O, to the nearest steel ball center distance, for P s K 1,2 with The intersection point of the plane, K 1 , 2 is any point on the two base circles respectively, in next, i is an integer greater than or equal to 0 and less than or equal to N-1. H(t) with For the period, determining the true value of H(t) needs to be combined with the angle t calibrated in the previous projection.
S7,根据原点O、角度θ、角度η、角度角度t和在平面内的原点Ow坐标(wy,wz)和光源Ps坐标(sy,sz)计算在系下的光源Ps坐标和原点O坐标 S7, according to origin O, angle θ, angle η, angle angle t and at The origin O w coordinates (w y , w z ) and light source P s coordinates (s y , s z ) in the plane are calculated at The coordinates of the light source P s in the system and origin O coordinates
进一步地,在本发明的一个实施例中,系下的光源Ps坐标和原点O的坐标可以根据以下公式进行计算: Further, in one embodiment of the present invention, The coordinates of the light source P s in the system and the coordinates of the origin O It can be calculated according to the following formula:
以下根据具体实施例对本发明实施例的锥束CT成像系统的标定方法进行说明。The calibration method of the cone beam CT imaging system according to the embodiment of the present invention will be described below according to specific embodiments.
如图10所示,在本发明的一个具体实施例中,锥束CT成像系统的标定方法包括以下步骤:As shown in Figure 10, in a specific embodiment of the present invention, the calibration method of the cone beam CT imaging system includes the following steps:
S101,建造模体。S101, constructing a phantom.
其中,测试模体取N=6,l=40mm,r=65mm,钢珠自身的直径为2.5mm,钢珠总数目为12。待标定系统的探测器为1920×1536像素,探测器像素单元边长0.127mm。对于任意待标定的CBCT系统,定义坐标系系、系、系,探测器的旋转角θ、η,以及O到垂线绕的旋转角度t。Wherein, the test phantom takes N=6, l=40mm, r=65mm, the diameter of the steel ball itself is 2.5mm, and the total number of steel balls is 12. The detector of the system to be calibrated is 1920×1536 pixels, and the side length of the detector pixel unit is 0.127mm. For any CBCT system to be calibrated, define the coordinate system Tie, Tie, system, the rotation angle θ of the detector, η, and O to vertical winding The rotation angle t.
S102,以钢珠投影所有像素的值为权重对每个钢珠的投影求加权平均坐标值,得到12个钢珠的球心坐标,拟合出12个钢珠的球心坐标所在椭圆的轨迹T1,T2。S102, calculate the weighted average coordinate value of the projection of each steel ball with the value of all pixels of the steel ball projection as weights, obtain the center coordinates of the 12 steel balls, and fit the trajectory T 1 , T of the ellipse where the center coordinates of the 12 steel balls are located 2 .
S103,将每组的6个钢珠中心定好顺序,并得到原点O,此时,所有12个钢珠中心坐标都可以在系下表达。S103, order the centers of the 6 steel balls in each group, and obtain the origin O. At this time, the center coordinates of all 12 steel balls can be Under the expression.
S104,计算出角度η,并由轨迹T1、T2和OD相交得到A1B1、A2B2。S104, calculate the angle η, and obtain A 1 B 1 , A 2 B 2 from the intersection of trajectories T 1 , T 2 and OD.
S105,在平面内,求出角度θ、角度θ对应的原点Ow坐标(wy,wz)和光源Ps坐标(sy,sz)。S105, at In the plane, calculate the angle θ, the origin O w coordinates (w y , w z ) corresponding to the angle θ, and the light source P s coordinates (s y , s z ).
角度θ误差在0.01°左右,但是关于原点Ow坐标(wy,wz)和光源Ps坐标(sy,sz)的精度并不理想(尤其在θ→0,OD→∞时)。The angle θ error is about 0.01°, but the accuracy of the origin O w coordinates (w y , w z ) and the light source P s coordinates (s y , s z ) is not ideal (especially when θ→0,OD→∞) .
S106,对角度θ、原点Ow坐标(wy,wz)和光源Ps坐标(sy,sz)作第一次标定修正。S106, performing a first calibration correction on the angle θ, the origin O w coordinates (w y , w z ) and the light source P s coordinates (s y , s z ).
如果角度θ>2°(2°由实验条件确定),则原点的坐标就取已求得的(wy,wz)。反之作如下处理:把角度θ近似为0。假设P1Q1中点为M1,P2Q2中点为M2,则根据“两直线交点的投影等于其投影的交点”,可以在椭圆T1、T2中用连接相对钢珠中心并取连线交点的方法求出M1、M2的投影O1、O2(O1、O2在直线OD上)。If the angle θ>2° (2° is determined by the experimental conditions), then the origin The coordinates of are obtained (w y ,w z ). On the contrary, it is processed as follows: approximate the angle θ to 0. Assuming that the middle point of P 1 Q 1 is M 1 , and the middle point of P 2 Q 2 is M 2 , then according to "the projection of the intersection of two straight lines is equal to the intersection of their projections", the relative steel ball center can be connected in ellipses T 1 and T 2 And get the projection O 1 , O 2 of M 1 , M 2 by taking the intersection point of the connecting line (O 1 , O 2 are on the straight line OD).
令||OPs||/||OOw||=p',即(sy,sz)=p'(wy,wz),则||O1O2||/||M1M2||=p'/(p'-1),得:Let ||OP s ||/||OO w ||=p', namely (s y , s z )=p'(w y , w z ), then ||O 1 O 2 ||/||M 1 M 2 ||=p'/(p'-1), get:
S107,对原点Ow坐标(wy,wz)和光源Ps坐标(sy,sz)进行进一步的标定修正。S107, perform further calibration correction on the origin O w coordinates (w y , w z ) and the light source P s coordinates (s y , s z ).
步骤S107也可以重复多次,具体方法是:Step S107 can also be repeated multiple times, the specific method is:
在(wy±0.2,wz±0.2)(0.2mm为该实验条件下第一次标定修正后的最大误差)的范围之内取求出此时的P1P2Q1Q2的坐标(wy'±l,wz'±r),然后连接A1P1、B1Q1、A2P2、B2Q2与相交于目标函数为 表示求的方差),取wy,wz所对应的即为要求的(sy,sz)。Take it within the range of (w y ±0.2, w z ±0.2) (0.2mm is the maximum error after the first calibration correction under the experimental conditions) Find the coordinates (w y '±l,w z '±r) of P 1 P 2 Q 1 Q 2 at this time, and then connect A 1 P 1 , B 1 Q 1 , A 2 P 2 , B 2 Q 2 and intersects with The objective function is express request variance), take w y , w z corresponding to It is the required (s y , s z ).
S108,得到新的系,并定义子函数定义目标函数来衡量角度下球心投影和T1,T2轨迹的偏差,计算角度 S108, get new system, and define subfunctions Define the objective function to measure Calculate the deviation between the projection of the center of the sphere and the trajectory of T 1 and T 2 under the angle, and calculate the angle
取:这时α1,α2=10j,j=0,1,2…35在椭圆T1,T2上。Pick: at this time α 1 , α 2 =10j, j=0, 1, 2...35 are on ellipses T 1 , T 2 .
S109,定义实验条件下的目标函数H(t)计算角度t。S109, defining the objective function H(t) under the experimental conditions to calculate the angle t.
取: Pick:
S110,求出在系下光源Ps坐标和原点O坐标 S110, find out in P s coordinates of the light source under the system and origin O coordinates
S111,标定结束。S111, the calibration ends.
本发明的有益效果如下:(1)可以对任意复杂轨道的CBCT系统进行标定,具有较强的普适性。(2)利用一次投影即可得到该投影位置的全部几何参数,这对于CT系统扫描角度不全的情况非常有针对性。(3)不需要预先知道任何系统的几何信息,可以用于自身机械精度很差的几何系统,简单方便。The beneficial effects of the present invention are as follows: (1) The CBCT system of any complex orbit can be calibrated, and has strong universality. (2) All the geometric parameters of the projected position can be obtained by using one projection, which is very targeted for the situation that the scanning angle of the CT system is not complete. (3) It is not necessary to know the geometric information of any system in advance, and it can be used in geometric systems with poor mechanical precision, which is simple and convenient.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, descriptions referring to the terms "one embodiment", "some embodiments", "example", "specific examples", or "some examples" mean that specific features described in connection with the embodiment or example , structure, material or characteristic is included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the described specific features, structures, materials or characteristics may be combined in any suitable manner in any one or more embodiments or examples. In addition, those skilled in the art can combine and combine different embodiments or examples and features of different embodiments or examples described in this specification without conflicting with each other.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本发明的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include at least one of these features. In the description of the present invention, "plurality" means at least two, such as two, three, etc., unless otherwise specifically defined.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。Any process or method descriptions in flowcharts or otherwise described herein may be understood to represent modules, segments or portions of code comprising one or more executable instructions for implementing specific logical functions or steps of the process , and the scope of preferred embodiments of the invention includes alternative implementations in which functions may be performed out of the order shown or discussed, including substantially concurrently or in reverse order depending on the functions involved, which shall It is understood by those skilled in the art to which the embodiments of the present invention pertain.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowcharts or otherwise described herein, for example, can be considered as a sequenced listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium, For use with instruction execution systems, devices, or devices (such as computer-based systems, systems including processors, or other systems that can fetch instructions from instruction execution systems, devices, or devices and execute instructions), or in conjunction with these instruction execution systems, devices or equipment used. For the purposes of this specification, a "computer-readable medium" may be any device that can contain, store, communicate, propagate or transmit a program for use in or in conjunction with an instruction execution system, device or device. More specific examples (non-exhaustive list) of computer-readable media include the following: electrical connection with one or more wires (electronic device), portable computer disk case (magnetic device), random access memory (RAM), Read Only Memory (ROM), Erasable and Editable Read Only Memory (EPROM or Flash Memory), Fiber Optic Devices, and Portable Compact Disc Read Only Memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program can be printed, since the program can be read, for example, by optically scanning the paper or other medium, followed by editing, interpretation or other suitable processing if necessary. The program is processed electronically and stored in computer memory.
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that various parts of the present invention can be realized by hardware, software, firmware or their combination. In the above described embodiments, various steps or methods may be implemented by software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques known in the art: Discrete logic circuits, ASICs with suitable combinational logic gates, Programmable Gate Arrays (PGAs), Field Programmable Gate Arrays (FPGAs), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。Those of ordinary skill in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. During execution, one or a combination of the steps of the method embodiments is included.
此外,在本发明各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing module, each unit may exist separately physically, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. If the integrated modules are realized in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, and the like. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present invention, those skilled in the art can make the above-mentioned The embodiments are subject to changes, modifications, substitutions and variations.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title | 
|---|---|---|---|
| CN201510145507.0A CN104764756B (en) | 2015-03-30 | 2015-03-30 | The scaling method of cone-beam CT imaging system | 
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title | 
|---|---|---|---|
| CN201510145507.0A CN104764756B (en) | 2015-03-30 | 2015-03-30 | The scaling method of cone-beam CT imaging system | 
Publications (2)
| Publication Number | Publication Date | 
|---|---|
| CN104764756A CN104764756A (en) | 2015-07-08 | 
| CN104764756B true CN104764756B (en) | 2017-05-31 | 
Family
ID=53646720
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date | 
|---|---|---|---|
| CN201510145507.0A Expired - Fee Related CN104764756B (en) | 2015-03-30 | 2015-03-30 | The scaling method of cone-beam CT imaging system | 
Country Status (1)
| Country | Link | 
|---|---|
| CN (1) | CN104764756B (en) | 
Families Citing this family (11)
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| CN105769233A (en) * | 2016-02-29 | 2016-07-20 | 江苏美伦影像系统有限公司 | Geometric correction method | 
| CN105931202B (en) * | 2016-04-20 | 2018-02-23 | 广州华端科技有限公司 | The bearing calibration of geometric correction die body and system | 
| CN110084855B (en) * | 2019-04-19 | 2020-12-15 | 合肥中科离子医学技术装备有限公司 | Improved CBCT geometric parameter calibration method | 
| CN110236583B (en) * | 2019-06-19 | 2022-02-22 | 新里程医用加速器(无锡)有限公司 | Rotary platform cone beam CT system, calibration mold body and calibration method | 
| CN112603346B (en) * | 2020-12-11 | 2022-06-07 | 中国科学院高能物理研究所 | A Detector Deflection Correction Method Based on Marker Imaging | 
| CN112634353B (en) * | 2020-12-17 | 2024-03-26 | 广州华端科技有限公司 | Self-calibration method, device and medium for geometric calibration die body of CBCT (computed tomography) system | 
| CN113592936B (en) * | 2021-07-20 | 2024-12-06 | 苏州工业园区智在天下科技有限公司 | A method and device for generating light source position | 
| CN114067016B (en) * | 2021-11-16 | 2025-08-01 | 佗道医疗科技有限公司 | Inclination calibration method for projection image | 
| CN114041816B (en) * | 2021-11-22 | 2025-09-30 | 有方(合肥)医疗科技有限公司 | Method and device for automatically acquiring geometric errors of CBCT system | 
| CN114460110B (en) * | 2022-03-08 | 2023-06-06 | 中国电子科技集团公司第三十八研究所 | A Servo System Error Compensation Method | 
| CN116681600A (en) * | 2023-01-09 | 2023-09-01 | 太丛信息科技(上海)有限公司 | CBCT calibration method aiming at non-ideal circular track and poor in motion repeatability | 
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| US8923475B2 (en) * | 2012-01-31 | 2014-12-30 | Siemens Aktiengesellschaft | System and method for recording cone-beam tomograms in radiation therapy | 
| CN102743184B (en) * | 2012-05-14 | 2013-10-16 | 清华大学 | Geometrical parameter calibration method of X-ray cone beam computed tomography system | 
| CN103549971B (en) * | 2013-11-07 | 2016-03-09 | 北京航空航天大学 | A kind of method determining geometric calibration parameter in C-arm computed tomography (SPECT) system | 
| CN104132950B (en) * | 2014-07-18 | 2016-07-06 | 中国特种设备检测研究院 | CL scanning means projection rotating center scaling method based on original projection information | 
- 
        2015
        - 2015-03-30 CN CN201510145507.0A patent/CN104764756B/en not_active Expired - Fee Related
 
Also Published As
| Publication number | Publication date | 
|---|---|
| CN104764756A (en) | 2015-07-08 | 
Similar Documents
| Publication | Publication Date | Title | 
|---|---|---|
| CN104764756B (en) | The scaling method of cone-beam CT imaging system | |
| CN108122203B (en) | Geometric parameter correction method, device, equipment and system | |
| CN111248934B (en) | Method and system for mechanical correction of CBCT system | |
| CN101750021B (en) | Calibration method, device of geometric parameters in CT (computer tomography) system | |
| CN103784160B (en) | A kind of correcting unit of cone-beam CT system geometric position and bearing calibration thereof | |
| CN114923453B (en) | Calibration method, device and electronic equipment for external parameters of linear profiler | |
| CN107928694A (en) | CT dose modulations, device, CT scan method and CT system | |
| WO2018126335A1 (en) | Method for evaluating and correcting geometric parameters of cone-beam ct system based on glomerulus motif | |
| CN104997529A (en) | Method for correcting cone beam CT system geometric distortion based on symmetrically repetitive template | |
| CN103175470A (en) | Reference sphere positioning and measuring method based on line-structured light vision sensor | |
| CN102855620B (en) | Self-calibration method of pure rotation camera based on spherical projection model | |
| CN103549971B (en) | A kind of method determining geometric calibration parameter in C-arm computed tomography (SPECT) system | |
| CN102488528B (en) | Correcting method for geometric parameters of tomography | |
| CN106335061A (en) | Hand-eye relation calibration method based on four-freedom-degree robot | |
| CN107016655A (en) | Cone-beam CL geometry population parameter iteration correction methods | |
| KR102285337B1 (en) | Calibration method and apparatus of x-ray apparatus | |
| CN103559710B (en) | A kind of scaling method for three-dimensional reconstruction system | |
| CN104257397B (en) | X-ray machine based on tomography and the scaling method of detector geometry site | |
| CN115690192A (en) | Imaging geometric relation online calibration method and related product | |
| CN110461236B (en) | Method and device for determining parameters of CT system | |
| CN203763103U (en) | Geometric correction device of detector of cone beam CT (computed Tomography) system | |
| CN102509324A (en) | Rotational stereovision rotary axis determining method based on quadratic curve fitting | |
| CN113892960B (en) | X-ray self-imaging geometric calibration method and device | |
| CN206044647U (en) | A kind of geometric correction die body of pin hole SPECT systems | |
| CN114119801B (en) | Three-dimensional digital subtraction angiography method, device, electronic equipment and storage medium | 
Legal Events
| Date | Code | Title | Description | 
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| EXSB | Decision made by sipo to initiate substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee | Granted publication date: 20170531 |