Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2017 Jun 14.
Published in final edited form as: Proc IEEE Int Symp Biomed Imaging. 2012 Jul 12;2012:708–711. doi: 10.1109/ISBI.2012.6235646

NONRIGID VOLUME REGISTRATION USING SECOND-ORDER MRF MODEL

Dongjin Kwon 1,3, Il Dong Yun 2, Kilian M Pohl 3, Christos Davatzikos 3, Sang Uk Lee 1
PMCID: PMC5470541  NIHMSID: NIHMS861249  PMID: 28626513

Abstract

In this paper, we introduce a nonrigid registration method using a Markov Random Field (MRF) energy model with second-order smoothness priors. The registration determines an optimal labeling of the MRF energy model where the label corresponds to a 3D displacement vector. In the MRF energy model, spatial relationships are constructed between nodes using second-order smoothness priors. This model improves limitations of first-order spatial priors which cannot fully incorporate the natural smoothness of deformations. Specifically, the second-order smoothness priors can generate desired smoother displacement vector fields and do not suffer from fronto-parallel effects commonly occurred in first-order priors. The usage of second-order priors in the energy model enables this method to produce more accurate registration results. In the experiments, we will show comparative results using uni- and multi-modal Brain MRI volumes.

Index Terms: Nonrigid Volume Registration, MRF Energy Model, Second-Order Smoothness Prior

1. INTRODUCTION

Recently, nonrigid registration methods based on a Markov Random Field (MRF) energy model incorporating the discrete energy optimization [1, 2] showed the promising experimental results [3, 4, 5]. These methods model the deformation pattern as a discrete label set where labels correspond to displacements of control points (nodes) placed on a cubic mesh grid. The energy is constructed via the standard pairwise MRF model

E(xθ)sVθs(xs)+(s,t)Eθst(xs,xt) (1)

where 𝒱 is a set of nodes placed on a cubic grid, ℰ is a set of edges incorporating neighborhood information of nodes, and xs is the label of s ∈ 𝒱. In this model, the data cost θs is computed using similarity measures between reference and input images and the smoothness cost θst is computed using displacement differences between s and t. For θst, the following first-order smoothness prior (truncated linear potential) is conventionally used

θst(xs,xt)λstmin(d(xs)-d(xt)1,Tst) (2)

where λst is the regularization constant, d(xs) represents the 3D displacement vector corresponding to the label xs, and Tst is a threshold for truncation. However, the energy models based on (2) have limitations. The pairwise potentials penalize the global transformations of the mesh, such as rotation and scaling movements. Mesh nodes are needed to be remained at initial position or translated all together to get low energy. These problems correspond to fronto-parallel effects in stereo matching. In nonrigid registrations, irregular spacing between neighboring nodes in recovered vector fields is commonly appeared by these limitations.

To overcome these limitations, Kwon et al. [6] proposed a registration method using higher-order MRF energy model. This method incorporates second-order spatial interactions to represent natural smoothness of displacement fields. The energy model is formulated using factor graph notations and factor to pairwise graph conversion is used for applying belief propagation (BP) variant optimization methods. In experiments, they showed promising results using 2D images.

Here, we introduce a nonrigid volume registration method using a MRF based energy model. The proposed method extends the second-order MRF model proposed in [6] to work on 3D volumes. As displacements are 3D vectors, graph models in [6] are modified to involve ternary potentials for interlayer interactions in the decomposed scheme. Also, we apply a coarse-to-fine registration scheme for efficient computations and sub-pixel accuracy. In next sections, the proposed MRF energy model for registration is described, and optimization strategies are introduced. In experiments, the proposed method is compared with a first-order MRF registration method [3] using uni- and multi-modal brain MRI data.

2. MRF ENERGY MODEL FOR REGISTRATION

For an input volume, we construct a set 𝒱 which consists of nodes placed on each voxel. Then we generate a factor graph [7] 𝒢 = (𝒱,) where ℱH is a set of factors for second-order potentials. For each s ∈ 𝒱, let xs be a label taking values in some discrete set ℒ. A function d: ℒ → ℝ3 maps a label to a corresponding 3D displacement where each label xs corresponds to a displacement vector d(xs) = (dx(xs), dy(xs), dz(xs)). In 𝒢, an unary potential θs(xs) is defined for each node s ∈ 𝒱 and a second-order potential θstu(xs, xt, xu) is defined for each factor (s, t, u) ∈ ℱ.1

2.1. Second-Order Smoothness Prior

