Functions
contrib/tbl/vepl/vepl_histogram.h File Reference

pixel value histogram of 2D image More...

#include <vil/vil_image_resource.h>
#include <vcl_vector.h>

Go to the source code of this file.

Functions

vcl_vector< unsigned int > vepl_histogram (vil_image_resource_sptr)
 pixel value histogram of 2D image, stored in a vector.

Detailed Description

pixel value histogram of 2D image

The vepl_histogram class creates a pixel value histogram of a 2D image and writes it into a vcl_vector<unsigned int>.

The number of bins for ubyte images is 256, for ushort images 65536, and for float or double image it is 1000.

Note that, as opposed to vipl_histogram, the output bins are initialised to 0, as one expects.

Author:
Peter Vanroose, K.U.Leuven (ESAT/PSI)
Date:
7 October 2002
    Modifications
     Peter Vanroose - 20 aug 2003 - changed parameter from vil_image_view_base_sptr to vil_image_resource_sptr
   

Definition in file vepl_histogram.h.


Function Documentation

vcl_vector<unsigned int> vepl_histogram ( vil_image_resource_sptr  )

pixel value histogram of 2D image, stored in a vector.

Definition at line 10 of file vepl_histogram.cxx.