Skip to main content

Combining Registration Errors and Supervoxel Classification for Unsupervised Brain Anomaly Detection

  • Conference paper
  • First Online:
Biomedical Engineering Systems and Technologies (BIOSTEC 2020)

Abstract

Automatic detection of brain anomalies in MR images is challenging and complex due to intensity similarity between lesions and healthy tissues as well as the large variability in shape, size, and location among different anomalies. Even though discriminative models (supervised learning) are commonly used for this task, they require quite high-quality annotated training images, which are absent for most medical image analysis problems. Inspired by groupwise shape analysis, we adapt a recent fully unsupervised supervoxel-based approach (SAAD)—designed for abnormal asymmetry detection of the hemispheres—to detect brain anomalies from registration errors. Our method, called BADRESC, extracts supervoxels inside the right and left hemispheres, cerebellum, and brainstem, models registration errors for each supervoxel, and treats outliers as anomalies. Experimental results on MR-T1 brain images of stroke patients show that BADRESC outperforms a convolutional-autoencoder-based method and attains similar detection rates for hemispheric lesions in comparison to SAAD with substantially fewer false positives. It also presents promising detection scores for lesions in the cerebellum and brainstem.

The authors thank CNPq (303808/2018-7), FAPESP (2014/12236-1) for the financial support, and NVIDIA for supporting a graphics card.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    We used the par0000 files available at http://elastix.bigr.nl/wiki/index.php.

  2. 2.

    A link to all these images will be added in the camera-ready paper.

