Function

Vipsinterpolate

Declaration [src]

void
vips_interpolate (
  VipsInterpolate* interpolate,
  void* out,
  VipsRegion* in,
  double x,
  double y
)

Description [src]

Look up the interpolate method in the class and call it. Use vips_interpolate_get_method() to get a direct pointer to the function and avoid the lookup overhead.

You need to set in and out up correctly.

This function is not directly available to language bindings.

Parameters

interpolate

Type: VipsInterpolate

Interpolator to use.

The data is owned by the caller of the function.
out

Type: void*

Write result here.

The argument can be NULL.
The data is owned by the caller of the function.
in

Type: VipsRegion

Read source data from here.

The data is owned by the caller of the function.
x

Type: double

Interpolate value at this position.

y

Type: double

Interpolate value at this position.