pub struct CannyParameters<T> {
pub blur: Array3<T>,
pub t1: T,
pub t2: T,
}
Expand description
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§
Source§impl<T: Clone> Clone for CannyParameters<T>
impl<T: Clone> Clone for CannyParameters<T>
Source§fn clone(&self) -> CannyParameters<T>
fn clone(&self) -> CannyParameters<T>
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<T: Debug> Debug for CannyParameters<T>
impl<T: Debug> Debug for CannyParameters<T>
Source§impl<T: Hash> Hash for CannyParameters<T>
impl<T: Hash> Hash for CannyParameters<T>
Source§impl<T: PartialEq> PartialEq for CannyParameters<T>
impl<T: PartialEq> PartialEq for CannyParameters<T>
impl<T: Eq> Eq for CannyParameters<T>
impl<T> StructuralPartialEq for CannyParameters<T>
Auto Trait Implementations§
impl<T> Freeze for CannyParameters<T>where
T: Freeze,
impl<T> RefUnwindSafe for CannyParameters<T>where
T: RefUnwindSafe,
impl<T> Send for CannyParameters<T>where
T: Send,
impl<T> Sync for CannyParameters<T>where
T: Sync,
impl<T> Unpin for CannyParameters<T>where
T: Unpin,
impl<T> UnwindSafe for CannyParameters<T>where
T: UnwindSafe + RefUnwindSafe,
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