lvhsee(3)

LIBRARY ROUTINE
lvhsee - Determine a visible histogram of the gray-levels in a byte type image.

LIBRARY CALL
#include "vinclude.h"
int
lvhsee (in_image, out_image, pneg, pff)
struct xvimage *in_image, **out_image;
int  pneg, pff;

INPUT

    image -- the image in which to calcualte the histogram
              from. pneg -- an integer flag indicating if
              the image is to be inverted. plot -- an integer indicating if the output should be
              displayed (0) or stored to a viff file (1).

OUTPUT

    image -- an khoros Byte image to hold the histogram.

    The output data type is the same as the input data type.

    both routines return 1 upon success and 0 on failure.

MODIFICATIONS
Marcelo Teran, Mark Young, Ramiro Jordan John Rasure Sat Mar 25 15:47:45 MST 1989 To update to the new xviff - pff no longer exists.

DESCRIPTION
lvhsee outputs a histogram in an viff format in a displayable form. The argument pneg enables the user to invert (photonegative) the resulting output histogram image.

SEE ALSO
vhsee(1), intro(3), vipl(3), verror(3), vutils(3) lvhisto(3)

RESTRICTIONS
lvhsee only works on storage type byte images. vhsee only works on the acutual pixel values, not the intensity defined by the maps.

AUTHOR
Mark Young, Marcelo Teran, Ramiro Jordan

COPYRIGHT
Copyright 1991, University of New Mexico. All rights reserved.