CN108280806A - The DVC measurement methods of interior of articles deformation - Google Patents

The DVC measurement methods of interior of articles deformation Download PDF

Info

Publication number
CN108280806A
CN108280806A CN201810058623.2A CN201810058623A CN108280806A CN 108280806 A CN108280806 A CN 108280806A CN 201810058623 A CN201810058623 A CN 201810058623A CN 108280806 A CN108280806 A CN 108280806A
Authority
CN
China
Prior art keywords
pixel
deformation
dvc
field
initial point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810058623.2A
Other languages
Chinese (zh)
Other versions
CN108280806B (en
Inventor
廖胜辉
李建锋
谭耀华
刘熙尧
李芳芳
李雀
邹北骥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Central South University
Jishou University
Original Assignee
Central South University
Jishou University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Central South University, Jishou University filed Critical Central South University
Priority to CN201810058623.2A priority Critical patent/CN108280806B/en
Publication of CN108280806A publication Critical patent/CN108280806A/en
Application granted granted Critical
Publication of CN108280806B publication Critical patent/CN108280806B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/18Image warping, e.g. rearranging pixels individually
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/16Measuring arrangements characterised by the use of optical techniques for measuring the deformation in a solid, e.g. optical strain gauge
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/60Rotation of whole images or parts thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • G06T7/269Analysis of motion using gradient-based methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/66Analysis of geometric attributes of image moments or centre of gravity

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Geometry (AREA)
  • Multimedia (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

本发明提供一种物体内部形变的DVC测量方法,包括如下步骤:S1、定位初始点的整像素位移,并使用基于梯度的亚像素位移定位方法求出所述初始点的亚像素位移场;S2、使用牛顿迭代法计算出所述初始点的三维形变场;S3、根据计算出三维形变场的所述初始点,通过牛顿迭代法计算其它像素点的三维形变场。与相关技术相比较,本发明提供的物体内部形变的DVC测量方法用于物体内部形变的快速高精度测量,该方法计算与实现简单,且抗噪声能力强,对于物体内部细小形变有很好的测量效果,同时实现了DVC算法在串行设计下的高效计算,首先对于重心的计算其复杂度远远低于一个点的整像素位移场的计算,并且通过扩展搜索避免了多次全局搜索,使得计算复杂度大大降低。

The present invention provides a kind of DVC measurement method of internal deformation of object, comprises the following steps: S1, locate the integer pixel displacement of initial point, and use the sub-pixel displacement positioning method based on gradient to obtain the sub-pixel displacement field of described initial point; S2 . Calculate the three-dimensional deformation field of the initial point by using the Newton iterative method; S3. Calculate the three-dimensional deformation field of other pixel points by the Newton iterative method according to the initial point for which the three-dimensional deformation field is calculated. Compared with the related technology, the DVC measurement method of the internal deformation of the object provided by the present invention is used for fast and high-precision measurement of the internal deformation of the object. At the same time, it realizes the efficient calculation of the DVC algorithm under the serial design. First, the calculation of the center of gravity is far less complex than the calculation of the entire pixel displacement field of a point, and multiple global searches are avoided by extending the search. The computational complexity is greatly reduced.

Description

物体内部形变的DVC测量方法DVC Measurement Method of Internal Deformation of Object

技术领域technical field

本发明涉及数字图像测量物体内部形变领域,尤其涉及一种物体内部形变的DVC测量方法。The invention relates to the field of digital image measurement of internal deformation of objects, in particular to a DVC measurement method for internal deformation of objects.

背景技术Background technique

X射线微计算机断层扫描(uCT)成像是一种允许研究人员在不破坏物体结构可视化特征的内部结构的数字方法,被广泛的应用于各种数据采集中,典型的如骨骼等。随着研究发展以及计算机性能的进步,许多基于CT图像处理的数值方法如微有限元方法,数字图像相关(DVC)等被提出且应用到实验模拟中。X-ray micro-computed tomography (uCT) imaging is a digital method that allows researchers to visualize the internal structure of object structure without destroying the characteristics of objects, and is widely used in various data acquisition, such as bones. With the development of research and the improvement of computer performance, many numerical methods based on CT image processing, such as micro-finite element method, digital image correlation (DVC), etc., have been proposed and applied to experimental simulations.

1999年Bay等人提出数字体图像相关(DVC)法,该方法可以直接测量骨组织重建后体图像的内部压力形变。作为2D数字图像相关法(2D-DIC)的直接扩展,该方法通过对比骨组织在受力形变前后状态下两组数字体图像,获得了该骨组织在特定压力作用下内部的全场形变和位移。近年来随着三维数字成像设备的不断发展,DVC方法在实验力学,生物医学工程以及材料工程等研究领域获得了广泛的关注与应用。In 1999, Bay et al proposed the digital volume image correlation (DVC) method, which can directly measure the internal pressure deformation of the volume image after bone tissue reconstruction. As a direct extension of the 2D digital image correlation method (2D-DIC), this method obtains the internal full-field deformation and displacement. In recent years, with the continuous development of 3D digital imaging equipment, the DVC method has been widely concerned and applied in the research fields of experimental mechanics, biomedical engineering and material engineering.

与2D-DIC方法的原理类似,DVC方法的原理是对比样本形变前后体数据同一位置的点获得三维形变场。在实际计算过程中,研究人员通常会遇到计算复杂度与测量精度等诸多问题。从计算复杂度来看,2D-DIC方法需要在(2N+1)2大小的立方体中计算字体块K2个点,而DVC方法需要在(2N+1)3大小的立方体中计算子体块K3个点,其复杂度是2D-DIC方法的K(2N+1)倍,在实际中,该数值通常在x1000以上。从测量精度来看,由于样本数据是离散的像素点,只能计算出样本形变前后整数级偏移,但实际上现实中的物体并不是离散的,所以仅仅是整数级偏移是远远不够的。Similar to the principle of the 2D-DIC method, the principle of the DVC method is to compare the points at the same position of the volume data before and after the sample deformation to obtain a three-dimensional deformation field. In the actual calculation process, researchers usually encounter many problems such as computational complexity and measurement accuracy. From the perspective of computational complexity, the 2D-DIC method needs to calculate 2 points of font block K in a cube of (2N+1) 2 size, while the DVC method needs to calculate sub-volume blocks in a cube of size (2N+1) 3 K 3 points, its complexity is K(2N+1) times of the 2D-DIC method, in practice, this value is usually above x1000. From the perspective of measurement accuracy, since the sample data are discrete pixels, only integer-level offsets before and after sample deformation can be calculated, but in fact, real objects are not discrete, so only integer-level offsets are far from enough of.

近年来DVC方法的研究重点一直集中在计算精度与计算效率上。在整体素的研究中发现,由于互相关算法在空域的计算相当于频域的逐点相乘,一种基于快速傅立叶变换的互相关算法被广泛使用。为了达到更高的精度,许多基于牛顿迭代法及其衍生方法的亚体素级方法被提出,比如Levenberg-Marquardt算法以及Broyden-Fletcher-GoldfarbShanno(BFGS)算法等,使得DVC方法达到了0.1voxel级别的精度。Pan等人近年提出了三个加速DVC算法的思路:一是在计算亚体素梯度时通过反向方法近似体数据的Hessian矩阵,从而避免了复杂的Hessian矩阵求解;二是提出在迭代前寻找一个较为可行的偏移量预估计,从而在迭代时更快收敛以及得到更好的结果;三是记录下亚体素插值时各个体素的插值系数,从而在后续计算中直接查询而避免了再次计算。通过这些方法,DVC算法的计算速度达到了41个感兴趣点(POI)每秒。总的来说,当前的亚体素位移算法依然具有精确度不足以及计算复杂度较高的缺点,考虑到DVC算法日渐增长的应用需求,一种高精度以及高效率的方法是亟待需求的。In recent years, the research focus of DVC method has been concentrated on the calculation accuracy and calculation efficiency. In the study of the whole element, it is found that a cross-correlation algorithm based on fast Fourier transform is widely used because the calculation of the cross-correlation algorithm in the space domain is equivalent to the point-by-point multiplication in the frequency domain. In order to achieve higher accuracy, many subvoxel-level methods based on the Newton iterative method and its derivative methods have been proposed, such as the Levenberg-Marquardt algorithm and the Broyden-Fletcher-GoldfarbShanno (BFGS) algorithm, etc., making the DVC method reach the 0.1voxel level accuracy. Pan et al. proposed three ideas to accelerate the DVC algorithm in recent years: one is to approximate the Hessian matrix of the volume data by the reverse method when calculating the subvoxel gradient, thereby avoiding the complicated Hessian matrix solution; the other is to find A more feasible pre-estimation of the offset, so as to converge faster and get better results during iterations; the third is to record the interpolation coefficients of each voxel during sub-voxel interpolation, so that they can be directly queried in subsequent calculations to avoid Calculate again. Through these methods, the calculation speed of the DVC algorithm reaches 41 points of interest (POI) per second. In general, the current subvoxel displacement algorithm still has the shortcomings of insufficient accuracy and high computational complexity. Considering the increasing application requirements of the DVC algorithm, a high-precision and high-efficiency method is urgently needed.

发明内容Contents of the invention

本发明解决的技术问题是提供一种物体内部形变的DVC测量方法,其解决当前DVC算法的精度以及计算效率较为低下的问题。The technical problem solved by the present invention is to provide a DVC measurement method for internal deformation of an object, which solves the problems of relatively low accuracy and calculation efficiency of the current DVC algorithm.

为解决上述技术问题,本发明提供一种物体内部形变的DVC测量方法,包括如下步骤:In order to solve the above-mentioned technical problems, the invention provides a kind of DVC measuring method of internal deformation of object, comprises the steps:

S1、通过形变前后体图像感兴趣区域的重心定位初始点的整像素位移,并使用基于梯度的亚像素位移定位方法求出所述初始点的亚像素位移场;S1. Locate the integer pixel displacement of the initial point through the center of gravity of the region of interest of the body image before and after deformation, and use a gradient-based sub-pixel displacement positioning method to obtain the sub-pixel displacement field of the initial point;

S2、根据亚像素位移场使用牛顿迭代法计算出所述初始点的三维形变场;S2. Calculate the three-dimensional deformation field of the initial point by using the Newton iteration method according to the sub-pixel displacement field;

S3、根据计算出三维形变场的所述初始点,通过牛顿迭代法计算所述初始点周围每一个像素点的三维形变场,对体图像感兴趣区域中的任意一个未计算的像素点,根据其周围已经计算出三维形变场的像素点来计算出其三维形变场,直至得到物体内部全部像素点的三维形变场。S3. According to the calculated initial point of the three-dimensional deformation field, calculate the three-dimensional deformation field of each pixel around the initial point by the Newton iterative method, and for any uncalculated pixel in the region of interest of the volume image, according to The surrounding pixels whose three-dimensional deformation field has been calculated are used to calculate the three-dimensional deformation field until the three-dimensional deformation field of all the pixel points inside the object is obtained.

优选的,在步骤S1中,所述体图像感兴趣区域的重心的计算公式为:Preferably, in step S1, the formula for calculating the center of gravity of the volumetric image region of interest is:

其中,GTa表示体图像T在a轴的重心,a可以选择x,y,z轴,T(p)表示体图像T在p点的像素值。Among them, G Ta represents the center of gravity of the volume image T on the a-axis, a can choose the x, y, and z axes, and T(p) represents the pixel value of the volume image T at point p.

优选的,在步骤S1中,所述初始点的亚像素位移场Δ的计算公式为:Preferably, in step S1, the calculation formula of the sub-pixel displacement field Δ at the initial point is:

fG=round(Gfx,Gfy,Gfz)f G =round(G fx ,G fy ,G fz )

gG=round(Ggx,Ggy,Ggz)g G =round(G gx ,G gy ,G gz )

Δ=(Δu,Δv,Δw)=fG-gG Δ=(Δu,Δv,Δw)=f G -g G

其中,round为四舍五入的函数,f和g分别代表形变前后的体图像,fG与gG为物体形变前后体图像感兴趣区域的重心。Among them, round is a rounding function, f and g represent the volume image before and after deformation, respectively, and f G and g G are the center of gravity of the region of interest in the volume image before and after object deformation.

优选的,在步骤S1中,所述初始点的亚像素位移场的求出步骤包括:Preferably, in step S1, the step of obtaining the sub-pixel displacement field of the initial point includes:

对公式f(p)=g(p')p∈D和p'=p+Δ+Δ'进行泰勒一阶展开,得到g(p+Δ+Δ')=g(p+Δ)+Δ'g'(p+Δ),其中,D表示体图像f中距离当前像素k个距离内的像素点集合,p为D中的一个像素点,p'表示像素点p在体图像g中的对应点,Δ'为要求的亚像素位移场,g'(p+Δ)为体图像g在像素点p+Δ上的一阶灰度梯度;Taylor's first-order expansion of the formula f(p)=g(p')p∈D and p'=p+Δ+Δ' gives g(p+Δ+Δ')=g(p+Δ)+Δ 'g'(p+Δ), where D represents the set of pixels within k distances from the current pixel in the volume image f, p is a pixel in D, and p' represents the pixel point p in the volume image g Corresponding point, Δ' is the required sub-pixel displacement field, g'(p+Δ) is the first-order gray gradient of the volume image g on the pixel point p+Δ;

对最小平方相关函数(SSD)取极值:Take the extreme value of the least square correlation function (SSD):

CSSD(Δ')=∑p∈D(f(p)-g(p+Δ+Δ'))2 C SSD (Δ')=∑ p∈D (f(p)-g(p+Δ+Δ')) 2

