Resampling Filter

Filter

RIF_IMAGE_FILTER_RESAMPLE

Description

Resamples an image. The size of the input image will be adjusted to the size of the output image.

Parameters

Parameter

Type

Input/Output

Description

interpOperator

uint

input

Interpolation operator.
The value can be:

  • RIF_IMAGE_INTERPOLATION_NEAREST

  • RIF_IMAGE_INTERPOLATION_BILINEAR (default)

  • RIF_IMAGE_INTERPOLATION_BICUBIC

  • RIF_IMAGE_INTERPOLATION_LANCZOS

outSize

uint2

input

Output image size.

Results

Input image

Output image