Deformable Meshes for Medical Image Segmentation:Accurate Automatic Segmentation of Anatomical Structures