An efficient method for contour tracking using active shape modelsLearning flexible models from image sequencesLearning spatiotemporal models from training examples