pub struct CannyOptions {
pub sigma: f64,
pub precision: Precision,
}
Expand description
Options for canny operation
Fields§
§sigma: f64
sigma: f64
-> Sigma of Gaussian
min: 0.01, max: 1000, default: 1.4
precision: Precision
precision: Precision
-> Convolve with this precision
Integer
-> VIPS_PRECISION_INTEGER = 0
Float
-> VIPS_PRECISION_FLOAT = 1 [DEFAULT]
Approximate
-> VIPS_PRECISION_APPROXIMATE = 2
Last
-> VIPS_PRECISION_LAST = 3
Trait Implementations§
Source§impl Clone for CannyOptions
impl Clone for CannyOptions
Source§fn clone(&self) -> CannyOptions
fn clone(&self) -> CannyOptions
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 CannyOptions
impl Debug for CannyOptions
Auto Trait Implementations§
impl Freeze for CannyOptions
impl RefUnwindSafe for CannyOptions
impl Send for CannyOptions
impl Sync for CannyOptions
impl Unpin for CannyOptions
impl UnwindSafe for CannyOptions
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