Dynamic programming for detecting, tracking, and matching deformable contours | Synapse