44 #include <visp/vpMomentObject.h>
45 #include <visp/vpFeatureMomentBasic.h>
46 #include <visp/vpFeatureMomentDatabase.h>
96 for(
int j=1;j<(int)order-1;j++){
97 unsigned int j_ = (
unsigned int) j;
98 unsigned int jm1_ = j_ - 1;
99 unsigned int jp1_ = j_ + 1;
111 for(
int i=1;i<(int)order-1;i++){
112 unsigned int i_ = (
unsigned int) i;
113 unsigned int im1_ = i_ - 1;
114 unsigned int ip1_ = i_ + 1;
125 for(
int j=1; j<(int)order-1; j++){
126 unsigned int j_ = (
unsigned int) j;
127 unsigned int jm1_ = j_ - 1;
128 unsigned int jp1_ = j_ + 1;
130 for(
int i=1; i<(int)order-j-1; i++){
131 unsigned int i_ = (
unsigned int) i;
132 unsigned int im1_ = i_ - 1;
133 unsigned int ip1_ = i_ + 1;
Definition of the vpMatrix class.
vpMomentObject & getObject() const
error that can be emited by ViSP classes.
Class for generic objects.
std::vector< vpMatrix > interaction_matrices
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...
std::vector< double > & get()
vpObjectType getType() const
vpMatrix interaction(unsigned int select_one, unsigned int select_two)
vpFeatureMomentBasic(vpMomentDatabase &moments, double A, double B, double C, vpFeatureMomentDatabase *featureMoments=NULL)
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