38 #ifndef _vpFeatureMomentCInvariant_h_
39 #define _vpFeatureMomentCInvariant_h_
41 #include <visp3/visual_features/vpFeatureMoment.h>
43 #ifdef VISP_MOMENTS_COMBINE_MATRICES
112 const std::
string momentName() const vp_override
114 return "vpMomentCInvariant";
120 const std::string
name() const vp_override
122 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; }
234 std::vector<vpMatrix> LI;
256 const std::
string momentName() const vp_override
258 return "vpMomentCInvariant";
263 const std::string
name() const vp_override
265 return "vpFeatureMomentCInvariant";
328 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()
static unsigned int selectC6()
static unsigned int selectPx()
static unsigned int selectSy()
static unsigned int selectC8()
static unsigned int selectC1()
static unsigned int selectC7()
const std::string name() const vp_override
static unsigned int selectC9()
vpFeatureMomentCInvariant(vpMomentDatabase &data_base, double A_, double B_, double C_, vpFeatureMomentDatabase *featureMoments=nullptr)
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 std::string 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...