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"; }
326 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()
const char * name() const
static unsigned int selectC10()
static unsigned int selectSx()
static unsigned int selectC6()
static unsigned int selectPx()
vpFeatureMomentCInvariant(vpMomentDatabase &data_base, double A_, double B_, double C_, vpFeatureMomentDatabase *featureMoments=NULL)
static unsigned int selectSy()
static unsigned int selectC8()
const char * momentName() const
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....
virtual const char * momentName() const =0
virtual const char * name() const =0
friend VISP_EXPORT std::ostream & operator<<(std::ostream &os, const vpFeatureMoment &featM)
virtual void compute_interaction(void)
This class allows to register all vpMoments so they can access each other according to their dependen...