[−][src]Struct ndarray_vision::processing::kernels::GaussianFilter
Builds a Gaussian kernel taking the covariance as a parameter. Covariance is given as 2 values for the x and y variance.
Trait Implementations
impl<T> KernelBuilder<T> for GaussianFilter where
T: Copy + Clone + FromPrimitive + Num,
[src]
T: Copy + Clone + FromPrimitive + Num,
type Params = [f64; 2]
The parameter for the Gaussian filter is the horizontal and vertical covariances to form the covariance matrix.
ⓘThis example is not tested
[ Params[0], 0] [ 0, Params[1]]
fn build<D>(shape: D) -> Result<Array3<T>, Error> where
D: Copy + IntoDimension<Dim = Ix3>,
[src]
D: Copy + IntoDimension<Dim = Ix3>,
fn build_with_params<D>(
shape: D,
covar: Self::Params
) -> Result<Array3<T>, Error> where
D: Copy + IntoDimension<Dim = Ix3>,
[src]
shape: D,
covar: Self::Params
) -> Result<Array3<T>, Error> where
D: Copy + IntoDimension<Dim = Ix3>,
impl Copy for GaussianFilter
[src]
impl PartialEq<GaussianFilter> for GaussianFilter
[src]
fn eq(&self, other: &GaussianFilter) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=
.
impl Clone for GaussianFilter
[src]
fn clone(&self) -> GaussianFilter
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for GaussianFilter
[src]
impl Debug for GaussianFilter
[src]
impl Hash for GaussianFilter
[src]
Auto Trait Implementations
impl Send for GaussianFilter
impl Sync for GaussianFilter
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,