A method of detecting a junction between a lesion and a wall in a CT scan
image may include determining the boundary (B) of the wall to an internal
space (L), identifying critical points (c.sub.1, c.sub.2) 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 (p.sub.1,
p.sub.2) 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 (j.sub.1,
j.sub.2) from an adjacent slice of the image into the current slice.