References

  1. Akkus, Z., et al.: Deep learning for brain MRI segmentation: state of the art and future directions. J. Digit. Imaging 30(4), 449–459 (2017)

    Article  Google Scholar 

  2. Amorim, W.P., Falcão, A.X., Papa, J.P., Carvalho, M.H.: Improving semi-supervised learning through optimum connectivity. Pattern Recogn. 60, 72–85 (2016)

    Article  Google Scholar 

  3. Aslani, S., et al.: Deep 2D encoder-decoder convolutional neural network for multiple sclerosis lesion segmentation in brain MRI. In: Medical Image Computing and Computer-Assisted Intervention (MICCAI), pp. 132–141 (2018)

    Google Scholar 

  4. Baur, C., Wiestler, B., Albarqouni, S., Navab, N.: Deep autoencoding models for unsupervised anomaly segmentation in brain MR images. In: International MICCAI Brainlesion Workshop, pp. 161–169 (2018)

    Google Scholar 

  5. Belém, F., Melo, L., Guimarães, S.J.F., Falcão, A.X.: The importance of object-based seed sampling for superpixel segmentation. In: Conference on Graphics, Patterns and Images (SIBGRAPI), pp. 108–115 (2019)

    Google Scholar 

  6. Bragantini, J., Martins, S.B., Castelo-Fernandez, C., Falcão, A.X.: Graph-based image segmentation using dynamic trees. In: Iberoamerican Congress on Pattern Recognition (CIARP), pp. 470–478 (2018)

    Google Scholar 

  7. Chen, H., et al.: VoxResNet: deep voxelwise residual networks for brain segmentation from 3D MR images. Neuroimage 170, 446–455 (2018)

    Article  Google Scholar 

  8. Chen, X., et al.: Deep generative models in the real-world: an open challenge from medical imaging. arXiv preprint arXiv:1806.05452 (2018)

  9. Ciesielski, K.C., Falcão, A.X., Miranda, P.A.V.: Path-value functions for which Dijkstra’s algorithm returns optimal mapping. J. Math. Imaging Vision 60(7), 1025–1036 (2018)

    Article  MathSciNet  Google Scholar 

  10. Falcão, A.X., Cunha, B.S., Lotufo, R.A.: Design of connected operators using the image foresting transform. SPIE Med. Imaging 4322, 468–479 (2001)

    Google Scholar 

  11. Falcão, A.X., Stolfi, J., de Alencar Lotufo, R.: The image foresting transform: theory, algorithms, and applications. IEEE Trans. Pattern Anal. 26(1), 19–29 (2004)

    Article  Google Scholar 

  12. Fonov, V.S., et al.: Unbiased nonlinear average age-appropriate brain templates from birth to adulthood. Neuroimage 47, S102 (2009)

    Article  Google Scholar 

  13. Gao, Y., Riklin-Raviv, T., Bouix, S.: Shape analysis, a field in need of careful validation. Hum. Brain Mapping 35(10), 4965–4978 (2014)

    Article  Google Scholar 

  14. Guo, D., et al.: Automated lesion detection on MRI scans using combined unsupervised and supervised methods. BMC Med. Imaging 15(1), 50 (2015)

    Article  Google Scholar 

  15. Havaei, M., et al.: Brain tumor segmentation with deep neural networks. Med. Image Anal. 35, 18–31 (2017)

    Article  Google Scholar 

  16. Juan-Albarracín, J., et al.: Automated glioblastoma segmentation based on a multiparametric structured unsupervised classification. PLoS One 10(5), e0125143 (2015)

    Article  Google Scholar 

  17. Kamnitsas, K., et al.: Efficient multi-scale 3D CNN with fully connected CRF for accurate brain lesion segmentation. Med. Image Anal. 36, 61–78 (2017)

    Article  Google Scholar 

  18. Klein, S., Staring, M., Murphy, K., Viergever, M.A., Pluim, J.P.W.: elastix: a toolbox for intensity-based medical image registration. IEEE Trans. Med. Imaging 29(1), 196–205 (2010)

    Article  Google Scholar 

  19. Liew, S.L., et al.: A large, open source dataset of stroke anatomical brain images and manual lesion segmentations. Sci. Data 5, 180011 (2018)

    Article  Google Scholar 

  20. Manevitz, L.M., Yousef, M.: One-class SVMs for document classification. J. Mach. Learn. Res. 2(Dec), 139–154 (2001)

    MATH  Google Scholar 

  21. Manjón, J.V.: MRI preprocessing. In: Martí-Bonmatí, L., Alberich-Bayarri, A. (eds.) Imaging Biomarkers, pp. 53–63. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-43504-6_5

    Chapter  Google Scholar 

  22. Martins, S.B., Bragantini, J., Yasuda, C.L., Falcão, A.X.: An adaptive probabilistic atlas for anomalous brain segmentation in MR images. Med. Phys. 46(11), 4940–4950 (2019)

    Article  Google Scholar 

  23. Martins, S.B., Falcão, A.X., Telea, A.C.: BADRESC: brain anomaly detection based on registration errors and supervoxel classification. In: Biomedical Engineering Systems and Technologies: BIOIMAGING, pp. 74–81 (2020). Best student paper awards

    Google Scholar 

  24. Martins, S.B., Ruppert, G., Reis, F., Yasuda, C.L., Falcão, A.X.: A supervoxel-based approach for unsupervised abnormal asymmetry detection in MR images of the brain. In IEEE 16th International Symposium on Biomedical Imaging (ISBI), pp. 882–885 (2019)

    Google Scholar 

  25. Martins, S.B., Telea, A.C., Falcão, A.X.: Extending supervoxel-based abnormal brain asymmetry detection to the native image space. In: IEEE Engineering in Medicine and Biology Society (EMBC), pp. 450–453 (2019)

    Google Scholar 

  26. Miranda, P.A.V., Mansilla, L.A.C.: Oriented image foresting transform segmentation by seed competition. IEEE Trans. Image Process. 23(1), 389–398 (2014)

    Article  MathSciNet  Google Scholar 

  27. Montero, A.E., Falcão, A.X.: A divide-and-conquer clustering approach based on optimum-path forest. In: Conference on Graphics, Patterns and Images (SIBGRAPI), pp. 416–423 (2018)

    Google Scholar 

  28. Otsu, N.: A threshold selection method from gray-level histograms. IEEE Trans. Syst. Man Cybern. 9(1), 62–66 (1979)

    Article  Google Scholar 

  29. Papa, J.P., Falcão, A.X., Suzuki, C.T.N.: Supervised pattern classification based on optimum-path forest. Int. J. Imaging Syst. Technol. 19(2), 120–131 (2009)

    Article  Google Scholar 

  30. Pinto, A., Pereira, S., Correia, H., Oliveira, J., Rasteiro, D.M., Silva, C.A.: Brain tumour segmentation based on extremely randomized forest with high-level features. In: IEEE Engineering in Medicine and Biology Society (EMBC), pp. 3037–3040 (2015)

    Google Scholar 

  31. Qi, K., et al.: X-net: brain stroke lesion segmentation based on depthwise separable convolution and long-range dependencies. In: Medical Image Computing and Computer-Assisted Intervention (MICCAI), pp. 247–255 (2019)

    Google Scholar 

  32. Rocha, L.M., Cappabianco, F.A.M., Falcão, A.X.: Data clustering as an optimum-path forest problem with applications in image analysis. Int. J. Imaging Syst. Technol. 19(2), 50–68 (2009)

    Article  Google Scholar 

  33. Sato, D., et al.: A primitive study on unsupervised anomaly detection with an autoencoder in emergency head CT volumes. In: SPIE Medical Imaging, p. 105751P (2018)

    Google Scholar 

  34. Shakeri, M., et al.: Statistical shape analysis of subcortical structures using spectral matching. Comput. Med. Imaging Graph. 52, 58–71 (2016)

    Article  Google Scholar 

  35. Soltaninejad, M., et al.: Automated brain tumour detection and segmentation using superpixel-based extremely randomized trees in FLAIR MRI. Int. J. Comput. Assist. Radiol. Surg. 12(2), 183–203 (2016). https://doi.org/10.1007/s11548-016-1483-3

    Article  Google Scholar 

  36. Sousa, A.M., Martins, S.B., Falcão, A.X., Reis, F., Bagatin, E., Irion, K.: ALTIS: a fast and automatic lung and trachea CT-image segmentation method. Med. Phys. 46(11), 4970–4982 (2019)

    Article  Google Scholar 

  37. Stutz, D., Hermans, A., Leibe, B.: Superpixels: an evaluation of the state-of-the-art. Comput. Vision Image Understand. 166, 1–27 (2018)

    Article  Google Scholar 

  38. Sutskever, I., Martens, J., Dahl, G., Hinton, G.: On the importance of initialization and momentum in deep learning. In: International Conference on Machine Learning (ICML), pp. 1139–1147 (2013)

    Google Scholar 

  39. Taylor, J.R., et al.: The Cambridge centre for ageing and neuroscience (Cam-CAN) data repository: structural and functional MRI, MEG, and cognitive data from a cross-sectional adult lifespan sample. Neuroimage 144, 262–269 (2017)

    Article  Google Scholar 

  40. Thyreau, B., Sato, K., Fukuda, H., Taki, Y.: Segmentation of the hippocampus by transferring algorithmic knowledge for large cohort processing. Med. Image Anal. 43, 214–228 (2018)

    Article  Google Scholar 

  41. Tustison, N.J., et al.: N4ITK: improved N3 bias correction. IEEE Trans. Med. Imaging 29(6), 1310–1320 (2010)

    Article  Google Scholar 

  42. Vargas-Muñoz, J.E., Chowdhury, A.S., Alexandre, E.B., Galvão, F.L., Miranda, P.A.V., Falcão, A.X.: An iterative spanning forest framework for superpixel segmentation. IEEE Trans. Image Process. 28(7), 3477–3489 (2019)

    Article  MathSciNet  Google Scholar 

  43. Wang, L., Joshi, S.C., Miller, M.I., Csernansky, J.G.: Statistical analysis of hippocampal asymmetry in schizophrenia. Neuroimage 14(3), 531–545 (2001)

    Article  Google Scholar 

  44. Wu, W., Chen, A.Y.C., Zhao, L., Corso, J.J.: Brain tumor detection and segmentation in a CRF (conditional random fields) framework with pixel-pairwise affinity and superpixel-level features. Int. J. Comput. Assist. Radiol. Surg. 9(2), 241–253 (2013). https://doi.org/10.1007/s11548-013-0922-7

    Article  Google Scholar 

  45. Yan, J., Yu, Y., Zhu, X., Lei, Z., Li, S.Z.: Object detection by labeling superpixels. In: Conference on Computer Vision and Pattern Recognition (CVPR), pp. 5107–5116 (2015)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Samuel Botter Martins .

