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 VipsInterpolate
 

Interpolator to use.

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

Write result here.

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

Read source data from here.

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

Interpolate value at this position.

y double
 

Interpolate value at this position.