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 multipled 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.
See also: vips_bandmean().
This method is not directly available to language bindings. |