43 #ifndef _vpFeatureMomentCInvariant_h_
44 #define _vpFeatureMomentCInvariant_h_
46 #include <visp3/visual_features/vpFeatureMoment.h>
48 #ifdef VISP_MOMENTS_COMBINE_MATRICES
118 const char *
momentName()
const {
return "vpMomentCInvariant"; }
122 const char *
name()
const {
return "vpFeatureMomentCInvariant"; }
127 static unsigned int selectC1() {
return 1 << 0; }
131 static unsigned int selectC2() {
return 1 << 1; }
135 static unsigned int selectC3() {
return 1 << 2; }
139 static unsigned int selectC4() {
return 1 << 3; }
143 static unsigned int selectC5() {
return 1 << 4; }
147 static unsigned int selectC6() {
return 1 << 5; }
151 static unsigned int selectC7() {
return 1 << 6; }
155 static unsigned int selectC8() {
return 1 << 7; }
159 static unsigned int selectC9() {
return 1 << 8; }
163 static unsigned int selectC10() {
return 1 << 9; }
167 static unsigned int selectSx() {
return 1 << 10; }
171 static unsigned int selectSy() {
return 1 << 11; }
175 static unsigned int selectPx() {
return 1 << 12; }
179 static unsigned int selectPy() {
return 1 << 13; }
234 std::vector<vpMatrix> LI;
258 const char *
momentName()
const {
return "vpMomentCInvariant"; }
262 const char *
name()
const {
return "vpFeatureMomentCInvariant"; }
324 void printLsofInvariants(std::ostream &os)
const;
Functionality computation for 2D rotation/translation/scale non-symmetric invariant moment feature....
static unsigned int selectC2()
static unsigned int selectPy()
static unsigned int selectC3()
static unsigned int selectC10()
static unsigned int selectSx()
const char * momentName() const
static unsigned int selectC6()
static unsigned int selectPx()
vpFeatureMomentCInvariant(vpMomentDatabase &data_base, double A_, double B_, double C_, vpFeatureMomentDatabase *featureMoments=NULL)
const char * name() const
static unsigned int selectSy()
static unsigned int selectC8()
static unsigned int selectC1()
static unsigned int selectC7()
static unsigned int selectC9()
static unsigned int selectC4()
static unsigned int selectC5()
This class allows to register all feature moments (implemented in vpFeatureMoment....
This class defines shared system methods/attributes for 2D moment features but no functional code....
friend VISP_EXPORT std::ostream & operator<<(std::ostream &os, const vpFeatureMoment &featM)
virtual const char * momentName() const =0
virtual const char * 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...