Segmentation of patchy areas in biomedical images based on local edge density estimation. (January 2023)