A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://libvips.github.io/libvips/API/current/method.Image.convf.html below:

Vips.Image.convf

Method VipsImageconvf Declaration [src]
int
vips_convf (
  VipsImage* in,
  VipsImage** out,
  VipsImage* mask,
  ...
)
Description [src]

Convolution. This is a low-level operation, see vips_conv() for something more convenient.

Perform a convolution of in with mask. Each output pixel is calculated as sigma[i]{pixel[i] * mask[i]} / scale + offset, where scale and offset are part of mask.

The convolution is performed with floating-point arithmetic. The output image is always VIPS_FORMAT_FLOAT unless in is VIPS_FORMAT_DOUBLE, in which case out is also VIPS_FORMAT_DOUBLE.

This method is not directly available to language bindings.

Parameters
out

Type: VipsImage

Output image.

The argument will be set by the function. The caller of the method takes ownership of the returned data, and is responsible for freeing it.
mask

Type: VipsImage

Convolve with this mask.

The data is owned by the caller of the method.
...

Type: 

NULL-terminated list of optional named arguments.

Return value

Type: int

0 on success, -1 on error.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4