[][src]Enum opencv::imgproc::InterpolationFlags

#[repr(C)]pub enum InterpolationFlags {
    INTER_NEAREST,
    INTER_LINEAR,
    INTER_CUBIC,
    INTER_AREA,
    INTER_LANCZOS4,
    INTER_LINEAR_EXACT,
    INTER_MAX,
    WARP_FILL_OUTLIERS,
    WARP_INVERSE_MAP,
}

interpolation algorithm

Variants

INTER_NEAREST

nearest neighbor interpolation

INTER_LINEAR

bilinear interpolation

INTER_CUBIC

bicubic interpolation

INTER_AREA

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.

INTER_LANCZOS4

Lanczos interpolation over 8x8 neighborhood

INTER_LINEAR_EXACT

Bit exact bilinear interpolation

INTER_MAX

mask for interpolation codes

WARP_FILL_OUTLIERS

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

WARP_INVERSE_MAP

flag, inverse transformation

For example, #linearPolar or #logPolar transforms:

  • flag is not set: inline formula
  • flag is set: inline formula

Trait Implementations

impl Clone for InterpolationFlags[src]

impl Copy for InterpolationFlags[src]

impl Debug for InterpolationFlags[src]

impl PartialEq<InterpolationFlags> for InterpolationFlags[src]

impl StructuralPartialEq for InterpolationFlags[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.