H-maxima transform
In mathematical morphology, the h-maxima transform is a morphological operation used to filter local maxima of an image based on local contrast information. First, all local maxima are defined as connected pixels in a given neighborhood with intensity level greater than pixels outside the neighborhood.