[][src]Struct libvips::ops::SharpenOptions

pub struct SharpenOptions {
    pub sigma: f64,
    pub x_1: f64,
    pub y_2: f64,
    pub y_3: f64,
    pub m_1: f64,
    pub m_2: f64,
}

Options for sharpen operation

Fields

sigma: f64

sigma: f64 -> Sigma of Gaussian min: 0.000001, max: 10000, default: 0.5

x_1: f64

x_1: f64 -> Flat/jaggy threshold min: 0, max: 1000000, default: 2

y_2: f64

y_2: f64 -> Maximum brightening min: 0, max: 1000000, default: 10

y_3: f64

y_3: f64 -> Maximum darkening min: 0, max: 1000000, default: 20

m_1: f64

m_1: f64 -> Slope for flat areas min: 0, max: 1000000, default: 0

m_2: f64

m_2: f64 -> Slope for jaggy areas min: 0, max: 1000000, default: 3

Trait Implementations

impl Clone for SharpenOptions[src]

impl Debug for SharpenOptions[src]

impl Default for SharpenOptions[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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, 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.