Text this: Texture image segmentation based on estimation of density of contour elements and absorption of small regions