Gradient Based Image Segmentation Python Github Learning Management