KI

Object segmentation: the reference architectures in medical imaging

  • Sarah Madeleine
  • 23.11.21
  • Aktualisiert am 22.03.24

In the field of medical image analysis, object segmentation is an important discipline. This article divides the architectures into three families: fully connected architectures, those with latent representation and those using saliency maps.

In the field of object segmentation in medical imaging, the most popular architecture is U-Net. Nevertheless, depending on the overriding criteria of your project, you could orient your choice of architecture as follows. If computational speed is important, then the U-Net architecture with a ResNet-34 as the core network is preferred. If model accuracy is crucial, then PSPNet, FCN-8, and Dual U-Net architectures are suitable. Finally, if a combination of both is required, then the DeepLabV3+ architecture is a good compromise. [1]

After previously presenting architectures for object detection in medical imaging, we describe here the architectures for segmentation according to three families:

  1. fully connected architectures,
  2. those with latent representation, and
  3. those using saliency maps.

Fully connected architectures

FCN

The Fully Convolutional Network (FCN) architecture [2] is derived from reference architectures for image classification (e.g. AlexNet, VGG, GoogLeNet). However, their fully connected layers are replaced by 1*1 size convolutions and oversampling to obtain pixel-by-pixel predictions of the original image size.

Diagram representing the FCN architecture

Diagram of the FCN architecture. Credits: original publication [2]

Indeed, the output feature maps from the 1*1 size convolutions are 32 times smaller than the input image of the network. Due to the depth of the network, the spatial localization information is lost. To remedy this and improve predictions, the FCN architecture implements residual connections merging the feature maps from the pooling convolutions upstream of the network and those from the oversampling convolutions.

Diagram of feature fusion in the FCN network

Diagram of feature fusion in the FCN network. Credits: [3]

The FCN architecture comes with several increment levels for oversampling: 32, 16 and 8. The feature fusion trick mentioned earlier is employed to improve predictions for oversampling with increments of 16 and 8.

Examples of results obtained by the FCN architecture

Results obtained by the FCN architecture. Credits: original publication [2]

The FCN architecture has already  been used in the past for the segmentation of the prostate [4] and coronary arteries [5]. However, it seems to be less present in the current research work.

PSPNet

The Pyramid Scene Parsing Network (PSPNet) [6] architecture adds a pyramid aggregation module to a fully connected feature extractor, in order to preserve more context information during image analysis and achieve better accuracy in object segmentation and classification, when objects are quite similar (e.g. building and skyscraper, mountain and hill). This module is composed of four different scale levels. Each feature map from each level is flattened by a convolution of size (1*1), then oversampled by bilinear interpolation in order to recover the dimensions that the feature map had as input to the module. Finally, the latter is concatenated with the oversampled feature maps to obtain enriched information of the global and local contexts before the final classification of the image pixels.

Diagram representing the PSPNet architecture

Diagram of the PSPNet architecture. Credits: original publication [6]

In medical imaging, this architecture has been used for the segmentation of vascular structures using coronary angiographies [7], of the prostate from an MRI image [8] and of cystic fibrosis on CT image [9].

HRNet

The High Resolution Network (HRNet) architecture [10] was initially developed to detect human body poses by identifying key anatomical areas of movement (e.g. hip, knee, ankle, ..., etc). One of the difficulties with very deep convolutional neural networks is obtaining accurate estimates of object boundaries, as the spatial localization information erodes with depth. To address this, [10] proposes a network architecture that maintains high-resolution information throughout the network.

Diagram representing the PSPNet architecture

Diagram of the PSPNet architecture. Credits: original publication [10]

The architecture consists of three parallel sub-networks, each of which analyzes the image at a different resolution level. Aggregation layers are distributed throughout the network to connect the three sub-networks together.

Aggregation units for high, medium, and low resolution subnetwork, left, middle, and right diagrams, respectively

Aggregation units for high, medium, and low resolution subnetwork, left, middle, and right diagrams, respectively. Credits: original publication [10]

Only the heat maps of the estimated anatomical areas obtained from the output of the last aggregation unit of the high-resolution subarray are regressed with the target values.

This architecture has been recently used for polyp detection [11], and lesion detection [12]. It has shown better performance than the U-Net architecture on these tasks.

