45 #ifndef __FEATUREMOMENTGRAVITYCENTER_H__
46 #define __FEATUREMOMENTGRAVITYCENTER_H__
47 #include <visp/vpFeatureMoment.h>
48 #ifdef VISP_MOMENTS_COMBINE_MATRICES
163 const char*
momentName(){
return "vpMomentGravityCenter";}
167 const char*
name(){
return "vpFeatureMomentGravityCenter";}
172 static unsigned int selectXg(){
return 1 << 0; }
177 static unsigned int selectYg(){
return 1 << 1; }
228 const char*
name(){
return "vpFeatureMomentGravityCenter";}
static unsigned int selectXg()
virtual void compute_interaction(void)
vpFeatureMomentGravityCenter(vpMomentDatabase &moments, double A, double B, double C, vpFeatureMomentDatabase *featureMoments=NULL)
virtual const char * name()=0
This class allows to register all vpMoments so they can access each other according to their dependen...
This class defines shared system methods/attributes for 2D moment features but no functional code...
const char * momentName()
virtual const char * momentName()=0
Functionality computation for gravity center moment feature. Computes the interaction matrix associat...
static unsigned int selectYg()
This class allows to register all feature moments (implemented in vpFeatureMoment... classes) so they can access each other according to their dependencies.