A simple histogram class. More...
#include <vcl_vector.h>
#include <vcl_cassert.h>
#include <vcl_iostream.h>
#include <bsta/bsta_histogram_base.h>
#include <bsta/bsta_histogram_sptr.h>
Go to the source code of this file.
Classes | |
class | bsta_histogram< T > |
Defines | |
#define | BSTA_HISTOGRAM_INSTANTIATE(T) extern "Please #include <bsta/bsta_histogram.txx>" |
Functions | |
template<class T > | |
vcl_ostream & | operator<< (vcl_ostream &s, bsta_histogram< T > const &h) |
Write histogram to stream. | |
template<class T > | |
vcl_istream & | operator>> (vcl_istream &is, bsta_histogram< T > &h) |
Read histogram from stream. |
A simple histogram class.
A templated histogram class. Supports entropy calculations
J.L. Mundy added min,max, percentile methods B.A. Mayer add clear() method so a single instance can revert to the default constructor to be reused.
Definition in file bsta_histogram.h.
#define BSTA_HISTOGRAM_INSTANTIATE | ( | T | ) | extern "Please #include <bsta/bsta_histogram.txx>" |
Definition at line 197 of file bsta_histogram.h.
vcl_ostream & operator<< | ( | vcl_ostream & | s, |
bsta_histogram< T > const & | h | ||
) |
Write histogram to stream.
Definition at line 510 of file bsta_histogram.txx.
vcl_istream & operator>> | ( | vcl_istream & | is, |
bsta_histogram< T > & | h | ||
) |
Read histogram from stream.
Definition at line 517 of file bsta_histogram.txx.