Abstract
This paper addresses the task of detecting and localising fetal anatomical regions in 2D ultrasound images, where only image-level labels are present at training, i.e. without any localisation or segmentation information. We examine the use of convolutional neural network architectures coupled with soft proposal layers. The resulting network simultaneously performs anatomical region detection (classification) and localisation tasks. We generate a proposal map describing the attention of the network for a particular class. The network is trained on 85,500 2D fetal Ultrasound images and their associated labels. Labels correspond to six anatomical regions: head, spine, thorax, abdomen, limbs, and placenta. Detection achieves an average accuracy of 90% on individual regions, and show that the proposal maps correlate well with relevant anatomical structures. This work presents itself as a powerful and essential step towards subsequent tasks such as fetal position and pose estimation, organ-specific segmentation, or image-guided navigation.
You have full access to this open access chapter, Download conference paper PDF
1 Introduction
Ultrasound (US) is the most popular obstetric imaging modality for antenatal detection of fetal abnormalities. A routine US screening examination consists of manually scanning the fetal anatomy, mainly using 2D imaging, selecting a series of standard planes, and measuring biometric data to assess fetal normality. The plane selection process depends on the local/departmental protocol (e.g. FASP [2] in the UK). Steering the US transducer to obtain these anatomical planes of interest is a challenging task due to the large variability in image orientation and appearance, within an anatomical region as well as within a standard plane [7]. Recent years have seen significant efforts to detect such planes in US video sequences [1, 9]. While these methods are extremely valuable, they disregard more than 95% of the examination images that do not fall into a standard plane category. The remaining images do however contain valuable information about the global fetal anatomy. With that in mind, categorisation of any generic fetal US image in global anatomical regions is of great clinical interest. Such categorisation could for instance provide anatomical context to a subsequent organ specific task. Furthermore, localising general fetal structures could play an important role in the development of navigation systems, and could also be used to better understand and learn the patterns of steering towards specific planes of interests.
Related Work: Weakly supervised object localisation is a relatively active field of research in Neural Network literature [5]. Recently, Zhu et al. proposed a their Soft Proposal Networks (SPN) [11], consisting of a dedicated extra layer attached to any CNN architecture, specifically designed for this task. It was initially inspired by the class activation map (CAM) approach in [10]. One of the main advantages of SPNs over conventional Region Proposal Networks [6] for instance is that the proposal itself is an objectness confidence, and does not necessitate back propagation at inference time to retrieve saliency. As a consequence, it can be used directly in an end-to-end learning manner: the proposal couples with convolutional activation and evolves with the deep feature learning.
In the context of US images and fetal screening in particular, recent papers focused on classification or detection [1] of standard planes in US video sequences. In [1], the authors detected a standard plane within a real screening session video. They used saliency maps to infer the regions of interest attached to the detected standard plane using back propagation. They however discard the vast majority of acquired images (\({\sim }95\%\)) as background. In contrast, our work provides semantic level of labels for any arbitrary image. Thus, during scanning, the proposed method provides useful information and context from all images captured in a fetal US examination.
Contribution: We propose a method to detect and localise fetal anatomical regions applicable to any arbitrary 2D US fetal image within 22–32 week gestational age. The system is based on Convolutional Neural Networks (CNNs) and soft proposal layers [11] for weakly supervised localisation. It is to our knowledge the first attempt to transfer this technology to free hand 2D US fetal anatomical region localisation. The network is able to detect six separate anatomical regions of the fetal body with high accuracy (\({\sim }90\%\)), and localise key anatomical structures within an image in real time (\({\sim }20\,\text {Hz}\)).
2 Data
Image Data: The image data used in this work consists of a set of 20 free-hand fetal US examinations from patients, with gestational age of 27\(\pm 5\) weeks from free-hand ultrasound. The system used was a Philips EPIQ 7G machine. Each examination generated a stream of approximately 40,000 frames. Example of images are shown in Fig. 2(left). Each frame was stored on disk at acquisition time at full resolution and full frame rate. Acquisition parameters were provided from the manufacturer in real time.
Image Labels: Each examination dataset was uploaded into a custom-made browser, which enabled the entire batch to be split into six different categories (+ background), or labels, forming an anatomical parcellation of the gestational sac. Regions are shown in Fig. 2(right), and defined as follows (number of labelled frames in brackets):
-
Head: [25,249 fr.] Should contain the skull, full or in part.
-
Thorax: [32,254 fr.] Should contain the cardiac chambers, full or in part.
-
Abdomen: [16,220 fr.] Should contain the abdomen (diaphragm to pelvis).
-
Spine: [5,980 fr.] Should contain part of the spine.
-
Limbs: [11,617 fr.] Should contain one or more extremity(ies).
-
Placenta: [6,081 fr.] Should contain part of the placenta.
-
Background: [12,687 fr.] No distinguishable structure in image.
Categories were chosen such that they cover the entirety of the fetal body, ensuring that any image containing fetal tissue will fall into one of them. The following heuristics were followed for categorisation:
-
An image is categorised as label X if X is the only category visible.
-
If more than one category is visible, an image can be categorised as label X if X occupies the majority of the image.
-
Images disagreeing with those rules (indistinguishable objects(s), no prominent category, strong blur, etc) are discarded.
Labelling of the 20 datasets was performed by 3 clinical experts. The total time spent per dataset was approximately 1.5h. The labelled data was then split between training and test sets using an \(80\% - 20\%\) ratio, resulting in 85,500 images for training and 24,500 for testing. The split was performed at the subject level to ensure that we were testing the generality of the network.
3 Methods
Preprocessing
1. Polar projection: Unlike most other imaging modalities, fetal ultrasound images are sampled in polar cordinates, yielding the characteristic frustum-shaped images. The geometric properties of the frustum vary drastically at acquisition time, depending on the organ of interest, the fetal lie or the gestational age. To prevent our network from inadvertently learning the shape of the frustum as a feature associated with a specific class (i.e. to be invariant to sector width and depth), we transformed each image into its associated polar coordinate representation. We used acquisition parameters from the frame’s header in order to retrieve the intrinsic polar coordinate system (Depth of Scan, Voxel Size, Sector Width, Zoom Level).
2. Crop and resize: In order to prevent our algorithm from focusing on acoustic reverberations artefacts, we cut \(10\%\) off the polar projected image on either side in the depth direction. The resulting image was resized to a standard \(224 \times 224\) pixel size.
Network
We examined different architectures for the base feature extraction layers: VGG [8] and ResNets [3]. We used batch normalisation to accelerate convergence [4]. We adapted the tail of the networks to incorporate the Soft Proposal block. As suggested in [11], the soft proposal layer (SP) is inserted after the latest convolutional layer of the network. It is followed by a spatial pooling layer, and a fully connected linear classifier.
At training, our images were associated with a unique label corresponding to the prominent anatomical region present in the image. However, it is often the case in practice that multiple anatomical regions are visible in a single image. It is therefore important to consider that in the loss function used for our optimisation. We used a multi-label one vs. all soft margin loss based on max-entropy:
with x and y the predicted and target class score vectors respectively, and i the class index.
Region Localisation
The objectness proposal maps from the SP-layer highlight regions of the image that were informative to the loss result L(x, y), and can be used for localisation purposes. To quantify localisation accuracy, we computed a bounding box on the soft proposal map corresponding to the highest score. First the map is thresholded to 30% above the median pixel value, and the enclosing bounding box is extracted. We compared the predicted bounding box against the one annotated by a clinical expert, using the intersection over union (IoU) metric.
Implementation: The labelling tool was built using C++ and Qt software. Preprocessing was performed using the Insight ToolKit. We used pyTorch for the implementation of the network architecture. We trained our networks using CUDA 8.0 on an Nvidia GeForce GTX 960M GPU.
4 Experiments and Results
Training: We trained four different feature extraction networks with batch normalisation coupled with a soft proposal layer: VGG13-SP, VGG16-SP, ResNet18-SP, and ResNet34-SP, in an end-to-end manner. We used \(K=512\) feature channels in the SP layer (see [11]). Mini-batch Nesterov gradient descent was chosen with a momentum of 0.8. L2 regularisation was used with a weight decay of \(5 \times 10^{-4}\). The initial learning rate was 0.05 and was divided by a factor 10 every 5 epochs until convergence. Since the training data contained large variability in size and orientation, the only data augmentation used was random horizontal flip. Class imbalance was addressed by weighting the probability to draw a sample by its relative class occurrence in the training set. Convergence typically occurred within ten hours.
Region Detection: After training, we evaluated the generalisation of our networks on a test set consisting of three previously unseen subjects’ examinations, with a total number of 24,500 frames. The detailed classification scores of each network on the test set are summarised in Table 1. The best performing network was ResNet18-SP. To further illustrate the results of this network, we show precision/recall curves for each anatomical region and the region confusion matrix in Fig. 3. The confusion matrix is a valuable indication on how the network is behaving in a real case scenario.
Region Localisation: We evaluated the correctness of the localisation task. We computed the IoU metric between predicted and ground truth bounding boxes on a randomised sub-selection of the test set, totalling 4,300 frames. The average IoU between all classes for the four architectures is reported in the last column of Table 1. Detection and localisation results using ResNet18-SP and VGG13-SP for each class are shown in Fig. 4. Additionally, we illustrate in the last column some examples of mis-classifications of the networks.
5 Discussions
Detection: Table 1 shows relatively high detection accuracy over the different regions considered. ResNet18-SP demonstrates marginally higher performance. Interestingly, deeper networks do not seem to increase performance, and can even demonstrate overfitting in the ResNet case. The limbs and spinal regions appear to be less trivial to categorise. This is partly explained by the fact that they often appear in conjunction with other regions in the field of view. The confusion matrix in Fig. 3 illustrates further this difficulty. The network can be confused between spine and abdomen, which are often seen together. A similar pattern happens between the limbs and the placenta.
Localisation: The last column of Table 1 reports the IoU between expert and predicted bounding boxes. While these score can appear relatively low, it is important to note that the soft proposal maps highlight regions that were discriminant for the classification task, and IoU of these order of magnitude were expected. Interestingly, the VGG backbones networks perform marginally better at agreeing with expert localisation than the ResNet ones. Figure 4 shows example of localisation results from VGG13-SP (top) and ResNet18-SP (bottom) for the different fetal regions. Both network are able to attach to anatomically relevant parts of the image. Discrepancies between soft proposal from the two networks demonstrate that, at similar classification performances, the network’s attention is dependent from the internal feature extraction layer.
Mis-classifications: The far right column in Fig. 4 shows images where the network disagreed with ground truth. They are for most cases due to the presence of multiple regions within the field of view. Those behaviours were expected. As a bi-product, these images further demonstrate that the network’s attention is focusing on relevant anatomical regions.
Known Limitations: Our work does not yet account for images with multiple anatomical regions at training. This situation does however occur frequently. This limitation is partly addressed in our choice of loss function but may be misleading the network in difficult cases. To fully address this issue, we will investigate the introduction of multi-labelled images at training. Another limitation of this work is the relatively small number of subjects used for training. This was however balanced by the large variability of appearances per class even within a subject, as we allow categorisation of an anatomical region from any possible angle, resulting in 9,000 images per class per subject on average.
6 Conclusion
In this paper, we augmented classification network architectures with soft proposal layers, and adapted them for the specific task of fetal region detection and localisation in real-time 2D ultrasound imaging. We showed that the proposed network achieves high accuracy for automatic annotation of arbitrary 2D fetal ultrasound images. Furthermore, the network is capable of localising relevant anatomical structures characteristic of each anatomical region, while there was no localisation provided at training. The ability to semantically categorise arbitrary US images could play a key role to developing navigation systems, or guide non-expert sonography scanning. Furthermore, this work could aid subsequent tasks such as scan plane detection, semantic segmentation or biometry estimation in a multi-task framework.
References
Baumgartner, C.F., et al.: Sononet: real-time detection and localisation of fetal standard scan planes in freehand ultrasound. IEEE Trans. Med. Imaging 36(11), 2204–2215 (2017)
UK National Screening Committee et al.: Fetal Anomaly Screening: Programme Handbook. Public Health England, London (2015)
He, K., Zhang, X., Ren, S., Sun, J.: Deep residual learning for image recognition. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 770–778 (2016)
Ioffe, S., Szegedy, C.: Batch normalization: accelerating deep network training by reducing internal covariate shift. In: ICML, pp. 448–456 (2015)
Oquab, M., Bottou, L., Laptev, I., Sivic, J.: Is object localization for free? weakly-supervised learning with convolutional neural networks. In: CVPR, pp. 685–694 (2015)
Ren, S., He, K., Girshick, R., Sun, J.: Faster R-CNN: towards real-time object detection with region proposal networks. In: Advances in Neural Information Processing Systems, pp. 91–99 (2015)
Sarris, I., et al.: Intra-and interobserver variability in fetal ultrasound measurements. Ultrasound Obstet. Gynecol. 39(3), 266–273 (2012)
Simonyan, K., Zisserman, A.: Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556 (2014)
Yaqub, M., Kelly, B., Papageorghiou, A.T., Noble, J.A.: Guided random forests for identification of key fetal anatomy and image categorization in ultrasound scans. In: Navab, N., Hornegger, J., Wells, W.M., Frangi, A.F. (eds.) MICCAI 2015. LNCS, vol. 9351, pp. 687–694. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-24574-4_82
Zhou, B., Khosla, A., Lapedriza, A., Oliva, A., Torralba, A.: Learning deep features for discriminative localization. IEEE Comput. Vis. Pattern Recognit. 2016, 2921–2929 (2016)
Zhu, Y., Zhou, Y., Ye, Q., Qiu, Q., Jiao, J.: Soft proposal networks for weakly supervised object localization. arXiv preprint arXiv:1709.01829 (2017)
Acknowledgments
This work was supported by the Wellcome/EPSRC Centre for Medical Eng. [WT203148/Z/16/Z], and the Wellcome IEH Award [102431].
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer Nature Switzerland AG
About this paper
Cite this paper
Toussaint, N. et al. (2018). Weakly Supervised Localisation for Fetal Ultrasound Images. In: Stoyanov, D., et al. Deep Learning in Medical Image Analysis and Multimodal Learning for Clinical Decision Support. DLMIA ML-CDS 2018 2018. Lecture Notes in Computer Science(), vol 11045. Springer, Cham. https://doi.org/10.1007/978-3-030-00889-5_22
Download citation
DOI: https://doi.org/10.1007/978-3-030-00889-5_22
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-00888-8
Online ISBN: 978-3-030-00889-5
eBook Packages: Computer ScienceComputer Science (R0)