20#ifndef OST_IMG_ALG_HISTOGRAM_HH
21#define OST_IMG_ALG_HISTOGRAM_HH
34namespace ost {
namespace img {
namespace alg {
47 typedef std::vector<int>
Bins;
55 template <
typename T,
class D>
const Bins & GetBins() const
void VisitState(const ImageStateImpl< T, D > &isi)
static String GetAlgorithmName()
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