Method

VipsImagehist_equal

Declaration [src]

int
vips_hist_equal (
  VipsImage* in,
  VipsImage** out,
  ...
)

Description [src]

Histogram-equalise in.

Equalise using band bandno, or if bandno is -1, equalise bands independently. The output format is always the same as the input format.

::: tip “Optional arguments” * band: gint, band to equalise.

Parameters

out VipsImage
 

Output image.

 The argument will be set by the function.
 The instance takes ownership of the data, and is responsible for freeing it.
... none
 

NULL-terminated list of optional named arguments.

Return value

Returns: int
 

0 on success, -1 on error.