Editor information

Editors and Affiliations

A Appendix

A Appendix

Image Foresting Transform

The Image Foresting Transform (IFT) is a methodology for the design of image operators based on optimum connectivity [11]. For a given connectivity function and a graph derived from an image, the IFT algorithm minimizes (maximizes) a connectivity map to partition the graph into an optimum-path forest rooted at the minima (maxima) of the resulting connectivity map. The image operation resumes to a post-processing of the forest attributes, such as the root labels, optimum paths, and connectivity values. IFT has been successfully applied in different domains, such as image filtering [10], segmentation [6, 22, 36], superpixel segmentation [5, 24, 42], pattern classification [2, 29], and data clustering [27, 32]. This appendix presents preliminary concepts and introduces the IFT algorithm.

Preliminary Concepts

Image Graphs. A d-dimensional multi-band image is defined as the pair \(\hat{I} = (D_I, \vec {I})\), where \(D_{I} \subset Z^{d}\) is the image domaini.e., a set of elements (pixels/voxels) in \(Z^{d}\)—and \(\vec {I} : D_I \rightarrow \mathbb {R}^{c}\) is a mapping function that assigns a vector of c intensities \(\vec {I}(p)\)—one value for each band (channel) of the image—to each element \(p \in D_I\). For example, for 2D RGB-color images: \(d=2\), \(c=3\); for 3D grayscale images (e.g., MR images): \(d=3\), \(c=1\). We represent a segmentation of \(\hat{I}\) by a label image \(\hat{L} = (D_I, L)\), wherein the function \(L : D_I \rightarrow \{0, 1, \cdots , M\}\) maps every voxel of \(\hat{I}\) to either the background (label 0) or one of the M objects of interest.

