39 #ifndef _vpFeatureMomentGravityCenter_h_
40 #define _vpFeatureMomentGravityCenter_h_
42 #include <visp3/core/vpConfig.h>
43 #include <visp3/visual_features/vpFeatureMoment.h>
46 #ifdef VISP_MOMENTS_COMBINE_MATRICES
175 const std::
string momentName() const VP_OVERRIDE {
return "vpMomentGravityCenter"; }
180 const std::string
name() const VP_OVERRIDE {
return "vpFeatureMomentGravityCenter"; }
185 static unsigned int selectXg() {
return 1 << 0; }
190 static unsigned int selectYg() {
return 1 << 1; }
247 const std::
string momentName() const VP_OVERRIDE {
return "vpMomentGravityCenter"; }
252 const std::string
name() const VP_OVERRIDE {
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 std::string name() const VP_OVERRIDE
static unsigned int selectXg()
vpFeatureMomentGravityCenter(vpMomentDatabase &data_base, double A_, double B_, double C_, vpFeatureMomentDatabase *featureMoments=nullptr)
static unsigned int selectYg()
This class defines shared system methods/attributes for 2D moment features but no functional code....
virtual const std::string 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...