cleanmaxima(image, maxima, radius multiplier)
Removes all maxima that are smaller in radius than neighbouring maximum. Maximum is neighbour to another maximum if distance between them is less than radius of the larger maximum multiplied by radiusMultiplier. Removes all maxima \(m\) that satisfy \(distance(m, n) < radiusMultiplier * radius(n)\) and \(radius(n) > radius(m)\) for some \(n\). The distance is measured between centroids of the maxima. The maxima are removed by combining them to the larger maxima.
This command cannot be used in the distributed processing mode. If you need it, please contact the authors.
Data type: uint8 image, uint16 image, uint32 image, uint64 image, int8 image, int16 image, int32 image, int64 image, float32 image
The image where the maxima have been extracted (by localmaxima command).
maxima [input & output]¶
Data type: int32 image
Image that contains the maxima. See output from localmaxima command.
radius multiplier [input]¶
Data type: real
Default value: 1
Maxima are enlarged by this multiplier.