Enum cv::imgproc::InterpolationFlag[][src]

#[repr(C)]pub enum InterpolationFlag {
    InterNearst,
    InterLinear,
    InterCubic,
    InterArea,
    InterLanczos4,
    InterLinearExact,
    InterMax,
    WarpFillOutliers,
    WarpInverseMap,
}

Interpolation algorithm

Variants

InterNearst

nearest neighbor interpolation

InterLinear

bilinear interpolation

InterCubic

bicubic interpolation

InterArea

resampling using pixel area relation. It may be a preferred method for image decimation, as it gives moire’-free results. But when the image is zoomed, it is similar to the INTER_NEAREST method.

InterLanczos4

Lanczos interpolation over 8x8 neighborhood

InterLinearExact

Bit exact bilinear interpolation

InterMax

mask for interpolation codes

WarpFillOutliers

flag, fills all of the destination image pixels. If some of them correspond to outliers in the source image, they are set to zero

WarpInverseMap

flag, inverse transformation

Trait Implementations

impl Clone for InterpolationFlag[src]

impl Copy for InterpolationFlag[src]

impl Debug for InterpolationFlag[src]

impl Eq for InterpolationFlag[src]

impl Hash for InterpolationFlag[src]

impl PartialEq<InterpolationFlag> for InterpolationFlag[src]

impl StructuralEq for InterpolationFlag[src]

impl StructuralPartialEq for InterpolationFlag[src]

Auto Trait Implementations

impl RefUnwindSafe for InterpolationFlag

impl Send for InterpolationFlag

impl Sync for InterpolationFlag

impl Unpin for InterpolationFlag

impl UnwindSafe for InterpolationFlag

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.