45 #ifndef __FEATUREMOMENTCINVARIANT_H__
46 #define __FEATUREMOMENTCINVARIANT_H__
47 #include <visp/vpFeatureMoment.h>
48 #ifdef VISP_MOMENTS_COMBINE_MATRICES
99 const char*
momentName()
const {
return "vpMomentCInvariant";}
103 const char*
name()
const {
return "vpFeatureMomentCInvariant";}
108 static unsigned int selectC1(){
return 1 << 0; }
112 static unsigned int selectC2(){
return 1 << 1; }
116 static unsigned int selectC3(){
return 1 << 2; }
120 static unsigned int selectC4(){
return 1 << 3; }
124 static unsigned int selectC5(){
return 1 << 4; }
128 static unsigned int selectC6(){
return 1 << 5; }
132 static unsigned int selectC7(){
return 1 << 6; }
136 static unsigned int selectC8(){
return 1 << 7; }
140 static unsigned int selectC9(){
return 1 << 8; }
144 static unsigned int selectC10(){
return 1 << 9; }
148 static unsigned int selectSx(){
return 1 << 10; }
152 static unsigned int selectSy(){
return 1 << 11; }
156 static unsigned int selectPx(){
return 1 << 12; }
160 static unsigned int selectPy(){
return 1 << 13; }
217 const char*
momentName()
const {
return "vpMomentCInvariant";}
221 const char*
name()
const {
return "vpFeatureMomentCInvariant";}
static unsigned int selectSx()
virtual const char * name() const =0
virtual void compute_interaction(void)
static unsigned int selectC3()
static unsigned int selectPy()
static unsigned int selectC2()
static unsigned int selectPx()
static unsigned int selectSy()
static unsigned int selectC7()
virtual const char * momentName() const =0
const char * name() const
static unsigned int selectC4()
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...
static unsigned int selectC8()
static unsigned int selectC9()
vpFeatureMomentCInvariant(vpMomentDatabase &data_base, double A_, double B_, double C_, vpFeatureMomentDatabase *featureMoments=NULL)
Functionality computation for 2D rotation/translation/scale non-symmetric invariant moment feature...
const char * momentName() const
static unsigned int selectC6()
static unsigned int selectC10()
static unsigned int selectC1()
This class allows to register all feature moments (implemented in vpFeatureMoment... classes) so they can access each other according to their dependencies.
static unsigned int selectC5()