CN104299209A - Lung 4D-CT image super-resolution reconstruction method based on fast sub-pixel motion estimation - Google Patents
Lung 4D-CT image super-resolution reconstruction method based on fast sub-pixel motion estimation Download PDFInfo
- Publication number
- CN104299209A CN104299209A CN201410479911.7A CN201410479911A CN104299209A CN 104299209 A CN104299209 A CN 104299209A CN 201410479911 A CN201410479911 A CN 201410479911A CN 104299209 A CN104299209 A CN 104299209A
- Authority
- CN
- China
- Prior art keywords
- image
- lung
- delta
- formula
- reconstructed
- 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.)
- Pending
Links
- 210000004072 lung Anatomy 0.000 title claims abstract description 106
- 238000000034 method Methods 0.000 title claims abstract description 83
- 239000013598 vector Substances 0.000 claims abstract description 42
- 230000008569 process Effects 0.000 claims description 22
- 238000004422 calculation algorithm Methods 0.000 claims description 19
- 238000010845 search algorithm Methods 0.000 claims description 7
- 238000004364 calculation method Methods 0.000 claims description 6
- 238000006073 displacement reaction Methods 0.000 claims description 6
- 230000003287 optical effect Effects 0.000 claims description 5
- 238000005070 sampling Methods 0.000 claims description 5
- 230000015556 catabolic process Effects 0.000 claims description 3
- 238000006731 degradation reaction Methods 0.000 claims description 3
- 238000003384 imaging method Methods 0.000 claims description 3
- 238000004088 simulation Methods 0.000 claims description 3
- 230000004304 visual acuity Effects 0.000 claims 2
- 238000006243 chemical reaction Methods 0.000 claims 1
- 238000012804 iterative process Methods 0.000 claims 1
- 238000005457 optimization Methods 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 8
- 238000001514 detection method Methods 0.000 description 4
- 230000006872 improvement Effects 0.000 description 4
- 239000010410 layer Substances 0.000 description 3
- 238000001959 radiotherapy Methods 0.000 description 3
- 210000004204 blood vessel Anatomy 0.000 description 2
- 230000005855 radiation Effects 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- NAWXUBYGYWOOIX-SFHVURJKSA-N (2s)-2-[[4-[2-(2,4-diaminoquinazolin-6-yl)ethyl]benzoyl]amino]-4-methylidenepentanedioic acid Chemical compound C1=CC2=NC(N)=NC(N)=C2C=C1CCC1=CC=C(C(=O)N[C@@H](CC(=C)C(O)=O)C(O)=O)C=C1 NAWXUBYGYWOOIX-SFHVURJKSA-N 0.000 description 1
- 206010058467 Lung neoplasm malignant Diseases 0.000 description 1
- 206010028980 Neoplasm Diseases 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000012512 characterization method Methods 0.000 description 1
- 239000011229 interlayer Substances 0.000 description 1
- 201000005202 lung cancer Diseases 0.000 description 1
- 208000020816 lung neoplasm Diseases 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000241 respiratory effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Landscapes
- Apparatus For Radiation Diagnosis (AREA)
Abstract
本发明公开了基于快速亚像素运动估计的肺4D-CT图像超分辨率重建方法,包括步骤(1)读取初始的肺部4D-CT图像,该肺部4D-CT图像由多个不同相位的肺部3D-CT图像组成,任意选择其中某一相位的肺部3D-CT图像作为待重建肺部3D-CT图像;(2)将肺部4D-CT图像中除去待重建肺部3D-CT图像后的肺部3D-CT图像相对于待重建肺部3D-CT图像进行初始运动估计,得到他们之间的初始运动矢量场;(3)对获得的初始运动矢量场进行精度优化,获得亚像素运动矢量场;(4)以亚像素运动矢量场为基础,对待重建肺部3D-CT图像进行重建,得到与待重建肺部3D-CT图像相对应的相位相同的重建后的高分辨率肺4D-CT图像。该方法能够提高肺4D-CT图像分辨率。
The invention discloses a lung 4D-CT image super-resolution reconstruction method based on fast sub-pixel motion estimation, including step (1) reading the initial lung 4D-CT image, the lung 4D-CT image consists of multiple different phases 3D-CT images of the lungs, and randomly select a phase of the 3D-CT images of the lungs as the 3D-CT images of the lungs to be reconstructed; (2) remove the 3D-CT images of the lungs to be reconstructed from the 4D-CT images of the lungs The lung 3D-CT image after the CT image is compared with the lung 3D-CT image to be reconstructed for initial motion estimation, and the initial motion vector field between them is obtained; (3) The precision optimization of the obtained initial motion vector field is obtained to obtain Sub-pixel motion vector field; (4) Based on the sub-pixel motion vector field, the 3D-CT image of the lung to be reconstructed is reconstructed to obtain a reconstructed high-resolution image with the same phase as the 3D-CT image of the lung to be reconstructed Rate lung 4D-CT images. This method can improve the resolution of lung 4D-CT images.
Description
技术领域technical field
本发明涉及医学图像处理技术领域,具体是指一种基于快速亚像素运动估计的肺4D-CT图像超分辨率重建方法。The invention relates to the technical field of medical image processing, in particular to a method for super-resolution reconstruction of lung 4D-CT images based on fast sub-pixel motion estimation.
背景技术Background technique
肺4D-CT图像在肺癌放射治疗中发挥着重要的作用,它能提供了一个全面的高精度放射治疗呼吸运动表征,有助于跟踪肿瘤运动,实施精确放射治疗,并减少对正常组织的损伤。然而,由于CT固有的高剂量照射,故往往只能降低沿纵向(Z轴方向)的采样来减少肺4D-CT扫描时间以求降低辐射量,从而导致肺4D-CT图像层间分辨率远低于层内分辨率,造成数据显著的各向异性。这使得对数据进行多平面观察(冠矢状面等)时,需进行插值运算以获得正确的显示,这一操作易导致图像的模糊。Lung 4D-CT images play an important role in lung cancer radiotherapy, it can provide a comprehensive high-precision radiotherapy respiratory motion characterization, help to track tumor movement, implement precise radiotherapy, and reduce damage to normal tissues . However, due to the inherent high-dose radiation of CT, it is often only possible to reduce the sampling along the longitudinal direction (Z-axis direction) to reduce the scanning time of lung 4D-CT in order to reduce the radiation dose, resulting in a poor inter-layer resolution of lung 4D-CT images. Lower than the intra-layer resolution, resulting in significant anisotropy of the data. This makes it necessary to perform an interpolation operation to obtain a correct display when multi-plane observation (coronal sagittal plane, etc.) is performed on the data, and this operation easily leads to blurring of the image.
在超分辨率重建过程中,图像间运动场的估计是影响重建精度和速度的主要因素。申请人之前提出的基于运动估计的超分辨率技术采用了全搜索运动估计法,估计不同帧图像之间的运动场。该方法能够重建出较传统插值方法更清晰的肺冠(矢)状面图像,但其主要缺点是:速度慢,且只能是固定搜索步长。这样既影响重建速度,也影响重建精度。因此,提供一种基于快速亚像素运动估计的肺4D-CT图像超分辨率重建方法以克服现有技术的不足甚为必要。During super-resolution reconstruction, the estimation of the motion field between images is the main factor affecting the reconstruction accuracy and speed. The super-resolution technology based on motion estimation previously proposed by the applicant uses a full-search motion estimation method to estimate the motion field between different frame images. This method can reconstruct a clearer coronal (sagittal) image of the lung than the traditional interpolation method, but its main disadvantages are: slow speed and only a fixed search step. This not only affects the reconstruction speed, but also affects the reconstruction accuracy. Therefore, it is necessary to provide a super-resolution reconstruction method of lung 4D-CT images based on fast sub-pixel motion estimation to overcome the shortcomings of the existing technology.
发明内容Contents of the invention
本发明的目的在于提供一种基于快速亚像素运动估计的肺4D-CT图像超分辨率重建方法,该方法能够提高肺4D-CT图像分辨率。The purpose of the present invention is to provide a lung 4D-CT image super-resolution reconstruction method based on fast sub-pixel motion estimation, which can improve the resolution of the lung 4D-CT image.
本发明的目的可通过下述技术措施来实现:基于快速亚像素运动估计的肺4D-CT图像超分辨率重建方法,该方法包括以下步骤:The object of the present invention can be achieved through the following technical measures: a lung 4D-CT image super-resolution reconstruction method based on fast sub-pixel motion estimation, the method comprising the following steps:
(1)读取初始的肺部4D-CT图像,该肺部4D-CT图像由多个不同相位的肺部3D-CT图像组成,任意选择其中某一相位的肺部3D-CT图像作为待重建肺部3D-CT图像;(1) Read the initial 4D-CT image of the lung, which is composed of multiple 3D-CT images of the lung with different phases, and arbitrarily select a 3D-CT image of the lung with a certain phase as the Reconstruction of 3D-CT images of the lungs;
(2)将肺部4D-CT图像中除去待重建肺部3D-CT图像后的多个不同相位的肺部3D-CT图像相对于待重建肺部3D-CT图像进行初始运动估计,得到肺部4D-CT图像中除去待重建肺部3D-CT图像后的多个不同相位的肺部3D-CT图像与待重建肺部3D-CT图像之间的初始运动矢量场,该初始运动矢量场的精度为整数;(2) Perform initial motion estimation on multiple lung 3D-CT images with different phases after removing the lung 3D-CT image to be reconstructed in the lung 4D-CT image relative to the lung 3D-CT image to be reconstructed, and obtain the lung The initial motion vector field between multiple different phase lung 3D-CT images after removing the lung 3D-CT image to be reconstructed and the lung 3D-CT image to be reconstructed in the first 4D-CT image, the initial motion vector field The precision is an integer;
(3)对获得的初始运动矢量场进行精度优化,使其精确到亚像素,获得亚像素运动矢量场;(3) Carry out precision optimization to the obtained initial motion vector field, make it accurate to sub-pixel, obtain sub-pixel motion vector field;
(4)以步骤(3)得到的亚像素运动矢量场为基础,对待重建肺部3D-CT图像进行重建,得到与待重建肺部3D-CT图像相对应的相位相同的重建后的高分辨率肺4D-CT图像。(4) Based on the sub-pixel motion vector field obtained in step (3), the 3D-CT image of the lung to be reconstructed is reconstructed to obtain a reconstructed high-resolution image with the same phase as the 3D-CT image of the lung to be reconstructed. Rate lung 4D-CT images.
本发明中,所述步骤(2)中采用三步搜索法进行初始运动估计,搜索肺部4D-CT图像中除去待重建肺部3D-CT图像后的多个不同相位的肺部3D-CT图像与待重建肺部3D-CT图像之间的整数像素位移。该算法通过由粗到精的搜索模式,从搜索窗中心点开始,按一定步长取周围8个点构成每次搜索的点群,然后按照匹配准则进行匹配计算,找到误差最小的匹配块中心点。具体过程包括:In the present invention, in the step (2), a three-step search method is used for initial motion estimation, and multiple lung 3D-CT images of different phases after removing the lung 3D-CT image to be reconstructed are searched for in the lung 4D-CT image. The integer pixel displacement between the image and the 3D-CT image of the lung to be reconstructed. The algorithm uses a coarse-to-fine search pattern, starting from the center point of the search window, taking 8 surrounding points at a certain step to form a point group for each search, and then performing matching calculations according to the matching criteria to find the center of the matching block with the smallest error point. The specific process includes:
(2.1)确定一个中心点,设定最大搜索长度,以最大搜索长度的1/2作为步长,将中心点及周围距离相同步长的8个检测点根据匹配准则,找到最小块误差点,如果最小块误差点位于原中心点,则算法结束,否则,进行步骤(2.2);(2.1) Determine a center point, set the maximum search length, and use 1/2 of the maximum search length as the step size, and find the minimum block error point according to the matching criteria for the center point and 8 detection points with the same step length around the distance, If the minimum block error point is located at the original center point, the algorithm ends, otherwise, proceed to step (2.2);
(2.2)步长减半,在上一步确定的最小块误差点及其周围相同步长的8个检测点中找到最小误差匹配块的中心点;(2.2) The step size is halved, and the center point of the minimum error matching block is found in the minimum block error point determined in the previous step and 8 detection points of the same step length around it;
(2.3)重复(2.1)和(2.2)直到步长达到搜索精度要求,即得到最佳匹配点。(2.3) Repeat (2.1) and (2.2) until the step size meets the search accuracy requirement, that is, the best matching point is obtained.
本发明采用的是常用的最小绝对误差匹配准则定义为:What the present invention adopts is that the minimum absolute error matching criterion commonly used is defined as:
式中,图像块的大小为N×N,左上角的坐标为(p,q),本发明选取的块大小为16×16;运动矢量为(vx,vy);It(i,j)和分别为当前帧和参考帧在像素(i,j)处的值。在搜索区域内使S(vx,vy)值最小的运动矢量即为当前块的最优运动矢量。In the formula, the size of the image block is N×N, the coordinates of the upper left corner are (p, q), and the block size selected by the present invention is 16×16; the motion vector is (v x , v y ); I t (i, j) and are the values at pixel (i, j) of the current frame and the reference frame, respectively. The motion vector with the smallest value of S(v x , v y ) in the search area is the optimal motion vector of the current block.
本发明中,所述步骤(3)中利用光流法对初始运动矢量进行精度优化,精确到亚像素。具体过程包括:In the present invention, in the step (3), the optical flow method is used to optimize the accuracy of the initial motion vector, which is accurate to sub-pixels. The specific process includes:
(3.1)假设运动前后两帧连续图像分别为f(x,y)和g(x,y),根据经典光流简化模型,可得(3.1) Assuming that the two consecutive images before and after motion are f(x,y) and g(x,y) respectively, according to the simplified model of classical optical flow, we can get
该式近似为一阶泰勒级数展开式。This formula is approximately a first-order Taylor series expansion.
(3.2)对式(2)进行最小化求解可得最优位移矢量:(3.2) Minimize and solve formula (2) to obtain the optimal displacement vector:
其中:in:
(3.3)式(4)可看作线性最小二乘求解问题,可将目标函数的偏导数置0得到最优值Δxs,Δys。因此,可有如下方程:(3.3) Equation (4) can be regarded as a linear least squares solution problem, and the partial derivatives of the objective function can be set to 0 to obtain the optimal values Δx s , Δy s . Therefore, the following equation can be obtained:
(3.4)求解方程(5),可得最优解Δxs,Δys。(3.4) Solving equation (5), the optimal solution Δx s , Δy s can be obtained.
(3.5)设三步搜索法得到的运动矢量为ΔxI,ΔyI,则最终得到的总运动矢量Δx,Δy为:(3.5) Suppose the motion vector obtained by the three-step search method is Δx I , Δy I , then the final total motion vector Δx, Δy is:
Δx=ΔxI+Δxs,Δy=ΔyI+Δys......式(6);Δx = Δx I + Δx s , Δy = Δy I + Δy s ...... formula (6);
本发明中,所述步骤(4)采用迭代反投影法重建高分辨率肺4D-CT图像,迭代反投影法的缩写为IBP,具体过程包括:In the present invention, the step (4) uses the iterative back projection method to reconstruct a high-resolution lung 4D-CT image, the abbreviation of the iterative back projection method is IBP, and the specific process includes:
(4.1)将低分辨率的待重建的肺部3D-CT图像插值放大,作为初始高分辨率图像H(0);(4.1) interpolating and enlarging the low-resolution lung 3D-CT image to be reconstructed as the initial high-resolution image H (0) ;
(4.2)根据退化模型模拟成像过程得到一个低分辨率图像的集合分别对应于原始低分辨率图像序列K表示原始低分辨率图像序列中图像的数量,n为迭代次数。(4.2) Simulate the imaging process according to the degradation model to obtain a collection of low-resolution images corresponding to the original low-resolution image sequence K represents the number of images in the original low-resolution image sequence, and n is the number of iterations.
具体的,在第n次迭代过程中,H(n)模拟退化为的过程如下表示:Specifically, in the nth iteration process, H (n) simulation degenerates to The process is as follows:
其中,Tk表示从H到Lk的二维几何变换,,即为步骤(3)中获得的运动变形场;h是高斯模糊算子;↓s是下采样算子;Among them, T k represents the two-dimensional geometric transformation from H to L k , which is the motion deformation field obtained in step (3); h is the Gaussian blur operator; ↓ s is the downsampling operator;
(4.3)判断误差是否达最小值,若达到,则停止迭代,以前估计的H(n)为最终所求的超分辨率图像;若未达到,则进入步骤(4.4);(4.3) Judgment error Whether it reaches the minimum value, if reached, then stop the iteration, the previously estimated H (n) is the final super-resolution image; if not reached, then enter step (4.4);
上述步骤(4.3)中判断误差是否达到最小值可以通过判断误差函数e(n)是否小于设定阈值ε来进行的,误差函数的具体计算公式是:Judgment error in the above step (4.3) Whether the minimum value is reached can be determined by judging whether the error function e (n) is smaller than the set threshold ε. The specific calculation formula of the error function is:
(4.4)根据误差对当前高分辨率图像进行更新,更新过程如下式:(4.4) Update the current high-resolution image according to the error, and the update process is as follows:
式中,↑s表示上采样算子;p表示背投影算子,依赖于h和Tk;In the formula, ↑s represents the up-sampling operator; p represents the back-projection operator, which depends on h and T k ;
(4.5)将更新后的高分辨率图像作为初始高分辨率图像,进入步骤(4.2)。(4.5) Use the updated high-resolution image as the initial high-resolution image, and enter step (4.2).
和现有技术相比,本发明具有如下有益效果:Compared with the prior art, the present invention has the following beneficial effects:
(1)由于运动矢量估计速度和精度的优化,本发明方法的计算时间较全搜索算法缩减了近20倍,是很有意义的改进。(1) Due to the optimization of motion vector estimation speed and precision, the calculation time of the method of the present invention is reduced by nearly 20 times compared with the full search algorithm, which is a significant improvement.
(2)本发明重建的高分辨率肺4D-CT图像,其肺实质中的血管和周边组织的亮度和清晰度均显著增强。(2) In the high-resolution lung 4D-CT image reconstructed by the present invention, the brightness and clarity of blood vessels in the lung parenchyma and surrounding tissues are significantly enhanced.
附图说明Description of drawings
下面结合附图和具体实施方式对本发明进行详细描述。The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.
图1是本发明基于快速亚像素运动估计的肺4D-CT图像超分辨率重建方法的流程图;Fig. 1 is the flow chart of the lung 4D-CT image super-resolution reconstruction method based on fast sub-pixel motion estimation of the present invention;
图2是本发明实施例一数据2相位0冠状面采用不同方法重建结果图,从左往右分别是采用双线性插值方法,基于全搜索运动估计算法和本发明方法重建的结果图;Fig. 2 is the reconstruction result diagram of data 2 phase 0 coronal plane using different methods in Embodiment 1 of the present invention. From left to right, the bilinear interpolation method is used, and the reconstruction result diagram based on the full search motion estimation algorithm and the method of the present invention is used;
图3是本发明实施例一对应于图2中方框部分的放大示意图,从左往右分别是采用双线性插值方法,基于全搜索运动估计算法和本发明方法重建的结果图的局部放大图;Fig. 3 is an enlarged schematic diagram corresponding to the box part in Fig. 2 according to Embodiment 1 of the present invention. From left to right, it is a partial enlarged view of the result map reconstructed based on the full search motion estimation algorithm and the method of the present invention using the bilinear interpolation method. ;
图4是本发明实施例一数据2相位0矢状面采用不同方法重建结果图,从左往右分别是采用双线性插值方法,基于全搜索运动估计算法和本发明方法重建的结果图;Fig. 4 is a reconstruction result diagram of the data 2 phase 0 sagittal plane using different methods according to Embodiment 1 of the present invention. From left to right, it is the reconstruction result diagram based on the full search motion estimation algorithm and the method of the present invention using the bilinear interpolation method;
图5是本发明实施例一对应于图4中方框部分的放大示意图,从左往右分别是采用双线性插值方法,基于全搜索运动估计算法和本发明方法重建的结果图的局部放大图。Fig. 5 is an enlarged schematic diagram corresponding to the box part in Fig. 4 of Embodiment 1 of the present invention. From left to right, it is a partial enlarged view of the result map reconstructed based on the full search motion estimation algorithm and the method of the present invention using bilinear interpolation method .
具体实施方式Detailed ways
实施例一Embodiment one
图1示出了本发明方法的具体流程。以下结合一套公共可用的肺4D-CT数据集详细描述本发明方法的处理过程。该数据集由10组肺4D-CT数据组成,每组数据包含10个相位图像。本发明基于快速亚像素运动估计的肺4D-CT图像超分辨率重建方法,具体步骤如下:Fig. 1 shows the specific flow of the method of the present invention. The processing process of the method of the present invention is described in detail below in conjunction with a set of publicly available lung 4D-CT data sets. The dataset consists of 10 groups of lung 4D-CT data, each containing 10 phase images. The present invention is based on fast sub-pixel motion estimation lung 4D-CT image super-resolution reconstruction method, the specific steps are as follows:
(1)读取初始的肺部4D-CT图像,此数据选自公共数据集的第2组,图像大小为256*256*112,图像层内分辨率为1.16mm,层间分辨为2.5mm,该肺部4D-CT图像由10个不同相位的肺部3D-CT图像组成,选择相位0冠矢状面低分辨率肺部3D-CT图像作为待重建肺部3D-CT图像,选取的肺部3D-CT图像为任意选取的,选取哪一相位的肺部3D-CT图像,则后续步骤(4)中重建获得的高分辨率肺4D-CT图像就是与该待重建肺部3D-CT图像相对应的相位相同的肺4D-CT图像;(1) Read the initial 4D-CT image of the lungs. This data is selected from the second group of the public data set. The image size is 256*256*112, the resolution within the image layer is 1.16mm, and the resolution between layers is 2.5mm , the lung 4D-CT image is composed of 10 different phase lung 3D-CT images, and the phase 0 coronal sagittal plane low-resolution lung 3D-CT image is selected as the lung 3D-CT image to be reconstructed, and the selected The lung 3D-CT image is randomly selected, which phase of the lung 3D-CT image is selected, then the high-resolution lung 4D-CT image reconstructed in the subsequent step (4) is exactly the same as the lung 3D-CT image to be reconstructed. CT images correspond to lung 4D-CT images with the same phase;
(2)将肺部4D-CT图像中除去待重建肺部3D-CT图像后的多个不同相位的肺部3D-CT图像相对于待重建肺部3D-CT图像进行初始运动估计,得到肺部4D-CT图像中除去待重建肺部3D-CT图像后的多个不同相位的肺部3D-CT图像与待重建肺部3D-CT图像之间的初始运动矢量场,该初始运动矢量场的精度为整数;(2) Perform initial motion estimation on multiple lung 3D-CT images with different phases after removing the lung 3D-CT image to be reconstructed in the lung 4D-CT image relative to the lung 3D-CT image to be reconstructed, and obtain the lung The initial motion vector field between multiple different phase lung 3D-CT images after removing the lung 3D-CT image to be reconstructed and the lung 3D-CT image to be reconstructed in the first 4D-CT image, the initial motion vector field The precision is an integer;
(3)对获得的初始运动矢量场进行精度优化,使其精确到亚像素,获得亚像素运动矢量场;(3) Carry out precision optimization to the obtained initial motion vector field, make it accurate to sub-pixel, obtain sub-pixel motion vector field;
(4)以步骤(3)得到的亚像素运动矢量场为基础,对待重建肺部3D-CT图像进行重建,得到与待重建肺部3D-CT图像相对应的相位相同的重建后的高分辨率肺4D-CT图像。(4) Based on the sub-pixel motion vector field obtained in step (3), the 3D-CT image of the lung to be reconstructed is reconstructed to obtain a reconstructed high-resolution image with the same phase as the 3D-CT image of the lung to be reconstructed. Rate lung 4D-CT images.
本发明中,所述步骤(2)中采用三步搜索法进行初始运动估计,搜索肺部4D-CT图像中除去待重建肺部3D-CT图像后的多个不同相位的肺部3D-CT图像与待重建肺部3D-CT图像之间的整数像素位移。该算法通过由粗到精的搜索模式,从搜索窗中心点开始,按一定步长取周围8个点构成每次搜索的点群,然后按照匹配准则进行匹配计算,找到误差最小的匹配块中心点。具体过程包括:In the present invention, in the step (2), a three-step search method is used for initial motion estimation, and multiple lung 3D-CT images of different phases after removing the lung 3D-CT image to be reconstructed are searched for in the lung 4D-CT image. The integer pixel displacement between the image and the 3D-CT image of the lung to be reconstructed. The algorithm uses a coarse-to-fine search pattern, starting from the center point of the search window, taking 8 surrounding points at a certain step to form a point group for each search, and then performing matching calculations according to the matching criteria to find the center of the matching block with the smallest error point. The specific process includes:
(2.1)确定一个中心点,设定最大搜索长度,以最大搜索长度的1/2作为步长,将中心点及周围距离相同步长的8个检测点根据匹配准则,找到最小块误差点,如果最小块误差点位于原中心点,则算法结束,否则,进行步骤(2.2);(2.1) Determine a center point, set the maximum search length, and use 1/2 of the maximum search length as the step size, and find the minimum block error point according to the matching criteria for the center point and 8 detection points with the same step length around the distance, If the minimum block error point is located at the original center point, the algorithm ends, otherwise, proceed to step (2.2);
(2.2)步长减半,在上一步确定的最小块误差点及其周围相同步长的8个检测点中找到最小误差匹配块的中心点;(2.2) The step size is halved, and the center point of the minimum error matching block is found in the minimum block error point determined in the previous step and 8 detection points of the same step length around it;
(2.3)重复(2.1)和(2.2)直到步长达到搜索精度要求,即得到最佳匹配点。(2.3) Repeat (2.1) and (2.2) until the step size meets the search accuracy requirement, that is, the best matching point is obtained.
本发明采用的是常用的最小绝对误差匹配准则定义为:What the present invention adopts is that the minimum absolute error matching criterion commonly used is defined as:
式中,图像块的大小为N×N,左上角的坐标为(p,q),本发明选取的块大小为16×16;运动矢量为(vx,vy);It(i,j)和分别为当前帧和参考帧在像素(i,j)处的值。在搜索区域内使S(vx,vy)值最小的运动矢量即为当前块的最优运动矢量。In the formula, the size of the image block is N×N, the coordinates of the upper left corner are (p, q), and the block size selected by the present invention is 16×16; the motion vector is (v x , v y ); I t (i, j) and are the values at pixel (i, j) of the current frame and the reference frame, respectively. The motion vector with the smallest value of S(v x , v y ) in the search area is the optimal motion vector of the current block.
本发明中,所述步骤(3)中利用光流法对初始运动矢量进行精度优化,使其精确到亚像素。具体过程包括:In the present invention, in the step (3), the optical flow method is used to optimize the accuracy of the initial motion vector to make it accurate to sub-pixels. The specific process includes:
(3.1)假设运动前后两帧连续图像分别为f(x,y)和g(x,y),根据经典光流简化模型,可得(3.1) Assuming that the two consecutive images before and after motion are f(x,y) and g(x,y) respectively, according to the simplified model of classical optical flow, we can get
该式近似为一阶泰勒级数展开式。This formula is approximately a first-order Taylor series expansion.
(3.2)对式(2)进行最小化求解可得最优位移矢量:(3.2) Minimize and solve formula (2) to obtain the optimal displacement vector:
其中:in:
(3.3)式(4)可看作线性最小二乘求解问题,可将目标函数的偏导数置0得到最优值Δxs,Δys。因此,可有如下方程:(3.3) Equation (4) can be regarded as a linear least squares solution problem, and the partial derivatives of the objective function can be set to 0 to obtain the optimal values Δx s , Δy s . Therefore, the following equation can be obtained:
(3.4)求解方程(5),可得最优解Δxs,Δys。(3.4) Solving equation (5), the optimal solution Δx s , Δy s can be obtained.
(3.5)设三步搜索法得到的运动矢量为ΔxI,ΔyI,则最终得到的总运动矢量Δx,Δy为:(3.5) Suppose the motion vector obtained by the three-step search method is Δx I , Δy I , then the final total motion vector Δx, Δy is:
Δx=ΔxI+Δxs,Δy=ΔyI+Δys......式(6);Δx = Δx I + Δx s , Δy = Δy I + Δy s ...... formula (6);
本实例中,所述步骤(4)采用迭代反投影法重建高分辨率肺4D-CT图像,迭代反投影法的缩写为IBP,具体过程包括:In this example, the step (4) uses an iterative back projection method to reconstruct a high-resolution lung 4D-CT image. The abbreviation of the iterative back projection method is IBP. The specific process includes:
(4.1)将低分辨率的待重建的肺部3D-CT图像插值放大,作为初始高分辨率图像H(0);(4.1) interpolating and enlarging the low-resolution lung 3D-CT image to be reconstructed as the initial high-resolution image H (0) ;
(4.2)根据退化模型模拟成像过程得到一个低分辨率图像的集合分别对应于原始低分辨率图像序列K表示原始低分辨率图像序列中图像的数量,n为迭代次数。(4.2) Simulate the imaging process according to the degradation model to obtain a collection of low-resolution images corresponding to the original low-resolution image sequence K represents the number of images in the original low-resolution image sequence, and n is the number of iterations.
具体的,在第n次迭代过程中,H(n)模拟退化为的过程如下表示:Specifically, in the nth iteration process, H (n) simulation degenerates to The process is as follows:
其中,Tk表示从H到Lk的二维几何变换,即为步骤(3)中获得的运动变形场;h是高斯模糊算子;↓s是下采样算子;Among them, T k represents the two-dimensional geometric transformation from H to L k , which is the motion deformation field obtained in step (3); h is the Gaussian blur operator; ↓s is the downsampling operator;
(4.3)判断误差是否达最小值,若达到,则停止迭代,以前估计的H(n)为最终所求的超分辨率图像;若未达到,则进入步骤(4.4);(4.3) Judgment error Whether it reaches the minimum value, if reached, then stop the iteration, the previously estimated H (n) is the final super-resolution image; if not reached, then enter step (4.4);
上述步骤(4.3)中判断误差是否达到最小值可以通过判断误差函数e(n)是否小于设定阈值ε来进行的,误差函数的具体计算公式是:Judgment error in the above step (4.3) Whether the minimum value is reached can be determined by judging whether the error function e (n) is smaller than the set threshold ε. The specific calculation formula of the error function is:
(4.4)根据误差对当前高分辨率图像进行更新,更新过程如下式:(4.4) Update the current high-resolution image according to the error, and the update process is as follows:
式中,↑s表示上采样算子;p表示背投影算子,依赖于h和Tk;In the formula, ↑s represents the up-sampling operator; p represents the back-projection operator, which depends on h and T k ;
(4.5)将更新后的高分辨率图像作为初始高分辨率图像,进入步骤(4.2)。(4.5) Use the updated high-resolution image as the initial high-resolution image, and enter step (4.2).
相位0冠状面低分辨率图像重建结果如图2,图3所示。从左往右分别是采用双线性插值方法,基于全搜索运动估计算法和本发明方法重建的结果图;图3是对应于图2中方框部分的放大示意图。Phase 0 coronal low-resolution image reconstruction results are shown in Figure 2 and Figure 3. From left to right are the results reconstructed using bilinear interpolation method, based on the full search motion estimation algorithm and the method of the present invention; FIG. 3 is an enlarged schematic diagram corresponding to the box part in FIG. 2 .
相位0矢状面低分辨率图像重建结果如图4,图5所示。从左往右分别是采用双线性插值方法,基于全搜索运动估计算法和本发明方法重建的结果图;图5是对应于图4中方框部分的放大示意图。Phase 0 sagittal low-resolution image reconstruction results are shown in Figure 4 and Figure 5. From left to right are the reconstruction results based on the bilinear interpolation method, the full search motion estimation algorithm and the method of the present invention; FIG. 5 is an enlarged schematic diagram corresponding to the box part in FIG. 4 .
值得说明的是,本发明方法重建结果较基于全搜索重建算法更好,不仅使图像边缘和细节得到了增强,尤其是降低了运动估计造成的误差。如图2、图4中第2列白色箭头指示,由于全搜索运动估计算法,使用的是固定步长,会造成部分图像块的匹配误差较大,且导致重建过程中误差的叠加,最后在结果中显示为高亮区域。而本发明方法采用的运动估计算法可实现更精确的亚像素图像块匹配,因此不会出现由误差迭代引起的高亮区域。It is worth noting that the reconstruction result of the method of the present invention is better than that of the reconstruction algorithm based on full search, which not only enhances the edges and details of the image, but especially reduces the error caused by motion estimation. As indicated by the white arrows in the second column of Fig. 2 and Fig. 4, since the full search motion estimation algorithm uses a fixed step size, the matching error of some image blocks will be large, and the error will be superimposed during the reconstruction process. The results are shown as highlighted areas. However, the motion estimation algorithm adopted by the method of the present invention can realize more accurate sub-pixel image block matching, so there will be no highlighted areas caused by error iterations.
此外,本实例还通过量化指标客观评价本发明的有效性。本实例采用图像平均梯度评价相位0冠矢状面重建结果。In addition, this example also objectively evaluates the effectiveness of the present invention through quantitative indicators. In this example, the image average gradient is used to evaluate the phase 0 coronal sagittal plane reconstruction results.
平均梯度既反映了图像中的微小细节反差与纹理变化特征,也反映了图像的清晰度。平均梯度越大,表明影像越清晰、反差越好、细节保持的越好。其定义为:The average gradient not only reflects the micro-detail contrast and texture change characteristics in the image, but also reflects the sharpness of the image. The larger the average gradient, the clearer the image, the better the contrast, and the better the details are preserved. It is defined as:
式中,f(i,j),▽if(i,j)和▽fj(i,j)分别为像素点灰度以及其在行,列方向上的梯度;M和N分别为图像的行数和列数。In the formula, f(i, j), ▽ i f(i, j) and ▽ f j (i, j) are the pixel gray level and its gradient in the row and column direction respectively; M and N are the image number of rows and columns.
根据式(10)对利用双线性插值,基于全搜索运动估计算法和本文方法重建出的相位0冠矢状面高分辨率图像,分别进行平均梯度计算,结果如表1所示。表1为图2和图4中所示相位0的冠矢状面重建结果图像平均梯度对比表。可见,本文算法较双线性插值方法的平均梯度值显著增大,且与基于全搜索重建结果相比,亦有一定的提高,图像更清晰,细节保持的更好。According to Equation (10), the average gradient is calculated for the phase 0 coronal sagittal high-resolution images reconstructed based on the full search motion estimation algorithm and the method in this paper, respectively, using bilinear interpolation. The results are shown in Table 1. Table 1 is a comparison table of the average gradient of the coronal sagittal plane reconstruction results shown in Figure 2 and Figure 4 at phase 0. It can be seen that the average gradient value of the algorithm in this paper is significantly larger than that of the bilinear interpolation method, and compared with the reconstruction results based on full search, it also has a certain improvement, the image is clearer, and the details are better preserved.
表1:图2和图4中所示相位0的冠矢状面重建结果图像平均梯度对比表Table 1: Comparison table of average gradient of coronal sagittal plane reconstruction results in phase 0 shown in Figure 2 and Figure 4
最后,本实例中分别统计了针对同一组数据采用不同算法得到重建结果的耗时,结果如表2所示。表2为针对相同数据采用不同方法得到重建结果的耗时对比表。可见,由于运动矢量估计速度和精度的优化,本发明方法的耗时较全搜索算法缩减了近20倍,是很有意义的改进。Finally, in this example, the time-consuming reconstruction results obtained by using different algorithms for the same set of data were counted, and the results are shown in Table 2. Table 2 is a time-consuming comparison table of reconstruction results obtained by different methods for the same data. It can be seen that due to the optimization of motion vector estimation speed and precision, the time consumption of the method of the present invention is reduced by nearly 20 times compared with the full search algorithm, which is a significant improvement.
表2:针对相同数据采用不同方法得到重建结果的耗时对比表Table 2: Time-consuming comparison table of reconstruction results obtained by different methods for the same data
综合本发明实施例一中所有内容:图2,图3,图4,图5从视觉效果上表明本发明方法重建的高分辨率图像其肺实质中的血管和周边组织的亮度和清晰度均显著增强,而且不会出现由误差迭代引起的高亮区域。表1又进一步从量化指标上客观评价本发明方法的有效性。最为重要的是,表2表明本发明方法在耗时上大幅度的缩减,是很具有意义的改进。Integrating all the contents in Embodiment 1 of the present invention: Fig. 2, Fig. 3, Fig. 4, Fig. 5 show from the visual effect that the brightness and clarity of the blood vessels and surrounding tissues in the lung parenchyma of the high-resolution image reconstructed by the method of the present invention are uniform Significantly enhanced without highlighting areas caused by erroneous iterations. Table 1 further objectively evaluates the effectiveness of the method of the present invention from the quantitative indicators. Most importantly, Table 2 shows that the method of the present invention greatly reduces the time consumption, which is a significant improvement.
可见,与现有技术相比,本发明能得到更清晰的肺部图像,图像结构明显增强。同时,与全搜索算法相比,运算时间显著缩减。It can be seen that compared with the prior art, the present invention can obtain a clearer lung image, and the image structure is obviously enhanced. At the same time, compared with the full search algorithm, the operation time is significantly reduced.
最后应当说明的是,本发明的实施方式不限于此,可以根据实际需要进行修改,以适应不同的实际需求。因此,在本发明上述基本技术思想前提下,按照本领域的普通技术知识和惯用手段对本发明内容所做出其他多种形式的修改、替换或变更,均落在本发明权利保护范围之内。Finally, it should be noted that the embodiments of the present invention are not limited thereto, and may be modified according to actual needs to meet different actual needs. Therefore, under the premise of the above-mentioned basic technical idea of the present invention, other modifications, replacements or changes made to the content of the present invention in accordance with ordinary technical knowledge and conventional means in this field all fall within the protection scope of the present invention.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410479911.7A CN104299209A (en) | 2014-09-18 | 2014-09-18 | Lung 4D-CT image super-resolution reconstruction method based on fast sub-pixel motion estimation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410479911.7A CN104299209A (en) | 2014-09-18 | 2014-09-18 | Lung 4D-CT image super-resolution reconstruction method based on fast sub-pixel motion estimation |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104299209A true CN104299209A (en) | 2015-01-21 |
Family
ID=52318930
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410479911.7A Pending CN104299209A (en) | 2014-09-18 | 2014-09-18 | Lung 4D-CT image super-resolution reconstruction method based on fast sub-pixel motion estimation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104299209A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107221013A (en) * | 2017-05-16 | 2017-09-29 | 山东财经大学 | One kind is based on variation light stream estimation lung 4D CT Image Super Resolution Processing methods |
CN109187591A (en) * | 2018-06-04 | 2019-01-11 | 东南大学 | A kind of X-ray super-resolution imaging method and its application |
CN109410244A (en) * | 2018-08-28 | 2019-03-01 | 浙江工业大学 | A kind of automatic detecting and tracking method of lung tumors based on global optical flow method |
CN111882588A (en) * | 2020-07-29 | 2020-11-03 | Oppo广东移动通信有限公司 | Image block registration method and related product |
CN113228102A (en) * | 2019-01-09 | 2021-08-06 | 奥林巴斯株式会社 | Image processing apparatus, image processing method, and image processing program |
CN117611447A (en) * | 2024-01-24 | 2024-02-27 | 俐玛精密测量技术(苏州)有限公司 | Industrial CT image super-resolution reconstruction method, device and readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102122387A (en) * | 2010-12-18 | 2011-07-13 | 浙江大学 | Super-resolution image reconstruction method for robust |
CN103440676A (en) * | 2013-08-13 | 2013-12-11 | 南方医科大学 | Method for reconstruction of super-resolution coronary sagittal plane image of lung 4D-CT image based on motion estimation |
-
2014
- 2014-09-18 CN CN201410479911.7A patent/CN104299209A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102122387A (en) * | 2010-12-18 | 2011-07-13 | 浙江大学 | Super-resolution image reconstruction method for robust |
CN103440676A (en) * | 2013-08-13 | 2013-12-11 | 南方医科大学 | Method for reconstruction of super-resolution coronary sagittal plane image of lung 4D-CT image based on motion estimation |
Non-Patent Citations (1)
Title |
---|
STANLEY H. CHAN等: "Subpixel motion estimation without interpolation", 《2010 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING》 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107221013A (en) * | 2017-05-16 | 2017-09-29 | 山东财经大学 | One kind is based on variation light stream estimation lung 4D CT Image Super Resolution Processing methods |
CN107221013B (en) * | 2017-05-16 | 2020-07-17 | 山东财经大学 | Lung 4D-CT image super-resolution processing method based on variational optical flow estimation |
CN109187591A (en) * | 2018-06-04 | 2019-01-11 | 东南大学 | A kind of X-ray super-resolution imaging method and its application |
CN109187591B (en) * | 2018-06-04 | 2020-10-02 | 东南大学 | An X-ray super-resolution imaging method and its application |
CN109410244A (en) * | 2018-08-28 | 2019-03-01 | 浙江工业大学 | A kind of automatic detecting and tracking method of lung tumors based on global optical flow method |
CN113228102A (en) * | 2019-01-09 | 2021-08-06 | 奥林巴斯株式会社 | Image processing apparatus, image processing method, and image processing program |
CN111882588A (en) * | 2020-07-29 | 2020-11-03 | Oppo广东移动通信有限公司 | Image block registration method and related product |
CN111882588B (en) * | 2020-07-29 | 2024-07-02 | Oppo广东移动通信有限公司 | Image block registration method and related product |
CN117611447A (en) * | 2024-01-24 | 2024-02-27 | 俐玛精密测量技术(苏州)有限公司 | Industrial CT image super-resolution reconstruction method, device and readable storage medium |
CN117611447B (en) * | 2024-01-24 | 2024-04-26 | 俐玛精密测量技术(苏州)有限公司 | Industrial CT image super-resolution reconstruction method, device and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104299209A (en) | Lung 4D-CT image super-resolution reconstruction method based on fast sub-pixel motion estimation | |
CN103440676B (en) | Method for reconstruction of super-resolution coronary sagittal plane image of lung 4D-CT image based on motion estimation | |
CN103886568B (en) | Lung 4D CT image super-resolution rebuilding methods based on registration | |
CN103745439B (en) | Image magnification method and device | |
Frakes et al. | A new method for registration-based medical image interpolation | |
CN101299235B (en) | A Face Super-Resolution Reconstruction Method Based on Kernel Principal Component Analysis | |
CN108898560A (en) | Rock core CT image super-resolution rebuilding method based on Three dimensional convolution neural network | |
CN103366347B (en) | Image super-resolution rebuilding method based on rarefaction representation | |
CN107025632A (en) | A kind of image super-resolution rebuilding method and system | |
CN105913431A (en) | Multi-atlas dividing method for low-resolution medical image | |
Cornells et al. | Real-time connectivity constrained depth map computation using programmable graphics hardware | |
CN112669209B (en) | Three-dimensional medical image super-resolution reconstruction method and system | |
CN110211193B (en) | 3D CT inter-slice image interpolation restoration and super-resolution processing method and device | |
CN102903103A (en) | Migratory active contour model based stomach CT (computerized tomography) sequence image segmentation method | |
CN109242771A (en) | Super-resolution image reconstruction method and device, computer-readable storage medium and computer equipment | |
US20250191124A1 (en) | Machine learning enabled restoration of low resolution images | |
CN103886642B (en) | A kind of surface of steel plate three-dimensional reconstruction Fast implementation | |
CN109559278A (en) | Super resolution image reconstruction method and system based on multiple features study | |
JP4885138B2 (en) | Method and system for motion correction in a sequence of images | |
CN103325104B (en) | Based on the face image super-resolution reconstruction method of iteration sparse expression | |
CN104091364A (en) | Single-image super-resolution reconstruction method | |
Fourcade et al. | Deformable image registration with deep network priors: a study on longitudinal PET images | |
CN103020936A (en) | Super-resolution reconstruction method of facial image | |
CN102743185B (en) | Four-dimensional-computed tomography (4D-CT) image data interlayer interpolation method for lung | |
CN103390266A (en) | Image super-resolution method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150121 |
|
RJ01 | Rejection of invention patent application after publication |