In [8], deformation energy of the mesh is usually defined as a sum of squared second derivatives of its nodes. This deformation energy describes the natural representation of inherent deformedness of the mesh which depends only on the relative locations of mesh nodes. Following the analysis on [6], we incorporate second-order smoothness priors into the energy model. To apply second-order smoothness priors, the ternary potential θstu(xs, xt, xu) is constructed on every collinear three nodes s, t and u as follows

θstu(xs,xt,xu)λstumin(d(xs)-2d(xt)+d(xu)1,Tstu). (3)

By applying second-order smoothness priors, the final MRF energy model is

E(xθ)sVθs(xs)+(s,t,u)FHθstu(xs,xt,xu) (4)

where ℱ is defined on a set of collinear three nodes2 on a cubic grid.

2.2. Data Cost Computation

The unary term θs(xs) of (4) which measures the cost when a node s has a label xs is defined as

θs(xs)f(sx,sy,sz,sx+dx(xs),sy+dy(xs),sz+dz(zs)). (5)

This cost is calculated by the dissimilarity measure f using two volume patches centered on (sx, sy, sz) in a source volume and (sx+dx(xs), sy+dy(xs), sz+dz(zs)) in a target volume, respectively. As this representation is flexible, we can incorporate various dissimilarity measures to f. In this paper, we use the normalized cross correlation (NCC) for uni-modal registrations and the normalized mutual information (NMI) for multi-modal registrations. For computing NCC, we used cubic B-spline weighting scheme used in [3] with patch width 4. For NMI, we compute local NMI [9] for each nodes with patch width 8.

3. OPTIMIZATION STRATEGY

Optimizing the proposed energy model (4) directly is time-consuming when a large search space ℒ should be applied to cover large displacements. To reduce computational burden, we apply a decomposed scheme with a coarse-to-fine scheme.

3.1. Decomposed Scheme

Based on the scheme introduced in [10], we generate a new graph 𝒢D by making three layers of nodes 𝒱x, 𝒱y and 𝒱z corresponding to x, y and z displacements from the original nodes 𝒱. This is only applicable when potentials for spatial priors are summation of a potential for each dimensional displacement. Using the upper bound approximation, we decouple smoothness priors (3) as follows

θstu(xs,xt,xu)θstux(xsx,xtx,xux)+θstuy(xsy,xty,xuy)+θstuz(xsz,xtz,xuz),θstui(xsi,xti,xui)λstumin(di(xs)-2di(xt)+di(xu),Tstu) (6)

where i ∈ {x, y, z}. In the graph 𝒢D, factor sets include FHx,FHy and FHz for intra-layer interaction potentials and FHxyz for inter-layer interaction potentials defined as

θstuxyz(xsx,xty,xuz)f(sx,ty,uz,sx+dx(xs),ty+dy(xt),uz+dz(zt)). (7)

Then, the MRF energy on 𝒢D is defined as follows

E(xθ)(s,t,u)FHDθstu(xs,xt,xu) (8)

where FHD=FHxyzFHxFHyFHz. The unary term (5) is changed to ternary term (7) and its set is included in FHD. The energy model applying decomposed scheme consists of ternary potentials only.

3.2. Coarse-to-Fine Scheme

To cover large displacements efficiently, we compute multilevel displacement in a coarse-to-fine manner [9]. For a pyramidal dense descriptor representation, input volumes of finer level are smoothed and down-sampled for generating volumes of the coarser level. The displacements are computed on each level with propagated displacement offset which is scaled from the coarser levels. To achieve sub-pixel accuracy, we perform the sub-pixel refinement on the finest level.

3.3. Discrete Optimization Method

To optimize the proposed energy model (4) or (8), tree reweighted message passing (TRW) [11, 1] is applied. The TRW message passing provides the lower bound guaranteed not to decrease. A recent comparative study shows the TRW gives the state-of-the-art performances among the various discrete optimization methods [12]. As the TRW theory is built on the pairwise MRF, we need to convert factor graphs representations to pairwise interactions. The detailed conversion procedure is referred to [6]. As the proposed energy model uses higher-order smoothness priors, converting to the hierarchical gradient node graph [13] is possible. Although optimization strategy we introduced decrease computational burden significantly, running TRW or BP on 3D volumes still require high computational power. However, as BP variant optimization algorithms have highly parallel structures, we implement TRW message passing algorithms for 3D registrations on GPU using NVIDIA CUDA. Using GPU, the time required for 1 cycle of whole message passing in a volume takes few seconds. The total time for registration of the proposed method takes about 20 ~ 40 minutes in the experiments.

4. EXPERIMENTS

