pub trait MedianFilterExt {
type Output;
// Required method
fn median_filter<E>(&self, region: E) -> Self::Output
where E: IntoDimension<Dim = Ix2>;
}
Expand description
Median filter, given a region to move over the image, each pixel is given the median value of itself and it’s neighbours
Required Associated Types§
Required Methods§
Sourcefn median_filter<E>(&self, region: E) -> Self::Outputwhere
E: IntoDimension<Dim = Ix2>,
fn median_filter<E>(&self, region: E) -> Self::Outputwhere
E: IntoDimension<Dim = Ix2>,
Run the median filter given the region. Median is assumed to be calculated independently for each channel.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.