[][src]Struct ndarray_vision::processing::canny::CannyParameters

pub struct CannyParameters<T> {
    pub blur: Array3<T>,
    pub t1: T,
    pub t2: T,
}

Parameters for the Canny Edge Detector

Fields

blur: Array3<T>

By default this library uses a Gaussian blur, although other kernels can be substituted

t1: T

Lower threshold for weak edges used during the hystersis based edge linking

t2: T

Upper threshold defining a strong edge

Trait Implementations

impl<T: Clone> Clone for CannyParameters<T>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<T: PartialEq> PartialEq<CannyParameters<T>> for CannyParameters<T>[src]

impl<T: Eq> Eq for CannyParameters<T>[src]

impl<T: Debug> Debug for CannyParameters<T>[src]

impl<T: Hash> Hash for CannyParameters<T>[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl<T> Sync for CannyParameters<T> where
    T: Sync

impl<T> Unpin for CannyParameters<T> where
    T: Unpin

impl<T> Send for CannyParameters<T> where
    T: Send

impl<T> UnwindSafe for CannyParameters<T> where
    T: RefUnwindSafe + UnwindSafe

impl<T> RefUnwindSafe for CannyParameters<T> where
    T: RefUnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]