New high resolution image techniques allow to capture the anatomy and movement of the heart of small animals. The availability of these in vivo images can be very useful for medical research, however the amount of generated data for large animal studies makes manual analysis a very tedious task. To cope with the problem of automatic analysis of these images, we propose the use of the Deformable Elastic Template method to perform automatic segmentation of the ventricles. To adapt the method to the specificities of high-resolution MRI, several improvements are presented, including an image-context dependent scheme for more robust segmentation. Qualitative results show that our method is able to correctly retrieve the heart's contours in 3D.