Method

VipsImagehist_plot

Declaration [src]

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

Description [src]

Plot a 1 by any or any by 1 image file as a max by any or any by max image using these rules:

unsigned char max is always 256

other unsigned integer types output 0 - maxium value of in.

signed int types min moved to 0, max moved to max + min.

float types min moved to 0, max moved to any (square output)

This method is not directly available to language bindings.

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

NULL-terminated list of optional named arguments.

Return value

Returns: int
 

0 on success, -1 on error.