Enum InterpolationMethod

Enum Documentation

enum aslam::InterpolationMethod

Interpolation method used for image undistortion. (Wrapper for OpenCV types)

Values:

enumerator Linear

A bilinear interpolation (used by default).

enumerator Cubic

A bicubic interpolation over 4x4 pixel neighborhood.

enumerator Lanczos

A Lanczos interpolation over 8x8 pixel neighborhood.

enumerator NearestNeighbor

A nearest-neighbor interpolation.

enumerator Area

Resampling using pixel area relation.

It may be a prefered method for image decimation, as it gives moire-free results. But when the image is zoomed, it is similar to the INTER_NEAREST method.