pub struct GaussianFilter;
Expand description
Builds a Gaussian kernel taking the covariance as a parameter. Covariance is given as 2 values for the x and y variance.
Trait Implementations§
Source§impl Clone for GaussianFilter
impl Clone for GaussianFilter
Source§fn clone(&self) -> GaussianFilter
fn clone(&self) -> GaussianFilter
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GaussianFilter
impl Debug for GaussianFilter
Source§impl Hash for GaussianFilter
impl Hash for GaussianFilter
Source§impl<T> KernelBuilder<T> for GaussianFilter
impl<T> KernelBuilder<T> for GaussianFilter
Source§type Params = [f64; 2]
type Params = [f64; 2]
The parameter for the Gaussian filter is the horizontal and vertical covariances to form the covariance matrix.
[ Params[0], 0]
[ 0, Params[1]]
Source§fn build<D>(shape: D) -> Result<Array3<T>, Error>
fn build<D>(shape: D) -> Result<Array3<T>, Error>
Build a kernel with a given dimension given sensible defaults for any
parameters
Source§impl PartialEq for GaussianFilter
impl PartialEq for GaussianFilter
impl Copy for GaussianFilter
impl Eq for GaussianFilter
impl StructuralPartialEq for GaussianFilter
Auto Trait Implementations§
impl Freeze for GaussianFilter
impl RefUnwindSafe for GaussianFilter
impl Send for GaussianFilter
impl Sync for GaussianFilter
impl Unpin for GaussianFilter
impl UnwindSafe for GaussianFilter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more