Function
VipsInterpolateMethod
Declaration
void
(* VipsInterpolateMethod) (
VipsInterpolate* interpolate,
void* out,
VipsRegion* in,
double x,
double y
)
Description [src]
An interpolation function. It should read source pixels from in with
VIPS_REGION_ADDR(), it can look left and up from (x, y) by window_offset
pixels and it can access pixels in a window of size window_size.
The interpolated value should be written to the pixel pointed to by out.
See also
Parameters
interpolate-
Type:
VipsInterpolateThe interpolator.
The data is owned by the caller of the function. out-
Type:
void*Write the interpolated pixel here.
The argument can be NULL.The data is owned by the caller of the function. in-
Type:
VipsRegionRead source pixels from here.
The data is owned by the caller of the function. x-
Type:
doubleInterpolate value at this position.
y-
Type:
doubleInterpolate value at this position.