1. Field of the Invention
The present invention relates to a nipple detection apparatus and program.
2. Description of the Related Art
Conventionally, a system (abnormal shadow candidate detection system) for assisting radiologists in making diagnoses has been developed. In this system, digital image signals obtained, for example, by performing radiographic photography on breasts are analyzed using a computer to automatically detect abnormal shadows such as a tumor shadow or microcalcification shadow, that appear in images. Accordingly, even if the images are diagnosed by an unskilled radiologist, a sufficient detection level can be maintained.
This system is mainly used to automatically detect tumor shadow candidates in radiographic images (mammograms) of breasts, that are obtained in breast cancer screening. The tumor shadow candidates are detected by evaluating the degrees of convergence of gradient vectors of density (signal values) in digital image signals which represent the radiographic images. Alternatively, candidates for abnormal shadows such as a tumor shadow or microcalcification shadow are detected by algorithm for automatically detecting microcalcification shadow candidates. The microcalcification shadow candidates are detected by performing morphology operation (dilation processing, erosion processing, opening processing, closing processing, or the like) on the digital image signals. The abnormal shadow candidates detected by this system may be displayed on a CRT (cathode ray tube), liquid crystal display device, or the like, for example, by masking the mammograms with an ROI (region of interest) frame which has a rectangular shape. The abnormal shadow candidates may be also printed on diagnostic films, and provided for the radiologists.
When the radiologists or the like examine the mammograms including abnormal shadow candidates detected by the abnormal shadow candidate detection system, as described above, a pair of left and right breast images is often displayed simultaneously by arranging them back to back. For example, when an abnormal shadow candidate is detected in one of the left and right breast images, the other image is displayed to check whether an abnormal shadow candidate is also present at a similar position in the other image. Further, in mammography, breasts are photographed in both vertical and horizontal directions. The breast images photographed from the vertical direction are called front images (ML view (Medio-lateral view) or MLO view (Medio-lateral oblique view)). The breast images photographed from the horizontal direction are called side images (CC view (Cranio-caudal view)). Therefore, in some cases, a radiologist displays both of the front image and the side image of one of the left and right breasts side by side, and examines the images by comparing them with each other.
However, when two breast images are simultaneously displayed by arranging them back to back to compare them with each other, as described above, there are cases where the images are displayed in a manner that corresponding positions in the subjects of both of the images are not aligned with respect to a horizontal direction or vertical direction. When the positions are not aligned, there is a problem that it is difficult for the radiologists to compare and examine the images. Therefore, a method has been proposed in which two mammograms are displayed on a display screen of the system to compare them with each other. In this method, the images of the left and right breasts are positioned so that corresponding positions (for example, nipples) in both of the images are aligned with respect to the vertical direction (for example, Japanese Unexamined Patent Publication No. 2002-065613).
Further, there is also a method for positioning the images by detecting the highest point of a breast region in each of the left and right breast images, and by assuming that the highest point is a nipple.
The method of detecting the highest point, as described above, may be applied to images of a CC direction. However, in images of an MLO direction, the nipples are not the highest points in many cases. Therefore, if the highest point is simply detected as the nipple, it is impossible to accurately position the images.
In view of the foregoing circumstances, it is an object of the present invention to provide a nipple detection apparatus and program for accurately detecting a nipple in a breast image.
A nipple detection apparatus according to the present invention is a nipple detection apparatus comprising:
A program according to the present invention is a program for causing a computer to function as an outline detection means for detecting, based on breast image data representing a breast image obtained by photographing a breast, the outline of the breast in the breast image and a nipple detection means for detecting, based on information about the outline of the breast, detected by the outline detection means, a nipple projection portion, which locally projects outward from the outline of the breast.
The expression “locally projects outward from the outline of the breast” refers to a convex shape that further projects from the outline of the breast, which has a gradual outward convex shape as a whole.
Further, the nipple detection means may obtain a smoothed outline of the breast corresponding to a local portion of the outline of the breast, and detect the nipple projection portion based on a distance value between the smoothed outline of the breast and the portion of the outline of the breast.
The nipple detection means may obtain the smoothed outline of the breast by connecting both ends of the portion of the outline with a straight line, produce a plurality of pairs of the portions of the outline and the straight lines connecting both ends of the portions of the outline by gradually shifting the position of the portion of the outline along the outline of the breast, and detect the nipple projection portion based on the distance value between the portion of the outline and the straight line in each of the plurality of produced pairs.
The term “distance value” refers to a value representing a distance between the smoothed outline of the breast and the portion of the actual outline. For example, a distance between the center of the portion of the outline and the straight line connecting both ends of the portion of the outline may be used as the distance value (the center of the portion of the outline is a point on the portion of the outline, which is apart from an end of the portion of the outline by a half of the length of the portion of the outline along the portion of the outline).
Further, the nipple detection means may detect the nipple projection portion by performing top-hat transform on the outline of the breast from the inside of the region of the breast.
The expression “performing top-hat transform on the outline of the breast from the inside of the region of the breast” refers to transforming the outline of the breast into a shape that includes only a convexity that a structural element cannot enter. In the top-hat trans form, opening processing is performed along the outline of the breast using the structural element from the inside of the region of the breast, and a shape in which the convexity that the structural element cannot enter is removed from the outline of the breast. Then, the produced shape is subtracted from the outline of the breast to obtain the shape that includes only the convexity.
Further, the nipple detection means detects the nipple projection portion based on a second derivative value of the outline of the breast.
The term “second derivative value of the outline of the breast” refers to a value that can be used to detect a portion of the outline, in which the shape of the outline sharply changes. The value may be obtained using an equation. Alternatively, the value may be obtained by calculating a difference between the positions of adjacent pixels on the outline of the breast. For example, when the shape of the outline gradually changes, the “second derivative value” is approximately constant. However, when the shape of the outline sharply changes, the “second derivative value” increases. Therefore, the convexity of the outline, such as the nipple, may be detected based on the second derivative value.
According to the present invention, the outline of the breast is detected based on breast image data representing a breast image obtained by photographing a breast, and a nipple projection portion, which locally projects outward from the outline of the breast, is detected as a nipple. Therefore, the nipple can be accurately detected.
Further, a smoothed outline of the breast is obtained by smoothing the shape of the outline of the breast, and a distance value between the smoothed outline of the breast and the outline of the breast is obtained. Therefore, the portion that projects from the outline of the breast may be detected as the nipple.
Further, if the nipple is detected based on the distance value between the portion of the outline, which is a portion of the outline of the breast, and the straight line connecting both ends of the portion of the outline, the operation amount for detecting the nipple can be reduced. Further, the nipple can be accurately detected.
Alternatively, when the nipple projection portion is detected by performing top-hat transform on the outline of the breast from the inside of the region of the breast, if the size of the structural element is optimized, it is possible to detect only a projection which has a likely size of a nipple.
Further, if the nipple projection portion is detected based on a second derivative value of the outline, it is possible to detect only a projection which has a likely shape of a nipple.
Note that the program of the present invention may be provided being recorded on a computer readable medium. Those who are skilled in the art would know that computer readable media are not limited to any specific type of device, and include, but are not limited to: floppy disks, CD's RAM'S, ROM's, hard disks, magnetic tapes, and internet downloads, in which computer instructions can be stored and/or transmitted. Transmission of the computer instructions through a network or through wireless transmission means is also within the scope of this invention. Additionally, computer instructions include, but are not limited to: source, object and executable code, and can be in any language including higher level languages, assembly language, and machine language.
Hereinafter, a first embodiment of a nipple detection apparatus according to the present invention will be described with reference to attached drawings.
As illustrated in
The outline detection means 10 detects, based on a histogram H of the breast image S, the outline of the breast in the breast image that is obtained by photography. As illustrated in
When the chest wall of the binarized breast image S is located in the lower side of the image, as illustrated in
First, the nipple detection means 20 obtains a smoothed outline of a breast by smoothing the outline of the breast. Then, the nipple detection means 20 detects a nipple projection portion based on a distance value between the smoothed outline of the breast and the outline of the breast. Specifically, as illustrated in
For example, when there are 200 pixels on the skin line R, ten pixels may be selected in each time while gradually shifting the selecting position of the pixels along the skin line R. Then, an average (or, a weighted average in which a predetermined weight is given) of the coordinates of ten pixels may be obtained for each set of ten pixels, and points positioned at coordinates which have the obtained average values may be connected to obtain a smoothed outline of the breast. A distance between the smoothed outline of the breast and a point on the skin line R may be obtained to detect the nipple projection portion. In this case, the number of pixels for obtaining the average of the coordinate values is determined based on the statistical sizes of the nipple projection portions so that the nipple projection portion, which projects from the skin line R, is removed.
Alternatively, the smoothed outline of the breast may be obtained by interpolating a curve represented by a polynominal such as a spline between pixels on the skin line R. Then, a distance between the smoothed outline of the breast and the skin line R may be obtained to detect the nipple projection portion. Specifically, pixels on the skin line R are selected in a predetermined interval, and a curve is interpolated between the selected pixels using a spline or the like. Accordingly, a line in which the nipple projection portion is removed from the skin line R is obtained as the smoothed outline of the breast. When the pixels on the skin line R are selected in the predetermined interval, if a pixel on the nipple projection portion is selected, a curve is interpolated along the nipple. Therefore, it is preferable that interpolation is performed so that a pixel is not selected from a region of the image, in which the probability that a nipple is present is high, by considering the statistical sizes and positions of the nipple projection portions.
Especially, when the nipple projection portion is detected by setting a curve (portion of the outline) which has the length L along the skin line R and by obtaining a distance H between the straight line connecting both ends of the curve and the center of the curve, the operation amount for detecting the nipple projection portion can be reduced. Further, the nipple projection portion can be detected sufficiently accurately.
Next, a second embodiment of the present invention will be described.
In the second embodiment, the same reference numerals are given to the same elements as those in the previous embodiment, and detailed description thereof is omitted.
As illustrated in
The nipple detection means 20a performs top-hat transform on the skin line R, illustrated in
Next, a third embodiment will be described.
As illustrated in
The nipple detection means 20b obtains second derivative values with respect to a skin line, as illustrated in
As described above in detail, it is possible to accurately detect the nipple by detecting a portion that locally projects outward from the outline of the breast.
Further, the detection method as described above in each of the embodiments may be combined to more accurately detect the nipple.
Number | Date | Country | Kind |
---|---|---|---|
257199/2004 | Sep 2004 | JP | national |