contrib/brl/bbas/bsta/bsta_histogram.cxx
Go to the documentation of this file.
00001 #include "bsta_histogram.h"
00002 #include <vcl_iostream.h>
00003 
00004 template <>
00005 void bsta_histogram<char>::pretty_print(vcl_ostream& os) const
00006 {
00007   os << "area valid: " << area_valid_ << "\n"
00008   << "area: " << (int)area_ << "\n"
00009   << "number of bins: " <<  nbins_ << "\n"
00010   << "range: " << (int)range_ << "\n"
00011   << "delta: " << (int)delta_ << "\n"
00012   << "min_prob: " << (int)min_prob_ << "\n"
00013   << "min: " << (int)min_ << "\n"
00014   << "max: " << (int)max_ << "\n" 
00015   << "counts: ";
00016   for (unsigned i = 0; i < counts_.size() ; i++)
00017     os << (int)counts_[i] << ' ';
00018   
00019 }
00020