Enum rustcv::imgproc::InterpolationFlag
[−]
[src]
#[repr(C)]pub enum InterpolationFlag { Nearst, Linear, Cubic, Area, Lanczos4, LinearExact, Max, WarpFillOutliers, WarpInverseMap, }
Interpolation algorithm
Variants
Nearst
nearest neighbor interpolation
Linear
bilinear interpolation
Cubic
bicubic interpolation
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.
Lanczos4
Lanczos interpolation over 8x8 neighborhood
LinearExact
Bit exact bilinear interpolation
Max
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 Debug for InterpolationFlag
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for InterpolationFlag
[src]
fn clone(&self) -> InterpolationFlag
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for InterpolationFlag
[src]
impl Eq for InterpolationFlag
[src]
impl PartialEq for InterpolationFlag
[src]
fn eq(&self, __arg_0: &InterpolationFlag) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.