45 #ifndef __FEATUREMOMENTGRAVITYCENTERNORMALIZED_H__
46 #define __FEATUREMOMENTGRAVITYCENTERNORMALIZED_H__
47 #include <visp/vpFeatureMoment.h>
48 #ifdef VISP_MOMENTS_COMBINE_MATRICES
100 const char*
momentName()
const {
return "vpMomentGravityCenterNormalized";}
104 const char*
name()
const {
return "vpFeatureMomentGravityCenterNormalized";}
109 static unsigned int selectXn(){
return 1 << 0; }
114 static unsigned int selectYn(){
return 1 << 1; }
237 const char*
momentName()
const {
return "vpMomentGravityCenterNormalized";}
241 const char*
name()
const {
return "vpFeatureMomentGravityCenterNormalized";}
virtual const char * name() const =0
static unsigned int selectXn()
virtual void compute_interaction(void)
static unsigned int selectYn()
const char * momentName() const
vpFeatureMomentGravityCenterNormalized(vpMomentDatabase &data_base, double A_, double B_, double C_, vpFeatureMomentDatabase *featureMoments=NULL)
Functionality computation for centered and normalized moment feature. Computes the interaction matrix...
virtual const char * momentName() const =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 * name() const
This class allows to register all feature moments (implemented in vpFeatureMoment... classes) so they can access each other according to their dependencies.