Gravar-mail: 3D image segmentation of deformable objects with joint shape-intensity prior models using level sets