||r||the interpolation method|
||r||or just set this for a constant window offset|
||r||or just set this for a constant window size|
The abstract base class for the various VIPS interpolation functions. Use “vips –list classes” to see all the interpolators available.
An interpolator consists of a function to perform the interpolation, plus some extra data fields which tell vips how to call the function and what data it needs.
window_size is the size of the window that the interpolator needs. For example, a bicubic interpolator needs to see a window of 4x4 pixels to be able to interpolate a value.
You can either have a function in get_window_size which returns the window that a specific interpolator needs, or you can leave get_window_size
Noneand set a constant value in window_size.
window_offset is how much to offset the window up and left of (x, y). For example, a bicubic interpolator will want a window_offset of 1.
You can either have a function in get_window_offset which returns the offset that a specific interpolator needs, or you can leave get_window_offset
Noneand set a constant value in window_offset.
You also need to set nickname and description in