# [Reading] Reviews of medical image registration

Adrien Foucart, PhD in biomedical engineering.

My new project involves a lot of image registration, which is an image analysis task that I haven’t really worked on much before. The goal, in the end, is to be able to “put together” information coming from multiple modalities and taken at different times: CT scans, MRI, and also histology images. This means putting everything into the same frame of reference – a registration task.

So I obviously need to do some reading. As a starting point, we will use three big reviews of medical image registration. The first is a 2014 review . I always like to start from reviews from the pre-”deep learning” era when looking at a task that I’m less familiar with, as they generally give a better overview of the general pipeline and the range of possible approaches. To that, I add a chapter from the 2020 “Handbook of Medical Image Computing and Computer Assisted Intervention,” focusing on registration using “machine learning and deep learning” . The last one, also from 2020, surveys deep learning methods more specifically .

### What is image registration

Image registration “can be defined as the process of aligning two or more images” . These may come from different modalities (e.g. CT and MRI), different times (e.g. to monitor tumor growth)… They may be 2D images (e.g. successive slices of a tissue block in digital pathology) or 3D images (e.g. MRI volume). put it more mathematically as finding the transformation $$\phi^*$$ such that:

$\phi^*={argmin}_\phi {S(I_R, \phi(I_M))}$

Where $$I_R$$ is the reference image (often called “fixed”), $$I_M$$ is the floating image (or “moving”), and $$S$$ is a “similarity metric” that measure show well the transformed image $$\phi(I_M)$$ matches the reference.

So the main elements that we have to play with are:

• A transformation model
• The similarity metric (how do we define what “matching” means)
• An optimization strategy: how do we minimize $$S$$ so that we can find $$\phi^*$$.

### Transformation models

The transformation model determines how we can modify the moving image. Broadly speaking, we can make a distinction between global models — e.g. rigid or affine transforms — which apply a single operation on the whole “image matrix,” and local or deformable models, which can be expressed as a “deformation field” where each voxel is associated to a vector pointing to its “new” position in the transformed image.

Rigid transforms are often used as a pre-registration step, to broadly align the two images before refining with a more complex and/or local model.

### Classic similarity metrics

This is where a lot of the complexity lies – how do you define what counts as a “good match?” It’s particularly difficult in multi-modal problems, where the nature of the information in the two images may be very different. and both have mostly the same list of “commonly used” intensity-based metrics:

• Sum of Squared Differences / Mean Squared Differences, which assumes that “the corresponding structures in both images should have identical intensities” .
• Correlation Ratio, (Normalized) Cross-Correlation, which assumes that “there is a linear relation between the intensities of the corresponding structures” .
• (Normalized) Mutual Information, which assumes that “there is a functional between the variables involved, e.g. between the intensities of both images” .

The latter is generally recommended for multimodal registration, as the relationship between the voxel intensities between, for instance, a CT image and a MRI will not be simply linear.

### Optimization strategies

Usually — particularly for complex transforms — we’ll have some sort of iterative process such as a gradient descent algorithm. Pre-registration with a rigid transform tends to make the process easier (or, at the very least, faster).

### What about machine / deep learning?

Focusing on the multimodal registration problem, and give us some insights on how/where machine learning can intervene in the process.

• Learning a similarity metric to improve an otherwise classic pipline. The idea is found for instance in a deep learning method proposed in . A CNN classifier is trained to “learn the correspondence of two image patches,” then the probability at the output of the CNN is used as a similarity score during new registration. An obvious difficulty is that this requires to have well aligned pairs of images as a training set.
• Learning a common feature representation Here the idea is that, since the “intensity values” don’t have the same meaning, we should try to find an “in-between” feature space where the projections from matching features (from both images) are well correlated.
• Learning an appearance mapping model between modalities, e.g. to generate a “pseudo-CT” from an MRI. This then reduces the problem to an easier, monomodal registration problem.
• Fully learning the transformation itself is much more complicated. It may be possible for relatively simple models (e.g. learning the transformation matrix of an affine transform), but for a deformable model the supervision is way too impractical to create.

### Evaluation of the results

The evaluation of the results is a particularly difficult problem for registration, and it’s a problem that I’ll probably look into a lot more deeply, as I’ve done for segmentation and classification methods before .

As Oliveira notes, “the image similarity measure optimisation can be used as a crude accuracy measure,” but “most similarity measures frequently used have no geometric/physical significance” . So the most common approach is to “manually identify a set of corresponding points in both input images (…) and use them to assess the registration accuracy.” This, however, means relying on an expert-provided “ground truth,” with all the problems that come along (this is where I point again to my thesis, I guess!)

He also mentions using the Dice similarity coefficient (which is the “per-pixel” F1 score, in classification/detection terms) to quantify “the amount of overlapping regions.”

Not mentioned but, I think, potentially useful as well in the same vein would be contour-based measures such as the Hausdorff’s Distance, or similar → for instance, using a border detector and then measuring that the main edges in the registered and target image are close to each other.

### Conclusions

So that wraps this first look at the state-of-the-art. It’s clear that a key difficulty here is that we have a problem with lots of possible choices and parameters and which is difficult to objectively evaluate or, even, objectively pose. As an example, one of the things we need to do in the project is to register histology slices that are separated by a distance of ~100µm. So the goal is not really to match one image to another: there is no actual “match” between the two, they are different parts of the object. Instead, we are trying to “correctly” place the tissue sections in the slides at their correct position and orientation in a 3D volume — and then register that to a CT image.

Getting a good looking results is one thing, but objectively validating that the results are “correct,” or even defining what “correct” means in this case… will be interesting.

### References

Cao, Xiaohuan, Jingfan Fan, Pei Dong, Sahar Ahmad, Pew-Thian Yap, and Dinggang Shen. 2020. “Image Registration Using Machine and Deep Learning.” In Handbook of Medical Image Computing and Computer Assisted Intervention, 319–42. Elsevier. https://doi.org/10.1016/B978-0-12-816176-0.00019-3.
Cheng, Xi, Li Zhang, and Yefeng Zheng. 2018. “Deep Similarity Learning for Multimodal Medical Images.” Computer Methods in Biomechanics and Biomedical Engineering: Imaging & Visualization 6 (3): 248–52. https://doi.org/10.1080/21681163.2015.1135299.
Foucart, Adrien. 2022. “Impact of Real-World Annotations on the Training and Evaluation of Deep Learning Algorithms in Digital Pathology.” https://research.adfoucart.be/thesis/FOUCART_Adrien_dissertation.pdf.
Goubran, Maged, Sandrine de Ribaupierre, Robert R. Hammond, Catherine Currie, Jorge G. Burneo, Andrew G. Parrent, Terry M. Peters, and Ali R. Khan. 2015. “Registration of in-Vivo to Ex-Vivo MRI of Surgically Resected Specimens: A Pipeline for Histology to in-Vivo Registration.” Journal of Neuroscience Methods 241 (February): 53–65. https://doi.org/10.1016/j.jneumeth.2014.12.005.
Haskins, Grant, Uwe Kruger, and Pingkun Yan. 2020. “Deep Learning in Medical Image Registration: A Survey.” Machine Vision and Applications 31 (1-2): 8. https://doi.org/10.1007/s00138-020-01060-x.
Oliveira, Francisco P. M., and João Manuel R. S. Tavares. 2014. “Medical Image Registration: A Review.” Computer Methods in Biomechanics and Biomedical Engineering 17 (2): 73–93. https://doi.org/10.1080/10255842.2012.670855.