Find peak (regions) in 2D data
问题 I am looking to find peak regions in 2D data (if you will, grayscale images or 2D landscapes, created through a Hough transform). By peak region I mean a locally maximal peak , yet NOT a single point but a part of the surrounding contributing region that goes with it. I know, this is a vague definition, but maybe the word mountain or the images below will give you an intuition of what I mean. The peaks marked in red (1-4) are what I want, the ones in pink (5-6) examples for the "grey zone",