41 #ifndef __FEATUREMOMENTCINVARIANT_H__
42 #define __FEATUREMOMENTCINVARIANT_H__
43 #include <visp3/visual_features/vpFeatureMoment.h>
44 #ifdef VISP_MOMENTS_COMBINE_MATRICES
95 const char*
momentName()
const {
return "vpMomentCInvariant";}
99 const char*
name()
const {
return "vpFeatureMomentCInvariant";}
104 static unsigned int selectC1(){
return 1 << 0; }
108 static unsigned int selectC2(){
return 1 << 1; }
112 static unsigned int selectC3(){
return 1 << 2; }
116 static unsigned int selectC4(){
return 1 << 3; }
120 static unsigned int selectC5(){
return 1 << 4; }
124 static unsigned int selectC6(){
return 1 << 5; }
128 static unsigned int selectC7(){
return 1 << 6; }
132 static unsigned int selectC8(){
return 1 << 7; }
136 static unsigned int selectC9(){
return 1 << 8; }
140 static unsigned int selectC10(){
return 1 << 9; }
144 static unsigned int selectSx(){
return 1 << 10; }
148 static unsigned int selectSy(){
return 1 << 11; }
152 static unsigned int selectPx(){
return 1 << 12; }
156 static unsigned int selectPy(){
return 1 << 13; }
198 std::vector<vpMatrix> LI;
217 const char*
momentName()
const {
return "vpMomentCInvariant";}
221 const char*
name()
const {
return "vpFeatureMomentCInvariant";}
283 void printLsofInvariants(std::ostream& os)
const;
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...
friend VISP_EXPORT std::ostream & operator<<(std::ostream &os, const vpFeatureMoment &featM)
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()