Keywords

1 Introduction

Most of the techniques for the segmentation of vessels require seed points inside the vessels and an analysis of the intensity histogram to separate the vessels from the surrounding tissues. For instance, in [1], the authors use an initial circle inside the aortic lumen and two intensity thresholds for CT images in order to track the geometry of the aortic lumen by using an elliptical model of its cross-sections. In [4], the authors propose a region growing-based strategy for vessel segmentation which starts by manually placing one or more seed points in the vessel(s) of interest. From these seed points, more neighboring voxels are included in the segmentation using some image intensity thresholds. In [7], a review of 3D techniques for the segmentation of the vessel lumen is presented. In particular, some of the techniques which are studied use probability distribution models of the aorta and the surrounding tissues.

The usual way to automatically compute a seed point inside the vessels consists in using the Hough transform to search for circular vessel contours. In [2], the authors propose the Hough transform to automatically locate a circle in the descending aorta in MR images. In [8], the authors propose to use the most caudal image slice to locate the position of the aorta using the Hough transform. In [9], the authors propose to use the Hough transform to detect the ascending aorta using the prior knowledge about the expected range for the diameter of the ascending aorta (from 22 mm to 34 mm).

In this paper we propose to combine the Hough transform with the following parametric snake model proposed in [6] to estimate accurately circle locations:

$$\begin{aligned} E(R,\bar{c})&= \frac{1}{2\pi }\int _{0}^{2\pi }\nabla I_{\sigma }(C(\theta ))\cdot \bar{n}(\theta )d\theta \ \\&\quad + \alpha _{-}\left( \frac{ \iint _{A_{-}} (I_{\sigma }(C(\theta ))-I_{-})^{2}rdrd\theta }{|A_{-}|}\right) ^{\frac{1}{2}}+ \alpha _{+}\left( \frac{ \iint _{A_{+}} (I_{\sigma }(C(\theta ))-I_{+})^{2}rdrd\theta }{|A_{+}|}\right) ^{\frac{1}{2}}\nonumber \end{aligned}$$
(1)

where \(C(\theta )=(c_{x}+ R\cdot cos(\theta ),c_{y}+ R\cdot sin(\theta ))\), \(I_{\sigma }\) is the original image convolved with a Gaussian kernel, \(\alpha _{-},\alpha _{+}\ge 0\), \(A_{-},A_{+}\) are annulus in both sides of the circle contour, and \(I_{-},I_{+}\) are the average of \(I_{\sigma }\) in \(A_{-},A_{+}\). The local minima of this energy correspond to circles which fit high image contrast areas. We point out that, using the Hough transform, the locations of the circle centers and their radii are usually given in integer (or low) precision. Using the circles provided by the Hough transform as initialization, the application of the parametric snake model improves the accuracy of the circle locations and provides a measure of the quality of the circles. The lower the value of \(E(R,{\bar{c}})\), the higher the quality of the circle. In fact, in this paper we combine several circle quality estimators to select the “best” circle along the image slices in a robust way. By measuring the similarity with the “best” circle, we select a collection of circles which correspond to vessel contours. This collection of circles is used to estimate, in a local way, the probability density functions of the intensity inside and outside the vessels by using a kernel density estimation. We point out that these probability distributions are very useful pieces of information for the automatic segmentation of the vessels.

The main contributions of this paper are:

  • A new method for the automatic and robust computation of a collection of circular cross-sections of the vessels based on the combination of the Hough transform, a snake parametric model and a new quality criterion for the circle selection. The centers of such circles can be used as seed points for the automatic segmentation of vessels.

  • A new technique for the kernel density estimation of the local probability density functions inside and outside the vessels based on the sampling of the image intensity values inside the collection of circles and in a neighborhood of those circles. We point out that, as the collection of circles is distributed along the slices of the 3D image, by considering a neighborhood around each circle, we obtain a reliable sample of the intensities in a neighborhood of the whole vessel.

The rest of the paper is organized as follows: In Sect. 2, we present the proposed method to compute a collection of circles on the vessel contours. In Sect. 3, we study how to estimate the probability density distributions of the image intensity values inside and outside the vessels. In Sect. 4, we present some experiments and, in Sect. 5, we present the main conclusions.

2 Detection of Circles in the Vessel Contours

