Dynamic Resampling Filter

Filter

RIF_IMAGE_FILTER_RESAMPLE_DYNAMIC

Description

Resamples the image generating resample coefficients on the fly.

Parameters

Parameter

Type

Input/Output

Description

outSize

uint2

input

Size of the output image.

sharpness

float

input

Output image sharpness.
Value range is [0.2, 5], default value is 1.

interpOperator

uint

input

One of the interpolation operators.
Can be one of the following:

  • RIF_IMAGE_INTERPOLATION_LANCZOS4 (default)

  • RIF_IMAGE_INTERPOLATION_LANCZOS6

  • RIF_IMAGE_INTERPOLATION_LANCZOS12

  • RIF_IMAGE_INTERPOLATION_LANCZOS3

  • RIF_IMAGE_INTERPOLATION_KAISER

  • RIF_IMAGE_INTERPOLATION_BLACKMAN

  • RIF_IMAGE_INTERPOLATION_GAUSS

  • RIF_IMAGE_INTERPOLATION_BOX

  • RIF_IMAGE_INTERPOLATION_TENT

  • RIF_IMAGE_INTERPOLATION_BELL

  • RIF_IMAGE_INTERPOLATION_BSPLINE

  • RIF_IMAGE_INTERPOLATION_QUADRATIC_INTERP

  • RIF_IMAGE_INTERPOLATION_QUADRATIC_APPROX

  • RIF_IMAGE_INTERPOLATION_QUADRATIC_MIX

  • RIF_IMAGE_INTERPOLATION_MITCHELL

  • RIF_IMAGE_INTERPOLATION_CATMULL