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.recomb.html below:

Vips.Image.recomb

Method VipsImagerecomb Declaration [src]
int
vips_recomb (
  VipsImage* in,
  VipsImage** out,
  VipsImage* m,
  ...
)
Description [src]

This operation recombines an image’s bands. Each pixel in in is treated as an n-element vector, where n is the number of bands in in, and multiplied by the n x m matrix m to produce the m-band image out.

out is always float, unless in is double, in which case out is double too. No complex images allowed.

It’s useful for various sorts of colour space conversions.

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.
m

Type: VipsImage

Recombination matrix.

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