Local Maximum is a morphological transformation that finds local maxima of an image.
By definition a local maximum is a point where all its neighbors are lower in intensity than it.
Here we show a signal (one dimension image) for didactical reasons but the algorithm works for graylevel images also.
--->