im_hist(3)

im_hist3

Create a displayable histogram from an image

Usage

#include <vips/vips.h>

int im_hist( in, plotofhist, bandno )
IMAGE *in, *plotofhist;
int bandno;

Overview

im_hist() creates a displayable histogram file for the image held by the image descriptor in. The created displayable histogram is held in the IMAGE descriptor plotofhist. If bandno == -1 a displayable histogram of all input bands is created else the histogram of bandno only is created.

See im_histplot(3) for rules on the size and scaling og the result.

Return value

All functions returns 0 on success and -1 on error.

Releases

4 releases since Debian 3.1 (Sarge); the text changed 1 time.

  1. 3.1–4.0
  2. 5.0–6.0

Author

N. Dessipris - 10/05/1991

From libvips-dev 7.20.7-1+b3 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.