40 #include <visp3/core/vpMomentObject.h>
41 #include <visp3/visual_features/vpFeatureMomentBasic.h>
42 #include <visp3/visual_features/vpFeatureMomentDatabase.h>
92 for(
int j=1;j<(int)order-1;j++){
93 unsigned int j_ = (
unsigned int) j;
94 unsigned int jm1_ = j_ - 1;
95 unsigned int jp1_ = j_ + 1;
107 for(
int i=1;i<(int)order-1;i++){
108 unsigned int i_ = (
unsigned int) i;
109 unsigned int im1_ = i_ - 1;
110 unsigned int ip1_ = i_ + 1;
121 for(
int j=1; j<(int)order-1; j++){
122 unsigned int j_ = (
unsigned int) j;
123 unsigned int jm1_ = j_ - 1;
124 unsigned int jp1_ = j_ + 1;
126 for(
int i=1; i<(int)order-j-1; i++){
127 unsigned int i_ = (
unsigned int) i;
128 unsigned int im1_ = i_ - 1;
129 unsigned int ip1_ = i_ + 1;
Implementation of a matrix and operations on matrices.
error that can be emited by ViSP classes.
Class for generic objects.
const std::vector< double > & get() const
std::vector< vpMatrix > interaction_matrices
vpMatrix interaction(unsigned int select_one, unsigned int select_two) const
void compute_interaction()
This class allows to register all vpMoments so they can access each other according to their dependen...
This class defines shared system methods/attributes for 2D moment features but no functional code...
vpObjectType getType() const
vpFeatureMomentBasic(vpMomentDatabase &moments, double A, double B, double C, vpFeatureMomentDatabase *featureMoments=NULL)
const vpMomentObject & getObject() const
This class allows to register all feature moments (implemented in vpFeatureMoment... classes) so they can access each other according to their dependencies.
unsigned int getOrder() const