A method for detecting an object in an image includes determining a shape
model from aligned training examples, and implementing the shape model as
a prior within a level set framework for determining the object in the
image, wherein the level set framework determines a projection of the
object in the image and a confidence measure along portions of the
projection, the level set framework being constrained by the prior.