Latent representation architectures

DeepLabv3+

The DeepLabv3+ architecture [13] is a hybrid between an auto-encoder and a spatial pyramid pooling module. These two methods are commonly used in image segmentation. By combining the two, DeepLabv3+ is able to encode image information at different scale levels and obtain more accurate object boundaries.

Spatial pyramid aggregation module

The DeepLabv3+ spatial pyramid aggregation module incorporates atrous convolutions. By modifying the convolution step and combining a depth and pointwise convolution, these convolutions help control the resolution of the feature maps in order to capture the image information at different scale levels. The second advantage of these convolutions is the reduction of the computational complexity that they generate while maintaining good accuracy.

Diagram of how a so-called "atrous" convolution works

Diagram of how a so-called "atrous" convolution works. Credits: [14]

Diagram of the operation of an atrous depthwise convolution

Diagram of the operation of an atrous depthwise convolution. Credits: original publication [13]

Auto-encoder architecture

The DeepLabv3+ architecture also employs so-called "atrous" convolutions to encode the image information. The decoding of the feature maps is done through bilinear oversampling by a factor of 4, and then concatenation with feature maps of the same resolution from the encoding phase. Here, the objective is to obtain richer spatial location information, thus more accurate object boundaries. Next, the concatenated feature maps are convolved. Then, they are bilinearly oversampled by a factor of 4 to obtain the final predictions.

Diagram representing the DeepLabv3+ architecture

Diagram of the DeepLabv3+ architecture. Credits: original publication [13]

The DeepLabv3+ architecture is notably used to segment skin lesions [15] [16] or liver tumors [17].

U-Net and its derivatives

The U-Net architecture [18] has been developed specifically for biomedical image analysis. These are complex images for which classical detection approaches (i.e. region proposals, single step, saliency maps) fail. This architecture is based on the operation of a fully convolutional network to which an expansion phase has been added. The pixels of the image are processed by successive layers of convolutions and oversampling operators. Residual connections link the encoding part of the network to the decoding part, and allow the spatial localization information to be aggregated with that reconstructed by the decoding path.

Diagram representing the U-Net architecture

Diagram of the U-Net architecture. Credits: original publication [18]

The U-Net architecture is widely used in biomedical [18] and medical imaging [19][20] segmentation, as it provides good performance from a small annotated dataset.

Double U-Net 

The Double U-Net architecture [21] is based on the assembly of two U-Nets one after the other. The first network relies on the VGG-19 architecture (pre-trained) to encode the image features, the so-called "Atrous Spatial Pyramid" (ASP) aggregation layers (cf. DeepLabv3+) to encode them and the so-called "Squeeze-and-Excite" (SE) blocks to decode them. The second network is similar to a classical U-Net, except for the following elements: the image features are encoded thanks to the ASP aggregation layers and then decoded by SE blocks. Also, for the second network, the input data is derived from a multiplication between the input and output data of the first U-Net. The output data of Double U-Net is a concatenation of the predictions of the first and second network.

Diagram representing the Double U-Net architecture

Diagram of the Double U-Net architecture. Credits: original publication [21]

The Double U-Net architecture achieves better performance for segmentation of colorectal polyps or skin lesions than the U-Net, FCN and Mask R-CNN architectures. [21]

3D U-Net

The 3D U-Net architecture [22] is a transposition of the U-Net architecture to 3D data analysis. Thus, the structure remains unchanged and only the operations performed are in three dimensions: 3D convolution, 3D max pooling, 3D oversampling.

Diagram representing the U-Net architecture (3d convolution)

Diagram of the U-Net 3D architecture. Credits: original publication [22]

This architecture is commonly used in medical image segmentation [23][24][25], as MRI and CT acquisitions are 3D acquisitions, where context information is important for image analysis.

Architectures integrating visual saliency maps

Segmentation models using saliency maps are combinatorial architectures where saliency maps are used to enrich the information available to the model and improve the final segmentation. In medical imaging, saliency maps are often associated with a U-Net architecture [26][27]. [26] is built on the principle of the AttentionNet detection architecture to propose a hybrid segmentation architecture, where attention blocks are added at each compression step of the U-Net encoding path.

Diagram representing the AttentionNet architecture

