Level Set Methods For Image Segmentation And 3D Reconstruction