Let I be a 3D image consisting of N slices. That is, \(I=\{I^{z} \}_{z=1,..,N}.\) For each slice \(I^{z}\), using the circle Hough transform, we compute the most voted circle, \(C^{z},\) with center \((c_{x}^{z} ,c_{y}^{z})\) and radius \(R^{z}\) for a range of circle radii in the interval \([R_{min},R_{max}]\) (in the experiments presented in this paper we use \(R_{min}=5\,\mathrm{mm}\), \(R_{max}=15\,\mathrm{mm}\)). The locations of such circles are then optimized to fit the vessel contour by minimizing the energy criterion proposed in [6] (equation (6)) using a parametric snake model. From the collection of circles \(\{C^{z}\},\) we select, in a robust way, the “best” one by combining several quality criteria. The main goal is that the contour of the selected circle belongs to the vessel contour with a high probability. The quality criteria we use are:

  1. 1.

    The voting score \(V^{z},\) provided by the Hough transform. The higher the value of \(V^{z},\) the better.

  2. 2.

    The circle energy \(E^{z},\) provided by the method proposed in [6], which measures how well the circle fits an image contour. The lower the value of \(E^{z},\) the better.

  3. 3.

    The standard deviation \(\sigma ^{z}\) of the image intensity values \(I^{z}\) inside the circle. We assume that the variation of the image intensity inside the vessel is low, so that the lower the value of \(\sigma ^{z},\) the better.

  4. 4.

    In general, the location of the circles \(C^{z}\) across the sequence is expected to be stable in the slices of the CT scan where the vessel contours have a circular shape. Therefore, we use the distance \(D^{z}\) between the circle centers \((c_{x}^{z},c_{y}^{z})\) and \((c_{x}^{z+1},c_{y}^{z+1})\) as quality measure. Since this estimation is very local, we convolve \(\{D^{z}\}\) with a Gaussian kernel to obtain a more reliable estimation. The lower the value of \(D^{z},\) the better.

Next, we combine the above quality measures in the following way to obtain a robust and reliable circle quality criterion \(Q^{z}\):

$$\begin{aligned} Q^{z}=\frac{V^{z}}{median\{V^{z}\}}-\frac{E^{z}}{median\{E^{z}\}}-\frac{\sigma ^{z}}{median\{\sigma ^{z}\}}-\frac{D^{z}}{median\{D^{z}\}}. \end{aligned}$$
(2)

The higher the value of \(Q^{z},\) the better the circle. Then we select the “best” reference circle \(C^{z_{opt}}\) as the one which maximizes \(Q^{z}.\) We observe that we can include different weights as parameters in the combination of the quality criteria in the definition of \(Q^{z}\). However, to simplify the exposition, in this paper we use the fixed combination given by the above equation.

Once the reference circle \(C^{z_{opt}}\) has been obtained, we use it to select, by similarity, a collection of circles \(\{C^{z_{i}}\}\) \(\subset \{C^{z}\}\) which belong to the vessel contours. We assume that \(C^{z_{i}}\) lies entirely inside the vessel if \(Q^{z_{i}}\) is big enough and the mean and standard deviation of the image intensity values inside \(C^{z_{i}}\), \(\mu ^{z_{i}}\) and \(\sigma ^{z_{i}}\) respectively, are similar to those for \(C^{z_{opt}}.\) That is,

$$\begin{aligned} \{C^{z_{i}}\}=\{C^{z}:Q_{z}>p_Q \ \text { and } \ \frac{|\mu ^{z} -\mu ^{z_{opt}}|}{\mu ^{z_{opt}}}<p_{\mu } \ \text { and } \ \frac{|\sigma ^{z} -\sigma ^{z_{opt}}|}{median\{\sigma _{z}\}}<p_{\sigma } \}, \end{aligned}$$
(3)

where \(p_Q,p_{\mu },p_{\sigma }>0\) are parameters of the algorithm. We point out that, with the proposed approach, we avoid the detection of circles on non-vascular structures, as shown in the experimental results. Indeed, there exist other organs, like the trachea or the backbone, where the CT cross-sections may have a circular shape. However, with our approach, the circles in the trachea are not selected because they correspond to dark circles surrounded by a brighter background (and the proposed method looks for the opposite, that is, bright circles in a darker background). In the backbone, the standard deviation of the image intensity inside the circle is much higher than in the vessels, so that our quality criterion penalizes such circles with respect to the circles in the vessels.

