45 #ifndef __MOMENTOBJECT_H__
46 #define __MOMENTOBJECT_H__
48 #include <visp/vpImage.h>
49 #include <visp/vpMoment.h>
50 #include <visp/vpPoint.h>
51 #include <visp/vpMath.h>
221 DENSE_FULL_OBJECT = 0,
232 } vpCameraImgBckGrndType;
237 void init(
unsigned int orderinp);
254 void fromVector(std::vector<vpPoint>& points);
255 const std::vector<double>&
get()
const;
256 double get(
unsigned int i,
unsigned int j)
const;
274 friend VISP_EXPORT std::ostream & operator<<(std::ostream & os,
const vpMomentObject& v);
280 static void printWithIndices(
const vpMomentObject& momobj, std::ostream& os);
291 void set(
unsigned int i,
unsigned int j,
const double& value_ij);
292 void cacheValues(std::vector<double>& cache,
double x,
double y);
294 void cacheValues(std::vector<double>& cache,
double x,
double y,
double IntensityNormalized);
295 double calc_mom_polygon(
unsigned int p,
unsigned int q,
const std::vector<vpPoint>& points);
Definition of the vpMatrix class.
Class for generic objects.
Generic class defining intrinsic camera parameters.
bool flg_normalize_intensity
std::vector< double > values
vpObjectType getType() const
void setType(vpObjectType input_type)
unsigned int getOrder() const