Diagram of the AttentionNet architecture. Credits: original publication [27]

On the same principle, [27] proposes attention gates to select the features brought by the residual connections.

These combinatorial approaches have shown improvements in the segmentation results obtained over the use of a simple U-Net architecture.

Visual saliency maps are also used to explain the predictions of a deep learning model. By visualizing the areas of the image considered salient by the model, then the user interprets the prediction. Nevertheless, this usage is not entirely satisfactory, as the saliency maps do not always highlight clinically relevant pathological regions of the image [28]. This may lead users to have less confidence in the model predictions.

[1] Zhao, Zhong-Qiu, Zheng, Peng, Xu, Shou-tao, et al. Object detection with deep learning: A review. IEEE transactions on neural networks and learning systems, 2019, vol. 30, no 11, p. 3212-3232.

[2] Long, J., Shelhamer, E., & Darrell, T. (2015). Fully convolutional networks for semantic segmentation. In Proceedings of the IEEE conference on computer vision and pattern recognition (pp. 3431-3440).

[3] https://towardsdatascience.com/review-fcn-semantic-segmentation-eb8c9b50d2d1 

[4] Wang, B., Lei, Y., Jeong, J. J., Wang, T., Liu, Y., Tian, S., ... & Yang, X. (2019, March). Automatic MRI prostate segmentation using 3D deeply supervised FCN with concatenated atrous convolution. In Medical Imaging 2019: Computer-Aided Diagnosis (Vol. 10950, p. 109503X). International Society for Optics and Photonics.

[5] Shen, Y., Fang, Z., Gao, Y., Xiong, N., Zhong, C., & Tang, X. (2019). Coronary arteries segmentation based on 3D FCN with attention gate and level set function. Ieee Access, 7, 42826-42835.

[6] Zhao, H., Shi, J., Qi, X., Wang, X., & Jia, J. (2017). Pyramid scene parsing network. In Proceedings of the IEEE conference on computer vision and pattern recognition (pp. 2881-2890).

[7] Zhu, X., Cheng, Z., Wang, S., Chen, X., & Lu, G. (2021). Coronary angiography image segmentation based on PSPNet. Computer Methods and Programs in Biomedicine, 200, 105897.

[8] Yan, L., Liu, D., Xiang, Q., Luo, Y., Wang, T., Wu, D., ... & Li, Q. (2021). PSP Net-based Automatic Segmentation Network Model for Prostate Magnetic Resonance Imaging. Computer Methods and Programs in Biomedicine, 106211.

[9] Francis, N. J., Francis, N. S., Axyonov, S. V., Aljasar, S. A., Xu, Y., & Saqib, M. (2020, August). Diagnostic of Cystic Fibrosis in Lung Computer Tomographic Images using Image Annotation and Improved PSPNet Modelling. In Journal of Physics: Conference Series (Vol. 1611, No. 1, p. 012062). IOP Publishing.

[10] Sun, K., Xiao, B., Liu, D., & Wang, J. (2019). Deep high-resolution representation learning for human pose estimation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (pp. 5693-5703).

[11] LIa, W., YANG, C., LIUa, J., LIUa, X., GUOa, X., & YUAN, Y. (2021). Joint Polyp Detection and Segmentation with Heterogeneous Endoscopic Data.

[12] Tang, Y., Cai, J., Yan, K., Huang, L., Xie, G., Xiao, J., ... & Lu, L. (2021). Weakly-Supervised Universal Lesion Segmentation with Regional Level Set Loss. arXiv preprint arXiv:2105.01218.

[13] Chen, L. C., Zhu, Y., Papandreou, G., Schroff, F., & Adam, H. (2018). Encoder-decoder with atrous separable convolution for semantic image segmentation. In Proceedings of the European conference on computer vision (ECCV) (pp. 801-818).

[14] https://sh-tsang.medium.com/review-deeplabv3-atrous-separable-convolution-semantic-segmentation-a625f6e83b90 

[15] Azad, R., Asadi-Aghbolaghi, M., Fathy, M., & Escalera, S. (2020, August). Attention deeplabv3+: Multi-level context attention mechanism for skin lesion segmentation. In European Conference on Computer Vision (pp. 251-266). Springer, Cham.

