Image segmentation algorithm based on mathematical morphology and active edgeless contour model without edges