Most images, like the ones used in this paper, typically represent their intensity values by natural numbers instead of real numbers. More specifically, \(\vec {I} : D_I \rightarrow [0,2^{b}-1]\), where b is the number of bits (pixel/voxel depth) used to encode an intensity value.

An image can be interpreted as a graph \(G_I = (D_I, \mathcal{A})\), whose nodes are the voxels and the arcs are defined by an adjacency relation \(\mathcal{A} \subset D_I \times D_I\), with \(\mathcal{A}(p)\) being the adjacent set of a voxel p. A spherical adjacency relation of radius \(\gamma \ge 1\) is given by

$$\begin{aligned} \mathcal{A}_{\gamma }: \{(p, q) \in D_I \times D_I, \left\| q - p \right\| \le \gamma \}. \end{aligned}$$
(3)

The image operators considered in this paper use two types of adjacency relations: \(\mathcal{A}_1\) (6-neighborhood) and \(\mathcal{A}_{\sqrt{3}}\) (26-neighborhood), as illustrated in Fig. 12.

Fig. 12.
figure 12

Examples of adjacency relation for a given voxel p (red). (Color figure online)

Paths. For a given image graph \(G_I = (D_I, \mathcal{A})\), a path \(\pi _q\) with terminus q is a sequence of distinct nodes \(\langle p_1, p_2, \cdots p_k \rangle \) with \(\langle p_i, p_{i+1} \rangle \in \mathcal{A}\), \(1 \le i \le k - 1\), and \(p_k = q\). The path \(\pi _q = \langle q \rangle \) is called trivial path. The concatenation of a path \(\pi _p\) and an arc \(\langle p, q \rangle \) is denoted by \(\pi _p \cdot \langle p, q \rangle \).

Connectivity Function. A connectivity function (path-cost function) assigns a value \(f(\pi _q)\) to any path \(\pi _q\) in the image graph \(G_I = (D_I, \mathcal{A})\). A path \(\pi ^{*}_q\) ending at q is optimum if \(f(\pi ^{*}_q) \le f(\tau _q)\) for every other path \(\tau _q\). In other words, a path ending at q is optimum if no other path ending at q has lower cost.

