Image segmentation in digital image processing