The invention relates to a system (200) for delineating endocardial and epicardial contours of the heart in an image computed from long-axis image data, using a template defining curves for delineating the endocardial and epicardial contours in the image, the system (200) comprising a template-positioning unit (205) for positioning the template on the basis of short-axis image data, a scar map initialization unit (210) for initializing a scar map for use in adapting the template to the image, based on a prior segmentation of the endocardial and epicardial surfaces on the basis of the short-axis image data, and an adaptation unit (220) for adapting the template to the image, using a criterion function,