利用公式Δ'=∑g'(g')∑(f-g)g'计算得到亚像素位移场Δ'。The sub-pixel displacement field Δ' is calculated by using the formula Δ'=Σg'(g')Σ(f-g)g'.

优选的,所述灰度梯度采用Barron算子计算。Preferably, the gray gradient is calculated using a Barron operator.

优选的,在步骤S2中,所述牛顿迭代法使用零均值归一化平方和函数(ZNSSD)作为相关函数。Preferably, in step S2, the Newton iterative method uses a zero-mean normalized sum of squares function (ZNSSD) as a correlation function.

优选的,在步骤S2中,采用三元三次插值方法对体图像进行灰度值插值。Preferably, in step S2, a ternary cubic interpolation method is used to interpolate the gray value of the volume image.

与相关技术相比较,本发明提供的物体内部形变的DVC测量方法用于物体内部形变的快速高精度测量,该方法计算与实现简单,且抗噪声能力强,对于物体内部细小形变有很好的测量效果,同时实现了DVC算法在串行设计下的高效计算,首先对于重心的计算其复杂度远远低于一个点的整像素位移场的计算,并且通过扩展搜索避免了多次全局搜索,使得计算复杂度大大降低。Compared with the related technology, the DVC measurement method of the internal deformation of the object provided by the present invention is used for fast and high-precision measurement of the internal deformation of the object. At the same time, it realizes the efficient calculation of the DVC algorithm under the serial design. First, the calculation of the center of gravity is far less complex than the calculation of the entire pixel displacement field of a point, and multiple global searches are avoided by extending the search. The computational complexity is greatly reduced.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图,其中:In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings that need to be used in the description of the embodiments. The drawings in the following description are only some embodiments of the present invention. Ordinary technicians can also obtain other drawings based on these drawings without any creative effort, among which:

图1为本发明实施例提供的物体内部形变的DVC测量方法的流程图。FIG. 1 is a flowchart of a DVC measurement method for internal deformation of an object provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

请参阅图1,本发明提供一种物体内部形变的DVC测量方法,包括如下步骤:Please refer to Fig. 1, the present invention provides a kind of DVC measuring method of internal deformation of object, comprises the steps:

S1、通过形变前后体图像感兴趣区域的重心定位初始点的整像素位移,并使用基于梯度的亚像素位移定位方法求出所述初始点的亚像素位移场;S1. Locate the integer pixel displacement of the initial point through the center of gravity of the region of interest of the body image before and after deformation, and use a gradient-based sub-pixel displacement positioning method to obtain the sub-pixel displacement field of the initial point;

S2、根据亚像素位移场使用牛顿迭代法计算出所述初始点的三维形变场;S2. Calculate the three-dimensional deformation field of the initial point by using the Newton iteration method according to the sub-pixel displacement field;

S3、根据计算出三维形变场的所述初始点,通过牛顿迭代法计算所述初始点周围每一个像素点的三维形变场,对体图像感兴趣区域中的任意一个未计算的像素点,根据其周围已经计算出三维形变场的像素点来计算出其三维形变场,直至得到物体内部全部像素点的三维形变场。S3. According to the calculated initial point of the three-dimensional deformation field, calculate the three-dimensional deformation field of each pixel around the initial point by the Newton iterative method, and for any uncalculated pixel in the region of interest of the volume image, according to The surrounding pixels whose three-dimensional deformation field has been calculated are used to calculate the three-dimensional deformation field until the three-dimensional deformation field of all the pixel points inside the object is obtained.

在步骤S1中,一般情况下,由于物体形变前后体图像之间的相对形变与位移较小,形变前体图像感兴趣区域重心在形变后体图像中的对应点必然在形变后体图像感兴趣区域重心的附近,因此本发明选择形变前后体图像感兴趣区域的重心点作为一对初始相关点,所述体图像感兴趣区域的重心的计算公式为:In step S1, generally, since the relative deformation and displacement between the body images before and after the deformation of the object are small, the corresponding point of the barycenter of the region of interest in the deformed body image must be in the deformed body image. near the center of gravity of the region, so the present invention selects the center of gravity of the region of interest of the volume image before and after deformation as a pair of initial correlation points, and the calculation formula for the center of gravity of the region of interest of the volume image is:

其中,GTa表示体图像T在a轴的重心,a可以选择x,y,z轴,T(p)表示体图像T在p点的像素值。该公式计算出来的重心是小数值,之后通过四舍五入成整数:Among them, G Ta represents the center of gravity of the volume image T on the a-axis, a can choose the x, y, and z axes, and T(p) represents the pixel value of the volume image T at point p. The center of gravity calculated by this formula is a decimal value, which is then rounded to an integer:

fG=round(Gfx,Gfy,Gfz)f G =round(G fx ,G fy ,G fz )

gG=round(Ggx,Ggy,Ggz)g G =round(G gx ,G gy ,G gz )

其中,round为四舍五入的函数,f和g分别代表形变前后的体图像,fG与gG为物体形变前后体图像感兴趣区域的重心,Gfx,Gfy,Gfz分别表示体图像f在x,y,z轴的重心,Ggx,Ggy,Ggz分别表示体图像g在x,y,z轴的重心,于是,整像素位移场Δ为:Among them, round is a rounding function, f and g represent the volume image before and after deformation, f G and g G are the center of gravity of the body image region of interest before and after deformation of the object, G fx , G fy , G fz represent the volume image f in The center of gravity of the x, y, and z axes, G gx , G gy , and G gz represent the center of gravity of the volume image g on the x, y, and z axes respectively. Therefore, the integer pixel displacement field Δ is:

Δ=(Δu,Δv,Δw)=fG-gG Δ=(Δu,Δv,Δw)=f G -g G

在求出初始点整像素位移场后,为了得到在形变体图像中更精确的偏移,需要求出亚像素的位移场。由于体像素灰度范围有限,通常情况下是0到255,无法追踪一个像素点的精确位移,所以必须以当前像素点为中心,对距离中心像素k个距离内的像素点做整体对比,k为大于零的自然数。本发明优选使用基于梯度的方法根据整像素位移场求出亚像素位移场,考虑到当上述的k足够小且形变较小时,该区域的形变可以看成近似的刚体位移,且形变前后同一对应点的灰度变化不大。因此,所述初始点的亚像素位移场的求出步骤包括:After calculating the initial pixel displacement field, in order to obtain a more accurate displacement in the deformable volume image, it is necessary to calculate the sub-pixel displacement field. Due to the limited range of voxel grayscale, usually 0 to 255, it is impossible to track the precise displacement of a pixel, so the current pixel must be centered on the overall comparison of the pixels within k distance from the center pixel, k is a natural number greater than zero. The present invention preferably uses a gradient-based method to obtain the sub-pixel displacement field according to the entire pixel displacement field. Considering that when the above k is small enough and the deformation is small, the deformation of this region can be regarded as an approximate rigid body displacement, and the same correspondence before and after deformation The grayscale of the dots does not change much. Therefore, the step of obtaining the sub-pixel displacement field of the initial point includes:

对公式f(p)=g(p')p∈D和p'=p+Δ+Δ'进行泰勒一阶展开,得到g(p+Δ+Δ')=g(p+Δ)+Δ'g'(p+Δ),其中,D表示体图像f中距离当前像素k个距离内的像素点集合,p为D中的一个像素点,p'表示像素点p在体图像g中的对应点,Δ为整像素位移场,Δ'为要求的亚像素位移场,g'(p+Δ)为体图像g在像素点p+Δ上的一阶灰度梯度;Taylor's first-order expansion of the formula f(p)=g(p')p∈D and p'=p+Δ+Δ' gives g(p+Δ+Δ')=g(p+Δ)+Δ 'g'(p+Δ), where D represents the set of pixels within k distances from the current pixel in the volume image f, p is a pixel in D, and p' represents the pixel point p in the volume image g Corresponding point, Δ is the entire pixel displacement field, Δ' is the required sub-pixel displacement field, g'(p+Δ) is the first-order gray gradient of the volume image g on the pixel point p+Δ;

对最小平方相关函数(SSD)取极值:Take the extreme value of the least square correlation function (SSD):

CSSD(Δ')=∑p∈D(f(p)-g(p+Δ+Δ'))2 C SSD (Δ')=∑ p∈D (f(p)-g(p+Δ+Δ')) 2

