The present invention relates to a method of deriving a quantitative measure of a degree of calcification of an aorta.
Inpainting is a technique that originates from retouching paintings where one wants to recreate lost or damaged structures in a legible way. Digital inpainting uses spatial or frequency information to restore partially damaged/removed images.
Various inpainting techniques are known that enable image restoration, in particular for photographs, videos and films.
It is known to detect and inpaint small regions in mammograms that possibly define a micro calcification to enable detection of calcified regions. Subsequently, features such as the average and the standard deviation of intensity values are extracted from both the pre- and the post-inpainting regions. A classifier is trained to distinguish between true micro calcifications and false positives based on the extracted features. The comparison between a region and its inpainting is used to enable detection. Thus a binary decision of whether a region is abnormal, i.e. different from its surroundings, is made.
There are, however, no methods available at present that use inpainting to give more than a basic indication of the presence of a calcification. In the present invention, it has been realised that such a method may be useful in the diagnosis of various diseases, for example, atherosclerosis.
Atherosclerosis is a process in which deposits of fatty substances, cholesterol, cellular waste products, calcium and other products build up in the inner lining of an artery.
Previous known methods of assessing atherosclerotic plaque include the assessment of the calcification index on lateral 2-D x-rays. In this method, aortic calcification is assessed at each vertebral segment. Calcific deposits are regarded as present if the densities are visible in an area parallel to the lumbar spine and anterior to the lower part of the spine. As the abdominal aorta in the L1-L4 region of the spine is occasionally situated lateral to the spine, aortic densities of the lumbar region can sometimes overlap the vertebrae. Densities overlapping the vertebrae are scored present only if they extend from or form a clear pattern with those of the lower part of the aorta. Calcific deposits in the abdominal aorta adjacent to each lumbar vertebra are assessed separately for the posterior and anterior wall of the aorta using the midpoint of the intervertebral space above and below the vertebrae as boundaries.
The lesions are graded according to specific categories: Lesions with small scattered deposits that extend along less than ⅓ of the longitudinal wall of the aorta; lesions where ⅓ or more, but less than ⅔ of the longitudinal wall is calcified and lesions where ⅔ or more of the longitudinal wall is calcified.
The present invention seeks to provide a more accurate measure of the degree of calcification of the aorta or more generally any blood vessel using inpainting techniques. There is accordingly provided a method of deriving a quantitative measure of a degree of calcification of a blood vessel by processing an image of at least a part of the blood vessel containing said calcification, which method comprises:
taking a starting set of digital data representative of an image of at least part of a blood vessel containing an area of calcification, said area of calcification being set against a background area;
using an inpainting method to replace digital data in said starting set of digital data representing the calcification with data extrapolating the background to extend over the area of calcification, and so generating an inpainted set of digital data; and
computing the difference between the starting set of digital data and the inpainted set of digital data to obtain a result representative of the degree of calcification of the blood vessel.
The method may comprise the preliminary steps of estimating a boundary of the area of calcification, wherein the step of inpainting comprises replacing digital data within the boundary with data extrapolating the background outside the boundary to extend over the area within the boundary. Generally inpainting propagates data values in said boundary region into replacement data values for the selected area of calcification. Inpainting methods are described in numerous previous publications including US2004/0164996, U.S. Pat. No. 6,587,592, US2003/0012453 and US 2004/0161153, all of which are hereby incorporated by reference.
The method of the invention may further comprise:
calculating a signal to noise ratio along the boundary of the calcification between the inpainted set of digital data and the starting set of digital data;.
increasing the area within the boundary, and repeating the step of calculating the signal to noise ratio along the boundary; and
repeating the steps of increasing the area within the boundary and then calculating the signal to noise ratio between the inpainted set of digital data and the starting set of digital data along the boundary until a maximum signal to noise ratio is reached.
Such methods may further comprise calculating the average intensity difference between the inpainted set of digital data and the starting set of digital data, wherein the difference is-representative of the degree of calcification of the blood vessel.
Methods of inpainting suitable for use include all those currently known in the art or which may be developed hereafter including without limitation TV inpainting harmonic inpainting and average inpainting.
Such methods may be applied to any blood vessel but preferably to an artery, particularly the aorta.
The invention may be embodied in a preprogrammed computational device or an instruction set for such a device adapted to carry out the above method.
Embodiments of the present invention will hereinafter be described, by way of example, with reference to the accompanying drawings, in which:
To generate a quantitative measure of the degree of calcification in the aorta the following steps can be taken:
1. Obtain lateral 2-D x-ray images of the spine.
2. Estimate the location of the aorta.
3. Detect calcified areas.
4. Obtain a quantitative measure of the degree of calcification.
5. Output the result.
The present invention is primarily concerned with Step 4, the actual process involved in obtaining a quantitative measure of the degree of calcification.
Methods of obtaining x-ray images are well known. This step will therefore not be described herein. Step 2 of estimating the location of the aorta is described in SPIE Medical Imaging: Image Processing 2004, L. A. Conrad-Hansen et al. “Prediction of the location of the lumbar aorta using the first four lumbar vertebrae as a predictor”, Edition 5370 (2), pgs 1271-1281.
In the described embodiment, lateral 2-D x-rays are used to provide a cost-efficient way of delivering reliable and easily reproducible data which may be used to extract information regarding the degree of calcification of the aorta.
The region of interest for which x-ray images are required is the lumbar region, denoted by L1-L4 in
Inpainting is a known technique that originates from retouching paintings to recreate lost or damaged structures in a legible way. The term “Inpainting” is derived from fusing the words “Image” and “Interpolation” together. Three different variations of inpainting are herein described, TV inpainting, harmonic inpainting and average inpainting. TV inpainting is used for its ability to preserve structures to some extent, whereas harmonic inpainting is used as it provides much smoother solutions. The general Bayes' formulation of inpainting can be expressed as:
since u0 is known.
The model term p(u|u0) models the data formation process. It can be assumed that the observed image u0 is obtained from a clean image u corrupted by additive zero-mean Gaussian noise spatially uncorrelated and stationary, with standard deviation σ outside the hole Ω, and that the data inside Ω has been totally lost. Therefore the model of acquisition degradation is given by
where C1 is the normalising constant. The prior term p(u) is usually difficult to find since it models the probability that a given array of pixel values represents a meaningful image. In the absence of texture, some form of smoothness for images is assumed, i.e. the variation of pixel values around a given pixel location should be small. Therefore, a discrete gradient operator, ∇u(x) encoding the local variations of the image around a given pixel location can be introduced.
The basics of TV inpainting will now be described. In order to enforce a reasonable smoothness, a Laplace distribution is assumed on all values, and the following prior is obtained:
where c2 is a normalising constant and μ√{square root over (2)} the standard deviation. Using Maximum A Posteriori (MAP) criterion, taking—log( ) of each term, and then shifting to a continuous formulation, μ can be found by minimizing the following energy expression:
To make the integration boundaries equal, if χ denotes the function χ(x)=0 if x εΩ, χ(x)=1 otherwise, and
The resulting energy expression can be written as
E(u)=∫Rχ(u−u0)2dx+λ∫R|∇u|dx,
Having surpassed the problem with the integration boundaries, it is feasible to use the calculus of variations, so that a minimiser u for the energy is given by the following Euler-Lagrange equation
where F(u,ux,uy)=χ(u−u0)2+λ√{square root over (ux2+uy2)}, so that:
This scheme can be made discrete using gradient descent. However, it cannot be proven to yield a unique solution. A more elegant solution can be found by introducing the divergence of a vector field shown in
The divergence of
and expresses at a given point P, the local behaviour of the field.
As shown in
A natural divergence term therefore appears as:
which in the case of TV inpainting corresponds to the term:
so that the following Euler-Lagrange Partial Differential Equation (PDE) can be solved:
This is a non linear elliptic equation, not well defined when |∇u|=0. This problem is usually fixed by replacing |∇u| by φ(|∇u|2) where φ(s2)=√{square root over (s2+ε2)}, ε>0 small. The new equation to solve is then:
χ(u−u0)−2λdiv(φ′(|∇u|2)∇u)=0
In order to cope with the non linearity, a fixed-point strategy is used for estimating the φ′(|∇u|2). This leads to the following resolution algorithm:
Each linear equation (*) is made discrete and solved directly as follows. Given a pixel location s ε R, denote by v(s) its 4-neighbourhood. If r ε v(s), then
will denote the mid-point between r and s. The discretization of the divergence is performed using central differences with half grid steps. Then, skipping the superscripts i, at pixel location s equation (*) is made discrete as:
with boundary conditions incorporated as ur:=us whenever r falls out of R. The resulting system (for all s ε R) is solved by a Gauss-Seidel iterative scheme, which, at a given iteration reads
For all s ε R do
where the symbol←means “replace the old value by the new one”. The iterative process is stopped after a convergence criteria, which is reached when the change in us falls beneath a certain threshold, has been fulfilled or after a fixed number of iterations. Note that it can be seen as a local lowpass filtering process—the filter coefficients are positive and their sum is 1—biased toward the original value u05 when χs=1.
The coefficient βr+s/2i can be made discrete as follows:
If s=(j,k),r=(j−1,k), it is required from the definition of βi to compute |∇ui−1|j−1/2,k2. The x-derivative is approximated by a standard half grid step central difference, centered at
The y-derivative is interpolated using the central differences at (j,k) an at (j−1,k), so that
Although it can be proven that a minimiser ū0 always exists under reasonable conditions, it might fail to be unique. It is therefore necessary to specify a good starting value for ū0 for the inpainting algorithm as it allows for faster convergence. Outside the inpainting domain Ω, ū0 (x, y)=u0 (x, y) and inside Ω, ū0 (x, y) is drawn from a Gaussian distribution with mean and variance corresponding to the mean and variance of u0 outside Ω.
For harmonic inpainting, a Gaussian distribution is assumed for the prior probability
where c2 again is a normalising constant and μ is the standard deviation. The energy term can then be expressed as
E(u)=∫Rχ(u−u0)2dx+λ∫R|∇u|2dx,
where χdenotes the function χ(x)=0 if x ε Ω, χ(x)=1 otherwise, and
A third form of inpainting, average inpainting, constitutes the simplest form of inpainting, where Ω is filled homogeneously with the value S resulting from averaging over the immediate boundary of Ω according to
where n is the number of boundary pixels and t the respective pixel value.
The signal-to-noise ratio (SNR) is calculated for each pixel along the immediate boundary of the calcified area according to
where Iinp denotes the inpainted image, Iorig the original image, std the standard deviation of the estimated noise level, and area the number of pixels in Ω. The mechanism is illustrated in the below algorithm and the results are shown on
As shown in
The std denotes, as explained above, the standard deviation of the estimated noise level, and is computed by estimating the non-calcified background and taking the difference of the estimated and the actual background. The data set for the background estimation contains ninety hand annotated x-rays of the lumbar region with pixel intensities ranging from 0 to 2,048 with displays of various degrees of calcification.
In order to estimate how well the individual inpainting techniques perfom on the x-ray images, 20 templates of calcification shape were chosen at random from manual annotations (see
The above table shows the standard deviations of the pixelwise error for the three inpainting methods. From this it can be seen that TV inpainting produces the least error per pixel whereas harmonic inpainting performs worst.
As shown in
Following this, ten images that showed light to moderate calcifications were chosen based on the criteria that if anything decisive on images that are not heavily calcified can be concluded, then more severe calcifications can be easily quantified.
As shown in
The quality of the method described is shown in
It will be appreciated that modifications to or variations of the embodiments described and illustrated may be made within the scope of this application as set out in the appended claims.
Number | Name | Date | Kind |
---|---|---|---|
5827231 | Harada | Oct 1998 | A |
6372264 | Dixon | Apr 2002 | B1 |
6551990 | Giachelli et al. | Apr 2003 | B2 |
6679861 | Yozu et al. | Jan 2004 | B2 |
6790823 | Simonet et al. | Sep 2004 | B1 |
6977987 | Yamashita et al. | Dec 2005 | B2 |
7046835 | Launay et al. | May 2006 | B2 |
7230429 | Huang et al. | Jun 2007 | B1 |
Number | Date | Country | |
---|---|---|---|
20060274927 A1 | Dec 2006 | US |