A subpixel edge detector applied to aortic dissection detection
Abstract
224
Full text
A Subpixel Edge Detector Applied to Aortic Dissection Detection A. Trujillo-Pino1, K. Krissian1,D.Santana-Cedr´es1,J.Esclar´ın-Monreal1, and J.M. Carreira-Villamor2 1Centro de Tecnolog´ıas de la Imagen (CTIM) Universidad de Las Palmas de Gran Canaria (ULPGC) 2Universidad de Santiago de Compostela (USC) {agustin,krissian,jesclarin}@dis.ulpgc.es, [email protected], [email protected] Abstract. The aortic dissection is a disease that can cause a deadly situation, even with a correct treatment. It consists in a rupture of a layer of the aortic artery wall, causing a blood flow inside this rupture, called dissection. The aim of this paper is to contribute to its diagnosis, detecting the dissection edges inside the aorta. A subpixel accuracy edge detector based on the hypothesis of partial volume effect is used, where the intensity of an edge pixel is the sum of the contribution of each color weighted by its relative area inside the pixel. The method uses a floating window centred on the edge pixel and computes the edge features. The accuracy of our method is evaluated on synthetic images of different thickness and noise levels, obtaining an edge detection with a maximal mean error lower than 16 percent of a pixel. Keywords: Aortic Dissection, Subpixel Edge Detection, Anisotropic Diffusion. 1 Introduction 1.1 The Aortic Dissection To understand the aortic dissection, we need to know the artery structure. The wall of an artery is formed by three layers, from inside to outside: the tunica intima, the tunica media and the tunica adventitia (fig. 1, left). Under normal conditions, the blood flows inside the vessel lumen (fig. 1, center). But, in the case of an aortic dissection, the normal blood flow changes. The tunica intima breaks and the blood gets into the tunica media (fig. 1, right). Therefore, we have two flows: the normal flow inside the vessel lumen, and the flow inside the tunica media, called false vessel lumen. At the beginning of the generation process of an aortic dissection, we have a normal flow. When the dissection occurs, in most cases, there are one or two This work has been supported by the project SIMVA, TIN2009-10770 from the Spanish Ministry of Science and Innovation. R. Moreno-D´ıaz et al. (Eds.): EUROCAST 2011, Part II, LNCS 6928, pp. 217–224, 2012. c Springer-Verlag Berlin Heidelberg 2012
218 A. Trujillo-Pino et al. Tunica adventitia Arterial wall layers Normal Dissection Tunica intima Tunica media Fig. 1. Artery structure (Courtesy of A.D.A.M. Inc.) and Normal vs Dissection blood flow (Courtesy of Dr. Grasshopper) tears (also called entry points) that connect with the vessel lumen. At this moment the false vessel lumen is created (extraluminal wall channel). A dissection may have a variable separation, length and thickness (from few millimeters to several centimeters). When there are no more entry points, we find an intramural hematoma, that can progress to a complete dissection, through a secondary rupture of the tunica media. 1.2 Aortic Dissection Classification Left carotid artery Left subclavian artery Brachiocephalic artery Type I Type II Type II Proximal (A) Distal (B) DeBakey Stanford Fig. 2. DeBakey and Stanford aortic dissection classification (Courtesy of Richard J. Shemin, MD; Praveen Menon,MD; Ara Ketchedjian, MD Medscape Education (Medscape Cardiology)) There are several types of classification, based on the starting point, the type and length of the injury and the symptoms duration. Initially, the DeBakey classification was used. It was defined by Dr. Michael Ellis DeBakey, a worldrenowned cardiovascular surgeon and scientist [2]. It divides the dissection in three types (fig. 2, left): Type I, type II and type III (IIIA or IIIB depending on the dissection end location). But now, the Stanford classification, based on the prognosis differences and the therapeutic treatment, is the standard one. It divides the dissection in two
A Subpixel Edge Detector Applied to Aortic Dissection Detection 219 types (fig. 2, right): Type A (starts at ascending aorta and can be extended to aortic arch and descending thoracic aorta) and type B (everyone else). Based on the Stanford classification, we have the following statistics: from 58 to 72 percent of the dissections are of type A, and from 28 to 42 percent are of type B. Moreover, 70 percent of the dissections end with a rupture of the artery wall, with a bled on adjacent structures, such as pericardial bled (more frequent on type A) [1]. 1.3 Diagnostic Images Angiography has been replaced now by other imaging techniques, such as computed tomography (CT) or magnetic resonance (MRI). In the fig. 3 we can see the axial, coronal and sagittal plane of a CT; with a zoom on the dissection region. The arrow indicates the location of the aortic dissection. Fig. 3. Axial, coronal and sagittal plane of an aortic dissection. The black arrow indicates the location of the dissection inside the aorta. To contribute to the diagnosis of the medical problem, the dissection must be located. The correct estimation of edge features is an important step to extract higher-level information. The subpixel edge detector proposed by Agust´ın Trujillo Pino[7], uses a floating window to calculate the edge features with high accuracy. We propose to use this subpixel edge detector for locating the aortic dissection edges, because it has a thin planar structure, that divides the interior of the aorta in two or more parts. For the experiments, we use a synthetic model of the structure, and apply the method to different configurations of thickness and noise. 2Method 2.1 The Subpixel Method An edge is a virtual line between two regions with different intensity levels. Normally, the standard methods only indicate the edge pixels. They usually use numerical information of the pixels of a particular neighborhood to decide if it
220 A. Trujillo-Pino et al. is an edge pixel or not. However, when accuracy is important, for example when measuring the dissection thickness; a pixel level detection isn’t appropriate. A subpixel edge detection must be used. The subpixel edge detection method proposed by Trujillo [7], is based on the partial volume effect inside the edge pixels. Most methods assume that an image is a continuous and differentiable function. The subpixel edge detection method assumes that an edge is a discontinuity in the intensity values of the function, delimiting the border between two objects. The intensity of an edge pixel is the sum of the contribution of each value, weighted by its relative area inside the pixel. Other methods apply any of the following techniques: moment [3], least squared [4] or interpolation [6]. The main advantage of this subpixel method is that all the edge features (sub-pixel position, orientation, curvature and change in intensity at both sides) are computed with total accuracy in ideal images. At the beginning, the subpixel algorithm smooths the input image using a 3×3 mask obtaining the image G. Afterwards x and y derivatives are calculated at the (i, j) pixel, and according to the maximum absolute value, the orientation (vertical or horizontal) of the window centered in this pixel is decided. Once known that the partial value is greater than the threshold, the method computes the limits of the floating window (fig. 4). In the vertical case, the window width is constant, three pixels, and the maximum height is nine pixels. The height limits of the window are set to be the pixels of minimal derivative values on each side of the center pixel within each column or row of nine pixels. The use of the floating limits allows to detect close-by edges (separated by four pixels or more). Fig. 4. Floating window of the subpixel edge detector In the next step, the method computes the intensity values at both sides of the edge (eq. 1 and 2). This calculation is done considering the sign of the product between x and y derivatives. In all cases, the pixels used to compute the intensity are indicated by the floating limits computed before (l1,l 2,m 1,m 2,r 1,r 2). B=Gi−1,j+l1+Gi,j+m1 2if Gx(i, j)Gy(i, j)>0 Gi,j+m1+Gi+1,j+r1 2if Gx(i, j)Gy(i, j)<0(1)
A Subpixel Edge Detector Applied to Aortic Dissection Detection 221 A=Gi,j+m2+Gi+1,j+r2 2if Gx(i, j)Gy(i, j)>0 Gi−1,j+l2+Gi,j+m2 2if Gx(i, j)Gy(i, j)<0(2) There are cases where the edges are very close. For example, the dissection region could have a thickness of two or three pixels. The subpixel method can detect this type of edges from the derivative values after the limits. If these values are very high, we will be in this case, and the value of the intensity will be computed using the original image. The last step is computing the sum of every column. This is possible using the floating limits computed in previous steps (eq. 3). With the values of the intensity at both sides of the edge pixel and the sums of the columns, we can compute the parameters of the edge. The method finds the coefficients of the parabola (y=a+bx+cx2) which best fits the edge (eq. 4). Applying these steps to every edge pixel, the edges of the image are obtained with subpixel accuracy. The values of a,band care obtained from as follows: SL= l2 k=l1 Gi−1,j+kSM= m2 k=m1 Gi,j+kSR= r2 k=r1 Gi+1,j+k(3) c=SL+SR−2SM 2(A−B)+A(2m2−l2−r2)−B(2m1−l1−r1) 2(A−B) b=SR−SL 2(A−B)+A(l2−r2)−B(l1−r1) 2(A−B) a=2SM−(1 + 2m2)A−(1 −2m1)B 2(A−B)−1+24a01 + 48a11 12 c(4) 2.2 Noise Reduction When the input image is noisy, it must be filtered previously to better detect the edges. For this purpose, the Noise Reducing Anisotropic Diffusion filter (NRAD) [5] is used. The NRAD method filters the noise preserving the edges, like Perona and Malik method: u(0) = u0 ∂u ∂t =div(c∇u)(5) This equation (5) uses a diffusion coefficient, that is a decreasing function of the gradient norm. This diffusion function depends on a parameter related to the image gradient that must be set by the user. However, the NRAD filter (eq. 6), uses a diffusion function 1 −k, that depends on the local statistics of the image and on the noise model. u(0) = u0 ∂u ∂t =div((1 −k)∇u)=div σ2 n vg ∇u(6) An additive noise model is used in the experiments, g=f+n,wherethe observed image, g, is equal to the sum of the ideal image, f, plus a Gaussian additive noise, n.
222 A. Trujillo-Pino et al. Equation 7 shows that the corrected image fis calculated using an estimator, and it is the sum of the local mean gand the product between the coefficient k and the difference between the image gand its local mean g. The coefficient k(eq. 8) is the result of the division between the local variance of f, vf, and the local variance of g, vg. The parameter σ2 nis the global noise variance, computed at every iteration using a region of interest. The partial differential equation (6) is based on this estimator. f=g+k(g−g)(7) k=vf vg =vg−σ2 n vg (8) For this application the scalar version of this filter is used, but a matrix extension is also proposed in the original paper [5]. In the figure 5, we can see the difference of applying the edge detector without and with the NRAD filter. Fig. 5. Subpixel result vs Subpixel+NRAD result 3Results In order to run the experiments the opensource software AMILab (http://amilab.sourceforge.net) has been used. AMILab is a visualization and processing image software, but is also a complete crossplatform system that includes its own scripting language and a lot of algorithms, from simple operations like resizing an image, to segmentation algorithms. If we look at an axial cut of a CTA of an aortic dissection, the aorta contains a thin black line. This line is the dissection wall. To measure the accuracy of the experiments, a set of synthetic images is used. These images are the combination of a circle and a ring, similar to an axial cut of an aortic dissection. As the features of the synthetic images (the radius of the circle and the internal and external radii of the ring) are known, the accuracy of the subpixel detector could be measured. The experiments made were:
A Subpixel Edge Detector Applied to Aortic Dissection Detection 223 –The first type tests the method with different values of the thickness of the center region, our synthetic dissection. –In the second type, we select a thickness with a low error level and add noise to the image, from 0 to 20 (standard deviation). –Finally, we combine all the thicknesses with all the noise levels. Figure 6 a), represents the subpixel position error when varying the thickness of the ring inside the synthetic image. We can see a mean error lower than 0.2and a standard deviation lower than 0.32 pixels. There is a big difference between a thickness of one and two pixels, because with one pixel one of the intensities near the edge is missed, and the initial hypothesis does not hold. However, the mean error remains lower than 0.2pixels. a) b) c) d) Fig. 6. Subpixel position error: a) with different thicknesses, b) with different noise levels, c) mean and d) std combining thicknesses and noise levels Figure 6 b) represents the subpixel position error when varying the noise level on a synthetic image with a thickness of 4. In this set of tests, the NRAD method is first applied to reduce the noise, and the subpixel method is applied to detect the edges. With the highest noise value, the mean error and standard deviation obtained are lower than 0.16. Finally, fig. 6 c) and d) represent the mean and the standard deviation when combining different thicknesses and noise levels. In both graphics, the error is still lower than 0.32 in the worst case (high level noise with a thickness of one).
224 A. Trujillo-Pino et al. 4 Conclusions and Future Lines Throughout this paper, we have described the medical problem: its definition, classification and the images used for diagnostic. Then, the need of a subpixel level edge detector has been motivated. After describing our subpixel method, we have also added to the process the NRAD method, to reduce the noise as a preprocessing step. Then, different experiments have been designed with different dissection sizes and noise levels, showing the robustness and accuracy of our method. From this analysis, we can conclude that the combination of the subpixel detector and the NRAD method is a very accurate process for aortic dissection detection. For example, in a pixel that meets the partial volume effect with two intensities on both sides of the edge, in the worst case, an edge detection is obtained with a maximal mean error lower than 16 percent of a pixel. In the future, we want to incorporate the measure of the dissection wall thickness, to implement the subpixel edge detection method for 3D images (subvoxel detection) and use the subpixel information to obtain a full segmentation of the dissected aorta. References 1. Capasso, P.: Terap´eutica endovascular en la aorta tor´acica. In: Villamor, C., Mart´ın, J., Moliner, M. (eds.) Diagn´ostico y terap´eutica endoluminal. Radiolog´ıa intervencionista, pp. 303–322. Masson, Barcelona (2002) 2. DeBakey, M.E., Cooley, D.A., Creech Jr., O.: Surgical considerations of dissecting aneurysms of the aorta. Ann. Surg. 142, 586–592 (1955) 3. Da, F., Zhang, H.: Sub-pixel edge detection based on an improved moment. Image Vision Comput. 28, 1645–1658 (2010) 4. Ye, J., Fu, G., Poudel, U.P.: High-accuracy edge detection with blurred edge model. Image and Vision Computing 23(5), 453–467 (2005) 5. Krissian, K., Aja-Fern´andez, S.: Noise-Driven Anisotropic Diffusion Filtering of MRI. IEEE Transactions on Image Processing 18(10) (October 2009) 6. Xie, Q.L.S.H., Quin, S.: Sub-pixel edge detection for precision measurement based on canny criteria. Key Engineering Materials 295, 711–716 (2005) 7. Trujillo-Pino, A.: Localizaci´on de contornos con precisi´on sub-pixel en im´agenes bidimensionales y tridimensionales Director: ´ Alvarez Le´on, L. Co-directors: Esclar´ın Monreal, J., Alem´an Flores, M., Doctoral Thesis. Universidad de las Palmas de Gran Canaria, Computer and Systems Department (2004)