[−][src]Function imageproc::suppress::suppress_non_maximum
pub fn suppress_non_maximum<I, C>(
image: &I,
radius: u32
) -> ImageBuffer<Luma<C>, Vec<C>> where
I: GenericImage<Pixel = Luma<C>>,
C: Primitive + Ord + 'static,
Returned image has zeroes for all inputs pixels which do not have the greatest intensity in the (2 * radius + 1) square block centred on them. Ties are resolved lexicographically.