enum mrpt::img::TInterpolationMethod

Overview

Interpolation methods for images. More…

#include <CImage.h>

enum TInterpolationMethod
{
    IMG_INTERP_NN     = 0,
    IMG_INTERP_LINEAR = 1,
    IMG_INTERP_CUBIC  = 2,
    IMG_INTERP_AREA   = 3,
};

Detailed Documentation

Interpolation methods for images.

See also:

CImage::scaleImage

Enum Values

IMG_INTERP_NN

Nearest neighbor.

IMG_INTERP_LINEAR

Bilinear interpolation.

IMG_INTERP_CUBIC

Bicubic interpolation.

IMG_INTERP_AREA

Area-based (for downsampling)