pub struct BoxLinearFilter;Expand description
The box linear filter is roughly defined as 1/(R*C)*Array2::ones((R, C))
This filter will be a box linear for every colour channel provided
Trait Implementations§
Source§impl Clone for BoxLinearFilter
impl Clone for BoxLinearFilter
Source§fn clone(&self) -> BoxLinearFilter
fn clone(&self) -> BoxLinearFilter
Returns a duplicate 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 BoxLinearFilter
impl Debug for BoxLinearFilter
Source§impl Hash for BoxLinearFilter
impl Hash for BoxLinearFilter
Source§impl<T> KernelBuilder<T> for BoxLinearFilter
impl<T> KernelBuilder<T> for BoxLinearFilter
Source§type Params = bool
type Params = bool
If false the kernel will not be normalised - this means that pixel bounds may be exceeded and overflow may occur
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 BoxLinearFilter
impl PartialEq for BoxLinearFilter
impl Copy for BoxLinearFilter
impl Eq for BoxLinearFilter
impl StructuralPartialEq for BoxLinearFilter
Auto Trait Implementations§
impl Freeze for BoxLinearFilter
impl RefUnwindSafe for BoxLinearFilter
impl Send for BoxLinearFilter
impl Sync for BoxLinearFilter
impl Unpin for BoxLinearFilter
impl UnwindSafe for BoxLinearFilter
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