Segmentation Of Regions With Complex Boundaries