In this section, we show registration results using uni- and multi-modal brain MRI data. The results are compared to those of a method using the first-order MRF energy model [3]. In experiments, λst = 6, Tst = 20, λstu = 6 and Tstu = 20 are used. For label widths, we use di ∈ {−4,, 4} for the coarsest level, di ∈ {−(2 + (n − 1)/2),, (2 + (n − 1)/2)} for nth level (n = 1 for the finest level) and di ∈ {−1.0,−0.75,, 0.75, 1.0} for the sub-pixel refinement where i ∈ {x, y, z}. We use 4 levels for coarse-to-fine schemes and 2mm voxel spacing for finest level. All parameters are empirically chosen.

4.1. Registration Using Synthetically Deformed Data

We generate synthetically deformed data sets from 10 aligned T1 and T2 weighted brain MRI pairs. The deformed volume is generated by TPS [8] warping with control points (placed on grid with 30mm spacing) perturbed with random variation [−6mm,6mm] in each axis. More detailed procedure for generating synthetic images are described in [14]. The registration is performed between T1 and warped T1 volumes (uni-modal) and T1 and warped T2 volumes (multi-modal), respectively. As intensity characteristics between T1 and T2 images are not consistent, registrations between T1 and T2 are more challenging problem. In Table 1, we show averaged root mean square (RMSE), mean (MEAN) and standard deviation (STD) for the magnitude of differences (mm) between the ground truth and the recovered displacement fields. One can see the performances of the proposed method are better than the first order model. In Fig. 1, we show registration results for a selected case. In the figure, the proposed method produces smoother displacements with higher accuracy than the other method.

Table 1.

Registration Errors for Synthetically Deformed Data

Data Method RMSE MEAN STD
uni-modal Initial 3.42 3.18 1.27
First-Order[3] 1.01 0.84 0.56
Proposed 0.49 0.38 0.31
multi-modal Initial 3.42 3.18 1.27
First-Order[3] 1.44 1.29 0.64
Proposed 1.10 1.01 0.41

Fig. 1.

Fig. 1

Selected results for Synthetically Deformed Data. Slice images from original T1, synthetically deformed T1 and T2 volumes shown in (a), (b) and (c), respectively. The displacement vectors are shown using spherical coordinate (ρ, θ, ϕ). The color coded displacements are shown in (d) ρ-θ and (e) ρ-ϕ. The ground truth displacement used for generating (b) and (c) is shown in (d). The recovered displacements using First-Order [3] and Proposed shown in (g) and (h), respectively. In (f–h), left and right figure correspond to ρ-θ and ρ-ϕ parts of the displacements.

4.2. Registration Using Inter-Subject Data

For inter-subject registrations, we use IBSR V2.0 data set [15] which consists 18 T1 weighted brain MRI volumes with manual segmentations. The volumes are scaled to have 1mm voxel spacing in each axis. We select first data as a template and remaining data sets are registered to the template. The recovered displacement fields are used to deform the corresponding segmentations, and then deformed segmentations are compared to the manual ones. We show DICE score (DICE), the sensitivity (SENS) and the specificity (SPEC) for gray matters, white matters and ventricle in Table 2. For limited spaces, only two selected cases are shown. One can see the proposed method have better scores in terms of DICE, SENS and SPEC measures. In Fig. 2, we show Case 2 results. In the figure, the proposed method produces smoother displacements and better overlapping regions than the other method. The proposed method especially works better in central regions on brain than the other method.

Table 2.

Registration Errors for Inter-Subject Data

Case Matter Method DICE SENS SPEC
Case 1 Gray Initial 0.622 0.679 0.980
First-Order[3] 0.843 0.846 0.993
Proposed 0.847 0.850 0.993
White Initial 0.589 0.654 0.988
First-Order[3] 0.797 0.798 0.995
Proposed 0.804 0.804 0.995
Ventricle Initial 0.398 0.721 0.999
First-Order[3] 0.763 0.872 1.000
Proposed 0.775 0.897 1.000
Case 2 Gray Initial 0.616 0.721 0.979
First-Order[3] 0.836 0.865 0.991
Proposed 0.840 0.881 0.991
White Initial 0.643 0.646 0.981
First-Order[3] 0.798 0.762 0.996
Proposed 0.813 0.775 0.996
Ventricle Initial 0.608 0.723 1.000
First-Order[3] 0.818 0.780 1.000
Proposed 0.843 0.816 1.000

Fig. 2.

Fig. 2

