pixel value histogram of 2D image More...
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. |
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.
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.
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.