WO2006000738A1 - Lesion boundary detection - Google Patents

Lesion boundary detection Download PDF

Info

Publication number
WO2006000738A1
WO2006000738A1 PCT/GB2005/001841 GB2005001841W WO2006000738A1 WO 2006000738 A1 WO2006000738 A1 WO 2006000738A1 GB 2005001841 W GB2005001841 W GB 2005001841W WO 2006000738 A1 WO2006000738 A1 WO 2006000738A1
Authority
WO
WIPO (PCT)
Prior art keywords
points
boundary
lesion
junction
seed
Prior art date
Application number
PCT/GB2005/001841
Other languages
French (fr)
Inventor
Jamshid Dehmeshki
Original Assignee
Medicsight Plc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from GB0414081A external-priority patent/GB2415563B/en
Application filed by Medicsight Plc. filed Critical Medicsight Plc.
Priority to CA002571720A priority Critical patent/CA2571720A1/en
Priority to JP2007517400A priority patent/JP5055115B2/en
Priority to AU2005256785A priority patent/AU2005256785A1/en
Priority to EP05804912A priority patent/EP1771822A1/en
Publication of WO2006000738A1 publication Critical patent/WO2006000738A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0012Biomedical image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/12Edge-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/194Segmentation; Edge detection involving foreground-background segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10072Tomographic images
    • G06T2207/10081Computed x-ray tomography [CT]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20092Interactive image processing based on input by user
    • G06T2207/20101Interactive definition of point of interest, landmark or seed
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20112Image segmentation details
    • G06T2207/20164Salient point detection; Corner detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30004Biomedical image processing
    • G06T2207/30028Colon; Small intestine
    • G06T2207/30032Colon polyp
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30004Biomedical image processing
    • G06T2207/30061Lung
    • G06T2207/30064Lung nodule