[16] Lameski, J., Jovanov, A., Zdravevski, E., Lameski, P., & Gievska, S. (2019, July). Skin lesion segmentation with deep learning. In IEEE EUROCON 2019-18th International Conference on Smart Technologies (pp. 1-5). IEEE.

[17] Sun, Y., & Shi, C. (2019, October). Liver Tumor Segmentation and Subsequent Risk Prediction Based on Deeplabv3+. In IOP Conference Series: Materials Science and Engineering (Vol. 612, No. 2, p. 022051). IOP Publishing.

[18] Ronneberger, O., Fischer, P., & Brox, T. (2015, October). U-net: Convolutional networks for biomedical image segmentation. In International Conference on Medical image computing and computer-assisted intervention (pp. 234-241). Springer, Cham.

[19] Kim, H., Jung, J., Kim, J., Cho, B., Kwak, J., Jang, J. Y., ... & Yoon, S. M. (2020). Abdominal multi-organ auto-segmentation using 3D-patch-based deep convolutional neural network. Scientific reports, 10(1), 1-9.

[20] Khanna, A., Londhe, N. D., Gupta, S., & Semwal, A. (2020). A deep Residual U-Net convolutional neural network for automated lung segmentation in computed tomography images. Biocybernetics and Biomedical Engineering, 40(3), 1314-1327.

[21] Jha, D., Riegler, M. A., Johansen, D., Halvorsen, P., & Johansen, H. D. (2020, July). Doubleu-net: A deep convolutional neural network for medical image segmentation. In 2020 IEEE 33rd International symposium on computer-based medical systems (CBMS) (pp. 558-564). IEEE.

[22] Çiçek, Ö., Abdulkadir, A., Lienkamp, S. S., Brox, T., & Ronneberger, O. (2016). 3D U-Net: Learning Dense Volumetric Segmentation from Sparse Annotation, Medical Image Computing and Computer-Assisted Intervention–MICCAI 2016. MICCAI 2016. Lecture Notes in Computer Science.

[23] Boers, T. G. W., Hu, Y., Gibson, E., Barratt, D. C., Bonmati, E., Krdzalic, J., ... & Huisman, H. J. (2020). Interactive 3D U-net for the segmentation of the pancreas in computed tomography scans. Physics in Medicine & Biology, 65(6), 065002.

[24] Wang, F., Jiang, R., Zheng, L., Meng, C., & Biswal, B. (2019, October). 3d u-net based brain tumor segmentation and survival days prediction. In International MICCAI Brainlesion Workshop (pp. 131-141). Springer, Cham.

[25] Park, J., Yun, J., Kim, N., Park, B., Cho, Y., Park, H. J., ... & Seo, J. B. (2020). Fully automated lung lobe segmentation in volumetric chest CT with 3D U-Net: validation with intra-and extra-datasets. Journal of digital imaging, 33(1), 221-230.

[26] VAKANSKI, Aleksandar, XIAN, Min, et FREER, Phoebe E. Attention-enriched deep learning model for breast tumor segmentation in ultrasound images. Ultrasound in Medicine & Biology, 2020, vol. 46, no 10, p. 2819-2833.

[27] Oktay, O., Schlemper, J., Folgoc, L. L., Lee, M., Heinrich, M., Misawa, K., ... & Rueckert, D. (2018). Attention u-net: Learning where to look for the pancreas. arXiv preprint arXiv:1804.03999.

[28] Saporta, A., Gui, X., Agrawal, A., Pareek, A., Truong, S. Q., Nguyen, C. D., ... & Rajpurkar, P. (2021). Deep learning saliency maps do not accurately highlight diagnostically relevant regions for medical image interpretation. medRxiv.

Andere Artikel, die Sie interessieren könnten

DeepLabV3 architecture in medical image analysis

To address the problem of loss of spatial information with traditional CNNs, the DeepLab family of convolutional neural networks proposes to extend the receptive field of convolutions. An example of implementation of the DeepLabV3 architecture is detailed.

Florian Finello

Free software for annotating DICOM in deep learning

Deep learning algorithms for the detection of objects (abnormality, anatomical structure) in medical imaging require datasets annotated with precision to achieve acceptable results for medical use. This annotation is very time-consuming and requires the expertise of radiologists.

Sarah Madeleine