利用公式Δ'=∑g'(g')T∑(f-g)g'计算得到亚像素位移场Δ'。The sub-pixel displacement field Δ' is calculated by using the formula Δ'=Σg'(g') T Σ(fg)g'.

由上述亚像素位移场Δ'的计算公式可知,此时初始点的亚像素位移场仅与形变后体图像g的灰度梯度相关,所以不同的灰度梯度算法对亚像素的测量精度有重要影响。本发明使用精度较高的Barron算子计算灰度梯度,对于体图像g在像素点p(x,y,z)的灰度梯度为:From the calculation formula of the sub-pixel displacement field Δ' above, it can be seen that the sub-pixel displacement field at the initial point is only related to the gray gradient of the deformed volume image g, so different gray gradient algorithms are important for the measurement accuracy of sub-pixels. influences. The present invention uses the Barron operator with higher precision to calculate the gray gradient, and the gray gradient of the volume image g at the pixel point p(x, y, z) is:

其中gx,gy,gz分别x,y,z轴上的灰度梯度分量。Among them, g x , g y , and g z are the gray gradient components on the x, y, and z axes, respectively.

在步骤S2中,上述位移场的计算认为形变仅仅是刚体位移运动,显然在真实场景中物体可能在三维空间中发生旋转与切变,所以必须通过更准确的方法计算三维形变场。不同意三维位移仅仅只有三个参数(Δu,Δv,Δw),三维空间形变一共有十二个参数:In step S2, the calculation of the above-mentioned displacement field considers that the deformation is only the displacement motion of the rigid body. Obviously, in the real scene, the object may rotate and shear in the three-dimensional space, so a more accurate method must be used to calculate the three-dimensional deformation field. Disagree that the three-dimensional displacement only has three parameters (Δu, Δv, Δw), and the three-dimensional space deformation has a total of twelve parameters:

q=(ux,uy,uz,u,vx,vy,vz,v,wx,wy,wz,w)q=(u x ,u y ,u z ,u,v x ,v y ,v z ,v,w x ,w y ,w z ,w)

其中,H(q)为位移参数,T(q)为旋转参数,旋转参数也是体图像的位移梯度分量,T为以q为参数的旋转矩阵。为了更好评估子体块形变前后的相似度,本发明提供的方法使用零均值归一化平方和函数(ZNSSD)作为相关函数,该函数对光照波动的尺度和偏移量不敏感,被广泛的应用于互相关对比中。对于一个(2k+1)3的子体块,其公式为:Among them, H(q) is the displacement parameter, T(q) is the rotation parameter, the rotation parameter is also the displacement gradient component of the volume image, and T is the rotation matrix with q as the parameter. In order to better evaluate the similarity of sub-volumes before and after deformation, the method provided by the present invention uses the zero-mean normalized sum of squares function (ZNSSD) as the correlation function, which is insensitive to the scale and offset of illumination fluctuations and is widely used applied to cross-correlation comparisons. For a sub-volume block of (2k+1) 3 , the formula is:

其中CZNSSD(q)为零均值归一化函数,p为形变前提图像的像素点,q为形变参数,p'为以中心像素点pc为对称中心经过形变参数为q的映射函数作用后的对应像素点:Among them, C ZNSSD (q) is the zero-mean normalization function, p is the pixel point of the deformation premise image, q is the deformation parameter, p' is the center pixel pc as the symmetric center and the mapping function with the deformation parameter q Corresponding pixels:

p'=T(q)(p-pc)+H(q)+Δp'=T(q)(pp c )+H(q)+Δ

fm与gm分别为形变前后体图像子体块的灰度均值,计算公式为:f m and g m are the average gray values of the volume image sub-volume blocks before and after deformation, and the calculation formula is:

可以看出ZNSSD函数是对q的非线性函数,q中包含12个参数。对于非线性方程的最优化问题,我们通常使用牛顿迭代法进行快速求解:It can be seen that the ZNSSD function is a nonlinear function of q, and q contains 12 parameters. For the optimization problem of nonlinear equations, we usually use the Newton iterative method for fast solution:

其中qt是前一次迭代的参数,该参数的初始值通常被设置为全0。在DVC测量方法中,由不同区域的灰度相关性不大,所以导致位移参数H(q)和旋转参数T(q)的计算函数不是凸函数,所以一个好的预估计是最优化ZNSSD函数的关键。本发明提供的DVC测量方法使用上节中求出的亚像素位移作为q的初始值,即:Where q t is the parameter of the previous iteration, and the initial value of this parameter is usually set to all 0s. In the DVC measurement method, the gray correlation of different regions is not large, so the calculation function of the displacement parameter H(q) and the rotation parameter T(q) is not a convex function, so a good pre-estimation is to optimize the ZNSSD function key. The DVC measurement method provided by the present invention uses the sub-pixel displacement obtained in the previous section as the initial value of q, namely:

q0=(0,0,0,Δu',0,0,0,Δv',0,0,0,Δw')q 0 =(0,0,0,Δu',0,0,0,Δv',0,0,0,Δw')

为ZNSSD函数的一阶梯度,为二阶梯度,即Hessian矩阵。上述位移参数H(q)和旋转参数T(q)的计算函数的梯度并不直观,可以看出其中fm与gm都是常数,在求导过程中可以不去考虑,于是一阶与二阶梯度可以被简写为: is the first-order gradient of the ZNSSD function, is the second-order gradient, that is, the Hessian matrix. The gradient of the calculation function of the above-mentioned displacement parameter H(q) and rotation parameter T(q) is not intuitive. It can be seen that f m and g m are constants, which can be ignored during the derivation process, so the first-order and The second-order gradient can be abbreviated as:

上式中Δf和Δg分别为位移参数H(q)和旋转参数T(q)的计算函数中的分母,且为常数。可以看出ZNSSD函数的梯度最后仅与形变后体图像的灰度梯度有关,由于体图像都是整像素点,无法直接求出三维上的梯度场,一种可行的方法是对体图像进行灰度值插值。本发明优选采用精度较高的三元三次插值方法,该差值方法利用需要插值周围64个整像素点的灰度信息进行加权计算。在具体的计算过程中,三元三次插值方法也可以差分成在三个坐标轴上各进行一次一维三次插值。重建后体图像的公式为:In the above formula, Δf and Δg are respectively the denominators in the calculation function of the displacement parameter H(q) and the rotation parameter T(q), and are constants. It can be seen that the gradient of the ZNSSD function is only related to the gray gradient of the deformed volume image. Since the volume image is an integer pixel, it is impossible to directly calculate the gradient field in three dimensions. A feasible method is to gray the volume image degree value interpolation. The present invention preferably adopts a ternary cubic interpolation method with high precision, and the difference method uses the gray information of 64 integer pixels around the interpolation to carry out weighted calculation. In a specific calculation process, the ternary cubic interpolation method can also be divided into performing one-dimensional cubic interpolation on each of the three coordinate axes. The formula for reconstructing the posterior body image is:

其中α为64(4*4*4)个插值系数,该系数可以通过对插值像素点相邻的4*4*4的整像数计算得出。很显然,由于体图像的灰度值是不变的,所以每个像素点经过三元三次插值后的64个系数也是一定的,可以在预处理中计算出每个点的64个插值系数,在后续计算中直接使用,而不用进行重复计算。插值后的体图像可以认为是连续的体图像,此时已经可以简单的求出其一阶与二阶梯度。Wherein α is 64 (4*4*4) interpolation coefficients, which can be obtained by calculating the integer number of 4*4*4 adjacent to the interpolation pixel. Obviously, since the gray value of the volume image is constant, the 64 coefficients of each pixel after ternary cubic interpolation are also certain, and the 64 interpolation coefficients of each point can be calculated in the preprocessing, It is used directly in subsequent calculations without double calculation. The volume image after interpolation can be regarded as a continuous volume image, and its first-order and second-order gradients can be simply calculated at this time.

在步骤S3中,在计算出初始点的形变后,需要计算体图像的内部全场形变。本发明考虑体图像相邻点的灰度值相近的特点,使用一种基于扩展搜索的全场形变计算。由于在上述的计算中都是基于(2n+1)3个像素的子体块进行的,所以,当中心像素的形变场求出来后,也可以求出中心像素周围的像素经过该形变场作用后的位置,如式p'=p+Δ+Δ'所示,对于中心像素周围的任一像素点pr,有:In step S3, after calculating the deformation of the initial point, it is necessary to calculate the internal full-field deformation of the volume image. The present invention considers the feature that the gray values of adjacent points of the volume image are similar, and uses a full-field deformation calculation based on extended search. Since the above calculations are all based on sub-volume blocks of (2n+1) 3 pixels, after the deformation field of the central pixel is calculated, it can also be calculated that the pixels around the central pixel are affected by the deformation field After the position, as shown in the formula p'=p+Δ+Δ', for any pixel point pr around the central pixel, there are:

pr'=T(q)(pr-pc)+H(q)+Δpr'=T(q)(pr-p c )+H(q)+Δ

其中,pr'为像素点pr在形变后体图像中的对应像素点,此时可以认为pr真实的对应像素点应该在pr'的附近,考虑到ZNSSD相关函数的连续性,从pr'点进行新一轮的迭代不但可以节省不必要的计算开销,也能达到很好的极小值。在以像素点pr为中心点进行计算时,pr对应的整像素偏移与亚像素偏移分别为:Among them, pr' is the corresponding pixel point of the pixel point pr in the deformed volume image. At this time, it can be considered that the real corresponding pixel point of pr should be near pr'. Considering the continuity of the ZNSSD correlation function, start from pr' point A new round of iterations can not only save unnecessary computational overhead, but also achieve a good minimum. When calculating with the pixel point pr as the center point, the integer pixel offset and sub-pixel offset corresponding to pr are:

Δ(pr)=round(pr'-pr)Δ'(pr)=pr'-pr-Δ(pr)Δ(pr)=round(pr'-pr)Δ'(pr)=pr'-pr-Δ(pr)

由上式可以推出像素点pr的形变参数q的初始值中,T(q)为全0,H(q)为Δ'(pr),使用牛顿迭代法重复计算每一个像素点的三维形变场,从而得出物体内部全部的三维形变场。From the above formula, it can be deduced that in the initial value of the deformation parameter q of the pixel point pr, T(q) is all 0, H(q) is Δ'(pr), and the three-dimensional deformation field of each pixel point is repeatedly calculated using the Newton iterative method , so as to obtain the whole three-dimensional deformation field inside the object.

与相关技术相比较,本发明提供的物体内部形变的DVC测量方法用于物体内部形变的快速高精度测量,该方法计算与实现简单,且抗噪声能力强,对于物体内部细小形变有很好的测量效果,同时实现了DVC算法在串行设计下的高效计算,首先对于重心的计算其复杂度远远低于一个点的整像素位移场的计算,并且通过扩展搜索避免了多次全局搜索,使得计算复杂度大大降低。Compared with the related technology, the DVC measurement method of the internal deformation of the object provided by the present invention is used for fast and high-precision measurement of the internal deformation of the object. At the same time, it realizes the efficient calculation of the DVC algorithm under the serial design. First, the calculation of the center of gravity is far less complex than the calculation of the entire pixel displacement field of a point, and multiple global searches are avoided by extending the search. The computational complexity is greatly reduced.

以上所述仅为本发明的实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其它相关的技术领域,均同理包括在本发明的专利保护范围内。The above is only an embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process conversion made by using the description of the present invention and the contents of the accompanying drawings, or directly or indirectly used in other related technologies fields, all of which are equally included in the scope of patent protection of the present invention.

Claims (7)

1. a kind of DVC measurement methods of interior of articles deformation, which is characterized in that include the following steps:
S1, the whole pixel displacement that initial point is positioned by the center of gravity of body interesting image regions before and after deformation, and using based on ladder The Displacement localization method of degree finds out the Displacement field of the initial point;
S2, the three-dimensional shaped variable field for calculating the initial point using Newton iteration method according to Displacement field;
S3, basis calculate the initial point of three-dimensional shaped variable field, are calculated by Newton iteration method each around the initial point The three-dimensional shaped variable field of a pixel, to any one uncalculated pixel in body interesting image regions, according to around it The pixel of three-dimensional shaped variable field has been calculated to calculate its three-dimensional Deformation Field, until obtaining interior of articles whole pixel Three-dimensional shaped variable field.
2. the DVC measurement methods of interior of articles deformation according to claim 1, which is characterized in that in step sl, described The calculation formula of the center of gravity of body interesting image regions is:
Wherein, GTaBody image T is indicated in the center of gravity of a axis, a can select x, y, z-axis, T (p) indicate body image T p points pixel Value.
3. the DVC measurement methods of interior of articles deformation according to claim 2, which is characterized in that in step sl, described The calculation formula of the Displacement field Δ of initial point is:
fG=round (Gfx,Gfy,Gfz)
gG=round (Ggx,Ggy,Ggz)
Δ=(Δ u, Δ v, Δ w)=fG-gG
Wherein, round is the function to round up, and f and g respectively represent the body image before and after deformation, fGWith gGBefore object deformation The center of gravity of body interesting image regions afterwards.
4. the DVC measurement methods of interior of articles deformation according to claim 3, which is characterized in that in step sl, described The step that finds out of the Displacement field of initial point includes:
To formula f (p)=g (p') p ∈ D and p'=p+ Δ+Δ ' progress Taylor's single order expansion, g (p+ Δs+Δ ')=g (p+ are obtained Δ)+Δ ' g'(p+ Δs), wherein D indicates that the pixel collection in k distance of current pixel, p are in D in body image f One pixel, corresponding points of the p' expressions pixel p in body image g, Δ ' be desired Displacement field, g'(p+ Δs) For single order shade of gray of the body image g on pixel p+ Δs;
Extreme value is taken to least square correlation function (SSD):
CSSD(Δ ')=∑p∈D(f(p)-g(p+Δ+Δ'))2
Utilize formula Δ '=∑ g'(g')T∑ (f-g) g' be calculated Displacement field Δ '.
5. the DVC measurement methods of interior of articles deformation according to claim 4, which is characterized in that the shade of gray is adopted It is calculated with Barron operators.
6. the DVC measurement methods of interior of articles deformation according to claim 1, which is characterized in that in step s 2, described Newton iteration method uses zero-mean to normalize sum of squares function (ZNSSD) and is used as correlation function.
7. the DVC measurement methods of interior of articles deformation according to claim 6, which is characterized in that in step s 2, use Ternary cubic interpolation method carries out grey value interpolation to body image.
CN201810058623.2A 2018-01-22 2018-01-22 DVC (digital video coding) measuring method for internal deformation of object Active CN108280806B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810058623.2A CN108280806B (en) 2018-01-22 2018-01-22 DVC (digital video coding) measuring method for internal deformation of object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810058623.2A CN108280806B (en) 2018-01-22 2018-01-22 DVC (digital video coding) measuring method for internal deformation of object

Publications (2)

Publication Number Publication Date
CN108280806A true CN108280806A (en) 2018-07-13
CN108280806B CN108280806B (en) 2021-12-10

Family

ID=62804440

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810058623.2A Active CN108280806B (en) 2018-01-22 2018-01-22 DVC (digital video coding) measuring method for internal deformation of object

Country Status (1)

Country Link
CN (1) CN108280806B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112082496A (en) * 2020-09-08 2020-12-15 西安建筑科技大学 Concrete internal deformation measurement method and system based on improved digital volume image correlation method
CN114549614A (en) * 2021-12-21 2022-05-27 北京大学 Digital volume correlation method, device, device and medium based on deep learning
CN114777709A (en) * 2022-05-05 2022-07-22 东南大学 DVC (dynamic voltage waveform) microcrack characterization method based on daughter block separation

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1776358A (en) * 2005-11-23 2006-05-24 宁铎 Newmethod for contactless measuring displacement and deformation of object in three-dimensional space
US20080205720A1 (en) * 2007-01-08 2008-08-28 Siemens Corporate Research, Inc. System and method for efficient real-time technique for point localization in and out of a tetrahedral mesh
CN102322807A (en) * 2011-08-05 2012-01-18 北京交通大学 Real-time measurement method for dynamic three-dimensional deformation of object
CN104657955A (en) * 2015-03-06 2015-05-27 南京大树智能科技股份有限公司 Displacement field iteration smoothing method of kernel function based digital image correlation method
CN104700368A (en) * 2015-03-06 2015-06-10 南京大树智能科技股份有限公司 Self-adaptive sliding method of displacement field of digital image relevant method based on kernel function
CN107610102A (en) * 2017-08-24 2018-01-19 东南大学 A kind of Displacement measuring method based on Tikhonov regularizations

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1776358A (en) * 2005-11-23 2006-05-24 宁铎 Newmethod for contactless measuring displacement and deformation of object in three-dimensional space
US20080205720A1 (en) * 2007-01-08 2008-08-28 Siemens Corporate Research, Inc. System and method for efficient real-time technique for point localization in and out of a tetrahedral mesh
CN102322807A (en) * 2011-08-05 2012-01-18 北京交通大学 Real-time measurement method for dynamic three-dimensional deformation of object
CN104657955A (en) * 2015-03-06 2015-05-27 南京大树智能科技股份有限公司 Displacement field iteration smoothing method of kernel function based digital image correlation method
CN104700368A (en) * 2015-03-06 2015-06-10 南京大树智能科技股份有限公司 Self-adaptive sliding method of displacement field of digital image relevant method based on kernel function
CN107610102A (en) * 2017-08-24 2018-01-19 东南大学 A kind of Displacement measuring method based on Tikhonov regularizations

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
潘兵 等: "基于梯度的数字体图像相关方法测量物体内部变形", 《光学学报》 *
潘兵 等: "数字体图像相关方法中基于迭代最小二乘法的物体内部变形测量", 《实验力学》 *
牛永强: "物体内部三维位移场测量算法研究", 《中国优秀硕士学位论文全文数据库》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112082496A (en) * 2020-09-08 2020-12-15 西安建筑科技大学 Concrete internal deformation measurement method and system based on improved digital volume image correlation method
CN114549614A (en) * 2021-12-21 2022-05-27 北京大学 Digital volume correlation method, device, device and medium based on deep learning
CN114549614B (en) * 2021-12-21 2024-11-05 北京大学 Digital volume correlation method, device, equipment and medium based on deep learning
CN114777709A (en) * 2022-05-05 2022-07-22 东南大学 DVC (dynamic voltage waveform) microcrack characterization method based on daughter block separation
CN114777709B (en) * 2022-05-05 2024-04-19 东南大学 A DVC microcrack characterization method based on sub-block separation

Also Published As

Publication number Publication date
CN108280806B (en) 2021-12-10

Similar Documents

Publication Publication Date Title
Cruz et al. Deepcsr: A 3d deep learning approach for cortical surface reconstruction
Lim et al. Surface reconstruction techniques: a review
Staib et al. Model-based deformable surface finding for medical images
Paulsen et al. Markov random field surface reconstruction
Marsland et al. Constructing diffeomorphic representations for the groupwise analysis of nonrigid registrations of medical images
Liu et al. Constrained 3D shape reconstruction using a combination of surface fitting and registration
CN112233249A (en) B spline surface fitting method and device based on dense point cloud
CN102999937A (en) Curved planar reconstruction method for cardiac scattered-point cloud data
KR20020087946A (en) Image processing method for displaying an image sequence of a deformable 3-D object with indications of the object wall motion
CN114066953B (en) A deformable registration method for 3D multimodal images for rigid targets
WO2004111927A2 (en) Three-dimensional modeling from arbitrary three-dimensional curves
Ghanei et al. A 3D deformable surface model for segmentation of objects from volumetric data in medical images
CN108280806A (en) The DVC measurement methods of interior of articles deformation
WO2023044605A1 (en) Three-dimensional reconstruction method and apparatus for brain structure in extreme environments, and readable storage medium
WO2015143435A1 (en) Graph search using non-euclidean deformed graph
Samir et al. C1 interpolating Bézier path on Riemannian manifolds, with applications to 3D shape space
Jalba et al. Efficient surface reconstruction from noisy data using regularized membrane potentials
Van Nguyen et al. Geometric modeling: background for processing the 3d objects
Gallea et al. Three-dimensional fuzzy kernel regression framework for registration of medical volume data
Korez et al. Intervertebral disc segmentation in MR images with 3D convolutional networks
CN117132712A (en) Multi-view stereo matching reconstruction method
Miyauchi et al. Isomorphic mesh generation from point clouds with multilayer perceptrons
US8478025B2 (en) Computing genus and homology groups in 3D digital space
Yuan et al. Fusion of multi-planar images for improved three-dimensional object reconstruction
CN110728746A (en) Modeling method and system for dynamic texture

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant