A discrete dynamic model for defining contours in 2-D medical images is pre
sented. An active contour in this objective is optimised by a dynamic progr
amming algorithm, for which a new constraint that has fast and stable prope
rties is introduced. The internal energy of the model depends on local beha
vior of the contour, while the external energy is derived from image featur
es. The algorithm is able to rapidly detect convex and concave objects even
when the image quality is poor.