maxima_selection function

Image maxima selection based on values and neighborhood of local maxima