43 #ifndef __FEATUREMOMENTCINVARIANT_H__ 44 #define __FEATUREMOMENTCINVARIANT_H__ 45 #include <visp3/visual_features/vpFeatureMoment.h> 46 #ifdef VISP_MOMENTS_COMBINE_MATRICES 117 const char *
momentName()
const {
return "vpMomentCInvariant"; }
121 const char *
name()
const {
return "vpFeatureMomentCInvariant"; }
126 static unsigned int selectC1() {
return 1 << 0; }
130 static unsigned int selectC2() {
return 1 << 1; }
134 static unsigned int selectC3() {
return 1 << 2; }
138 static unsigned int selectC4() {
return 1 << 3; }
142 static unsigned int selectC5() {
return 1 << 4; }
146 static unsigned int selectC6() {
return 1 << 5; }
150 static unsigned int selectC7() {
return 1 << 6; }
154 static unsigned int selectC8() {
return 1 << 7; }
158 static unsigned int selectC9() {
return 1 << 8; }
162 static unsigned int selectC10() {
return 1 << 9; }
166 static unsigned int selectSx() {
return 1 << 10; }
170 static unsigned int selectSy() {
return 1 << 11; }
174 static unsigned int selectPx() {
return 1 << 12; }
178 static unsigned int selectPy() {
return 1 << 13; }
233 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;
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
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...
const char * momentName() const
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...
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()
const char * name() const