AI

Presentation of medical image annotations for supervised learning

  • Sarah Madeleine
  • 2021/04/14
  • 2022/11/15に更新

The field of image recognition is mainly composed of two branches: image classification and object detection. Image recognition can be processed using supervised, unsupervised and semi-supervised learning methods.

The field of image recognition is mainly composed of two branches: image classification and object detection. 
Image recognition can be processed using supervised, unsupervised and semi-supervised learning methods. Currently, supervised learning methods are the most commonly used in this field. This implies that the image recognition algorithm uses annotated data, i.e. the raw data is associated with a priori information about the image content in order to facilitate the classification of the image or the detection of objects in it. Image classification does not require the application of manual annotations at the pixel level, only the association of the label of the class to which the image belongs, because it is the entire image that is classified and not the pixels that compose it. On the other hand, when detecting objects, manual annotations (e.g. bounding boxes, semantic segmentation) are added at the pixel level, as it’s the pixels that are classified. The application of image recognition to the field of medical imaging is mainly related to detection tasks, either of anatomical structures or of anomalies.

In this article, we present the types of manual annotations in object detection applied to medical imaging, and the types of image processing tools used to perform them.

What are the different types of manual annotations in object detection applied to medical imaging?

With supervised learning, the annotation of the data is a crucial step, as its quality will determine the performance of the model. In object detection, we have identified 3 + 1 types of annotation to highlight the regions of the image to focus on:

  • bounding boxes, where all pixels in the concerned region of the image are enclosed in the box with the smallest measure. This measure is obtained by using the coordinates of the starting point of the box’ creation (i.e. x_min, y_min), and its length and width values in the image frame;
  • binary masks (semantic segmentation), where each pixel of the image is classified as either belonging to the background (value 0) or to the region of interest (value 1) on a grid with the image dimensions; 
Binary masks - Abdomen-pelvis CT
  • and landmarks, which are points placed at the outer limits of the region of interest and on its prominent areas.
landmarks on an abdomen-pelvis CT

The fourth type of annotation is indirect, as it is often generated from landmarks [1]:

  • saliency maps
Saliency maps

Credits: Original paper [2]

Which architectures use annotations?

Region Proposal networks (RPN), such as Faster R-CNN and Mask R-CNN, use annotations to reduce the number of regions proposed by the network. Annotations such as bounding boxes, binary masks, landmarks and saliency maps contribute to this and are therefore suitable for this type of algorithm. These annotations can also be combined to further facilitate network convergence, as with Mask R-CNN combining bounding boxes and binary masks.

One-stage methods, such as YOLO and SDD, will favor bounding box and binary mask annotations.

The architectures based on saliency maps use the annotations of the same name. They can also use bounding box, binary mask and landmark annotations, in so-called "top-down" approaches to limit the image analysis regions that will be subsequently analyzed by a convolutional neural network (e.g. U-Net) to complete the segmentation task.

Common annotation tools in medical image analysis

Annotation tools can be of different types:

  • ROI tagging (e.g. bounding box),
  • semantic segmentation of ROI (e.g. binary mask).

They can also be used manually, semi-automatically, or automatically. We present here the most common and useful annotation tools for data preparation in AI

  • 1. ROI tagging tools:
    • manual definition of a predefined shape:point, line, circle, parallelogram, polygon;
    • semi-manual definition of a free forn, thanks to a drawing algorithm based on B-Splines;
  • 2. ROI semantic segmentation tools:
    • segmentation by region search:
      • manual segmentation with the brush: application of an arbitrary value to the pixels touched by the brush and extended to the neighboring pixels of the same intensity;
      • semi-automatic segmentation with a brush pre-calibrated using Housfield (HU) values : application of an arbitrary value to the pixels touched by the brush and extended to the pixels belonging to the HU interval pre-defined by the user [3] [4];
      • segmentation by boundary search:
      • semi-automatic segmentation with intelligent scissors: anchor points are applied to the ROI contours and then connected by a shortest path algorithm between them, based on pixel intensity [4]
      • another implementation of intelligent scissors is G-wire: a livewire algorithm adapted for medical CT images, which incorporates minimization of the internal energy of the curve, and makes the algorithm less sensitive to noise [5]
      • segmentation by edge is represented by a large intensity variation. An imprvement of the Quantum Canny method [6] is proposed based on the magnitude of the gradient [7]. The results have been compared to the Quantum Canny method and to the classical methods of Canny, Sobel, Robert and Prewitt.
      • automatic segmentation by thresholding the pixel value of the image histogram [8]

In a future article, we'll present to you a comparison of free medical image annotation sofware that include these tools.

[1] Payer C., Štern D., Bischof H., et al. Regressing heatmaps for multiple landmark localization using CNNs. In: International Conference on Medical Image Computing and Computer-Assisted Intervention. Springer, Cham, 2016. p. 230-238.
[2] Ben-Ahmed O., Fernandez-Maloigne C., Julian A., Paccalin M., Visual saliency for medical imaging and computer-aided diagnosis, Neurological Disorders and Imaging Physics, Volume 3, IOP Publishing, 2019, 978-0-7503-1793-1, 9-1, 9-22 https://doi.org/10.1088/978-0-7503-1793-1ch9
[3] https://www.xnat.org/ https://bitbucket.org/icrimaginginformatics/ohif-viewer-xnat-plugin/src/master/
[4] Rubin DL., Ugur Akdogan M., Altindag C., Alkim E. ePAD: An Image Annotation and Analysis Platform for Quantitative Imaging. Tomography 2019;5(1):170-183. https://epad.stanford.edu/
[5] Kang HW., G-wire: A livewire segmentation algorithm based on a generalized graph formulation, Pattern Recognition Letters, Volume 26, Issue 13, 2005, Pages 2042-2051, ISSN 0167-8655, https://doi.org/10.1016/j.patrec.2005.02.011
[6] Sundani, D., Mutiara, A. B., Juarna, A., & Rahayu, D. A. (2015). Edge detection algorithm for color image based on quantum superposition principle. Journal of Theoretical and Applied Information Technology, 76(2), 152-159.
[7] Widiyanto, S., Sundani, D., Karyanti, Y., & Wardani, D. T. (2019). Edge Detection Based on Quantum Canny Enhancement for Medical Imaging. IOP Conference Series: Materials Science and Engineering, 536, 012118. https://doi.org/10.1088/1757-899x/536/1/012118
[8] http://www.fexovi.com/sefexa.html

その他のおすすめ記事

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