Case 2 results for Inter-Subject Data. Slice images from source T1 and target T1 volumes are shown in (a) and (b). The recovered displacements using First-Order [3] and Proposed shown in (f) and (j), respectively. We use color coded displacements along with Fig 1. Overlapped segmentations of source and deformed target from initial, (f) and (j) are shown in (c–e), (g–i) and (k–m), respectively. In these figures, overlapped regions are colored white and non-overlapped regions are colored darker gray for source and light gray for deformed target.

5. CONCLUSION

In this paper, we proposed a nonrigid registration method using the MRF model with second-order smoothness priors. The second-order prior enables us to generate smoother displacement fields with better accuracy. In experiments, we showed the proposed method outperformed a MRF energy model with first-order smoothness priors on uni- and multimodal brain MRI registrations using synthetically deformed data and inter-subject brain MRI data.

Footnotes

1

When a factor a connects nodes s, t and u, we use (s, t, u) ∈ ℱ to represent a ∈ ℱ when we do not need to use factor representations explicitly.

2

For example, collinear nodes in x axis are placed on (x − 1, y, z), (x, y, z), and (x + 1, y, z).

References

  • 1.Kolmogorov V. Convergent Tree-Reweighted Message Passing for Energy Minimization. IEEE Trans Pattern Anal Mach Intell. 2006;28(10):1568–1583. doi: 10.1109/TPAMI.2006.200. [DOI] [PubMed] [Google Scholar]
  • 2.Komodakis N, Tziritas G, Paragios N. Fast, Approximately Optimal Solutions for Single and Dynamic MRFs. CVPR. 2007 [Google Scholar]
  • 3.Glocker B, Komodakis N, Tziritas G, Navab N, Paragios N. Dense image registration through MRFs and efficient linear programming. Med Image Anal. 2008;12(6):731–741. doi: 10.1016/j.media.2008.03.006. [DOI] [PubMed] [Google Scholar]
  • 4.Ou Y, Sotiras A, Paragios N, Davatzikos C. DRAMMS: Deformable registration via attribute matching and mutual-saliency weighting. Med Image Anal. 2011;15(4):622–639. doi: 10.1016/j.media.2010.07.002. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Sotiras A, Ou Y, Glocker B, Davazikos C, Paragios N. Simultaneous Geometric - Iconic Registration. MICCAI. 2010 doi: 10.1007/978-3-642-15745-5_83. [DOI] [PubMed] [Google Scholar]
  • 6.Kwon D, Lee KJ, Yun ID, Lee SU. Nonrigid Image Registration Using Dynamic Higher-Order MRF Model. ECCV. 2008 [Google Scholar]
  • 7.Kschischang FR, Frey BJ, Loeliger HA. Factor Graphs and the Sum-Product Algorithm. IEEE Trans Inf Theory. 2001;47(2):498–519. [Google Scholar]
  • 8.Bookstein F. Principal warps: Thin-plate splines and the decomposition of deformations. IEEE Trans Pattern Anal Mach Intell. 1989;11(6):567–585. [Google Scholar]
  • 9.Rueckert D, Sonoda LI, Hayes C, Hill DLG, Leach MO, Hawkes DJ. Nonrigid Registration Using Free-Form Deformations: Application to Breast MR Images. IEEE Trans Med Imaging. 1999;18(8):712–721. doi: 10.1109/42.796284. [DOI] [PubMed] [Google Scholar]
  • 10.Shekhovtsov A, Kovtun I, Hlavác V. Efficient MRF Deformation Model for Non-Rigid Image Matching. CVPR. 2007 [Google Scholar]
  • 11.Wainwright MJ, Jaakkola T, Willsky AS. MAP Estimation Via Agreement on Trees: Message-Passing and Linear Programming. IEEE Trans Inf Theory. 2005;51(11):3697–3717. [Google Scholar]
  • 12.Szeliski R, Zabih R, Scharstein D, Veksler O, Kolmogorov V, Agarwala A, Tappen M, Rother C. A Comparative Study of Energy Minimization Methods for Markov Random Fields. ECCV. 2006 doi: 10.1109/TPAMI.2007.70844. [DOI] [PubMed] [Google Scholar]
  • 13.Kwon D, Lee KJ, Yun ID, Lee SU. Solving MRFs with Higher-Order Smoothness Priors Using Hierarchical Gradient Nodes. ACCV. 2010 [Google Scholar]
  • 14.Kwon D, Yun ID, Lee KH, Lee SU. Efficient Feature-Based Nonrigid Registration of Multiphase Liver CT Volumes. BMVC. 2008 [Google Scholar]
  • 15.Internet Brain Segmentation Repository (IBSR) http://www.cma.mgh.harvard.edu/ibsr.

RESOURCES