Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
S0010-4485(14)00178-X
http://dx.doi.org/10.1016/j.cad.2014.08.009
JCAD 2241
To appear in:
Computer-Aided Design
Please cite this article as: Cai Y, Guo X, Zhong Z, Mao W. Dynamic meshing for deformable
image registration. Computer-Aided Design (2014),
http://dx.doi.org/10.1016/j.cad.2014.08.009
This is a PDF file of an unedited manuscript that has been accepted for publication. As a
service to our customers we are providing this early version of the manuscript. The manuscript
will undergo copyediting, typesetting, and review of the resulting proof before it is published in
its final form. Please note that during the production process errors may be discovered which
could affect the content, and all legal disclaimers that apply to the journal pertain.
Abstract
Finite element method (FEM) is commonly used for deformable image registration. However, there is no existing
literature studying how the superimposed mesh structure would influence the image registration process. We study
this problem in this paper, and propose a dynamic meshing strategy to generate mesh structure for image registration.
To construct such a dynamic mesh during image registration, three steps are performed. Firstly, a density field that
measures the importance of a pixel/voxels displacement to the registration process is computed. Secondly, an efficient
contraction-optimization scheme is applied to compute a discrete Centroidal Voronoi Tessellation of the density field.
Thirdly, the final mesh structure is constructed by its dual triangulation, with some post-processing to preserve the
image boundary. In each iteration of the deformable image registration, the mesh structure is efficiently updated with
GPU-based parallel implementation. We conduct experiments of the new dynamic mesh-guided registration framework
on both synthetic and real medical images, and compare our results with the other state-of-the-art FEM-based image
registration methods.
Keywords: Deformable Image Registration, Centroidal Voronoi Tessellation (CVT), Dynamic Meshing, GPU
1. Introduction
Finite element method (FEM) is a widely used technique to solve deformable image registration problems in
the computer graphics, computer vision and medical imaging community. By introducing a superimposed mesh structure in the image domain, the speed and accuracy of image
registration significantly depends on the mesh structure.
The traditional meshing methods usually target at generating a high quality mesh whose boundary resembles the
surface of the biological object in one image [1]. Usually
when the node number is fixed, the requirement of better
surfaces approximation always implies a deterioration of
mesh quality. There are a lot of algorithms [2, 3, 4, 5, 6,
7, 8] proposed to strive for the trade-off between these two
conflicting factors.
We believe meshing for deformable image registration
should focus on the registration process instead of one
image (source or target image). Since the registration
process is a dynamic process, the mesh structure should
be updated accordingly. Three steps are performed in our
algorithm for the dynamic mesh generation. Firstly, a density field that measures the importance of a pixel/voxels
displacement to the registration process is computed. Secondly, an efficient contraction-optimization scheme is applied to compute a discrete Centroidal Voronoi Tessellation
Corresponding
author
Email addresses: yiqi.cai@utdallas.edu (Yiqi Cai),
xguo@utdallas.edu (Xiaohu Guo), zichunzhong@utdallas.edu
(Zichun Zhong), weihua.mao@utsouthwestern.edu (Weihua Mao)
Preprint submitted to Elsevier
(CVT) of the density field. Thirdly, the final mesh structure is constructed by its dual triangulation, with some
post-processing to preserve the image boundary.
The main contribution of our work includes two aspects: on the one hand, we propose a mesh generation
algorithm based on how the mesh will influence the registration process; on the other hand, we present a parallel
algorithm to compute and update the mesh structure efficiently.
2. Related Work
2.1. FEM-based Deformable Image Registration
Deformable image registration is a challenging research
problem in the fields of image processing and medical imaging. As described in the book of Modersitzki [9], given the
source image S and the target image T, the goal of registration is to establish the transformation W that optimizes
an objective function, which includes two terms: one is the
image matching criteria (image similarity) D(T, S W),
and the other is the weighted regularity of the transformation R(W):
D(T, S W) + R(W),
(1)
where is the weight to balance the image matching criteria and regularity.
The transformation W is a mapping function that relates the source and target images together. Usually, it
can be considered as a backward mapping, i.e. for every position x in the target domain, it is mapped to the
August 15, 2014
the source image [2], and then use the Marching Cubes
algorithm to extract the iso-surface from the image [18].
As for the volumetric meshing methods, there are some
recent literatures about generating high-quality meshes,
such as regular tilings and adaptive elements by using
octree method [3, 4]. Delaunay refinement method [19, 6]
is an incremental mesh construction approach, which has
been successfully applied to many practical applications.
There are also several works [5, 6, 7] discussing about
producing the volumetric mesh while preserving the object
boundary and surfaces.
In this paper, we are going to show that fidelity may
not be an important factor for mesh generation in deformable image registration. Instead, a mesh guided by
the potential deformation vector field will be more important in providing sufficient degrees of freedom to drive the
deformation.
(2)
xTi
(4)
Following the general discretization approach with linear elements [16], a global equation describing the force
equilibrium of mesh nodes can be written in a matrix form
as:
u =
K
f,
(6)
(k) u
K
(k+1) =
f (k) .
3
(7)
(8)
ri =
d(x) = kf (x)k + ,
xd(x)
xCi
d(x)
(12)
xCi
xCi
xCi
+2
(9)
d(x)k(ri zi )k2
xCi
(13)
=
=
n
X
i=1
n
X
xCi
i=1 xCi
(14)
=0.
Ei (Ci , zi )
X
(10)
d(x)kx zi k ,
2
misalignment will results in the energy increase by a multiplication of the cluster mass mi and the squared distance
of the misaligned vector k(ri zi )k2 .
Figure 3: The circle to leaf shape registration using dynamic mesh generation framework
mesh does not cover the whole region of interest, particularly at the region of clusters on the boundary and corners
of the image. This is because the sites always be set at the
positions of the centroids. This problem can be handled
through a post-processing by using Constrained Delaunay
triangulation (CDT). For the clusters on the boundary and
corners of the image, we treat the mesh nodes differently:
(1) for the sites of the boundary clusters, we set it as the
centers of all boundary pixels/voxels (for instance: it is
the middle point of an edge or a face); (2) for the corner
clusters, usually each cluster only contains one corner of
the image, the node is set exactly at the corner. Since the
nodes have been moved, the connectivity defined by the
adjacency of the original tessellation may not be a valid
triangulation any more. We constrain the edges between
the inner clusters using the adjacency information of the
tessellation, while the edges associated with the nodes
of the boundary or corners are re-triangled by CDT to
maintain the Delaunay-like property.
(a)
(b)
(c)
(d)
(1)
R(W )
is set to normalize the energy ratio D(T,SW
(1) ) as 0.02,
then it is fixed for the rest of the iterations.
In our dynamic meshing implementation, we first calculate the average value of the importance kf (x)k2 . The
constant base value is set as 0.1 times the average value.
For the parameter in Algorithm 1 during tessellation
optimization, we set it as 0 to get the exact local minimum
of Eq. ( 10). Note the computation time and the accuracy
of this step can be balanced by the value of . e.g., setting = 0.0001 instead would accelerate the tessellation
optimization step by allowing tessellation inaccuracy.
Tab. (1) gives the computational statistics of the 2D
and 3D image registration experiments by our proposed
dynamic meshing method. It is clearly to see that our
method has high speed both in registration and dynamic
meshing steps.
Tab. (2) gives the time performance with different number of nodes on the registration of 3D Lung Respiration
with 100 iterations.
In order to evaluate the usefulness of our proposed dynamic meshing method, we conduct a Circle to Epsilon
experiment and compare our result with two widely used
meshes: regular mesh and high fidelity mesh as shown in
Fig. 5 (a) and (b). Regular mesh is widely used in splinebase free form of deformations (FFDS) [42, 43], while high
fidelity mesh is the desired mesh in the traditional image
registration algorithms [1, 8], which can well capture the
boundary of the object structure. However, both of these
two kinds of meshes are static.
The source image is set as a circle with radius of 120
pixels, while the target image is an epsilon shape. The
challenge here is we set the entrance into the epsilon shape
to be 5 pixel width. We use 100 nodes in all the three
kinds of meshes. The regular mesh is generated by the
(a)
(b)
(c)
(d)
(e)
(f)
Table 1: Computational statistics of 2D and 3D image registration experiments by our proposed dynamic meshing method.
Experiments
Data
resolution
#
#
Iter. Nodes
Circle to leaf
1024 256
160
400
Circle to epsilon
512 512
Total
time
Regist.
time
Initial
Dynamic meshing time
tessell. time Tessell. optimization Mesh construction Bary. computation
100
17.05 sec
6.04 sec
1.67 sec
8.99 sec
0.35 sec
0.72 sec
100
1.59 sec
12.68 sec
0.82 sec
1.37 sec
3000
1.73 sec*
73.28 sec
4.06 sec
5.02 sec
Note: *in order to speed up the contraction process, at the beginning, we treat each block of voxels (including 4 4 4
voxels), instead of each voxel, as a cluster. # Iter.: number of iterations in registration. Regist. time: registration time. Bary.
computation: voxels barycentric coordinate computation. Registration time and dynamic meshing time include all iterations
time during the registration.
7. Appendix
In this appendix, we show how the energy increase rule
mentioned in Sec. 4.3 can be utilized to efficiently compute
the cluster-pair contraction and cluster optimization.
7.1. Cluster-Pair Contraction (Ci , Cj ) Ck
If we contract a pair of clusters (Ci , Cj ) into Ck , the
new clustering energy of Ck with its centroid rk is:
Ek (Ck , rk )
= A(Ck )
X
=
d(x)kx rk k2
xCk
xCi
d(x)kx rk k +
2
xCj
(17)
d(x)kx rk k
mk = mi + mj ,
= B(mi , ri , rk ) + B(mj , rj , rk )
(18)
= mi k(ri rk )k + mj k(rj rk )k .
2
rk =
#
Initial
Dynamic meshing time
Nodes tessell.
Tessell.
Mesh
Bary.
time optimization construction computation
500 1.82 sec 102.63 sec
0.41 sec
8.05 sec
1000 1.80 sec
81.75 sec
1.13 sec
6.37 sec
3000 1.73 sec
73.28 sec
4.06 sec
5.02 sec
5000 1.66 sec
74.11 sec
8.74 sec
4.33 sec
mi ri + mj rj
.
mi + mj
(19)
(20)
(21)
Acknowledgments
The authors would like to thank the anonymous reviewers for their valuable comments and suggestions. This
research work was partially supported by Cancer Prevention and Research Institute of Texas (CPRIT) under Grant
No. RP110329, and National Science Foundation (NSF)
under Grant Nos. IIS-1149737 and CNS-1012975.
(a)
(b)
References
Figure 8:
Cluster-pair contraction during the initialization of
tessellation. (a) Before contraction. (b) The contraction cost can
be calculated efficiently by the sum of two misalignment energy.
(a)
(b)
Figure 9:
Pixel-swapping during tessellation optimization. (a)
Before voxel swap. (b)The change of energy during swap can be
calculated efficiently.
(22)
=B(mj , rj , rj 0 ) + B(ml , rl , rj 0 )
(23)
+ ml (krl rj 0 k2 krl ri k2 ).
(24)
mj 0 = mj + ml ,
(25)
mi ri ml rl
,
mi ml
mj rj + ml rl
=
.
mj + ml
r i0 =
(26)
rj 0
(27)
11
[40]
[41]
[42]
[43]
[44]
[45]
12
Diffeomorphic demons: efficient non-parametric image registration. NeuroImage 45(1) 2009: S61-S72.
Garland, M. and Heckbert, P. S. Surface simplification using
quadric error metrics. In Proceedings of the 24th annual
conference on Computer graphics and interactive techniques
(SIGGRAPH), 1997: 209-216.
Segulja, C. and Han, D. and Abdelrahman, T.S. and Brock,
K. and Moseley, J. Tetrahedral Interpolation for Deformable
Image Registration on GPUs. Symposium on Application
Accelerators in High Performance Computing, 2010.
Sederberg, T. W. and Parry, S. R. Free-form deformation
of solid geometric models. In ACM SIGGRAPH Computer
Graphics, 20(4) 1986: 151-160.
Sdika, M. A fast nonrigid image registration with constraints
on the Jacobian using large scale constrained optimization.
IEEE Transactions on Medical Imaging, 27(2) 2008: 271-281.
CGAL, Computational Geometry Algorithms Library [Online].
Available: http://www.cgal.org
Segars, W. and Tsui, B. MCAT to XCAT: The evolution of 4D computerized phantoms for imaging research. Proceedings
of the IEEE, 97(12) 2009: 1954-1968.
HIGHLIGHTS
We study how the superimposed mesh structure would influence the Finite
Element Method (FEM)-based image registration process.
We propose a mesh generation algorithm based on how the mesh will influence
the registration process, using the discrete Centroidal Voronoi Tessellation idea.
We present a parallel algorithm to compute and update the mesh structure
efficiently during image registration.