Method
VipsImageconvi
Declaration [src]
int
vips_convi (
VipsImage* in,
VipsImage** out,
VipsImage* mask,
...
)
Description [src]
Integer convolution. This is a low-level operation, see vips_conv() for
something more convenient.
mask is converted to an integer mask with rint() of each element, rint of
scale and rint of offset. Each output pixel is then calculated as
sigma[i]{pixel[i] * mask[i]} / scale + offset
The output image always has the same VipsBandFormat as the input image.
For VipsBandFormat images, vips_convi() uses a fast vector path based on
half-float arithmetic. This can produce slightly different results.
Disable the vector path with --vips-novector or VIPS_NOVECTOR or
vips_vector_set_enabled().
::: seealso
vips_conv().