37#ifndef _vpMomentObject_h_
38#define _vpMomentObject_h_
42#include <visp3/core/vpImage.h>
43#include <visp3/core/vpMath.h>
44#include <visp3/core/vpMoment.h>
45#include <visp3/core/vpPoint.h>
240 } vpCameraImgBckGrndType;
262 bool normalize_with_pix_size =
true);
264 void fromVector(std::vector<vpPoint> &points);
265 const std::vector<double> &
get()
const;
266 double get(
unsigned int i,
unsigned int j)
const;
280 void init(
unsigned int orderinp);
283 friend VISP_EXPORT std::ostream &operator<<(std::ostream &os,
const vpMomentObject &v);
289 static void printWithIndices(
const vpMomentObject &momobj, std::ostream &os);
306 void set(
unsigned int i,
unsigned int j,
const double &value_ij);
307 void cacheValues(std::vector<double> &cache,
double x,
double y);
310 void cacheValues(std::vector<double> &cache,
double x,
double y,
double IntensityNormalized);
311 double calc_mom_polygon(
unsigned int p,
unsigned int q,
const std::vector<vpPoint> &points);
Generic class defining intrinsic camera parameters.
Definition of the vpImage class member functions.
Implementation of a matrix and operations on matrices.
Class for generic objects.
unsigned int getOrder() const
vpMomentObject(unsigned int order)
void cacheValues(std::vector< double > &cache, double x, double y)
void setType(vpObjectType input_type)
bool flg_normalize_intensity
void set(unsigned int i, unsigned int j, const double &value_ij)
@ WHITE
Not functional right now.
const std::vector< double > & get() const
std::vector< double > values
vpObjectType getType() const
void fromImage(const vpImage< unsigned char > &image, unsigned char threshold, const vpCameraParameters &cam)
void fromVector(std::vector< vpPoint > &points)