37 #ifndef _vpMomentObject_h_
38 #define _vpMomentObject_h_
42 #include <visp3/core/vpConfig.h>
43 #include <visp3/core/vpImage.h>
44 #include <visp3/core/vpMath.h>
45 #include <visp3/core/vpMoment.h>
46 #include <visp3/core/vpPoint.h>
231 DENSE_FULL_OBJECT = 0,
246 } vpCameraImgBckGrndType;
268 bool normalize_with_pix_size =
true);
270 void fromVector(std::vector<vpPoint> &points);
271 const std::vector<double> &get()
const;
272 double get(
unsigned int i,
unsigned int j)
const;
283 unsigned int getOrder()
const {
return order - 1; }
286 void init(
unsigned int orderinp);
289 friend VISP_EXPORT std::ostream &operator<<(std::ostream &os,
const vpMomentObject &v);
295 static void printWithIndices(
const vpMomentObject &momobj, std::ostream &os);
312 void set(
unsigned int i,
unsigned int j,
const double &value_ij);
313 void cacheValues(std::vector<double> &cache,
double x,
double y);
316 void cacheValues(std::vector<double> &cache,
double x,
double y,
double IntensityNormalized);
317 double calc_mom_polygon(
unsigned int p,
unsigned int q,
const std::vector<vpPoint> &points);
Generic class defining intrinsic camera parameters.
Implementation of a matrix and operations on matrices.
Class for generic objects.
unsigned int getOrder() const
void setType(vpObjectType input_type)
bool flg_normalize_intensity
std::vector< double > values
vpObjectType getType() const