3 Application to the Local Analysis of the Histogram Around the Vessels

Let \(\{C^{z_{i}}\}\) be the collection of circles in the vessel contours estimated using the proposed method. Given \(\lambda >0,\) we define \(C_{\lambda }^{z_{i}}\) as the circle with the same center as \(C^{z_{i}}\) and area equal to \(\lambda \cdot AREA(C^{z_{i}})\). Based on the collection of circles \(\{C_{\lambda }^{z_{i}}\}\), we define the sample \(S_{\lambda },\) of the image intensity values as

$$\begin{aligned} S_{\lambda }=\left\{ I^{z_{i}}(x):x\in C_{\lambda }^{z_{i}}\right\} . \end{aligned}$$
(4)

We use a kernel density estimation (KDE) to approximate the probability density function of the sample \(S_{\lambda }.\) That is, the kernel density estimator is

$$\begin{aligned} \hat{f}_{h}^{\lambda }(s)=\frac{1}{|S_{\lambda }|h}\sum _{s_{k}\in S_{\lambda } }K\left( \frac{s-s_{k}}{h}\right) , \end{aligned}$$
(5)

where \(K(\cdot )\) is the kernel (in this paper we use the normal distribution N(0, 1) as \(K(\cdot )\)) and h is the bandwidth (in the experiments we fix the value of h to 5).

We point out that \(\hat{f}_{h}^{1}(s)\) is an approximation of the probability density inside the vessels and \(\hat{f}_{h}^{2}(s)\) is an approximation of the probability density in a local neighborhood of the vessels. Next, from \(\hat{f}_{h}^{1}(s)\) and \(\hat{f}_{h}^{2}(s),\) we estimate the probability density of the image intensity values in \(S_{2}\) outside the vessels, \(\hat{g} _{h}^{1,2}(s)\). First we observe that

$$\begin{aligned} {\hat{f}}_{h}^{2}(s)=a{\hat{f}}_{h}^{1}(s)+(1-a){\hat{g}}_{h}^{1,2} (s), \end{aligned}$$
(6)

where \(a>0,\) is the proportion of points in \(S_{2}\) which are inside the vessels. To estimate a,  we assume that, locally, there are no points outside the vessels with an intensity value close to the median of the intensity values inside the vessels. That is, we assume that \({\hat{g}}_{h}^{1,2}(s)\approx 0\) for \(s\in [p_{1},p_{2}],\) where \(p_{1},p_{2}\) are percentile values of \({\hat{f}}_{h}^{1}(s)\) around its median (in the experiments shown in this paper, we use \(p_{1}\) as the 40th percentile value and \(p_{2}\) as the 60th percentile value). Then, we estimate a as

$$\begin{aligned} a=median\left\{ \frac{\hat{f}_{h}^{2}(s)}{\hat{f}_{h}^{1}(s)}\right\} _{s\in [p_1,p_2]}. \end{aligned}$$
(7)

Once a is estimated, we approximate \(\hat{g}_{h}^{1,2}(s)\) as

$$\begin{aligned} \hat{g}_{h}^{1,2}(s)=\frac{1}{M}\max \left\{ \frac{\hat{f}_{h}^{2}(s)-a\hat{f}_{h}^{1}(s)}{1-a},0\right\} , \end{aligned}$$
(8)

where \(M>0\) is fitted in such a way that \(\hat{g}_{h}^{1,2}(s)\) integrates to one.

4 Experimental Results

First, we study the ability of criterion (2) to obtain robust and reliable circles in the contours of the vessels. To obtain the initial circle in each slice, we use a gradient-based Hough transform which takes into account that, in a CT scan, the intensity values are usually brighter inside the vessels than in the surrounding tissues. For comparison purposes, we also use a standard implementation of the Hough transform. In our dataset, we use 10 high-quality contrast-enhanced MDCT scans provided by the University Hospital Complex of Santiago de Compostela (CHUS) and 332 contrast-enhanced scans from the database LIDC-IDRI (see [3, 5]). This database has been designed for lung cancer screening and the images are, in general, of poor quality for our purpose.

Table 1. Location of the reference circle obtained by maximizing the voting score using the standard Hough circle transform, and by using the proposed method maximizing the circle quality score \(Q^z\) for the image databases we use.
Fig. 1.
figure 1

