A method for diagnosis includes capturing a sequence of two-dimensional ultrasound images of a moving organ within a body of a patient. At least one contour of the organ is identified in a succession of the images in the sequence and is processed to generate an output indicative of motion of the organ over time.