43 #ifndef _vpFeatureMomentGravityCenter_h_
44 #define _vpFeatureMomentGravityCenter_h_
46 #include <visp3/visual_features/vpFeatureMoment.h>
48 #ifdef VISP_MOMENTS_COMBINE_MATRICES
173 const char *
momentName()
const {
return "vpMomentGravityCenter"; }
177 const char *
name()
const {
return "vpFeatureMomentGravityCenter"; }
182 static unsigned int selectXg() {
return 1 << 0; }
187 static unsigned int selectYg() {
return 1 << 1; }
243 const char *
momentName()
const {
return "vpMomentGravityCenter"; }
247 const char *
name()
const {
return "vpFeatureMomentGravityCenter"; }
This class allows to register all feature moments (implemented in vpFeatureMoment....
Functionality computation for gravity center moment feature. Computes the interaction matrix associat...
const char * name() const
vpFeatureMomentGravityCenter(vpMomentDatabase &data_base, double A_, double B_, double C_, vpFeatureMomentDatabase *featureMoments=NULL)
static unsigned int selectXg()
const char * momentName() const
static unsigned int selectYg()
This class defines shared system methods/attributes for 2D moment features but no functional code....
virtual const char * momentName() const =0
virtual const char * name() const =0
virtual void compute_interaction(void)
This class allows to register all vpMoments so they can access each other according to their dependen...