20 #ifndef OST_IMG_ALG_HISTOGRAM_HH
21 #define OST_IMG_ALG_HISTOGRAM_HH
34 namespace ost {
namespace img {
namespace alg {
47 typedef std::vector<int>
Bins;
55 template <
typename T,
class D>
void VisitState(const ImageStateImpl< T, D > &isi)
static String GetAlgorithmName()
const Bins & GetBins() const
HistogramBase(int bin_count, Real minimum, Real maximum)
Initialize with number of bins to use.
HistogramError(const String &s)
non-modifying image state visitor plus non-mod algorithm
#define DLLEXPORT_IMG_ALG
#define OST_IMG_ALG_EXPLICIT_INST_DECL(c, t)
ImageStateNonModAlgorithm< HistogramBase > Histogram