Various embodiments of the invention may relate, generally, to the segmentation of objects from images. Further specific embodiments of the invention may relate to the segmentation of abnormalities in radiological images.
Object segmentation is a useful tool in machine vision and image processing applications and is an on-going area of research. Object segmentation allows the application to separate an object within an image. While many such techniques have been proposed, there is much room for improvement.
Various embodiments of the invention will now be described in conjunction with the attached drawings, in which:
Various embodiments of the invention may be based on the general framework of dynamic programming. These techniques may incorporate information about edges, ridges (rib edges), shape, gray scale, and size in a flexible framework rather than resorting to ad hoc rules. One concept that may be used in such embodiments of the invention is that of incorporating a cost term related to an initial size estimate. The initial estimate of size may be provided by an automated detection process and/or a manual process in which a user establishes an initial object contour. Incorporation of a cost related to an initial size estimate may be used to provide a control signal and may help to ensure stability.
In various embodiments of the invention, each pixel may be assigned a local cost 13, where a low cost may be assigned to the values of pixels that have characteristics typical of object borders (alternatively, a high cost may be assigned to these pixels and inverse techniques may be used; however, it is more intuitively clear to discuss this using a low cost for border pixels).
These characteristics may be particularly applicable, for example, to cancerous; nodules in radiological images or more generally to regions that may manifest themselves in imagery as compact, roughly circular regions that exhibit contrast (positive or negative) relative to their local backgrounds in various types of images, medical or non-medical. Examples of diseases that exhibit such characteristics in medical images may include (but are not limited to): lung cancer, breast cancer (both masses and microcalcifications) and colon polyps. Furthermore, observables of this, type may be present across various imaging modalities, including (but not limited to): computed tomography (CT), magnetic resonance imaging (MRI), positron emission tomography (PET), and tomosynthesis (3-D breast imaging).
In block 13, the local cost may be computed for each pixel using a linear combination of individual cost images as follows:
local_cost=wgrad*Cgrad+wsov*Csov+wgs*CGS+wsize*Csize,
where Cgrad is the cost based on a gradient magnitude, Csov is the cost based on a second; order variation (SOV) image, Cgs is the cost based on a smoothed gray scale image, and Csize is the cost based on the deviation from an initial radius estimate of an object provided by a detection process (automatic or manual). Each cost term may be scaled to the zero-one range so that individual cost weights, wgrad for example, can be set in an intuitive manner. The cost weights may set off-line to optimize the overlap between “truth segmentations” and automated segmentations. The weights used in an exemplary implementation of an embodiment of the invention, which may be used for lung nodule segmentation, may be as follows, wgrad=4.5, wsov=3.0, wgs=1.0 and wsize=1.0. The cost terms may be computed on-line for each extracted region of interest.
Computation of the gradient image may include any standard method of estimating first derivatives. Both the magnitude and orientation of the gradient at each pixel location in the polar format may be determined.
The SOV image may be determined based on estimates of the second-order derivatives (as will, be explained below). Shape may be estimated using the following equations:
f20=(1/sqrt(3))*(Fxx+Fyy);
f2=(sqrt(2/3))*Fxx−Fyy);
f22=2*sqrt(2/3)*Fxy;
shape=a tan(f20/sqrt(f21̂2+f22̂2));
where:
The smoothed gray-scale image may be determined as a low-pass filtered image, and finally, the size cost may be computed using deviation from an initial object radius as defined by an automated or manual detection process.
Example images of a smoothed gray scale image and a corresponding SOV image are shown in
Given the total local cost per pixel, one may then compute the cumulative cost 14. The cumulative cost accounts for both the local and transitional costs. The transitional cost weights the path of going from one pixel to the next. Typical transitional cost term may include information based on gradient orientation and/or pixel distance. A total cumulative cost matrix may be defined as follows:
C(i,1)=local_cost(i,1).
C(i,j+1)=min{C(i+s,j)+local_cost(i,j+1)+T(n1,n2s)}−k≦s≦k,
where T represents the transition cost in going from a node n1 at (i+s,j) to node n2 at (i,j+1). The value “s” is the offset between nodes when going from one column to the next. The value of this offset may not be allowed to be larger than a specified value, “k”. In some embodiments of the invention, T may be defined as follows:
T=w
d*dist(n1,n2)+wgo*|θn1−θn2|,
Given the cumulative cost matrix, an object's contour may be formed 15 by backtracking from the point of lowest cumulative cost in the final column of the cumulative cost matrix to the first column. As the cumulative cost matrix may be computed in the polar domain, the backtracking process may amount to starting an object's contour and then moving counterclockwise, in an effort to obtain a closed contour. In other embodiments of the invention, one may, in general, begin with an extreme row or column of the matrix and proceed either clockwise or counterclockwise.
Once the object's contour has been formed, one may then finalize the contour 16, to ensure that it is both closed and smooth. An object's contour is considered closed if the starting and ending coordinates are within a certain distance of each other. If the object is not closed, an additional contour search may be performed from the end with the lowest local cost, checking for intersection with the initial contour. If the contour could not be closed, then the input object may be left unchanged, and its original pixels may be used as the segmentation; in an exemplary implementation of an embodiment of the invention this has happened less than 1% of the time. Finally, the object's contour may be smoothed with a filter, which may be a Gaussian filter in some embodiments of the invention, in order to remove any unnatural roughness; this may generally be a slight level of smoothing, so as not to distort object contours.
While the image illustrations have shown the use of the disclosed techniques in connection with the segmentation of lung abnormalities chest images, such techniques may also be applied to other radiological images and to non-radiological image, as well.
Various embodiments of the invention may comprise hardware, software, and/or firmware.
Various embodiments of the invention have been presented above. However, the invention is not intended to be limited to the specific embodiments presented, which have been presented for purposes of illustration. Rather, the invention extends to functional equivalents as would be within the scope of the appended claims. Those skilled in the art, having the benefit of the teachings of this specification, may make numerous modifications without departing from the scope and spirit of the invention in its various aspects.
This application claims the priority of U.S. Provisional Patent Application No. 60/968,142, filed on Aug. 27, 2007, and incorporated by reference herein.
Number | Date | Country | |
---|---|---|---|
60968142 | Aug 2007 | US |