43 #ifndef _vpFeatureMomentCInvariant_h_
44 #define _vpFeatureMomentCInvariant_h_
46 #include <visp3/visual_features/vpFeatureMoment.h>
48 #ifdef VISP_MOMENTS_COMBINE_MATRICES
119 const char *
momentName()
const {
return "vpMomentCInvariant"; }
123 const char *
name()
const {
return "vpFeatureMomentCInvariant"; }
128 static unsigned int selectC1() {
return 1 << 0; }
132 static unsigned int selectC2() {
return 1 << 1; }
136 static unsigned int selectC3() {
return 1 << 2; }
140 static unsigned int selectC4() {
return 1 << 3; }
144 static unsigned int selectC5() {
return 1 << 4; }
148 static unsigned int selectC6() {
return 1 << 5; }
152 static unsigned int selectC7() {
return 1 << 6; }
156 static unsigned int selectC8() {
return 1 << 7; }
160 static unsigned int selectC9() {
return 1 << 8; }
164 static unsigned int selectC10() {
return 1 << 9; }
168 static unsigned int selectSx() {
return 1 << 10; }
172 static unsigned int selectSy() {
return 1 << 11; }
176 static unsigned int selectPx() {
return 1 << 12; }
180 static unsigned int selectPy() {
return 1 << 13; }
235 std::vector<vpMatrix> LI;
260 const char *
momentName()
const {
return "vpMomentCInvariant"; }
264 const char *
name()
const {
return "vpFeatureMomentCInvariant"; }
269 static unsigned int selectC1() {
return 1 << 0; }
273 static unsigned int selectC2() {
return 1 << 1; }
277 static unsigned int selectC3() {
return 1 << 2; }
281 static unsigned int selectC4() {
return 1 << 3; }
285 static unsigned int selectC5() {
return 1 << 4; }
289 static unsigned int selectC6() {
return 1 << 5; }
293 static unsigned int selectC7() {
return 1 << 6; }
297 static unsigned int selectC8() {
return 1 << 7; }
301 static unsigned int selectC9() {
return 1 << 8; }
305 static unsigned int selectC10() {
return 1 << 9; }
309 static unsigned int selectSx() {
return 1 << 10; }
313 static unsigned int selectSy() {
return 1 << 11; }
317 static unsigned int selectPx() {
return 1 << 12; }
321 static unsigned int selectPy() {
return 1 << 13; }
326 void printLsofInvariants(std::ostream &os)
const;