Automatic 3-D segmentation of endocardial border of the left ventricle from ultrasound images