Text this: Region and active contour-based segmentation technique for medical and weak-edged images