Disclosed embodiments relate to methods, apparatus, and systems for medical image analysis. Specifically, they relate to methods, apparatus, and systems for retinal image analysis.
Analysis of blood vessels from retinal images has clinical significance since retinal blood vessels are the first ones that show the symptoms of several pathologies, such as arterial hypertension, arteriosclerosis, and other systemic vascular diseases.
In order to detect such symptoms and to perform diagnosis, it is typically required to perform a series of image processing tasks. Currently available retinal analysis systems require significant manual input from the medical personnel, are subjective, and analysis is time-consuming and prone to error. Accurate, objective, reliable, and automatic (or semi-automatic) retinal image medical systems are currently not available with the performance required for routine clinical use.
As an example, the computation of the retina arteriovenous ratio (AVR), that is, the relation between afferent and efferent blood vessels of the retinal vascular tree, is significant in order to diagnose diseases and evaluate their consequences. Due to the unavailability of commercial retinal image analysis systems with precise and robust estimation of the AVR metric, analysis of the AVR is usually computed by a tedious and time consuming manual process. This the results in more expensive, subjective, and ophthalmologist-dependent AVR computations. Similarly, other clinical parameters derived from retinal image analysis are tedious and their manual computation is subjective.
Automatic retinal image analysis is an important field in order to calculate a series of biomedical parameters obtained from relevant structures in the retina. Blood vessels, i.e., arteries and veins, are among these relevant structures as their segmentation and measurement help to spot the presence of pathologies such as arterial hypertension, diabetic retinopathy, and other pathologies.
Among the many challenges related to the automatic analysis of retinal blood vessels, one of the most challenging problems to overcome is the automatic classification of said vessels into artery or vein. This is an important task in medical analysis in the automatic calculation of the AVR ratio and other similar clinical parameters. Nowadays, all the advances regarding artery/vein classification offer solutions based on manual vessel labeling, which is a tedious task for medical experts prone to high intra-expert and inter-expert variability due to factors such as exhaustion, expertise or image quality. Automatic approaches, method, or systems are not currently commercially available or disclosed in the patent literature.
Disclosed embodiments include a method for analysis of retinal images implemented in a medical apparatus or system including functionality for 1) locating optical disks in retinal images, 2) detecting vessels, 3) extracting vessels, 4) measuring vessel calibers, 5) classifying vessels, and 6) computing a plurality of clinical parameters.
According to one embodiment, and without limitation, the method is implemented in a medical system with one or more processors and comprises the method steps of: (a) locating an optical disk on the retinal images and establishing a plurality of circumferences centered at the disk; (b) detecting a plurality of vessels within a region defined by said circumferences' radii using a crease-based algorithm; (c) extracting a plurality of vessel segments based on a deformable models (snakes) algorithm; (d) measuring a plurality of vessel calibers; (e) classifying each vessel as a vein and an artery; and (f) computing an arteriolar-to-venular ratio.
According to one embodiment, the method performs the all the retinal image analysis tasks automatically without requiring operators input. The method for automatic analysis of a retinal image implemented in a medical system with one or more processors comprises: (a) automatically locating an optical disk on the retinal image and establishing a plurality of circumferences centered at the disk 102; (b) automatically detecting a plurality of vessels within a region defined by said circumferences' radii using a crease-based algorithm; automatically extracting a plurality of vessel segments based on a deformable models (snakes) algorithm; and automatically classifying said plurality of vessel segments employing 1) an automatic vessel classification method to produce an initial classification, and refining the vessel classification based on a vessel tracking method.
Disclosed embodiments are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings.
As shown in
According to one embodiment as shown in
A. Locating the Optical Disk and Analysis Circumference Radius
The vascular tree of the eye is inherently radial. Consequently, AVR computation involves vessels located at a concentric areas (analysis circumference) 402 around the optic disk center 404, as shown in
According to one embodiment, the method includes a step to automatically locate the optical disk based on the fuzzy circular Hough transform or using active contours. In an alternative embodiment, the system is semi-automatic and allows a medical professional such as an ophthalmologist to point out the the optic disk center 404 and the analysis circumference radius. According to this embodiment, the system allows the medical expert to select the optic disk center 404 and choose the diameter and number of radial concentric circles 402. In a third embodiment, both options are available and the method can be fully automatic or semi-automatic based on the requests of the operator (i.e. based on the operator instructions 12).
B. Detecting Vessels
According to one embodiment, as shown in
A crease can be defined as a continuous zone of points on the image, shaping a highest or a lowest level in its environment. When images are seen as landscapes, blood vessels can be considered as ridges or valleys, that is, regions which form an extreme and tubular level on their neighborhood.
According to one embodiment, the method computes the creases based on a geometric based approach, the Level Set Extrinsic Curvature (LSEC). Given a function L: d →
, the level set for a constant l consists of the set of points {x|L(x)=l}. For 2D images, L can be considered as a topographic relief or landscape and the level sets are its level curves. Negative minima of the level curve curvature κ, level by level, form valley curves, and positive maxima ridge curves. The 2D LSEC can be expressed in terms of the derivatives of L according to tensorial calculus as:
κ=(2LxLyLxy−Ly2Lxx−Lx2Lyy)(Lx2+Ly2)−3/2 (1)
where
The LSEC approach produces a large dynamic range of values, but only a few points at the upper and lower bounds indicate curvature. In some cases, these points, called outliers, are not as centered as other points, also with a high value but not labelled as outliers. As a consequence, the computed creases are not centered in the structures. Additionally, the usual discretization of LSEC is ill-defined in an important number of cases, giving rise to unexpected discontinuities at the center of elongated objects. This is due to the very local definition of the LSEC, which is not appropriate for the discrete domain. These issues are solved through the improvement of this method by a multilocal solution, the Multi-local Level Set Extrinsic Curvature (MLSEC). The results obtained with MLSEC can be enhanced by pre-filtering the image gradient vector field using structure tensor analysis and by discarding creaseness at isotropic areas by means of the computation of a confidence measure.
In 2D, the level curve curvature κ can be defined through its geometric relationship with the slope lines, which are the lines integrating the gradient vector field w and are, therefore, orthogonal to the level curves. Due to the orthogonality, when level curves are parallel straight lines, slope lines are also parallel and straight, and when the level curves bend, the slope lines diverge/converge. This is the reason why divergence operator is used to calculate maximal/minimal curvatures of the level curves.
If we denote as d→
, the curvature for d—dimensionality can be defined as:
κd=−div(
In 2D (d=2), lets take the point x where the divergence of a 2D vector field u has to be computed. Let be a simpled closed curve in
2 parameterized by l, which encloses the point x; let n be its unitary normal vector and ω the area enclosed by
. Then the divergence of u at x can also be defined as:
According to one embodiment, local definition of κd is substituted by a multi-local definition based on a discretized version of eq. 3, where the multi-locality is achieved by assuming that a neighborhood around a point x or, analogously, its closed boundary
, is a selectable parameter. That is, to compute div(
around the point x will be used. For a given dimension d we will denote by
. MLSEC operator for a discrete domain is defined as a summation for all the neighbors in the area ω enclosed by
:
where r stands for the selected adjacency and will be given by the specific (for example, in 2D we can choose 4 or 8 adjacency), and d is the dimensionality of the space. Once
x; σ1), the structure tensor M is defined to be the symmetric and semi-positive definite d×d matrix
M(x; σ1)=(x; σ1)*(w(x)·wt(x)) (5)
where the convolution “*” is element wise.
The eigenvector which corresponds to the highest eigenvalue of M(x; σ1), w′(x; σ1), yields the dominant gradient orientation at x, where “dominant” means inside the neighborhood (x; σ1). A suitable choice for the neighborhood
(x; σ1) is a d-dimensional Gaussian,
(x; σ1)=G(x; σ1). The eigenvector which corresponds to the lowest eigenvalue of M(x; σ1), namely v′(x; σ1), yields the dominant orientation at x, which is perpendicular to the dominant gradient orientation. This analysis assumes that within each neighborhood there is a single dominant orientation. In order to verify this assumption, a normalized confidence measure is introduced: to each orientation we associate a real value C ε [0, 1] which can be computed from the eigenvalues of the structure tensor. Similarity of the eigenvalues of the structure tensor implies isotropy, and, as a result, C should be close to zero. Therefore, denoting by λ1, . . . , λd the eigenvalues of M, a logical choice consists of testing whether the sum of quadratic difference of them:
exceeds a predefined threshold c characteristic for λΔ in the structure we want to enhance. A suitable function is:
C(x; σ1; c)=1−e−λ
C. Crease Extraction
The method includes a technique for crease extraction 106. In one particular embodiment of the method, and without limitation, the creases and valleys are computed according to the following method steps as shown in
s
11(x; σ1; σD)=G(x; σ1)*(Lx(x; σD)Lx(x; σD))
s12(x; σ1; σD)=G(x; σ1)*(Lx(x; σD)Ly(x; σD))
s22(x; σ1; σD)=G(x; σ1)*(Ly(x; σD)Ly(x; σD))
Once the methodology for crease extraction is established, the parameters involved must be fixed. The retinal image quality is highly variable due to several factors as different contrast levels, different light sources, or the presence of background noise. Even different areas in an image do not share the same characteristics. For this reason, the use of static values for the involved parameters in the crease extraction process is not suitable.
Most of the angiographies do not have an uniform contrast all over the image, since this feature is usually local to some regions. Therefore, the contrast analysis will be performed just in the region of interest, that is, over the analysis circumference. The grey level of the pixels in the analysis circumference is represented in a linear way, which we call linear profile, as shown in
The m extreme values exti; i=1, . . . , m of the linear profile are used to determine the contrast: the minima position will be around the middle of valleys and the maxima position will be between valleys. A large variability among these values shows a high quality contrast whereas a small variability shows a low quality contrast.
According to a particular embodiment, and without limitation, the computation of the variability has several steps. First, a median filter is applied to the vessels' profile in order to reduce noise from the original image. Afterwards, extreme values, that is, maxima and minima, are located in the smoothed vessels' profile. An irregular signal is obtained connecting the extreme values. Thus, the contrast estimation is given by the fluctuations among maxima and minima: higher fluctuations imply higher contrast in the research circumference. The variability is computed as follows:
where m is the number of gray extreme values exti and μ is their mean value.
The variability is used to establish empirically three categories of image contrast, low (variability≧0), normal (variability≧12), and high (variability≧24). After that, the parameter set can be empirically adjusted for each category.
According to one embodiment, the crease extraction process has a preliminary step in which the image variability is computed in order to classify the image into one of the three contrast categories. After that, the creases are extracted using the parameter set of the selected category. Thus, the crease extraction process will lead to similar results independently of the image quality.
According to one embodiment, as shown in
Once the candidate points CVr have been selected for each circumference, the next step consists of linking the candidate points of consecutive circumferences to form blood vessels. A point cvjr−1 is linked to an adjacent point cvkr if the angle θ between them is less than a threshold ε, as shown in
According to one embodiment of the method, and without limitation, for each pair of consecutive points of a vessel l, a vote is added to l. At the end of the tracking, only the vessels with more than
votes are considered, where 2n+1 is the number of circumferences analyzed.
D. Vessel Measurement
After detecting the vessels, the method performs the measurement of vessel diameters 208 over the analysis circumference. According to one embodiment, vessel measurement is based on a snake or active contours. A snake or active contour is defined as a polygonal surface that evolves within the image until it matches the boundaries of a target object. Its shape is directed by forces and it becomes stable when it minimizes its energy function, that is, when the snake reaches the target object.
The snake is defined as v(s)=┌x(s), y(s)┐, where x(s), y(s) are x, y coordinates along the contour and s ε ┌0, 1┐ is the parameter domain. The energy functional to be minimized is:
∫01 Esnake(v(s))ds=∫01 Eint(v(s))ds+∫01 Eext(v(s))ds (13)
where Eint represents the internal energy, which controls the flexibility and elasticity of the snake, and Eext is the external energy which moves the snake toward the target objects.
According to one embodiment of the method, the proposed snake model used is adapted in order to use specific knowledge of the domain. The adaptation includes the shape, the energy terms which drive the growing direction, and the seed, that is, the initial contour. The snake initialization is an important issue because the final adjustment depends on the initial contour. In one embodiment, the initial contour is the crease piece from the lowest to the highest circumference used in the previous tracking step. The seed of the proposed model consists of two parallel chains of nodes placed at both sides of the crease. The number of initial nodes of a snake Si is Ni=2Ci/R, where Ci is the number of points in the crease and R ε [3, 15] is a constant parameter which controls the sampling, that is, the model resolution.
The general profile of the vascular structures is like a pipe which keeps almost a constant orientation. For this reason, the direction and orientation of every snake vertex can be pre-established. The direction must be perpendicular to the seed angle and does not change during the model deformation. The seed angle is computed using the points of the crease located at both ends of the crease segment. The way of the movement is from the model seed to the vessel edge. There are also two kind of nodes in the model: the common nodes and the corner nodes as shown in
According to a particular embodiment, and without limitation, the internal snake energy is defined by:
Eint(v(s))=α(v(s))|vs(s)|2+β(v(s))|vss(s)|2 (14)
where the first term is the first order derivative and the second term, the second order derivative. The former makes the snake behave like a membrane and the latter, makes it act like a thin plate. The derivatives are estimated using the finite differences technique. In this embodiment, the parameters have different values for each kind of node vi:
where {circumflex over (α)} and {circumflex over (β)} are constant. Corner nodes have no internal energy, which implies the presence of first and second level discontinuities in the contour corners. Consequently, corner nodes fit the vessel edges better because no attraction forces trying to keep them together.
According to one embodiment, the external energy performs the outer forces so it includes the knowledge about the domain. It is defined as:
Eext(v(s))=γ
where
Edist(vi)=dist(vi, Icanny) (17)
where Icanny is the Canny edge image computed from the original angiography.
The gradient energy Egrad is just a stopping force. The gradient for a node vi is:
grad(vi)=I({circumflex over (v)}i)−I(vi) (18)
where I(vi) is the grey level on the position of the node vi in the original image and I({circumflex over (v)}i) is the grey level on a possible new position of the node in the advance orientation. The gradient energy is defined by:
The pixels involved in this computation are smoothed with a median filter in order to prevent noise effects in this term.
The stationary energy Estat is also a stopping force. It measures the adjustment among each node vi and its neighbors vi−m . . . vi+m, where m represents the m neighbor vertices. This term solves two main issues: the intravenous noise and the edge discontinuities. The former can attract nodes to inner areas of the blood vessel, preventing a correct evolution of the snake. The latter can make the model grow without control so that the estimations of the snake energy will be wrong. The underlying idea of the stationary energy is that there is a high probability that a node will stop if all the adjacent nodes have yet stopped, that is, if all the adjacent nodes have reached the minimum energy. On the contrary, it is not probable that a node will stop if all the adjacent nodes keep on moving. The stationary energy for a node vi is defined as follows:
where Eext is the external energy in a subset of m nodes around the node vi. As a limited function is required in the crease-edge interval, the exponent of this expression must be positive to get a constrained value.
The evolution of the weighting terms involved in the external energy between the crease and the edges involves several steps. The dilation pressure
Once the snake energy is minimized, some nodes can be placed outside or inside the vessel edges due to noise or edge discontinuities. This way, the measure of the vessel diameter would be wrong as the snake is not correctly adjusted to the vessel contours. For this reason, the snake needs to be checked in order to detect and correct these wrong nodes.
Since the vascular structures are measured in limited environments of the blood vessels, the final configuration of the model is known. It can be approached through a tetrahedron or even a parallelogram, where two sides are the vessel edges and the other two, the vessel diameter. The information about the topological shape is used to detect wrong nodes in the model, which can be corrected by means of a regression model. This topological check has two steps: the detection of wrong nodes and their correction by means of a linear regression model.
Once the contour has minimized its energy function, there are different ways to locate wrong nodes. These include the distance from the vertex to the seed, which should be reasonable according to the image resolution; the angles between nodes, which must be parallel to the seed angle, and the number of iterations among adjacent nodes, which must be quite similar.
Taking into account these conditions, a node vi will be wrong if:
where dist is the shortest distance from the seed to the node; ang(vi, vi+1), the angle between adjacent nodes; ang(seed), the angle between the seed and the x axis; iter(vi), the number of iterations needed to reach the final position of vi; and k the number of nodes in each side of the snake. λdist, λang, and λiter are the highest allowed caliber, the threshold to compare angles, and the threshold to compare iterations, respectively.
As soon as the wrong nodes are marked, their positions are corrected using a linear regression model. The right nodes of each side of the vessel are used as the model variables to get both linear regression models, which should be aligned to the vessel margins.
The snake must have a ratio of right nodes and a regression accuracy in order to guarantee appropriate corrections. An exact linear slope is warranted if there is a minimum proportion of nodes in each side of the snake (70%-90%) whereas the regression accuracy can determine whether the model is suitable enough to describe the relationship between the coordinates of the variables. In this way, it is useful to employ the correlation coefficient:
where sxy2 is the model covariation; sx2, the x variation; and sy2, the y variation. Values for R2 near 1 indicate an adequate model adjustment, whereas values near 0 show a bad adjustment. According to one embodiment, if R2 is in the interval [0.80; 0.95] the model is considered adequate and the nodes can be adjusted correctly.
Once the vessel diameter is measured from the snake, the computed value must be corrected because the angiography was smoothed in order to discard noise. The standard deviation of the smoothing algorithm often shifts the real edge positions so the performed measurement can be imprecise.
According to one embodiment, in order to improve the measure of the vessel diameter, the method includes a technique to approach the vessel section from a parabolic regression model. Three points are needed for this method: the final boundary position at both sides of the vessel (p0, p1) as well as the crease position. Taking the line from the optic nerve center as the x axis and the grey level of the smoothed image as the y axis, a parabola with a given profile a0/a1 (kurtosis) is generated. Consequently, the diameter depends both on the smoothing deviation σ and the vessel profile. A diameter estimation is given by the intersection among the parabola and the points (p0, p1), but the y value must be recomputed as follows:
where ydd is the gray level after smoothing the region, which results in the smoothing filter having a lower effect in the final estimation of the vessel diameter.
D. Computation of the Arteriovenous Ratio
Once the vessels are detected and classified 210, according to one embodiment, the AVR is computed 212 as follows:
where CA and CV are the average caliber of the arteries and veins, respectively, found in the analysis area (
In alternative embodiments, other clinical parameters beyond the AVR are computed using their direct definition based on the classification of arteries and veins, as well as the vessel calibers. As an example, and without limitation, any metric for summarizing retinal vessel calibers from retinal images is implemented in the system and readily available for reporting. As an example, and without limitation, these clinical parameters include Parr's metric for quantification of the arteriolar caliber, Hubbard's metric for retinal venular caliber quantification, the Parr-Hubbard ratio, central retinal artery equivalent (CRAE) metric, central retinal vein equivalent (CRVE), CRAE to CREV ratio, CRAET (trunk variant), CRAEB (branch variant), AVRT (ratio using CREAET), and AVRB (ratio using CRAEB).
E. Medical Apparatus and System
The previous sections described in detail a method for retinal image analysis designed to be implemented in a medical system with one or more processors comprising the method steps of: (a) locating an optical disk on the retinal images and establishing a plurality of circumferences centered at the disk 102; (b) detecting a plurality of vessels within a region defined by said circumferences' radii using a crease-based algorithm 104; (c) extracting a plurality of vessel segments based on a deformable models (snakes) algorithm 106; (d) measuring a plurality of vessel calibers 108; (e) classifying each vessel as a vein and an artery 110; and (f) computing an arteriolar-to-venular (AVR) ratio 112. According to one embodiment, and without limitation, the method is implemented in an apparatus containing one or more processing elements 20 (e.g. microprocessors, digital signal processors, microcomputers, or any other processing hardware), one or more memories 22 (e.g. RAM, ROM, storage memory, or any other memory device), one or more input hardware elements for controlling and operating said apparatus (e.g. keyboard, mouse, touch screen, or any other input hardware) 12, and one or more output hardware elements for displaying the results of the analysis 14 (e.g. display or any other output hardware). In particular embodiments, such system includes retinal image acquisition hardware and software to acquire the input retinal images 10 required for said method to perform said retinal image analysis processing steps. Furthermore, such apparatus implementing said method can be part of a larger retinal image analysis system including a web-enabled platform for retinal image analysis. Such system comprises a web-enabled platform for operating said system of retinal image analysis and obtaining analysis results remotely. In a particular embodiment, the method is a computer-implemented method that transforms a general purpose computer into a medical apparatus for retinal image analysis. According to one embodiment, the method is embodied as a set of instructions for causing a hardware device having at least one processor or in at least one integrated circuit to perform a method of retinal image analysis. In another embodiment, the method is embodied on a storage medium or on a signal for transmission containing the process steps as a set of instruction for causing a hardware device to carry out the method.
Certain specific details are set forth in the above description and figures to provide a thorough understanding of various embodiments disclosed. Certain well-known details often associated with computing and software technology are not set forth in the following disclosure to avoid unnecessarily obscuring the various disclosed embodiments. Further, those of ordinary skill in the relevant art will understand that they can practice other embodiments without one or more of the details described below. Aspects of the disclosed embodiments may be implemented in the general context of computer-executable instructions, such as program modules, being executed by a computer, computer server, or device containing a processor. Generally, program modules or protocols include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Aspects of the disclosed embodiments may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote storage media including memory storage devices. Those skilled in the art will appreciate that, given the description of the modules comprising the disclosed embodiments provided in this specification, it is a routine matter to provide working systems which will work on a variety of known and commonly available technologies capable of incorporating the features described herein.
F. Alternative Embodiment: Automatic Retinal Analysis
According to one embodiment, the method performs the all the retinal image analysis tasks automatically without requiring input from an operator. The previous sections have already described embodiments for automatic analysis of all the steps, with the exception of the vessel classification step 110 which is accomplished with operator input 12 from the clinical practitioner or subject matter expert. By performing the vessel classification 110 automatically, it is possible to automatize the complete retinal image analysis method 100 and associated medical systems. Consequently, according to one embodiment, the method for automatic analysis of a retinal image implemented in a medical system with one or more processors comprises: (a) automatically locating an optical disk on said retinal image and establishing a plurality of circumferences centered at the disk 102; (b) automatically detecting a plurality of vessels within a region defined by said circumferences' radii using a crease-based algorithm 104; (c) automatically extracting a plurality of vessel segments based on a deformable models (snakes) algorithm 106; and (d) automatically classifying said plurality of vessel segments (110) employing 1) an automatic vessel classification method to produce an initial classification (
F.1. Step 1: Initial Vessel Classification
The lack of color constancy influences the vessel classification results. According to one embodiment as shown in
According to one embodiment, as shown in
The vessel classification procedure 110 is based on the vessel color since the experts base their classifications on the fact that the arteries are lighter than the veins, so it is necessary to analyze different color spaces. According to one embodiment, the color spaces analyzed are RGB, HSL and gray level, computing the gray scale as a lineal combination of the three channels in RGB color model (Gray=0.2999×R+0.587×G+0.114×B).
The first step a classification process is to define the features for the classification. Three types of features from the vessel segments regarding the involved image pixels can be used depending on the embodiment: (a) features based on the whole vessel segment, e.g., the mean of the vessel segment pixels in a given color component; (b) features based on each profile pixel, considering the pixel value in a color component or the combination of pixel values in several color components for all pixels in each profile; and (c) features based on groups of pixels. According to one embodiment, the features considered are based in each cross section of the vessel segments, and the previously defined profiles 508 based on computing a measurement from the profile or selecting a series of values to represent the profile, e.g. the most repeated values in the profile pixels.
In summary, a color clustering strategy is applied to the vessels detected in each circumference independently. The feature vectors 606 used in this classification are based on the pixel intensities within the parallelograms computed in the previous stage, this is, the vessel segments. The feature vectors define profiles. In an embodiment, a profile is a 1 pixel thick segment perpendicular to a vessel. The number of profiles traced in each vessel, t, depends on the size of each parallelogram. The profile set, PR, is defined for all detected vessels as follows
PR={PRij, i=1 . . . n, j=1 . . . t} (25)
PRij{pk, k=1 . . . m}, pk=(xk, yk) (26)
where n is the number of detected vessels, t the number of the profiles in the i-th vessel, m is the number of points in the profile PRij, and (xk, yk) are the image coordinates of the profile point pk. Once the feature vectors are defined, the clustering algorithm 510 is applied to overlapped subsets of detected vessels in order to reduce the effect of uneven lightness and the number of unclassified vessels. To this end, the retinal image is divided into four quadrants 606 centered at the optic disc and the coordinate axes are rotated through an angle of 20° 610. Then, the k-means algorithm is applied to the feature vectors found in each rotated quadrant. Thus, the k-means algorithm computes the cluster centers for both artery and vein classes in each quadrant and then, using the Euclidean distance, each feature vector is classified into a class 608. The empirical probability of a vessel vi to be vein (Pv(vi)) or artery (Pa(vi)) in a specific quadrant is computed as follows:
where na
F.2. Step 2: Refining Vessel Classification Based on Vessel Tracking
According to one embodiment, the classification output in the previous step is further refined based on a vessel tracking method as shown in
The subsections below provide additional background of the techniques employed by the vessel tracking method according to particular embodiments.
F.2.a. Minimal Paths
According to one embodiment, the aim of this model is to find the curve C(s) that minimizes the following equation:
where Ω ε └0, L┘ and L is the length of the curve. The internal energy is the partial derivative of the curve with respect to its parameter s and controls the regularity in the contour. The external energy term is the potential and represents the desired image features.
Since s represents the arc-length parameter,
and the energy of the model has the following form:
E(C)−∫Ωw+P(C(s))ds−∫Ω{tilde over (P)}(x(s))ds (29)
The regularization of this model is achieved by the constant w>0. This term integrates as ∫Ω wds=w×length(C) and allows us to control the smoothness of the contour.
Given a potential P>0 that takes lower values near desired features, the methods looks for paths along that minimize the previous equation. Then, the surface of minimal action is defined as the minimal energy integrated along a path between a starting point p0 and any point p:
where p0,p is the set of all paths between the points p0 and p. Hence, the minimal path between two points p0 and p1 is computed from this surface map by backpropagation starting from p1 until p0.
In order to compute , a front propagation equation related to 30 is defined:
where t represents the time, {tilde over (P)}=P+w, and {right arrow over (n)}(s, t) is the normal to the closed curve C(., t). This equation evolves the front from a small circle centered at p0 until each point inside the image domain. The value of (p) is the time t when the front passes over p.
There are several numerical approaches to compute the surface of minimal action. According to one particular embodiment, and without limitation, the Fast Marching Method is used for real-time implementations. Given the potential values Pi,j=P(iΔx, jΔy) in a grid, where Δx=Δy=1, the Fast Marching method aproximates Ui,j by u using the following equation:
(max{u−Ui−1,j, u−Ui+1,j, 0})2+(max{u−Ui,j−1, u−Ui,j+1, 0})2=Pi,j2 (32)
Table Algorithm 1 details the steps involved in the computation of the surface of minimal action. Since the method selects the pixels in a specific order, it is only necessary one pass on the image.
The minimal path is obtained by back-propagation from p1 to p0 using a discrete steepest descent algorithm, selecting at each step the connected pixel with the lowest . However, this method accumulates an angular error, so more precise methods, such as Heun or Runge-Kutta is used in alternative embodiments.
F.2.b. Tracking Between Vessel Segments
Based on the minimal paths approach, a vessel tracking procedure is used in order to join the vessel segments in consecutive circumferences. Consequently, the local classification results obtained in all the connected circumferences are combined to increase the certainty of the labeling.
The retinal vessels emerge from the optic disc and run in a radial fashion towards the fovea. Circumferences centered at the optic disc intersect each vessel several times. In the vessel segmentation stage, the method detects almost all the intersections between the vessel tree and the circumferences, but, in some cases, the algorithm cannot detect some points. For this reason, it also computes the intersections between the vessel tree and the selected circumferences. If a point proposed by the vessel segmentation was not marked as part of the vessel tree computed in the previous stage, the method removes it.
Empirical experimental results have demonstrated that the inclusion of intermediate vessel points improves the performance. Thus, according to one embodiment the method computes new vessel points between two consecutive input circumferences of radii r1 and r2 as the intersection between a circumference of radius
and the segmented vessel tree. These new points are treated as input vessel points, this is, they belong to the initial or final point sets. The computation of the minimal path between two points p0 and p1 involves two steps: the computation of the surface of minimal action between p0 and p1 and the selection of the path with minimal cost by back-propagation.
The computation of requires the definition of the potential P, this is, the relation between the image features and the path cost. In this case, the minimal path should follow the vessels, so that its cost within the vessel tree should be low. This way, the potential function is defined as
P=|S−S(p0)|+w, (33)
where S is the smoothed image obtained in the vessel enhancemnt stage, S(p0) is the intensity value at the starting point, and w is the regularization parameter. The value of w controls the path roughness, thus, to decrease the path curvature, we have to increase this parameter or smooth the potential image.
Once the method has defined the potential image for a starting point p0, the surface of minimal action for p0 can be computed. The fronts are propagated from the starting circumference to the next circumference along the tree. A property in the ocular vessel tree says that the vessels propagate from the optic disc outwards. Consequently, a vessel point cannot be connected with a point in the same circumference. Therefore, according to one embodiment, the method only allows the connection between a point and other points in different circumferences, the so-called candidate points. If it reaches a point in the same circumference, it marks it as conflicting point.
However, the classic minimal path approach presented allows the front propagation in any direction. In our case, this means that a point can reach any other point in the image. To prevent this situation, the method includes restrictions in the computation of the surface of minimal action. Since it has segmented the vessel tree in a previous step, it uses this information as a new restriction. This way, the method allows the propagation over a point pr reached if it satisfies the following rules:
These restrictions make that the point p0 can only reach points that are located in the same vessel or in a vessel that crosses it. Since the method limited the reached points, it can compute the surface of minimal action by front propagation taking a small window centered in p0. Thus, the method can reduce both spatial and time complexity of the algorithm. FIG. 15 shows illustrative images and the corresponding surfaces of minimal action whose starting point is the central pixel of the window.
In the propagation, the front can reach vessel points in the same circumference (conflicting points) or in the next circumference (candidate points). When the front propagation stops, i.e., all the front points reach the next circumference, three situations can occur:
The front propagation is repeated in every two consecutive circumferences. Finally, the method obtains the vessel links by back-propagation on each front from the outer to the inner circumferences. To improve accuracy, several intermediate circumferences are defined between each two consecutive circumferences. The vessel points in these circumferences are obtained as the intersections between the segmented vessel tree and the intermediate circumferences.
Once the method has classified all the vessels within the analysis circumferences and the method obtained the list of connected vessel segments, a voting strategy decides the final category of each vessel. If there is the same number of veins and arteries in a connected list, its vessel segments are not classified.
F.2.c. Experimental Tests and Results
One embodiment of the proposed method was tested using the VICAVR data set in order to characterize its performance. This database includes 58 images centered at the optic disc with the vessel type manually labeled by three experts. The images were acquired from a Cannon CR6-45NM non-mydriatic retinal camera with a resolution of 768×576 pixels. The experts have labeled the same vessel segments detected within five circumferences concentric to the optic disc. The radii of the circumferences are equally spaced and they range from 1.5r to 2.5r, where r is the optic disc radius.
where ncorrected-classifications is the number of vessel segments, veins and arteries, correctly classified and nvessels is the total number of detected vessel segments that includes the number of vessel segments not classified.
As
While particular embodiments have been described, it is understood that, after learning the teachings contained in this disclosure, modifications and generalizations will be apparent to those skilled in the art without departing from the spirit of the disclosed embodiments. It is noted that the embodiments and examples have been provided merely for the purpose of explanation and are in no way to be construed as limiting. While the method/system/apparatus has been described with reference to various embodiments, it is understood that the words which have been used herein are words of description and illustration, rather than words of limitation. Further, although the system has been described herein with reference to particular means, materials and embodiments, the actual embodiments are not intended to be limited to the particulars disclosed herein; rather, the system extends to all functionally equivalent structures, methods and uses, such as are within the scope of the appended claims. Those skilled in the art, having the benefit of the teachings of this specification, may effect numerous modifications thereto and changes may be made without departing from the scope and spirit of the disclosed embodiments in its aspects.
This application is a Continuation-In-Part of U.S. patent application Ser. No. 13/018,430 filed on 2011 Feb. 1, which is incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
5311600 | Aghajan et al. | May 1994 | A |
6996260 | Skands et al. | Feb 2006 | B1 |
7524061 | Yan et al. | Apr 2009 | B2 |
7583827 | Hansen et al. | Sep 2009 | B2 |
7677729 | Vilser et al. | Mar 2010 | B2 |
7715626 | Florin et al. | May 2010 | B2 |
7756569 | Hammer et al. | Jul 2010 | B2 |
7992999 | Xu et al. | Aug 2011 | B2 |
20040064057 | Siegel | Apr 2004 | A1 |
20040258285 | Hansen et al. | Dec 2004 | A1 |
20060147095 | Usher et al. | Jul 2006 | A1 |
20070019846 | Bullitt et al. | Jan 2007 | A1 |
20070109499 | Yan et al. | May 2007 | A1 |
20070244396 | Vilser et al. | Oct 2007 | A1 |
20080212026 | Molnar et al. | Sep 2008 | A1 |
20100104168 | Dobbe | Apr 2010 | A1 |
20100290005 | Huang et al. | Nov 2010 | A1 |
20120195480 | Gonzalez et al. | Aug 2012 | A1 |
Number | Date | Country |
---|---|---|
1389770 | Feb 2004 | EP |
Entry |
---|
M.M. Fraz et al. Blood vessel segmentation methodologies in retinal images—A survey. Computer Methods and Programs in Biomedicine 108 (2012), pp. 407-433 Elsevier Ireland Ltd. |
Marc Saez et al. Development of an automated system to classify retinal vessels into arteries veins. Computer Methods and Programs in Biomedicine 108 (2012), pp. 365-376 Elsevier Ireland Ltd. |
M.M. Fraz et al. An approach to localize the retinal blood vessels using bit planes and centerline detection. Computer Methods and Programs in Biomedicine 108 (2012), pp. 600-616 Elsevier Ireland Ltd. |
David Calvo et al. Automatic detection and characterisation of retinal vessel tree bifurcations and crossovers in eye fundus images. Computer Methods and Programs in Biomedicine 103 (2011), pp. 28-38 Elsevier Ireland Ltd. |
Number | Date | Country | |
---|---|---|---|
20120195481 A1 | Aug 2012 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 13018430 | Feb 2011 | US |
Child | 13191447 | US |