The present invention relates to a method and a corresponding apparatus and system for segmentation of anatomical structures in medical images.
Accurate segmentation of anatomical structures in medical images is of high interest in the current clinical practice because it can help to timely diagnose and plan further treatment of diseases. For instance, human vessels are often affected by vascular diseases, such as atherosclerosis and stenosis, which can lead to more serious problems, including heart attack, stroke, or even death. Intervertebral discs often suffer from degeneration that can cause chronic pain if left untreated and therefore affect the quality of one's life. Robust and precise methods for internal structures segmentation can be helpful to facilitate the physicians to detect such diseases.
Preferred embodiments of the invention provide a method, apparatus and system allowing for a robust and precise segmentation of anatomical structures in medical images.
In a method for segmentation of anatomical structures in medical images according to an aspect of the invention an anatomical structure represented in a medical image is segmented by applying an algorithm based on a morphological active contour without edges (MACWE) to the medical image, wherein in the algorithm based on MACWE one or more features relating to a surrounding and/or context of the anatomical structure represented in the medical image are considered.
An apparatus for segmentation of anatomical structures in medical images according to another aspect of the invention comprises an image processing unit which is configured to segment an anatomical structure represented in a medical image by applying an algorithm based on a morphological active contour without edges (MACWE) to the medical image, wherein in the algorithm based on MACWE one or more features relating to a surrounding and/or context of the anatomical structure represented in the medical image are considered.
A system for segmentation of anatomical structures in medical images according to yet another aspect of the invention comprises a medical imaging apparatus configured to acquire medical images of anatomical structures, in particular blood vessels and/or intervertebral discs, and an apparatus according to an aspect of the invention.
Aspects of the invention are based on the approach to use a, preferably automated and/or learning-based, morphological active contour model for segmentation of anatomical structures in medical images, like segmentation of intervertebral discs in 2D and 3D magnetic resonance (MR) images or segmentation of blood vessel lumen in 2D and 3D computed tomography angiography (CTA) images. Specifically, a morphological active contour without edges (MACWE) is used, which is particularly effective for medical image segmentation as it is fast and does not suffer from numerical stability problems.
In order to enhance its performance, the standard MACWE is modified by using features of an area surrounding the anatomical structure represented in the image to drive the MACWE towards the borders of the anatomical structure.
Alternatively, or additionally, the standard MACWE algorithm can be combined with a supervised machine learning method, in which a model is trained with field-specific contextual features and/or with features of an area surrounding the anatomical structure represented in the image. The learned features are used to drive the MACWE towards the desired borders. In this way, the standard MACWE is modified by plugging in any corresponding machine learning classifier trained preliminarily on the field-specific contextual features.
Each of the aforementioned modifications of the MACWE algorithm makes it overcome possible limitations of the standard MACWE, like leaking out of the desired region or under-segmentation, under certain circumstances. Besides, each of the modified MACWE algorithms is more generic and less sensitive to surroundings of the anatomical structure represented in the image.
In summary, the invention allows for a robust and precise segmentation of anatomical structures in medical images.
In the context of the invention, the term “segmentation” relates to finding, based on the contents of a medical image, a contour of an anatomical structure, e.g. a vessel or an intervertebral disc, serving as a boundary to separate the anatomical structure from the image.
Preferably, the one or more features relating to the surrounding and/or context of the anatomical structure are considered by classifying the surrounding and/or context of the anatomical structure represented in the medical image. Hereby, the surrounding and/or context of the anatomical structure is assigned to one of at least two classes relating to properties of the surrounding and/or context of the anatomical structure, and the class, to which the surrounding and/or context of the anatomical structure represented in the medical image has been assigned, is considered in the MACWE algorithm. By considering the result of a classification of the surrounding and/or context, the MACWE segmentation of anatomical structures is simple and yet robust and precise.
It is further preferred that the surrounding and/or context of the anatomical structure represented in the medical image is classified by applying a classifier to the medical image. It is preferred that the classifier is trained with feature vectors relating to a surrounding and/or a context of anatomical structures in a set of training images. In this way, a particularly robust and reliable segmentation of anatomical structures is achieved.
Preferably, for vessel lumen segmentation, the feature vectors contain one or more of the following features, which are calculated for each training position:
Preferably, for intervertebral disc segmentation, the feature vectors contain one or more of the following features, which are calculated for each training position:
Preferably, the classifier is a multi-label classifier, which has multiple different labels. By means of the multi-label classifier the surrounding and/or the context of the anatomical structure represented in the medical image is assigned to one of two or more, in particular three or more, different classes. In this way, the characteristics of the surrounding and/or context of the anatomical structure are considered in the MACWE segmentation algorithm with particularly high accuracy.
Using a multi-label classifier is particularly preferred and advantageous for intervertebral disc segmentation in 2D and 3D images, in particular MRI images and/or blood vessel segmentation in 2D computed tomography angiography (CTA) images.
Alternatively, or additionally, the classifier is a binary classifier, which has two different labels. Hereby, the surrounding and/or the context of the anatomical structure represented in the medical image is assigned to one of two different classes. By using a two-level classifier good segmentation results are achieved, albeit the modification of the standard MACWE is kept particularly simple, because in the algorithm only two different cases of surrounding and/or context classes have to be considered.
It is, moreover, preferred that the algorithm based on MACWE comprises the step of applying a morphological operator to the medical image, wherein the morphological operator applied to the medical image depends on the result of the classification of the surrounding and/or the context of the anatomical structure represented in the medical image. A morphological operator is a monotone contrast-invariant and translation-invariant operator. For example, dilation and erosion operators are morphological operators. Preferably, the morphological operator comprises and/or corresponds to an image attachment term of the Euler-Lagrange equation for the implicit version of an active contour without edge (ACWE) functional of a curve C.
Further advantages, features and examples of the present invention will be apparent from the following description of following figures.
The apparatus 10 comprises an image processing unit 13, e.g. a workstation or a personal computer (PC), which is configured to process the image data set 11. Preferably, the image data set 11 is transferred from the medical imaging apparatus 12 to the image processing unit 13 via a data network 18, e.g. a local area network (LAN) or wireless LAN (WLAN) in a hospital environment or the internet.
The image processing unit 13 is preferably configured to generate a volume reconstruction and/or a slice image 15 of the image data set 11 on a display 14, e.g. a TFT screen of the workstation or PC, respectively.
The image processing unit 13 is further configured to perform image processing according to aspects of the present invention. Preferably, the image processing unit 13 is configured to segment an anatomical structure represented in the image 15 by applying an algorithm based on a morphological active contour without edges (MACWE) to the medical image, wherein in the algorithm based on MACWE one or more features relating to a surrounding and/or context of the anatomical structure represented in the medical image are considered.
This will be elucidated by means of examples of methods and/or algorithms in the following.
The segmentation method according to a first example is based on an active contour without edges (ACWE) described by T. F. Chan, B. Sandberg, and L. A. Vese, Active contours without edges for vector-valued images, in: Journal of Visual Communication and Image Representation, 11 (2), 130-141, 2000, which is approximated by applying morphological operators (MACWE) as described by P. Marquez-Neila, L. Baumela, and L. Alvarez, A morphological approach to curvature-based evolution of curves and surfaces, IEEE Transactions on Pattern Analysis and Machine Intelligence, 36 (1), 2-17, 2014, which are both incorporated by reference herewith. According to an aspect of the invention, the MACWE segmentation algorithm is further modified and enhanced by machine learning approaches as elucidated in detail in the following.
Morphological Active Contour without Edges
Chan et al. define an energy functional that uses the content of the interior and exterior regions of the curve. As the curve is not necessarily closed, under the “interior region” all pixels belonging to the curve are meant.
The Active Contout Without Edges (ACWE) functional of a curve C is defined as follows:
where μ≥0, ν≥0, λ1, λ2>0 are fixed parameters, c1 and c2 are the mean of the values of a given image I(x) inside and outside of the contour C.
For determining the contour of an object, e.g. an anatomical structure, represented in an image the following minimization problem is solved:
with contour C and values c1 and c2 being the mean of the value inside the curve and outside, respectively:
The Euler-Lagrange equation for the functional
includes the smoothing, the balloon force and the image attachment terms.
The morphological approximation of the ACWE algorithm, that is the MACWE algorithm, as described by P. Marquez-Neila et al. (cited above) comprises the following steps:
The dilation and erosion operators are defined as
Then it is proceeded as follows:
a) the balloon force is applied first
b) followed by the image attachment term
c) and finalized by the smoothing operator)
The term (SId∘ISd) is the morphological approximation of the smoothing term from the Euler-Lagrange equation (5). For further details on the operator it is referred to P. Marquez-Neila et al. (cited above).
In order to cope with possible problems of contour-leaking and under-segmentation, and to make the algorithm more generic and less sensitive to the surrounding, the image attachment term according to equation (10) is changed to a binary classifier L(I), also referred to as “binary functional”, the value of which (e.g. “true” or “false” or “1” or “0”) depending on the Image I. Preferably, the binary classifier L(I) is defined by a machine learning classifier that is trained in a supervised manner on feature vectors generated for the particular problem.
Preferably, the image attachment term of equation (10) reads as follows:
It is assumed that a point within the borders of the vessel lumen is given. An image patch with the center located at the given point is extracted, as illustrated by dashed box in
During a training phase, first the positive (inside the vessel) and negative (outside of the vessel) examples are generated at positions pij for each vessel j (see centers of small bright and dark boxes shown in
Then it is proceeded as follows:
1. Compute the mean intensities μcj at the regions around the given points preferably at the very center of the vessels ρcj=(ρc,xj,ρc,yj) (see the filled box in the center of the vessel in
2. For each training position pij compute the mean intensities μij at their neighborhoods (see small bright and dark boxes in
3. For each training position pij compute the relative intensity differences between the intensity at the given point preferably at the very center of the vessel and the intensity at the current training position pij:Iij=μcj−μij
4. For each training position pij compute the entropy values eij. High entropies correspond to areas with high variations of intensities. Therefore, they will tend to emphasize the vessel lumen and vessel outer wall borders as well as special areas of ill vessels, like calcifications and plaques, as illustrated in
5. For each training position pij find the maximal values Mij at its neighborhood.
6. Compute distances (in mm) from the current training position pij to the given point preferably at the very center of the vessel ρcj:di,xj=|(pi,xj−ρc,xj)| and di,yj=|(pi,yj−ρc,yj)|.
7. Feature vectors fij=(eij,Iij,di,xj,di,yj,Mij) are used then for training the classifier L(I) from equation (12).
Similarly to the training phase for vessel lumen segmentation it is assumed that one point inside each intervertebral disc is given. An image patch around each position is extracted afterwards, as illustrated in
The patch size is preferably large enough to fit the corresponding disc and partially the neighboring vertebrae, as illustrated in
Similarly to the feature representations for vessels, the positive (inside the disc) and negative (outside of the disc) examples are generated at the positions pij for each disc j (i.e. the centers of bright and dark boxes shown in Figure b (b)).
Then it is proceeded as follows:
1. Compute the mean intensities μcj at the regions around the given points preferably close to the centers of the discs ρcj=(ρc,xj,ρc,yj) (see the filled box at the center of the disc shown in
2. For each training position pij compute the mean intensities μij at their neighborhoods (see bright and dark boxes in
3. For each training position pij also find two points pij,1 and pij,2 above and below in the y-direction in the sagittal plane (e.g. an 18 mm displacement). For each point pij,1 and pij,2 compute the mean intensities μij,1 and μij,2 at their neighborhoods.
4. For each training position pij compute two scaled directional intensity derivatives Ii,+j=(μij−μij,1) and Ii,−j=(μij−μij,2).
5. For each training position pij=(pi,xj,pi,yj) compute two distances (in mm): di,xj=|(pi,xj−ρc,xj)| and di,yj=|(pi,yj−ρc,yj)| to the given point preferably to the center of the disc ρcj.
6. Feature vectors fij=(Ii,+j,Ii,−j,di,xj,di,yj) are used then for training the classifier L(I) from equation (12).
Preferably, as the classifier L(I) the Reduced Error Pruning Tree classifier, also referred to as “REP Tree” or “REP”, described in http://weka.sourceforge.net/doc.dev/weka/classifiers/trees/REPTree.html is used. REP Tree is a decision tree based classifier, learned using information gain and pruned considering classification error reduction in a cross-validation scheme. For details regarding REP it is referred to J. R. Quinlan, Simplifying decision trees, in: International journal of man-machine studies, 27(3):221-234, 1987, which is incorporated by reference herewith.
In order to show the effectiveness of the approach according to the first example, a comparison with the performance of its constituents alone, namely MACWE and REP, was made.
To evaluate REP the leave-one-out cross-validation scheme was used. To evaluate MACWE it was simply run on all datasets, i.e. it did not require any training.
It was surprisingly found that the approach according to the first example considerably outperforms its two constituent parts, when using them alone, on both vessel and spine datasets.
Although the REP alone shows satisfactory results on both datasets, false positive classifications can occur. The MACWE alone can be used for vessel lumen segmentation, however it often leaks or includes calcifications. In particular, it performs very poorly for the intervertebral disc segmentation task and shows acceptable results only in cases where nuclei are degenerated.
Last but not least, the method according to the first example outperforms other methods in terms of a number of validation measures, which are more correct in anatomical terms, i.e. validation measures that show how similar and close (in mm) the segmented region is to the ground-truth segmentation.
In summary, by way of the first example a generic algorithm for segmentation of anatomical structures in medical images is described. The approach is easy to implement. It is robust and shows particularly good results on vessel and spine data.
Similarly to the first example, the segmentation method according to a second example is based on an active contour without edges (ACWE), which is modified by a morphological approach (MACWE). According to an aspect of the invention, the MACWE segmentation algorithm is further modified and enhanced by machine learning approaches as elucidated in detail in the following.
Morphological Active Contour without Edges
Regarding the active contour without edges (ACWE) function of a curve C, the optimization problem to be solved, the Euler-Lagrange equation for the functional and the morphological approximation (MACWE) of the ACWE algorithm it is referred to equations (1) to (11) and respective elucidations given in above regarding the first example.
In order to simplify parameter tuning, preferably only one parameter λ instead of two parameters λ1 and λ2 in the conditional inequality of the image attachment term according to equation (9) is used:
where I(x) is the intensity at voxel x, c1 and c2 are the intensity means inside and outside of the contour C and the parameter λ gives more weight to the second term of equation (13). The parameter λ controls that more voxels are considered for attachment to the segmented region by the classifier, i.e. more control is given to the classifier.
Assuming that A={1, . . . , M} is the set of all labels in the given segmentation problem, and N+⊆A is the set of all labels which the algorithm aims to segment. Preferably, L(x) is defined to be a multi-label classifier that assigns the most probable label from the set A to a voxel x:
where P(x∈k) is the probability of the voxel x being assigned to the label k.
Preferably, by using the multi-label classifier L(x) the following new image attachment term is obtained:
where ε is a small tolerance parameter ≈0.
1. That is, instead of using a binary classifier according to the first example, in the algorithm according to the second example a multi-label classifier L(x) is used.
2. Similarly to the first example, the multi-label classifier L(x) is trained preliminarily on a set of field-specific contextual features, wherein the learned classifier drives MACWE towards the desired segmentation of the object, e.g. the vessel and/or intervertebral disc.
3. Feature representation
4. Basically, regarding feature representation for vessel lumen and intervertebral disc segmentation, the above elucidations on the algorithm according to the first example apply accordingly.
Preferably, a set of simple features is used for solving three different medical imaging problems. The set of common features include: Euclidean distances to the starting point (preferably a point at the center of a disc or a vessel lumen) and directional intensity differences. Further, two additional features for the vessel problem are introduced, i.e. it is aimed to segment the vessel lumen only excluding calcifications and plaques. Therefore, only two labels are used in the N+ set. Moreover, the entropy feature was added and the maximal intensity value feature is empirically selected to guarantee inclusion of the border of the vessel lumen.
For the classification step, preferably a decision tree-based algorithm called Reduced Error Pruning Tree, Naive Bayes or Random Forest classifiers are used. Regarding the Reduced Error Pruning Tree, also referred to as “REP Tree” or “REP”, the elucidations given in section “I. First Example” above apply accordingly.
In order to improve performance of the algorithm for all morphological and classification tasks at any given iteration, preferably the search region for new voxels is restricted to attach to the current segmentation. Only voxels within a bounding box is considered, which slightly exceeds the size of the bounding box of the current segmented structure. Inactive voxels, i.e. voxels not belonging to the segmented mask, within the dataset are therefore not considered, which drastically boosts the computational performance.
The algorithm according to the second example is particularly suited for segmentation of intervertebral discs in 2D and 3D MRI images, and segmentation of the lumen in 2D vessel cross-sectional planes in CTA images.
For training datasets and data from the “Carotid Lumen Segmentation Challenge 2009” (K. Hameeteman et al., Evaluation framework for carotid bifurcation lumen segmentation and stenosis grading, Medical Image Analysis, 15(4):477-488, 2011) and the “Intervertebral Disc Localization and Segmentation Challenge 2015” (C. Chen et al., Localization and segmentation of 3d intervertebral discs in MR images by data driven estimation, Medical Imaging, IEEE Transactions on, PP(99):1-1, 2015), average dice values of 88.57% for lumens, 83.24% for all discs in all slices in 2D, 78.28% and maximum value of 84.2% were achieved for discs in 3D.
In summary, the second example relates to a learning-based active contour model for segmentation of anatomical structures in 2D and 3D. The approach is built upon a Morphological Active Contour Without Edges (MACWE) which is enhanced by using a multi-label classifier, which is trained preliminarily on a set of field-specific contextual features and drives MACWE towards the desired segmentation of the object. For the classification task, REP, Naive Bayes or Random Forest classifiers are used in conjunction with MACWE. By implementing optimizations for morphological and classification operations in the algorithm performance can be further boosted.
The algorithm according to the second example differs from the algorithm according to the first example as follows:
only one parameter λ is used in the image attachment term according to equation (13), instead of two parameters λ1 and λ2 in the first example;
a multi-label classifier (see equation (14)) is used instead of a binary, i.e. a two-label, classifier;
the image attachment term according to equation (15) differs from the one according to equation (12) of the first example;
the algorithm according to the first example is particularly suited for 2D images of vessels and intervertebral discs, whereas the algorithm according to the second example is particularly applicable to both 2D and 3D images; and
in the algorithm according to the first example decision trees are used for classification, whereas in the second example evaluations in conjunction with three classification methods are performed, i.e. REP-Tree, Naive Bayes or Random Forest.
Number | Date | Country | Kind |
---|---|---|---|
15184647.4 | Sep 2015 | EP | regional |
This application is a 371 National Stage Application of PCT/EP2016/071224, filed Sep. 8, 2016. This application claims the benefit of European Application No. 15184647.4, filed Sep. 10, 2015, which is incorporated by reference herein in its entirety.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2016/071224 | 9/8/2016 | WO | 00 |