Classes | Defines | Functions
contrib/brl/bbas/bsta/bsta_histogram.h File Reference

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.

Detailed Description

A simple histogram class.

Author:
Joseph Mundy
Date:
May 19, 2004

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 Documentation

#define BSTA_HISTOGRAM_INSTANTIATE (   T)    extern "Please #include <bsta/bsta_histogram.txx>"

Definition at line 197 of file bsta_histogram.h.


Function Documentation

template<class T >
vcl_ostream & operator<< ( vcl_ostream &  s,
bsta_histogram< T > const &  h 
)

Write histogram to stream.

Definition at line 510 of file bsta_histogram.txx.

template<class T >
vcl_istream & operator>> ( vcl_istream &  is,
bsta_histogram< T > &  h 
)

Read histogram from stream.

Definition at line 517 of file bsta_histogram.txx.