[−][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 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 PartialEq<GaussianFilter> for GaussianFilter
[src]
fn eq(&self, other: &GaussianFilter) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Eq for GaussianFilter
[src]
impl Debug for GaussianFilter
[src]
impl Hash for GaussianFilter
[src]
Auto Trait Implementations
impl Sync for GaussianFilter
impl Unpin for GaussianFilter
impl Send for GaussianFilter
impl UnwindSafe for GaussianFilter
impl RefUnwindSafe for GaussianFilter
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,