Circle obtained by maximizing \(Q^z\) along the image slices for 8 images of the LIDC-IDRI database.

Fig. 2.
figure 2

Examples of images of the LIDC-IDRI database where the circle which maximizes the standard Hough transform is located in the backbone.

In Table 1, we show the region where the reference circle is located when we use the standard Hough circle transform maximizing the voting score, and when we apply the proposed method maximizing the circle quality score \(Q^z\). We point out that, in the backbone and in the trachea, the image contours may have a circular shape and the standard Hough transform could therefore provide the reference circle in these areas. In a CT scan, the image intensity inside the trachea is darker than outside it, so that the proposed method never selects the trachea contour as circle because we assume that the intensity is brighter inside the circle than outside it in the gradient-based Hough implementation. On the other hand, in the quality criterion \(Q^z\), we consider the standard deviation of the image intensity and the stability of the position of the circle across the sequence. In general, these estimators are lower inside the vessel than in the backbone, which reduces the probability of attaining the minimum of \(Q^z\) in the backbone. In Fig. 1, we show the circle obtained by maximizing \(Q^z\) along the image slices for 8 CT scans of LIDC-IDRI database. In Fig. 2, we show 4 images of the LIDC-IDRI database where the circle which maximizes the standard Hough transform is located in the backbone. In Fig. 3, we show 4 images of the LIDC-IDRI database where the circle which maximizes the standard Hough transform is located in the trachea. Another limitation of the standard Hough transform is that, in some cases, the circle which maximizes the voting score cannot properly fit the vessel contours. This is illustrated in Fig. 4. This lack of accuracy is solved in the proposed method in 2 ways. On the one hand, we consider the standard deviation of the image intensity inside the circle and, on the other hand, we improve the circle location using the parametric snake model introduced in [6]. In Fig. 5, for one tomography of CHUS database, we show 8 out of 234 circles selected by similarity with the reference one using criterion (3). All 234 circles are inside the vessels, most of them in the aorta. The first selected circle is in the innominate trunk and the last one is in the iliac artery. We point out that we consider that our method works properly if all selected circles are inside the vessels.

Fig. 3.
figure 3

Examples of images of the LIDC-IDRI database where the circle which maximizes the standard Hough transform is located in the trachea.

Fig. 4.
figure 4

Examples of images of the LIDC-IDRI database where the circle which maximizes the standard Hough transform does not properly fit the vessel contours.

Fig. 5.
figure 5

Examples of some of the 234 circles selected by similarity with the reference one using criterion (3) for one image of the CHUS database.

In Fig. 6, we show, for 4 images of the CHUS database, the KDE of the probability distribution of the image intensity inside the vessels (\(\hat{f}_{h}^{1}(s)\)), in a neighborhood of the vessels (\(\hat{f}_{h}^{2}(s)\)), and outside the vessels (\({\hat{g}}_{h}^{1,2}\)), computed using the proposed approach. We observe that the value of a is close to 0.5. This is due to the fact that the size of the sample \(S_2\) in the vessel neighborhood is the double of the area of the sample \(S_1\) inside the vessels.

Fig. 6.
figure 6

KDE of the probability distribution of the image intensity inside the vessels, \(\hat{f}_{h}^{1}(s)\), in a neighborhood of the vessels, \(\hat{f}_{h}^{2}(s)\), and outside the vessels, \(\hat{g}_{h}^{1,2}(s)\), computed using the proposed approach for 4 images of the CHUS database. For each case, we also show the estimated proportion of vessel points, a, using (7).

5 Conclusions

In this paper we propose a new method for the automatic and robust computation of a collection of circles in the vessel contours and a quality criterion for the circle selection. From this information, we compute the KDE of the local probability density function inside and outside the vessels, which can be very useful in vessel segmentation techniques. Moreover, the centers of the selected circles can be used as seed points inside the vessels. As shown in the experimental results, the Hough transform voting score alone is not a reliable criterion for circle selection. The circle quality criterion proposed in this paper provides a much more robust estimation and the results in a large variety of CT scans are very promising. The shapes of the KDE estimations, shown in Fig. 6, suggest that the usual normal distribution model to approximate the probability distribution inside the vessels is not very accurate. This is likely due to the fact that the image intensity values are lowered near the boundary of the vessels because of the influence of the surrounding tissues.