Construct histogram from pixels in given image. More...
#include <vil/vil_image_view.h>#include <vcl_vector.h>#include <vxl_config.h>#include <vcl_algorithm.h>Go to the source code of this file.
Defines | |
| #define | VIL_HISTOGRAM_INSTANTIATE(T) |
| Instantiation macro for other types. | |
Functions | |
| template<class T > | |
| void | vil_histogram (const vil_image_view< T > &image, vcl_vector< double > &histo, double min, double max, unsigned n_bins) |
| Construct histogram from pixels in given image. | |
| void | vil_histogram_byte (const vil_image_view< vxl_byte > &image, vcl_vector< double > &histo) |
| Construct histogram from pixels in given image of bytes. | |
Construct histogram from pixels in given image.
Definition in file vil_histogram.h.
| #define VIL_HISTOGRAM_INSTANTIATE | ( | T | ) |
template void vil_histogram(const vil_image_view<T>& image, \ vcl_vector<double>& histo, \ double min, double max, unsigned n_bins)
Instantiation macro for other types.
Definition at line 51 of file vil_histogram.h.
| void vil_histogram | ( | const vil_image_view< T > & | image, |
| vcl_vector< double > & | histo, | ||
| double | min, | ||
| double | max, | ||
| unsigned | n_bins | ||
| ) | [inline] |
Construct histogram from pixels in given image.
Definition at line 17 of file vil_histogram.h.
| void vil_histogram_byte | ( | const vil_image_view< vxl_byte > & | image, |
| vcl_vector< double > & | histo | ||
| ) |
Construct histogram from pixels in given image of bytes.
Resulting histogram has 256 bins
Definition at line 10 of file vil_histogram.cxx.
1.7.5.1