1. A method for automatic segmentation of a cardiac structure, comprising: obtaining echocardiographic images; defining a search space within the echocardiographic images using a pair of one-dimensional (1D) profiles; and using an energy based function constrained by non-local temporal priors within the defined search space to automatically segment a contour of a cardiac structure with the 1D profiles.