Machine Learning and Model Based 3D Segmentation Algorithms for Challenging Medical Imaging Problems