Definitions

  • the present invention relates to a method of detecting the junction of a lesion with a wall, such as a lung nodule attached to the pleura or a polyp attached to the colon wall, in an image previously scanned from a human or animal body, particularly but not exclusively in a computed tomography (CT) image.
  • CT computed tomography
  • the invention encompasses software and apparatus for carrying out the method.
  • Background of the Invention Detection of suspicious lesions in the early stages of cancer can be considered the most effective way to improve survival. Lung nodule detection and polyp detection are some of the more challenging tasks in medical imaging.
  • Computer-assisted techniques have been proposed to identify regions of interest containing a nodule within a CT scan image, to segment the nodule from surrounding objects such as blood vessels or the lung wall, to calculate physical characteristics of the nodule, and/or to provide an automated diagnosis of the nodule.
  • Fully automated techniques perform all of these steps without intervention by a radiologist, but one or more of these steps may require input from the radiologist, in which case the method may be described as semi-automated. Detection of the size or extent of a lesion is important for accurate diagnosis, but it is difficult to detect the extent of a lung nodule attached to the pleura, or to separate a nodule from the pleura, because of their similar intensity in CT scans.
  • Patent publications US-A-2003/0099384 and US-A-2003/0099389 disclose methods of detecting pleural nodules using morpho logical closing for small nodules, and a deformable surface model for nodules larger than the structural element used for morphological closing.
  • a method of detecting the junction between a lesion and a wall in a scan image comprising determining the boundary of the wall to an internal space, identifying critical points along the boundary, and selecting one critical point at either side of the lesion as a junction point between the wall and the lesion.
  • the critical points may be points of maximum local curvature and/or points of transition between straight and curved sections of the boundary.
  • the critical points may be selected by receiving first and second seed points, at either side of the lesion; moving the seed points to the boundary if they are not already located on the boundary; and finding the closest critical points to the seed points.
  • the seed points may be determined by displacing the selected junction points from an adjacent slice of the image into the current slice.
  • Figure 1 is a schematic diagram showing a CT scanner and a remote computer for processing image data from the scanner;
  • Figure 2 is a flowchart of an algorithm in an embodiment of the invention;
  • Figures 3a to 3c show respectively a single slice of a CT scan image of a lung, the lung area as obtained by segmentation, and the boundary of the lung area;
  • Figures 4a to 4c show critical points detected on the lung boundary with three different thresholds;
  • Figure 5 shows seed points at either side of the nodule;
  • Figure 6 illustrates a method of moving the seed points from the pleura to the boundary;
  • Figure 7 illustrates a method of moving the seed points from the lung space to the boundary;
  • Figure 8 illustrates a method of moving the seed points to the closest critical points;
  • Figure 9 illustrates a method of determining the best critical point when they are approximately equidistant;
  • Figure 10 shows an example where the lung is divided into multiple boundaries;
  • Figure 11 shows where a join between the boundaries is determined;
  • Figure 12
  • Each embodiment is performed on series of CT image slices obtained from a CT scan of a human or animal patient.
  • Each slice is a 2-dimensional digital grey-scale image of the x-ray absorption of the scanned area.
  • the properties of the slice depend on the CT scanner used; for example, a high-resolution multi-slice CT scanner may produce images with a resolution of 0.5-0.6 mm/pixel in the x and y directions (i.e. in the plane of the slice).
  • Each pixel may have 32-bit greyscale resolution.
  • the intensity value of each pixel is normally expressed in Hounsfield units (HU).
  • Sequential slices may be separated by a constant distance along the z direction (i.e. the scan separation axis); for example, by a distance of between 0.75-2.5 mm.
  • the scan image is a three-dimensional (3D) grey scale image, with an overall size depending on the area and number of slices scanned.
  • the present invention is not restricted to any specific scanning technique, and is applicable to electron beam computed tomography (EBCT), multi-detector or spiral scans or any technique which produces as output a 2D or 3D image representing X-ray absorption.
  • EBCT electron beam computed tomography
  • the scan image is created by a computer 4 which receives scan data from a scanner 2 and constructs the scan image.
  • the scan image is saved as an electronic file or a series of files which are stored on a storage medium 6, such as a fixed or removable disc.
  • the scan image may be processed by the computer 4 to identify the extent of a lung nodule, or the scan image may be transferred to another computer 8 which runs software for processing the image as described below.
  • the image processing software may be stored on a carrier, such as a removable disc, or downloaded over a network.
  • Nodules Attached to Lung Wall A specific embodiment is designed for detection of the boundary between a nodule and a lung wall.
  • Peripheral pulmonary nodules often exhibit some degree of attachment to the pleural surface (on the periphery of the lung, compressed against the external boundary of the thorax).
  • the nodules share a significant amount of their surface with the pleura. For this reason, the delineation of the boundary between pleura and nodule is a difficult task. This complexity is reduced by talcing two seed points as input on the periphery of the lung wall at opposite ends of the nodule.
  • the seed points may be selected by a user, such as a radiologist, or determined automatically.
  • the theory and implementation of the boundary delineation method is described below.
  • the method comprises the following steps described in outline with reference to Figure 2, each of which is described in detail below: 1) Input the seed points (step 12) 2) Apply coarse segmentation to separate the lung from the surrounding tissue and determine the boundary (step 14); 3) Determine critical points on the contour (step 16); 4) For each slice (starting from the starting slice): a. If not at the starting slice and either of the current points are in the tissue, move the current points to the boundary (step 18). If this process fails, then terminate the process. b. If either point is in the lung space, move it towards the other point until it hits the boundary (step 20) - terminate if failed; c. Find closest critical points along the contour to the current two points (step 22); d.
  • Fine tune the points e. Get outline of nodule (step 26) in the current slice; f. Check the overlap with the nodule in the previous slice (step 28) - terminate if no overlap, g. Map the two points to the next slice (step 30) 5) Repeat for consecutive slices in both directions from the starting slice.
  • Step 12 The user inspects one or more slices of a CT scan and visually identifies a potential pleural nodule.
  • the user selects two seed points either side of the potential pleural nodule on one of the slices.
  • the seed points need only be located either side of the pleural nodule, and need not be precisely on the boundary.
  • the user may draw a box or other shape around the potential pleural nodule, using the input device. The points of intersection between the shape and the pleura may be taken as the two seed points.
  • the scan image may be pre-processed to identify potential pleural nodules, and the seed points may be input from this pre-processing stage.
  • Step 14 A sub-image of a plurality (e.g. 30) of slices below and above the slice containing the seed points is selected and coarse segmentation is performed so as to separate the image into the lung space and the pleura (including any nodule attached to the pleura).
  • the segmentation may be performed by applying a predetermined threshold to the image, since the intensity of the lung space is much lower than that of the pleura and nodules. Objects above the threshold but not connected to the pleura are not considered by this algorithm.
  • an optimum centre slice may be found and the sub-image may be centred on the optimum centre slice.
  • a window is chosen, for example of 60 pixels x 60 pixels x 10 slices, centred on the mid point between the two seed points. The point with the maximum intensity within the window is found and the corresponding slice containing that maximum intensity point is chosen as the centre slice for the sub-image.
  • the segmentation may be further improved by performing an adaptive segmentation after the initial coarse segmentation.
  • the lung space obtained by coarse segmentation is enlarged using a distance transform, to obtain a mask containing the lung space and an envelope around the lung space.
  • the enlargement factor may be 50%.
  • the adaptive segmentation is performed with a threshold which is derived only from the intensity values within the mask.
  • the result of the segmentation is a binary map of the slice, with pixels representing the lung space having one binary value and pixels representing surrounding tissue having another binary value. Pixels on the boundary between the lung space and the surrounding tissue are labelled as boundary pixels.
  • Figure 3 a shows the scan image of a slice of a lung
  • Figure 3b shows the result of the segmentation.
  • Figure 3b is a binary image in which the lung space is white (binary 1) and the surrounding tissue is black (binary 0).
  • Figure 3c shows, in white, the boundary pixels derived from the segmentation.
  • Step 16 As a preliminary step for detecting the junction between a nodule and the pleura, critical points on the boundary are determined. Each section of the boundary is identified as concave, convex, or straight. A critical point is either a point of maximum convexity or concavity, or a transitional point between the states of concave, convex, or straight; in other words, between straight and convex or concave, or directly between convex and concave. Critical points are of interest because they can indicate a boundary between the pleura and a nodule. A specific method of determining critical points will now be described.
  • the input is the map of the boundary contour; this could for example be a binar-y array in which the position within the array represents the x and y coordinates of each pixel, and boundary pixels are flagged as binary 1; in other words, a bitmap of the boundary.
  • a boundary pixel is selected as the starting point. This could be any boundary pixel; for example, the first boundary pixel found in a raster scan (left to right, top to bottom) of the bitmap.
  • the algorithm then moves along the boundary, recording the angle between successive neighbouring boundary pixels. As the pixels of each slice are arranged in 2D Cartesian coordinates, there are only 8 possible angles. For each pixel, the neighbours can be represented on a grid:
  • the bitmap is converted to a chain code comprising a one-dimensional vector of codes representing the angle between successive neighbouring boundary pixels in a loop around the boundary, e.g. (1,1,1,2,1,3,3). Note that these are absolute angles relative to a downwards direction.
  • the chain code is converted to an angle of curvature of the boundary at each boundary pixel. This may be done by taking the chain codes around each boundary pixel and applying a weighted filter so that the chain codes for boundary pixels closer to the current boundary pixel are more heavily weighted. Note that the angle of curvature is relative to the boundary rather than an absolute angle, so that chain codes preceding the current pixel around the loop are subtracted from those following the current pixel around the loop. Ih one example, the angle of curvature for boundary pixel z is calculated as follows:
  • ni j is the weighting factor, which may follow a Gaussian distribution
  • ccj +j is the chain code for pixel (/+/), and are negative for negative j
  • the result is a one-dimension vector representing the angle of curvature of the boundary at each boundary pixel, taking into account nearby pixels in either direction around the boundary.
  • the effect of the weighted filter is to smooth the angles from the discrete, granular values of the chain codes. Next, the local maxima and minima of the angles of curvature are identified.
  • a neighbourhood comparison method may be used in which each angle is compared with a predetermined number (e.g. 3) of preceding and following angles in the vector.
  • a range of angles corresponding to 'straight' is defined. For example, all angles of 180° ⁇ f may be classified as straight.
  • Figure 4a shows that setting /too low results in a large number of critical points representing only slow transitions in the curvature of the boundary.
  • the value of/ may be predefined in the software, and/or adjustable by the user.
  • the nodule direction Before the nodule is detected, it is first determined in which direction, relative to the two seed points P 1 and p 2 , the nodule extends into the lung.
  • a vector v is formed between the two points pi and p 2 , and an orthogonal vector o is constructed from the midpoint of the vector v in both directions.
  • the direction of o which falls into the lung space L indicates the direction of the lung and therefore the direction in which the pleural nodule N extends into the lung from the pleura P.
  • the nodule direction is determined from the direction of the detected nodule in the previous slice, relative to the seed points pi and p 2 .
  • Step 18 For each slice, the seed points pi and p? must first be checked to determine whether they are on the boundary B, and if not, they are moved to a suitable point on the boundary. In the initial slice, the user is not required to position the seed points pi and p 2 precisely on the boundary. After moving the seed points to the boundary, and moving the seed points to the next slice, by changing their z coordinates, the seed points may no longer be on the boundary in the new slice. If either of the seed points pi and ⁇ 2 is within the pleura P, that point is moved onto the boundary B. The direction and distance of movement may be limited to avoid moving away from a critical point likely to represent an interface between the nodule and the pleura.
  • Step 20 If either of the two seed points P 1 and p 2 are in the lung space L, that point is moved towards the other point until it hits the boundary B, as shown in Figure 7. If the moved points are within a predetermined distance (e.g. 2 mm) of each other, the process is terminated as this indicates that there is only air between the points.
  • a predetermined distance e.g. 2 mm
  • the seed points pi and p 2 should now both be on the boundary B. Next, they are moved to the closest critical points along the boundary B, subject to certain conditions which are designed to avoid a poor choice of critical point, as explained in more detail below.
  • the closest critical point is determined along the boundary B in either direction. If the critical point in one direction along the boundary is significantly closer than the critical point in the other direction, then the seed point is moved to the closer critical point. For example, if the distance between the seed point and the closest critical point in one direction is greater than a threshold, the seed point is moved to the closest critical point in the other direction.
  • the threshold may be a function of the distance between the seed point and the closer of the two closest critical points in either direction, for example twice that distance.
  • a critical point is selected based on the amount of lung space in a straight line between the seed point and each critical point. For example, as shown in Figure 9, if the difference between the distances between the seed point P 1 and the two closest critical points C 1 , C 2 along the boundary B is less than the threshold, a line I 3 is constructed from the seed point pi to each of the two closest critical points C 1 , C 2 , and the proportion of the line length which passes through the lung space L is determined. If the proportion is more than a predetermined threshold (e.g.
  • the critical point is considered a bad choice and the seed point is moved to the closest critical point C 2 in the other direction, if the proportion for that critical point is less than or equal to the threshold. If both critical points have a proportion of greater than the threshold, then the seed point is not moved to either critical point.
  • one of the seed points might be relatively far from the best critical point and therefore, when finding the closest critical point, both seed points will be moved to the same critical point, or to critical points very close to each other. This may happen when the seed points are mapped from a previous slice and especially when fine segmentation movement is applied, as will be described below.
  • a threshold distance such as 5 mm
  • the seed point closer to the critical point is moved to that critical point while the other seed point is moved along the boundary to the nearest critical point away from the other seed point, provided that the distance between the two seed points does not increase beyond a predetermined threshold, such as the original distance between the seed points.
  • a predetermined threshold such as the original distance between the seed points.
  • the distance between the seed points after moving one away should not be more than double the distance before moving away.
  • the movement of the seed points may be fine tuned by re-evaluating the boundary B in the vicinity of the seed points using fine segmentation, dependent on the local contrast.
  • the threshold for determining whether each point is foreground or background may be determined by the intensities of points within a mask of local points of predetermined extent surrounding that point. The threshold may be selected so that the mean of the centroids of intensities above and below the threshold is equal to the threshold, or offset from the threshold by a predetermined degree.
  • the critical points are determined on the fine-segmented boundary.
  • the seed points may be moved to the closest critical point on the fine segmented boundary, subject to certain conditions, as set out below by way of example: - the movement of the seed points to the fine-segmented boundary is always away from the direction of nodule. - the distance moved must be less than a predetermined threshold. The threshold is set according to how much the seed point was moved from its initial point within the slice to its final point using coarse segmentation. - the angle by which the line between the seed points rotates when moving to the fine segmented boundary critical points must be less than a predetermined angle, such as 40 degrees.
  • the coarse segmented boundary might not be near the fine-segmented boundary of the nodule where there is a strong partial volume effect, hi this case the nearest critical point might be away from the nodule; only movement away from the nodule is allowed, so the correct critical points might not be found.
  • This may be solved by, if the seed points are in the lung relative to the fine-segmented boundary, moving the seed points towards each other until they hit the boundary, and then finding the closest critical points on the fine- segmented boundary.
  • the effect of fine-segmentation is to remove the effect of material around the nodule, such as infected tissue, which obscures the junction of the nodule to the pleura.
  • Coarse segmentation will normally include the material as part of the boundary, whereas fine segmentation will reclassify the material as background.
  • Multiple Boundaries In some cases, the lung L is split into two or more parts by the coarse segmentation, and the seed points are located in different parts, as illustrated for example in Figure 10. This can occur when a blood vessel extends across the lung in the current slice, and may cause difficulties in determining the extent of the nodule N by including the blood vessel as part of the nodule N. To overcome this problem, it is determined whether the seed points, when moved to the boundary B, form part of different, unconnected boundaries. If so, the variation of the distance between the two boundaries is calculated, proceeding from between the two seed points in the direction o of the nodule, as shown in Figure 11. A sample graph of the variation of the distance is shown in Figure 12. The point g of greatest change in the gradient of the graph is taken and the boundaries B are joined at that point. This allows the nodule N to be separated from the blood vessel.
  • Contour correction hi some cases the boundary between the detected junction points has overshot edges, as shown for example in Figure 13 a; the critical points might not be at the exact location of nodule attachment to the lung wall, for example because of slow angular changes at the junction.
  • a contour correction function may be used to re-adjust the junction points to allow correct region extraction, as shown in Figures 13b to 13d.
  • a line is constructed between the junction points. If the line intersects the boundary, then one junction point is moved towards the other along the boundary until there is no intersection with the boundary on that side. Then the other junction point is moved towards the first junction point until the line no longer intersects the boundary.
  • the line between the junction points when the edges are overshot does not intersect the boundary, as shown in Figure 14a.
  • the junction points are moved together along the boundary, as shown in Figure 14b, alternately by a small increment until the line intersects the boundary, as shown in Figure 14c.
  • the contour correction then proceeds as described above, until the line no longer intersects the boundary, as shown in Figure 14d.
  • junction points representing the points along the boundary B at which the nodule N joins the pleura P. These junction points may be used to estimate the boundary of the nodule N within the slice. As a first approximation, a straight line joining the junction points is used to define the junction between the nodule N and the pleura P. Alternatively, a curved line may be used, with a curvature estimated from that of the pleura surrounding the nodule N. Next, the extent of the nodule N is determined. In one embodiment, it is assumed that the nodule N is not attached to or proximate to any features other than the pleura P.
  • a fuzzy contrast region growing scheme is used to identify the extent of the nodule N.
  • the extent of the nodule N is estimated by means of a local threshold-based segmentation process.
  • a local mask is used to derive a threshold intensity value for each point.
  • the threshold is therefore sensitive to the local contrast and can distinguish low contrast nodules from their background.
  • the nodule area N acquired by fine segmentation may include 'holes' i.e. background pixels surrounded by foreground pixels. The holes may result from the sensitivity of the fine segmentation to small local differences in contrast.
  • a suitable hole-filling algorithm is used to fill such holes, in other words to convert them to foreground pixels.
  • the pixel with the highest intensity within the nodule area N is taken as a seed point, and binary region-growing is performed from that seed point to identify a connected foreground region F.
  • This region is enlarged using a distance transform method with an enlargement factor, to obtain a mask M containing both foreground and background.
  • the enlargement factor may be 50%.
  • the mask M does not include any pixels on the other side of the line joining the junction points, including a projection of that line beyond the junction points.
  • the foreground pixels segmented by the fine segmentation process that are not part of the connected foreground region F are removed from the mask M.
  • the background pixels of the mask M are labeled as the background region B .
  • the mean and the standard deviation of the intensity and gradient distributions of the foreground and background regions F and B are determined.
  • the mean of the background intensity ⁇ B , the mean of the foreground intensity ⁇ F , the standard deviation of the background intensity ⁇ and the standard deviation of the foreground intensity ⁇ p are calculated.
  • a parameter ⁇ is estimated by counting the number of the foreground standard deviations ⁇ F that the seed point is away from the background mean intensity ⁇ B and this is taken as the measure of the contrast, which is subsequently used in constructing a fuzzy map as described below.
  • a fuzzy object extraction technique is used to define a 2D map of fuzzy connectivity of each pixel within the mask M with respect to the seed point.
  • a fuzzy affinity function between adjacent pixels is defined and the fuzzy connectivity between each pixel and the seed point is derived by finding the affinity along a path between the pixel and the seed point.
  • the fuzzy connectivity between two points (not necessarily adjacent) is obtained by considering the path with the strongest affinity between two points.
  • the path with the strongest affinity is chosen as the best path and the strength of each path is equal to that of the weakest affinity of adjacent points along the path.
  • the strength between two adjacent points is the affinity between those points.
  • the affinity between two pixels is a measure of the probability that they belong to the same object. This probability is a function of closeness (i.e. Euclidian distance) and the similarity of the image features (i.e. intensity) between those pixels.
  • ⁇ k (c, d) - h( ⁇ a (c,d), f(c), f(d), c, d)
  • h is a scalar value with range [0,1]
  • c and d are image locations of two pixels
  • f(i) is the intensity of spel i.
  • ⁇ a is an adjacency function based on distance between two pixels which is given by, [0, otherwise
  • the value of 0.9 for COj and 0.1 for ⁇ g has been chosen to allow intensity similarity to have more effect.
  • the fuzzy affinity that was used for the current function is:
  • m,-, s ⁇ , m g and s g are the Gaussian parameters for the intensity and gradient. These can be predefined, or are estimated from a small region around the seed point as described below.
  • the mean and standard deviation ⁇ of the intensity and gradient are calculated over all points within the mask M.
  • the parameters related to the gradients are computed in three directions (x, y and z) separately.
  • the corresponding ⁇ are calculated based on the difference between maximum and minimum gradient.
  • the calculation of the statistics is now described in more detail.
  • the parameter m t is taken as the intensity of the seed whereas m gx , m ⁇ . are taken as the means of the gradients in x- and y- direction respectively.
  • the parameters S ⁇ , S 3 are the standard deviation of the gradients in their respective direction.
  • the standard deviation (S d ) appearing in the affinity expression affects the formation of the fuzzy map and hence the determination of the boundary of the nodule. If it is too big, the affinity curve will be relatively flat. Resultantly, the background region will have higher affinity and region growing will result in over-segmentation. On the other hand, if it is too small, the shape of the affinity curve will be narrow and the foreground will have less affinity with the seed and the result would be under-segmented. Ideally, the curve should be spread to such an extent that the background has minimal but finite affinity with the seed.
  • the affinity Gaussian curve is therefore limited or extended by modifying the standard deviation so as to achieve the ideal spread.
  • a fuzzy map is then constructed by finding the fuzzy connectivity value for each pixel relative to the seed point.
  • the fuzzy map may be considered as an enhanced image whose pixels represent how strongly are attached to the seed point.
  • contrast based region growing is applied to the fuzzy map, starting from the seed point. As each pixel is added to the region during region-growing, the peripheral contrast is calculated between the internal and external boundaries of the region.
  • the peripheral contrast of the region may be defined as the difference between the average grey level of the internal boundary and average grey level of the current boundary. At each iteration of the contrast-based region growing, one pixel is selected from the current boundary and added to the current region.
  • the selection priority of pixels in the current boundary is determined on the basis of their intensity and the distance to the centre of the current region.
  • the peripheral contrast is calculated between the internal and external boundaries of the region.
  • the peripheral contrast of the region may be defined as the difference between the average grey level of the internal boundary and average grey level of the current boundary.
  • the peripheral contrast at each stage is recorded, and the region growing continues until the region fills the mask M.
  • the highest peripheral contrast value obtained during region growing is selected as indicating the optimum region, with a boundary most likely to correspond to that of the nodule N.
  • Step 28 After the extent of the nodule N in the current slice has been determined, it is determined whether the nodule N in the current slice overlaps the determined extent of the nodule N in the previous, adjacent slice. This may be done in a variety of ways, for example by determining a circular 'core' of a predetermined radius surrounding the centre of the nodule N in each slice, and determining whether the cores overlap in adjacent slices; i.e. if there are any pixels having the same x and y coordinates between the two cores. If there is no overlap, or no nodule has been detected at all in the current slice, this may indicate the limit of the nodule N in the current direction from the starting slice.
  • the algorithm If the algorithm has proceeded in only one direction from the starting slice, it then proceeds in the other direction. If nodule boundary detection has been performed in both directions, then the algorithm ends, and outputs the detected extent of the nodule in each of the slices in which the nodule N has been detected. If there is overlap with the previous slice, the algorithm proceeds to the next slice, using the junction points J 1 , J 2 from the current slice as the two input seed points. P 1 , p 2 for the next slice, as shown in Figure 17. For example, the seed points for the new slice have the same x and y coordinates as the junction points for the previous slice. Results Figure 18 shows the detected extent of the nodule N in a sample scan image.
  • the embodiment described above can also be applied to the detection of polyps in a CT scan image of the colon.
  • Polyps are always attached to the colon wall, which has a similar intensity in the CT scan image.
  • the shape of polyps is somewhat different from that of lung nodules, the junction between the colon wall and the polyp has similar geometrical properties, and the embodiment may be used to detect that junction.
  • the present invention may be applied to the detection of other abnormal growths attached to walls of internal spaces of the human and/or animal body.
  • Alternative embodiments The embodiments above are described by way of example, and are not intended to limit the scope of the invention. Various alternatives may be envisaged which nevertheless fall within the scope of the claims.
  • the method can be performed on a 2D image consisting of a single CT slice, or a 3D image consisting of consecutive CT slices.

Abstract

A method of detecting the junction between a lesion and a wall in a CT scan image, comprises determining the boundary (B) of the wall to an internal space (L), identifying critical points (c1, c2) along the boundary, and selecting one critical point at either side of the lesion as a junction point between the wall and the lesion. The critical points may be points of maximum local curvature and points of transition between straight and curved sections of the boundary. The critical points mad be selected by receiving first and second seed points (pl, p2) at either side of the lesion; moving the seed points to the boundary if they are not already located on the boundary; and finding the closest critical points to the seed points. The seed points may be determined by displacing the determined junction points (j1, j2) from an adjacent slice of the image into the current slice.

Description

Lesion Boundary Detection Field of the Invention The present invention relates to a method of detecting the junction of a lesion with a wall, such as a lung nodule attached to the pleura or a polyp attached to the colon wall, in an image previously scanned from a human or animal body, particularly but not exclusively in a computed tomography (CT) image. The invention encompasses software and apparatus for carrying out the method. Background of the Invention Detection of suspicious lesions in the early stages of cancer can be considered the most effective way to improve survival. Lung nodule detection and polyp detection are some of the more challenging tasks in medical imaging. Computer-assisted techniques have been proposed to identify regions of interest containing a nodule within a CT scan image, to segment the nodule from surrounding objects such as blood vessels or the lung wall, to calculate physical characteristics of the nodule, and/or to provide an automated diagnosis of the nodule. Fully automated techniques perform all of these steps without intervention by a radiologist, but one or more of these steps may require input from the radiologist, in which case the method may be described as semi-automated. Detection of the size or extent of a lesion is important for accurate diagnosis, but it is difficult to detect the extent of a lung nodule attached to the pleura, or to separate a nodule from the pleura, because of their similar intensity in CT scans. Likewise, it is difficult to detect the boundary between a polyp and the colon wall. Patent publications US-A-2003/0099384 and US-A-2003/0099389 disclose methods of detecting pleural nodules using morpho logical closing for small nodules, and a deformable surface model for nodules larger than the structural element used for morphological closing. Patent publication WO 03/010102 and the article 'Lung Nodule Detection on Thoracic Computed Tomography Images: Preliminary Evaluation of a Computer-aided Diagnostic System', Gurcan M et. al, Med. Phys. 29 (11), November 2002, pp. 2552- 2558, disclose a method of detecting pleural nodules using a local indentation search next to the lung pleura by finding a pair of points on a closed contour along the boundary of the lung where the ratio of the distance between the points along the boundary is greater than the straight line distance between the two points by more than a predetermined threshold. Statement of the Invention According to the present invention, there is provided a method of detecting the junction between a lesion and a wall in a scan image, comprising determining the boundary of the wall to an internal space, identifying critical points along the boundary, and selecting one critical point at either side of the lesion as a junction point between the wall and the lesion. The critical points may be points of maximum local curvature and/or points of transition between straight and curved sections of the boundary. The critical points may be selected by receiving first and second seed points, at either side of the lesion; moving the seed points to the boundary if they are not already located on the boundary; and finding the closest critical points to the seed points. The seed points may be determined by displacing the selected junction points from an adjacent slice of the image into the current slice. An advantage of this method is that the points of contact between the lesion and the pleura can be determined accurately in three dimensions, and the extent of the lesion can therefore be determined more precisely. The location of the junction points maybe fine tuned using various techniques, and may in some circumstances not coincide precisely with the determined critical points. The present invention is preferably implemented using a computer, and extends to software for carrying out the method.
Brief Description of the Drawings Figure 1 is a schematic diagram showing a CT scanner and a remote computer for processing image data from the scanner; Figure 2 is a flowchart of an algorithm in an embodiment of the invention; Figures 3a to 3c show respectively a single slice of a CT scan image of a lung, the lung area as obtained by segmentation, and the boundary of the lung area; Figures 4a to 4c show critical points detected on the lung boundary with three different thresholds; Figure 5 shows seed points at either side of the nodule; Figure 6 illustrates a method of moving the seed points from the pleura to the boundary; Figure 7 illustrates a method of moving the seed points from the lung space to the boundary; Figure 8 illustrates a method of moving the seed points to the closest critical points; Figure 9 illustrates a method of determining the best critical point when they are approximately equidistant; Figure 10 shows an example where the lung is divided into multiple boundaries; Figure 11 shows where a join between the boundaries is determined; Figure 12 is a graph of width against distance on a line midway between the two boundaries, showing how the join is determined; Figures 13a to 13d show a method of correcting overshot edges of a nodule; Figures 14a to 14d show a method of correcting overshot edges of a nodule where the detected edges lie beyond the nodule; Figure 15 shows the detected extent of the nodule; Figure 16 illustrates an alternative method for detecting the extent of the nodule; Figure 17 illustrates mapping of junction points to seed points in the next slice; and Figure 18 shows the detected extent of the nodule in a sequential series of slices.
Detailed Description of the Embodiments
CT Image Each embodiment is performed on series of CT image slices obtained from a CT scan of a human or animal patient. Each slice is a 2-dimensional digital grey-scale image of the x-ray absorption of the scanned area. The properties of the slice depend on the CT scanner used; for example, a high-resolution multi-slice CT scanner may produce images with a resolution of 0.5-0.6 mm/pixel in the x and y directions (i.e. in the plane of the slice). Each pixel may have 32-bit greyscale resolution. The intensity value of each pixel is normally expressed in Hounsfield units (HU). Sequential slices may be separated by a constant distance along the z direction (i.e. the scan separation axis); for example, by a distance of between 0.75-2.5 mm. Hence, the scan image is a three-dimensional (3D) grey scale image, with an overall size depending on the area and number of slices scanned. The present invention is not restricted to any specific scanning technique, and is applicable to electron beam computed tomography (EBCT), multi-detector or spiral scans or any technique which produces as output a 2D or 3D image representing X-ray absorption. As shown in Figure 1, the scan image is created by a computer 4 which receives scan data from a scanner 2 and constructs the scan image. The scan image is saved as an electronic file or a series of files which are stored on a storage medium 6, such as a fixed or removable disc. The scan image may be processed by the computer 4 to identify the extent of a lung nodule, or the scan image may be transferred to another computer 8 which runs software for processing the image as described below. The image processing software may be stored on a carrier, such as a removable disc, or downloaded over a network.
Nodules Attached to Lung Wall A specific embodiment is designed for detection of the boundary between a nodule and a lung wall. Peripheral pulmonary nodules often exhibit some degree of attachment to the pleural surface (on the periphery of the lung, compressed against the external boundary of the thorax). The nodules share a significant amount of their surface with the pleura. For this reason, the delineation of the boundary between pleura and nodule is a difficult task. This complexity is reduced by talcing two seed points as input on the periphery of the lung wall at opposite ends of the nodule. The seed points may be selected by a user, such as a radiologist, or determined automatically. The theory and implementation of the boundary delineation method is described below. In a first embodiment, the method comprises the following steps described in outline with reference to Figure 2, each of which is described in detail below: 1) Input the seed points (step 12) 2) Apply coarse segmentation to separate the lung from the surrounding tissue and determine the boundary (step 14); 3) Determine critical points on the contour (step 16); 4) For each slice (starting from the starting slice): a. If not at the starting slice and either of the current points are in the tissue, move the current points to the boundary (step 18). If this process fails, then terminate the process. b. If either point is in the lung space, move it towards the other point until it hits the boundary (step 20) - terminate if failed; c. Find closest critical points along the contour to the current two points (step 22); d. Fine tune the points (step 24) e. Get outline of nodule (step 26) in the current slice; f. Check the overlap with the nodule in the previous slice (step 28) - terminate if no overlap, g. Map the two points to the next slice (step 30) 5) Repeat for consecutive slices in both directions from the starting slice.
Input Seed points (Step 12) The user inspects one or more slices of a CT scan and visually identifies a potential pleural nodule. By means of a user input device, the user selects two seed points either side of the potential pleural nodule on one of the slices. The seed points need only be located either side of the pleural nodule, and need not be precisely on the boundary. Alternatively, the user may draw a box or other shape around the potential pleural nodule, using the input device. The points of intersection between the shape and the pleura may be taken as the two seed points. As another alternative, the scan image may be pre-processed to identify potential pleural nodules, and the seed points may be input from this pre-processing stage.
Segmentation (Step 14) A sub-image of a plurality (e.g. 30) of slices below and above the slice containing the seed points is selected and coarse segmentation is performed so as to separate the image into the lung space and the pleura (including any nodule attached to the pleura). The segmentation may be performed by applying a predetermined threshold to the image, since the intensity of the lung space is much lower than that of the pleura and nodules. Objects above the threshold but not connected to the pleura are not considered by this algorithm. Alternatively, in order to make the implementation more reproducible, an optimum centre slice may be found and the sub-image may be centred on the optimum centre slice. A window is chosen, for example of 60 pixels x 60 pixels x 10 slices, centred on the mid point between the two seed points. The point with the maximum intensity within the window is found and the corresponding slice containing that maximum intensity point is chosen as the centre slice for the sub-image. The segmentation may be further improved by performing an adaptive segmentation after the initial coarse segmentation. In the adaptive segmentation, the lung space obtained by coarse segmentation is enlarged using a distance transform, to obtain a mask containing the lung space and an envelope around the lung space. The enlargement factor may be 50%. The adaptive segmentation is performed with a threshold which is derived only from the intensity values within the mask. The result of the segmentation is a binary map of the slice, with pixels representing the lung space having one binary value and pixels representing surrounding tissue having another binary value. Pixels on the boundary between the lung space and the surrounding tissue are labelled as boundary pixels. As an example, Figure 3 a shows the scan image of a slice of a lung, while Figure 3b shows the result of the segmentation. Figure 3b is a binary image in which the lung space is white (binary 1) and the surrounding tissue is black (binary 0). Figure 3c shows, in white, the boundary pixels derived from the segmentation.
Determine critical points (Step 16) As a preliminary step for detecting the junction between a nodule and the pleura, critical points on the boundary are determined. Each section of the boundary is identified as concave, convex, or straight. A critical point is either a point of maximum convexity or concavity, or a transitional point between the states of concave, convex, or straight; in other words, between straight and convex or concave, or directly between convex and concave. Critical points are of interest because they can indicate a boundary between the pleura and a nodule. A specific method of determining critical points will now be described. The input is the map of the boundary contour; this could for example be a binar-y array in which the position within the array represents the x and y coordinates of each pixel, and boundary pixels are flagged as binary 1; in other words, a bitmap of the boundary. Next, a boundary pixel is selected as the starting point. This could be any boundary pixel; for example, the first boundary pixel found in a raster scan (left to right, top to bottom) of the bitmap. The algorithm then moves along the boundary, recording the angle between successive neighbouring boundary pixels. As the pixels of each slice are arranged in 2D Cartesian coordinates, there are only 8 possible angles. For each pixel, the neighbours can be represented on a grid:
Figure imgf000009_0001
The angle between each pixel and its neighbours can be encoded as follows:
Figure imgf000009_0002
Where the codes correspond to the following angles:
Figure imgf000009_0003
Therefore, the bitmap is converted to a chain code comprising a one-dimensional vector of codes representing the angle between successive neighbouring boundary pixels in a loop around the boundary, e.g. (1,1,1,2,1,3,3...). Note that these are absolute angles relative to a downwards direction. Next, the chain code is converted to an angle of curvature of the boundary at each boundary pixel. This may be done by taking the chain codes around each boundary pixel and applying a weighted filter so that the chain codes for boundary pixels closer to the current boundary pixel are more heavily weighted. Note that the angle of curvature is relative to the boundary rather than an absolute angle, so that chain codes preceding the current pixel around the loop are subtracted from those following the current pixel around the loop. Ih one example, the angle of curvature for boundary pixel z is calculated as follows:
■ mJ∞t+, ;=-« CC1 = . J Σ m =-» where nij is the weighting factor, which may follow a Gaussian distribution; ccj+j is the chain code for pixel (/+/), and are negative for negative j; n represents the number of pixels taken into account in each direction around the boundary; for example, n=5. The result is a one-dimension vector representing the angle of curvature of the boundary at each boundary pixel, taking into account nearby pixels in either direction around the boundary. The effect of the weighted filter is to smooth the angles from the discrete, granular values of the chain codes. Next, the local maxima and minima of the angles of curvature are identified. For example, a neighbourhood comparison method may be used in which each angle is compared with a predetermined number (e.g. 3) of preceding and following angles in the vector. To identify the transitional points between straight and concave or convex, a range of angles corresponding to 'straight' is defined. For example, all angles of 180°±f may be classified as straight. Figures 4a to 4c show the critical points for/= 5, 15 and 30° respectively. Concave maxima and transitions between straight and concave are labelled with squares, while points of maximum convexity or transitions between straight and convex are labelled with circles. Figure 4a shows that setting /too low results in a large number of critical points representing only slow transitions in the curvature of the boundary. The value of/ may be predefined in the software, and/or adjustable by the user.
Finding the nodule direction Before the nodule is detected, it is first determined in which direction, relative to the two seed points P1 and p2, the nodule extends into the lung. In one embodiment, as illustrated in Figure 5, a vector v is formed between the two points pi and p2, and an orthogonal vector o is constructed from the midpoint of the vector v in both directions. The direction of o which falls into the lung space L indicates the direction of the lung and therefore the direction in which the pleural nodule N extends into the lung from the pleura P. After the initial slice, the nodule direction is determined from the direction of the detected nodule in the previous slice, relative to the seed points pi and p2.
Move to air (Step 18) For each slice, the seed points pi and p? must first be checked to determine whether they are on the boundary B, and if not, they are moved to a suitable point on the boundary. In the initial slice, the user is not required to position the seed points pi and p2 precisely on the boundary. After moving the seed points to the boundary, and moving the seed points to the next slice, by changing their z coordinates, the seed points may no longer be on the boundary in the new slice. If either of the seed points pi and ρ2 is within the pleura P, that point is moved onto the boundary B. The direction and distance of movement may be limited to avoid moving away from a critical point likely to represent an interface between the nodule and the pleura. In particular, the angle of the interface is unlikely to change greatly from one slice to the next. One technique for moving seed points from the tissue to the boundary will now be described. First, it is determined whether there is any lung space L in a window (e.g. 20mm x 20mm) centred on the seed point to be moved. If there is not, then an error condition may be indicated. If there is, then the following steps are performed, as shown in Figure 6: • Draw two lines /;, h from each of the points pi, p2 which are in the tissue, at 45 and 135 degrees respectively from the vector v, in the direction o of the nodule N, each of 10 units in length. • Get the minimum size rectangle R from the seed point to be moved to the ends of the two lines //, h (note that there may only be one pair of such lines if one of the points pls p2 is not in the tissue); • Find the nearest point to the seed point on the boundary B, within the rectangle R. • Move the point to that boundary point provided that the distance moved is less than 10 mm. This technique applies a suitable restriction on the angle by which the vector v can rotate and the distance by which the seed points can move.
Bring two points together (Step 20) If either of the two seed points P1 and p2 are in the lung space L, that point is moved towards the other point until it hits the boundary B, as shown in Figure 7. If the moved points are within a predetermined distance (e.g. 2 mm) of each other, the process is terminated as this indicates that there is only air between the points.
Find closest critical points (Step 22) The seed points pi and p2 should now both be on the boundary B. Next, they are moved to the closest critical points along the boundary B, subject to certain conditions which are designed to avoid a poor choice of critical point, as explained in more detail below. For each seed point, the closest critical point is determined along the boundary B in either direction. If the critical point in one direction along the boundary is significantly closer than the critical point in the other direction, then the seed point is moved to the closer critical point. For example, if the distance between the seed point and the closest critical point in one direction is greater than a threshold, the seed point is moved to the closest critical point in the other direction. The threshold may be a function of the distance between the seed point and the closer of the two closest critical points in either direction, for example twice that distance. If the closest critical points in either direction are approximately equidistant, a critical point is selected based on the amount of lung space in a straight line between the seed point and each critical point. For example, as shown in Figure 9, if the difference between the distances between the seed point P1 and the two closest critical points C1, C2 along the boundary B is less than the threshold, a line I3 is constructed from the seed point pi to each of the two closest critical points C1, C2, and the proportion of the line length which passes through the lung space L is determined. If the proportion is more than a predetermined threshold (e.g. 20%) then the critical point is considered a bad choice and the seed point is moved to the closest critical point C2 in the other direction, if the proportion for that critical point is less than or equal to the threshold. If both critical points have a proportion of greater than the threshold, then the seed point is not moved to either critical point.
Moving the points if too close hi some cases, one of the seed points might be relatively far from the best critical point and therefore, when finding the closest critical point, both seed points will be moved to the same critical point, or to critical points very close to each other. This may happen when the seed points are mapped from a previous slice and especially when fine segmentation movement is applied, as will be described below. If the distance between the two seed points along the boundary is less than a threshold distance, such as 5 mm, the seed point closer to the critical point is moved to that critical point while the other seed point is moved along the boundary to the nearest critical point away from the other seed point, provided that the distance between the two seed points does not increase beyond a predetermined threshold, such as the original distance between the seed points. In other words, the distance between the seed points after moving one away should not be more than double the distance before moving away.
No critical point nearby In some cases there is no critical point near to one of the seed points, which may cause that seed point to move to the closest critical point to the other seed point. This may be avoided by preventing a seed point from being moved along the boundary by more than a predetermined proportion, such as 50%, of the distance between the seed points before moving; in that case, the seed point far away from any critical point is not moved.
Fine Segmentation (Step 24) After finding the nearest critical points using the coarse segmented boundary, the movement of the seed points may be fine tuned by re-evaluating the boundary B in the vicinity of the seed points using fine segmentation, dependent on the local contrast. For example, the threshold for determining whether each point is foreground or background may be determined by the intensities of points within a mask of local points of predetermined extent surrounding that point. The threshold may be selected so that the mean of the centroids of intensities above and below the threshold is equal to the threshold, or offset from the threshold by a predetermined degree. Next, the critical points are determined on the fine-segmented boundary. The seed points may be moved to the closest critical point on the fine segmented boundary, subject to certain conditions, as set out below by way of example: - the movement of the seed points to the fine-segmented boundary is always away from the direction of nodule. - the distance moved must be less than a predetermined threshold. The threshold is set according to how much the seed point was moved from its initial point within the slice to its final point using coarse segmentation. - the angle by which the line between the seed points rotates when moving to the fine segmented boundary critical points must be less than a predetermined angle, such as 40 degrees. The coarse segmented boundary might not be near the fine-segmented boundary of the nodule where there is a strong partial volume effect, hi this case the nearest critical point might be away from the nodule; only movement away from the nodule is allowed, so the correct critical points might not be found. This may be solved by, if the seed points are in the lung relative to the fine-segmented boundary, moving the seed points towards each other until they hit the boundary, and then finding the closest critical points on the fine- segmented boundary. The effect of fine-segmentation is to remove the effect of material around the nodule, such as infected tissue, which obscures the junction of the nodule to the pleura. Coarse segmentation will normally include the material as part of the boundary, whereas fine segmentation will reclassify the material as background. Multiple Boundaries In some cases, the lung L is split into two or more parts by the coarse segmentation, and the seed points are located in different parts, as illustrated for example in Figure 10. This can occur when a blood vessel extends across the lung in the current slice, and may cause difficulties in determining the extent of the nodule N by including the blood vessel as part of the nodule N. To overcome this problem, it is determined whether the seed points, when moved to the boundary B, form part of different, unconnected boundaries. If so, the variation of the distance between the two boundaries is calculated, proceeding from between the two seed points in the direction o of the nodule, as shown in Figure 11. A sample graph of the variation of the distance is shown in Figure 12. The point g of greatest change in the gradient of the graph is taken and the boundaries B are joined at that point. This allows the nodule N to be separated from the blood vessel.
Contour correction hi some cases the boundary between the detected junction points has overshot edges, as shown for example in Figure 13 a; the critical points might not be at the exact location of nodule attachment to the lung wall, for example because of slow angular changes at the junction. To avoid this problem a contour correction function may used to re-adjust the junction points to allow correct region extraction, as shown in Figures 13b to 13d. First, a line is constructed between the junction points. If the line intersects the boundary, then one junction point is moved towards the other along the boundary until there is no intersection with the boundary on that side. Then the other junction point is moved towards the first junction point until the line no longer intersects the boundary. In some cases, particularly when the nodule is small, the line between the junction points when the edges are overshot does not intersect the boundary, as shown in Figure 14a. In this case, the junction points are moved together along the boundary, as shown in Figure 14b, alternately by a small increment until the line intersects the boundary, as shown in Figure 14c. The contour correction then proceeds as described above, until the line no longer intersects the boundary, as shown in Figure 14d.
Get Nodule Boundary At this stage two junction points have been determined, representing the points along the boundary B at which the nodule N joins the pleura P. These junction points may be used to estimate the boundary of the nodule N within the slice. As a first approximation, a straight line joining the junction points is used to define the junction between the nodule N and the pleura P. Alternatively, a curved line may be used, with a curvature estimated from that of the pleura surrounding the nodule N. Next, the extent of the nodule N is determined. In one embodiment, it is assumed that the nodule N is not attached to or proximate to any features other than the pleura P. The result of the segmentation in step 14 is used to identify all of the foreground region beyond the line joining the junction points as forming part of the nodule N, as shown in Figure 15. In an alternative embodiment, a fuzzy contrast region growing scheme is used to identify the extent of the nodule N. First, the extent of the nodule N is estimated by means of a local threshold-based segmentation process. A local mask is used to derive a threshold intensity value for each point. The threshold is therefore sensitive to the local contrast and can distinguish low contrast nodules from their background. The nodule area N acquired by fine segmentation may include 'holes' i.e. background pixels surrounded by foreground pixels. The holes may result from the sensitivity of the fine segmentation to small local differences in contrast. A suitable hole-filling algorithm is used to fill such holes, in other words to convert them to foreground pixels. Next, the pixel with the highest intensity within the nodule area N is taken as a seed point, and binary region-growing is performed from that seed point to identify a connected foreground region F. This region is enlarged using a distance transform method with an enlargement factor, to obtain a mask M containing both foreground and background. The enlargement factor may be 50%. However, as shown in Figure 16, the mask M does not include any pixels on the other side of the line joining the junction points, including a projection of that line beyond the junction points. Next, the foreground pixels segmented by the fine segmentation process that are not part of the connected foreground region F are removed from the mask M. The background pixels of the mask M are labeled as the background region B . The mean and the standard deviation of the intensity and gradient distributions of the foreground and background regions F and B are determined. The mean of the background intensity μB , the mean of the foreground intensity μF, the standard deviation of the background intensity σβ and the standard deviation of the foreground intensity σp are calculated. A parameter ε is estimated by counting the number of the foreground standard deviations σF that the seed point is away from the background mean intensity μB and this is taken as the measure of the contrast, which is subsequently used in constructing a fuzzy map as described below. A fuzzy object extraction technique is used to define a 2D map of fuzzy connectivity of each pixel within the mask M with respect to the seed point. A fuzzy affinity function between adjacent pixels is defined and the fuzzy connectivity between each pixel and the seed point is derived by finding the affinity along a path between the pixel and the seed point. The fuzzy connectivity between two points (not necessarily adjacent) is obtained by considering the path with the strongest affinity between two points. The path with the strongest affinity is chosen as the best path and the strength of each path is equal to that of the weakest affinity of adjacent points along the path. The strength between two adjacent points is the affinity between those points. The affinity between two pixels is a measure of the probability that they belong to the same object. This probability is a function of closeness (i.e. Euclidian distance) and the similarity of the image features (i.e. intensity) between those pixels. The general model for fuzzy affinity is given by: μk = (c, d) - h(μa(c,d), f(c), f(d), c, d) where h is a scalar value with range [0,1], c and d are image locations of two pixels, and f(i) is the intensity of spel i. μa is an adjacency function based on distance between two pixels which is given by,
Figure imgf000017_0001
[0, otherwise A simplified shift invariant version is defined as μk (C, d)
Figure imgf000017_0002
if c≠d, and μk (c, c) = \ where the subscripts 'i' represents the calculations related to intensity and 'gk' represents the calculations related to gradient values in relevant direction (which could be x, y, z) respectively, CDJ and ωg are free parameter weight values whose sum is 1. The value of 0.9 for COj and 0.1 for ωg has been chosen to allow intensity similarity to have more effect. The fuzzy affinity that was used for the current function is:
Figure imgf000017_0003
where m,-, s\, mg and sg are the Gaussian parameters for the intensity and gradient. These can be predefined, or are estimated from a small region around the seed point as described below. The mean and standard deviation σ of the intensity and gradient are calculated over all points within the mask M. The parameters related to the gradients are computed in three directions (x, y and z) separately. The corresponding σ are calculated based on the difference between maximum and minimum gradient. The calculation of the statistics is now described in more detail. The parameter mt is taken as the intensity of the seed whereas mgx , m^. are taken as the means of the gradients in x- and y- direction respectively. The parameters S^ , S3, are the standard deviation of the gradients in their respective direction. The standard deviation (S d) appearing in the affinity expression affects the formation of the fuzzy map and hence the determination of the boundary of the nodule. If it is too big, the affinity curve will be relatively flat. Resultantly, the background region will have higher affinity and region growing will result in over-segmentation. On the other hand, if it is too small, the shape of the affinity curve will be narrow and the foreground will have less affinity with the seed and the result would be under-segmented. Ideally, the curve should be spread to such an extent that the background has minimal but finite affinity with the seed. The affinity Gaussian curve is therefore limited or extended by modifying the standard deviation so as to achieve the ideal spread. A fuzzy map is then constructed by finding the fuzzy connectivity value for each pixel relative to the seed point. The fuzzy map may be considered as an enhanced image whose pixels represent how strongly are attached to the seed point. Next, contrast based region growing is applied to the fuzzy map, starting from the seed point. As each pixel is added to the region during region-growing, the peripheral contrast is calculated between the internal and external boundaries of the region. The peripheral contrast of the region may be defined as the difference between the average grey level of the internal boundary and average grey level of the current boundary. At each iteration of the contrast-based region growing, one pixel is selected from the current boundary and added to the current region. The selection priority of pixels in the current boundary is determined on the basis of their intensity and the distance to the centre of the current region. As each pixel is added to the region during region-growing, the peripheral contrast is calculated between the internal and external boundaries of the region. The peripheral contrast of the region may be defined as the difference between the average grey level of the internal boundary and average grey level of the current boundary. The peripheral contrast at each stage is recorded, and the region growing continues until the region fills the mask M. The highest peripheral contrast value obtained during region growing is selected as indicating the optimum region, with a boundary most likely to correspond to that of the nodule N. Map to next slice (Step 28) After the extent of the nodule N in the current slice has been determined, it is determined whether the nodule N in the current slice overlaps the determined extent of the nodule N in the previous, adjacent slice. This may be done in a variety of ways, for example by determining a circular 'core' of a predetermined radius surrounding the centre of the nodule N in each slice, and determining whether the cores overlap in adjacent slices; i.e. if there are any pixels having the same x and y coordinates between the two cores. If there is no overlap, or no nodule has been detected at all in the current slice, this may indicate the limit of the nodule N in the current direction from the starting slice. If the algorithm has proceeded in only one direction from the starting slice, it then proceeds in the other direction. If nodule boundary detection has been performed in both directions, then the algorithm ends, and outputs the detected extent of the nodule in each of the slices in which the nodule N has been detected. If there is overlap with the previous slice, the algorithm proceeds to the next slice, using the junction points J1, J2 from the current slice as the two input seed points. P1 , p2 for the next slice, as shown in Figure 17. For example, the seed points for the new slice have the same x and y coordinates as the junction points for the previous slice. Results Figure 18 shows the detected extent of the nodule N in a sample scan image. Applicability to the colon The embodiment described above can also be applied to the detection of polyps in a CT scan image of the colon. Polyps are always attached to the colon wall, which has a similar intensity in the CT scan image. Although the shape of polyps is somewhat different from that of lung nodules, the junction between the colon wall and the polyp has similar geometrical properties, and the embodiment may be used to detect that junction. The present invention may be applied to the detection of other abnormal growths attached to walls of internal spaces of the human and/or animal body. Alternative embodiments The embodiments above are described by way of example, and are not intended to limit the scope of the invention. Various alternatives may be envisaged which nevertheless fall within the scope of the claims. As will be apparent from the above discussion, the method can be performed on a 2D image consisting of a single CT slice, or a 3D image consisting of consecutive CT slices.

Claims

Claims 1. A method of identifying the junction between a lesion and a wall adjacent an internal space in a computed tomography scan image, comprising:
a. determining a boundary between the wall and the internal space;
b. determining one or more critical points along the boundary; and
c. selecting first and second junction points on the boundary at either side of the lesion, based on the location of at least one critical point on either side of the lesion, whereby the junction points identify the junction between the lesion and the wall.
2. The method of claim 1, wherein the critical points include at least one point of maximum curvature along the boundary.
3. The method of claim 1 or claim 2, wherein the critical points include at least one point of transition between straight and curved.
4. The method of any preceding claim, including receiving as input first and second seed points at either side of the lesion, wherein the first and second junction points are selected based on the location of the first and second seed points.
5. The method of claim 4, wherein first and second ones of the critical points closest respectively to the first and second seed points are selected respectively as the first and second junction points.
6. The method of claim 5, wherein the distance from the seed points to the critical points is measured along the boundary so as to determine said closest junction points.
7. The method of claim 6, wherein the seed points are moved to the boundary so as to determine their distance along the boundary to the critical points.
8. The method of claim 7, wherein if one of the seed points is located in the internal space, that seed point is moved to the boundary in a direction towards the other one of the seed points.
9. The method of claim 7, wherein if one of the seed points is located within the wall, that seed point is moved to the boundary such that the angle of rotation of a line between the seed points is limited.
10. The method of claim 8 or claim 9, wherein if one of the seed points is located within the wall, it is moved to the boundary if the distance to the boundary is less than a predetermined threshold.
11. The method of any one of claims 5 to 10, wherein for each seed point, the closest critical point in either direction along the boundary is identified and the closer of the closest critical points is selected as the corresponding junction point if the distances along the boundary to the closest critical points in either direction satisfy a predetermined criterion.
12. The method of any preceding claim, wherein if a line between the first and second junction points intersects the boundary, the first and/or second junction points are moved towards one another along the boundary until the line no longer intersects the boundary.
13. The method of any one of claims 1 to 11 , wherein if a line between the first and second junction points lies beyond the lesion, the first and second junction points are moved towards one another along the boundary until the line intersects the lesion but does not intersect the boundary.
14. The method of any one of claims 4 to 11, wherein steps a to c are performed on each of a sequential series of slices of the scan image, wherein the determined first and second junction points of one of the slices are used to generate the first and second seed points for an adjacent one of the slices.
15. The method of claim 14, wherein steps a to c are performed on each of a sequential series of slices of the scan image starting at a predetermined starting slice and proceeding in either direction from the starting slice until the end of the lesion is detected.
16. The method of claim 15, wherein the end of the lesion is detected if no lesion is detected between the seed points in the current slice.
17. The method of claim 15 or claim 16, wherein for each of the sequential series of slices, the extent of the lesion is detected, and the end of the lesion is detected if the extent of the lesion detected in the current slice does not overlap the extent of the lesion detected in an adjacent slice.
18. The method of any preceding claim, wherein the junction between the lesion and the wall is defined by a junction line extending between the first and second junction points, the method further including determining the extent of the lesion such that it is limited by the junction line.
19. The method of claim 18, wherein the extent of the lesion is determined by segmenting the scan image and performing region-growing, limited by the junction line.
20. The method of claim 19, wherein if the first and second junction points are not joined by the boundary, the extent of the lesion is further limited by a boundary connecting line joining separate sections of the boundary on which the junction points are located.
21. The method of claim 20, wherein the boundary connecting line is defined by determining the variation in distance between the separate boundary sections, and identifying the line at which the rate of change of the variation in distance is a maximum.
22. The method of any one of claims 18 to 21 , wherein the extent of the lesion is determined by performing fine segmentation to separate the image around the lesion into foreground and background, using a threshold based on the local contrast; identifying a connected foreground region representing the lesion, limited by the junction line; expanding the foreground region to include background points and to exclude foreground points not included within the foreground region, to create a mask; deriving a fuzzy connectivity map defining the connectivity of points within the mask to a seed point within the lesion; and determining the extent of the lesion from the fuzzy connectivity map.
23. The method of claim 22, wherein the extent of the lesion is determined from the fuzzy connectivity map by growing a connectivity region from the seed point within the fuzzy connectivity map, and outputting the region having the highest boundary contrast as the extent of the lesion.
24. A method of identifying the extent of a lesion attached to a wall in a computed tomography scan image of a lung, comprising:
a. identifying a junction between the lesion and the wall; b. performing fine segmentation to separate the image around the lesion into foreground and background, using a threshold based on the local contrast;
c. growing a foreground region representing the lesion, limited by the junction;
d. expanding the foreground region to include background points while excluding foreground points not included within the foreground region, to create a mask;
e. deriving a fuzzy connectivity map defining the connectivity of points within the mask to a seed point within the lesion; and
f. determining the extent of the lesion from the fuzzy connectivity map.
25. The method of claim 24, wherein step f comprises growing a connectivity region from the seed point within the fuzzy connectivity map, and outputting the region having the highest boundary contrast as the extent of the lesion.
26. The method of any preceding claim, wherein the lesion is a nodule and the internal space is a lung.
27. The method of any one of claims 1 to 25, wherein the lesion is a polyp and the internal space is a colon.
28. A computer program arranged to perform the method of any preceding claim.
29. A computer program product comprising a medium recording the computer program of claim 28.
PCT/GB2005/001841 2004-06-23 2005-05-13 Lesion boundary detection WO2006000738A1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CA002571720A CA2571720A1 (en) 2004-06-23 2005-05-13 Lesion boundary detection
JP2007517400A JP5055115B2 (en) 2004-06-23 2005-05-13 Identification method, computer program, and computer program device
AU2005256785A AU2005256785A1 (en) 2004-06-23 2005-05-13 Lesion boundary detection
EP05804912A EP1771822A1 (en) 2004-06-23 2005-05-13 Lesion boundary detection

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
GBGB0414081.0 2004-06-23
GB0414081A GB2415563B (en) 2004-06-23 2004-06-23 Lesion boundary detection
US10/935,159 2004-09-08
US10/935,159 US7697742B2 (en) 2004-06-23 2004-09-08 Lesion boundary detection

Publications (1)

Publication Number Publication Date
WO2006000738A1 true WO2006000738A1 (en) 2006-01-05

Family

ID=34969123

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/GB2005/001841 WO2006000738A1 (en) 2004-06-23 2005-05-13 Lesion boundary detection

Country Status (6)

Country Link
EP (1) EP1771822A1 (en)
JP (1) JP5055115B2 (en)
KR (1) KR20070083467A (en)
AU (1) AU2005256785A1 (en)
CA (1) CA2571720A1 (en)
WO (1) WO2006000738A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1994878A1 (en) * 2006-03-16 2008-11-26 Olympus Medical Systems Corp. Image processing device for medical use and image processing method for medical use
CN103793905A (en) * 2012-11-02 2014-05-14 上海联影医疗科技有限公司 Method and device for determining direction of coronal view of brain image
US11200443B2 (en) 2016-11-09 2021-12-14 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and image processing system

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5527869B2 (en) * 2008-03-21 2014-06-25 国立大学法人神戸大学 Image diagnosis support processing apparatus and image diagnosis support processing program
KR101128662B1 (en) * 2009-12-30 2012-04-12 서울여자대학교 산학협력단 Endo- and Epi- cardial Boundary Detection Apparatus of the Left Ventricle and method thereof
KR101899866B1 (en) 2011-11-03 2018-09-19 삼성전자주식회사 Apparatus and method for detecting error of lesion contour, apparatus and method for correcting error of lesion contour and, apparatus for insecting error of lesion contour
JP6643827B2 (en) * 2015-07-31 2020-02-12 キヤノン株式会社 Image processing apparatus, image processing method, and program
JP6957152B2 (en) * 2016-12-28 2021-11-02 キヤノン株式会社 Information processing equipment, extraction methods and programs
JP7151464B2 (en) * 2018-12-21 2022-10-12 富士通株式会社 Lung image processing program, lung image processing method and lung image processing system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5185809A (en) * 1987-08-14 1993-02-09 The General Hospital Corporation Morphometric analysis of anatomical tomographic data
US6246784B1 (en) * 1997-08-19 2001-06-12 The United States Of America As Represented By The Department Of Health And Human Services Method for segmenting medical images and detecting surface anomalies in anatomical structures
US20040064029A1 (en) * 2002-09-30 2004-04-01 The Government Of The Usa As Represented By The Secretary Of The Dept. Of Health & Human Services Computer-aided classification of anomalies in anatomical structures
WO2004046995A2 (en) * 2002-11-20 2004-06-03 Koninklijke Philips Electronics N.V. Computer-aided detection of lung nodules

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05225317A (en) * 1991-12-13 1993-09-03 Nec Corp Coordinate data designation control system
JP4219456B2 (en) * 1998-12-07 2009-02-04 株式会社日立製作所 Region extraction method and region extraction device
US6898303B2 (en) * 2000-01-18 2005-05-24 Arch Development Corporation Method, system and computer readable medium for the two-dimensional and three-dimensional detection of lesions in computed tomography scans

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5185809A (en) * 1987-08-14 1993-02-09 The General Hospital Corporation Morphometric analysis of anatomical tomographic data
US6246784B1 (en) * 1997-08-19 2001-06-12 The United States Of America As Represented By The Department Of Health And Human Services Method for segmenting medical images and detecting surface anomalies in anatomical structures
US20040064029A1 (en) * 2002-09-30 2004-04-01 The Government Of The Usa As Represented By The Secretary Of The Dept. Of Health & Human Services Computer-aided classification of anomalies in anatomical structures
WO2004046995A2 (en) * 2002-11-20 2004-06-03 Koninklijke Philips Electronics N.V. Computer-aided detection of lung nodules

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
JEREBKO A K ET AL: "Polyp segmentation method for CT colonography computer-aided detection", PROCEEDINGS OF THE SPIE, SPIE, BELLINGHAM, VA, US, vol. 5031, 2003, pages 359 - 369, XP002304340, ISSN: 0277-786X *
KRISHNAN S M ET AL: "Intestinal abnormality detection from endoscopic images", ENGINEERING IN MEDICINE AND BIOLOGY SOCIETY, 1998. PROCEEDINGS OF THE 20TH ANNUAL INTERNATIONAL CONFERENCE OF THE IEEE HONG KONG, CHINA 29 OCT.-1 NOV. 1998, PISCATAWAY, NJ, USA,IEEE, US, vol. 2, 29 October 1998 (1998-10-29), pages 895 - 898, XP010320629, ISBN: 0-7803-5164-9 *
UDUPA J K ET AL: "Fuzzy Connectedness and Object Definition: Theory, Algorithms, and Applications in Image Segmentation", CVGIP GRAPHICAL MODELS AND IMAGE PROCESSING, ACADEMIC PRESS, DULUTH, MA, US, vol. 58, no. 3, May 1996 (1996-05-01), pages 246 - 261, XP004418992, ISSN: 1077-3169 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1994878A1 (en) * 2006-03-16 2008-11-26 Olympus Medical Systems Corp. Image processing device for medical use and image processing method for medical use
EP1994878A4 (en) * 2006-03-16 2010-08-18 Olympus Medical Systems Corp Image processing device for medical use and image processing method for medical use
US8295566B2 (en) 2006-03-16 2012-10-23 Olympus Medical Systems Corp. Medical image processing device and medical image processing method
CN103793905A (en) * 2012-11-02 2014-05-14 上海联影医疗科技有限公司 Method and device for determining direction of coronal view of brain image
US11200443B2 (en) 2016-11-09 2021-12-14 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and image processing system

Also Published As

Publication number Publication date
KR20070083467A (en) 2007-08-24
AU2005256785A1 (en) 2006-01-05
EP1771822A1 (en) 2007-04-11
CA2571720A1 (en) 2006-01-05
JP2008503294A (en) 2008-02-07
JP5055115B2 (en) 2012-10-24

Similar Documents

Publication Publication Date Title
US7697742B2 (en) Lesion boundary detection
JP4999163B2 (en) Image processing method, apparatus, and program
US7574031B2 (en) Nodule boundary detection
Sluimer et al. Toward automated segmentation of the pathological lung in CT
WO2006000738A1 (en) Lesion boundary detection
Badura et al. Soft computing approach to 3D lung nodule segmentation in CT
US8019139B2 (en) Method and system for processing an image of body tissues
JP2007524488A (en) System and method for toboggan-based object segmentation using divergent gradient field response in images
JP2011526508A (en) Segmentation of medical images
US7480401B2 (en) Method for local surface smoothing with application to chest wall nodule segmentation in lung CT data
JP2008503294A6 (en) Identification method, computer program, and computer program device
Chodorowski et al. Color lesion boundary detection using live wire
CA2554853C (en) Using corner pixels as seeds for detection of convex objects
Zinoveva et al. A texture-based probabilistic approach for lung nodule segmentation
CN113780421B (en) Brain PET image identification method based on artificial intelligence
JP2003115041A (en) Unexplained abnormality detection device and pectoral area extraction device
Hiraman Liver segmentation using 3D CT scans.
Ayatollahi et al. Automatic Pulmonary Nodule Growth Measurement through CT Image Analysis based on Morphology Filtering and Statistical Region Merging
Thevenot Automatic Segmentation of Bone Tissue from Computed Tomography Using a Volumetric Local Binary Patterns Based Method
van Ginneken et al. Automated detection of nodules attached to the pleural and mediastinal surface in low-dose CT scans

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KM KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NG NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SM SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 2005804912

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2007517400

Country of ref document: JP

Ref document number: 2571720

Country of ref document: CA

WWE Wipo information: entry into national phase

Ref document number: 200580021312.X

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

WWW Wipo information: withdrawn in national office

Country of ref document: DE

WWE Wipo information: entry into national phase

Ref document number: 2005256785

Country of ref document: AU

WWE Wipo information: entry into national phase

Ref document number: 1020077001635

Country of ref document: KR

ENP Entry into the national phase

Ref document number: 2005256785

Country of ref document: AU

Date of ref document: 20050513

Kind code of ref document: A

WWP Wipo information: published in national office

Ref document number: 2005256785

Country of ref document: AU

WWP Wipo information: published in national office

Ref document number: 2005804912

Country of ref document: EP