38 #ifndef _vpFeatureMomentCInvariant_h_
39 #define _vpFeatureMomentCInvariant_h_
41 #include <visp3/core/vpConfig.h>
42 #include <visp3/visual_features/vpFeatureMoment.h>
44 #ifdef VISP_MOMENTS_COMBINE_MATRICES
115 const std::
string momentName() const VP_OVERRIDE
117 return "vpMomentCInvariant";
123 const std::string
name() const VP_OVERRIDE
125 return "vpFeatureMomentCInvariant";
131 static unsigned int selectC1() {
return 1 << 0; }
135 static unsigned int selectC2() {
return 1 << 1; }
139 static unsigned int selectC3() {
return 1 << 2; }
143 static unsigned int selectC4() {
return 1 << 3; }
147 static unsigned int selectC5() {
return 1 << 4; }
151 static unsigned int selectC6() {
return 1 << 5; }
155 static unsigned int selectC7() {
return 1 << 6; }
159 static unsigned int selectC8() {
return 1 << 7; }
163 static unsigned int selectC9() {
return 1 << 8; }
167 static unsigned int selectC10() {
return 1 << 9; }
171 static unsigned int selectSx() {
return 1 << 10; }
175 static unsigned int selectSy() {
return 1 << 11; }
179 static unsigned int selectPx() {
return 1 << 12; }
183 static unsigned int selectPy() {
return 1 << 13; }
238 std::vector<vpMatrix> LI;
260 const std::
string momentName() const VP_OVERRIDE
262 return "vpMomentCInvariant";
267 const std::string
name() const VP_OVERRIDE
269 return "vpFeatureMomentCInvariant";
332 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 std::string name() const VP_OVERRIDE
static unsigned int selectC6()
static unsigned int selectPx()
static unsigned int selectSy()
static unsigned int selectC8()
static unsigned int selectC1()
static unsigned int selectC7()
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...