NAME

     make_histogram - creates an image from a histogram

SYNOPSIS

     #include "histogram.h"

     Image   *make_histogram(float   **histogram,    IMAGE_FORMAT
     image_format, COLOR_FORMAT color_format);
      <histogram> - a 2-D float array of the histogram data;
      <image_format> - the Image format of the resulting image;
      <color_format> - the Color format of the resulting image

PATH

     $CVIPHOME/HISTOGRAM/histogram.c

DESCRIPTION

     make_histogram generates an image of a histogram.  The image
     type   and  color  space  is  defined  by  image_format  and
     image_format.  The Image* returned is that of  a  histogram,
     which  is  passwd  to  the  function  in  a variable of type
     float**.

RETURN VALUES

     make_histogram returns a valid Image pointer on success, and
     returns a NULL pointer on failure.

BUGS

     May fail with multi-band gif images

SEE ALSO

     define_histogram,    get_histogram,     get_histogram_Image,
     hist_spec, histogram_show, histogram_spec, showMax_histogram

AUTHOR

     Copyright (C) 1992, 1996 SIUE - by Scott E.  Umbaugh,  David
     A. Lyons and Yansheng Wei.