Surface-Based Image Segmentation Using Application-Specific Priors