41 #ifndef __MOMENTOBJECT_H__
42 #define __MOMENTOBJECT_H__
44 #include <visp3/core/vpImage.h>
45 #include <visp3/core/vpMoment.h>
46 #include <visp3/core/vpPoint.h>
47 #include <visp3/core/vpMath.h>
213 DENSE_FULL_OBJECT = 0,
224 } vpCameraImgBckGrndType;
243 void fromVector(std::vector<vpPoint>& points);
244 const std::vector<double>&
get()
const;
245 double get(
unsigned int i,
unsigned int j)
const;
259 void init(
unsigned int orderinp);
262 friend VISP_EXPORT std::ostream & operator<<(std::ostream & os,
const vpMomentObject& v);
268 static void printWithIndices(
const vpMomentObject& momobj, std::ostream& os);
285 void set(
unsigned int i,
unsigned int j,
const double& value_ij);
286 void cacheValues(std::vector<double>& cache,
double x,
double y);
289 void cacheValues(std::vector<double>& cache,
double x,
double y,
double IntensityNormalized);
290 double calc_mom_polygon(
unsigned int p,
unsigned int q,
const std::vector<vpPoint>& points);
Implementation of a matrix and operations on matrices.
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