Find local maxima in matrices
Computer Vision Toolbox / Statistics
The Find Local Maxima block finds the local maxima in a given input matrix. The block finds the local maxima of values within a region specified by the neighborhood size. The block compares the values in the search region to a user-specified threshold and identifies a value that is greater than or equal to the threshold as the local maximum. The threshold and the neighbourhood size must be chosen such that the block detects only the true local maxima and eliminates false peaks.
The input to this block can also be a Hough matrix generated from the Hough Transform block. The Find Local Maxima block outputs the one-based [x y] coordinates of the detected local maxima. The data sent to all input ports must be the same data type.
Data Types |
|
Multidimensional Signals |
|
Variable-Size Signals |
|