[−][src]Struct libvips::ops::CompassOptions
Options for compass operation
Fields
times: i32
times: i32
-> Rotate and convolve this many times
min: 1, max: 1000, default: 2
angle: Angle45
angle: Angle45
-> Rotate mask by this much between convolutions
D0
-> VIPS_ANGLE45_D0 = 0
D45
-> VIPS_ANGLE45_D45 = 1
D90
-> VIPS_ANGLE45_D90 = 2 [DEFAULT]
D135
-> VIPS_ANGLE45_D135 = 3
D180
-> VIPS_ANGLE45_D180 = 4
D225
-> VIPS_ANGLE45_D225 = 5
D270
-> VIPS_ANGLE45_D270 = 6
D315
-> VIPS_ANGLE45_D315 = 7
Last
-> VIPS_ANGLE45_LAST = 8
combine: Combine
combine: Combine
-> Combine convolution results like this
Max
-> VIPS_COMBINE_MAX = 0 [DEFAULT]
Sum
-> VIPS_COMBINE_SUM = 1
Min
-> VIPS_COMBINE_MIN = 2
Last
-> VIPS_COMBINE_LAST = 3
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
layers: i32
layers: i32
-> Use this many layers in approximation
min: 1, max: 1000, default: 5
cluster: i32
cluster: i32
-> Cluster lines closer than this in approximation
min: 1, max: 100, default: 1
Trait Implementations
impl Clone for CompassOptions
[src]
fn clone(&self) -> CompassOptions
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CompassOptions
[src]
impl Default for CompassOptions
[src]
Auto Trait Implementations
impl RefUnwindSafe for CompassOptions
impl Send for CompassOptions
impl Sync for CompassOptions
impl Unpin for CompassOptions
impl UnwindSafe for CompassOptions
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,