Segmentation of patchy areas in biomedical images based on local edge density estimationImage-Segmentation-Models