Gradient Based Image Segmentation Definition