Connectivity functions may be defined in different ways. In some cases, they do not guarantee the optimum cost mapping conditions [9], but, in turn, can produce effective object delineation [26]. A common example of connectivity function is \(f_{max}\), defined by

$$\begin{aligned} \begin{aligned} f_{max}(\langle q \rangle )&= \left\{ \begin{array}{ll} 0 &{} \text {if }q\in \mathcal {S}, \\ +\infty &{} \text {otherwise.} \end{array} \right. \\ f_{max}(\pi _p\cdot \langle p,q \rangle )&= \max \{f_{max}(\pi _p), w(p, q)\}, \end{aligned} \end{aligned}$$
(4)

where w(pq) is the arc weight of \(\langle p, q \rangle \), usually estimated from \(\hat{I}\), and \(\mathcal {S}\) is the labeled seed set.

Fig. 13.
figure 13

Multi-object image segmentation by IFT. (a) Axial slice of a brain image with seeds \(\mathcal {S}_0\) for the background (orange), \(\mathcal {S}_1\) for the right ventricle (red), and \(\mathcal {S}_2\) for the left ventricle (green). (b) Gradient image for (a) that defines the arc weights for seed competition. Arcs have high weights on object boundaries. (c) Resulting segmentation mask for the given seeds and arc weights. Red and green voxels represent object voxels, whereas the remaining ones are background. (Color figure online)

1.1 The General IFT Algorithm

For multi-object image segmentation, IFT requires a labeled seed set \(\mathcal {S} = \mathcal {S}_0 \cup \mathcal {S}_1 \cup \cdots \mathcal {S}_M\) with seeds for object i in each set \(\mathcal {S}_i\) and background seeds in \(\mathcal {S}_0\), as illustrated in Fig. 13. The algorithm then promotes an optimum seed competition so that each seed in \(\mathcal {S}\) conquers its most closely connected voxels in the image domain. This competition considers a connectivity function f applied to any path \(\pi _q\).

Defining \(\varPi _q\) as the set of all possible paths with terminus q in the image graph, the IFT algorithm minimizes a path cost map

$$\begin{aligned} C(q) = \underset{\forall \pi _q \in \varPi _q}{min}\{f(\pi _q)\}, \end{aligned}$$
(5)

by partitioning the graph into an optimum-path forest P rooted at \(\mathcal {S}\). That is, the algorithm assigns to q the path \(\pi ^{*}_q\) of minimum cost, such that each object i is defined by the union between the seed voxels of \(\mathcal {S}_i\) and the voxels of \(D_I\) that are rooted in \(\mathcal {S}_i\), i.e., conquered by such object seeds.

figure b

Algorithm 2 presents the general IFT approach. Lines 1–7 initialize maps, and insert seeds into the priority queue Q. The state map U indicates by \(U(q) = White\) that the voxel q was never visited (never inserted into Q), by \(U(q) = Gray\) that q has been visited and is still in Q, and by \(U(q) = Black\) that q has been processed (removed from Q).

The main loop (Lines 8–20) performs the propagation process. First, it removes the voxel p that has minimum path cost in Q (Line 9). Ties are broken in Q using the first-in-first-out (FIFO) policy. The loop in Lines 11–20 then evaluates if a path with terminus p extended to its adjacent q is cheaper than the current path with terminus q and cost C(q) (Line 13). If that is the case, p is assigned as the predecessor of q, and the root of p is assigned to the root of q (Line 14), whereas the path cost and the label of q are updated (Line 15). If q is in Q, its position is updated; otherwise, q is inserted into Q. The algorithm returns the optimum-path forest (predecessor map), root map, path-cost map, and the label map (object delineation mask).

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Martins, S.B., Falcão, A.X., Telea, A.C. (2021). Combining Registration Errors and Supervoxel Classification for Unsupervised Brain Anomaly Detection. In: Ye, X., et al. Biomedical Engineering Systems and Technologies. BIOSTEC 2020. Communications in Computer and Information Science, vol 1400. Springer, Cham. https://doi.org/10.1007/978-3-030-72379-8_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-72379-8_8

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-72378-1

  • Online ISBN: 978-3-030-72379-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics