26 #ifndef __INTEGRALHISTOGRAM_HH__
27 #define __INTEGRALHISTOGRAM_HH__
29 #include <Base/Common/BIASpragmaStart.hh>
32 #include <Base/Image/Image.hh>
33 #include <Base/Math/Math.hh>
34 #include <Base/Math/Vector.hh>
35 #include "ColorHistogram.hh"
38 #define D_INT_HIST (1<<0)
69 void SetBinSize(
int binsize);
74 void SetMinSat(
int minsat);
80 void SetLambda(
int lambda);
86 void SetExpDist(
bool expdist);
107 Vector<int> GetHistogram(
int ux,
int uy,
int lx,
int ly);
127 int nBinsizeHue,
int nBinsizeSat);
137 int ux,
int uy,
int lx,
int ly);
147 int ux1,
int uy1,
int lx1,
int ly1,
149 int ux2,
int uy2,
int lx2,
int ly2,
150 double weightSecond= 0.5);
157 void Dump(std::ostream& os,
int y,
int x);
181 const int *end = srcData + src.
size();
183 *dstData++ = *srcData++;
191 #include <Base/Common/BIASpragmaEnd.hh>
193 #endif // __INTEGRALHISTOGRAM_HH__
int GetBinSize() const
GetBinSize.
std::vector< double > m_cLData
TNT::Matrix< BIAS::Vector< int > > mHists_
int GetBinSizeSat() const
GetBinSizeSat.
void CopyNoCheck(const BIAS::Vector< int > &src, BIAS::Vector< int > &dst)
std::vector< std::vector< double > > m_cHSData
T * GetData() const
get the pointer to the data array of the vector (for faster direct memory access) ...
This Class handels Integral Histograms on HSL Images It represents an integral image histogram and of...