Image segmentation using local variation
Introduction to Algorithms