A framework for automatically tracking tag lines from a sequence of magnetic resonance (MR) images is described. MR tagging is used to create a spatial pattern of varying magnetization so that objects which may otherwise have small intensity variation are textured. The algorithm presented here uses a dynamic programming solution to a variational integral for energy minimization of curves, where the behavior of the curves is controlled by image features and by geometric smoothness.<<ETX>>