Prostate segmentation on T2 MRI using Optimal Surface Detection