Vips.Image.hist_norm (original) (raw)
Method
VipsImagehist_norm
Declaration [src]
int
vips_hist_norm (
VipsImage* in,
VipsImage** out,
...
)
Description [src]
Normalise histogram. The maximum of each band becomes equal to the maximum index, so for example the max for a uchar image becomes 255. Normalise each band separately.
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. |
...
Type: ``
NULL-terminated list of optional named arguments.
Return value
Type: int
0 on success, -1 on error.