41 #include <visp3/visual_features/vpBasicFeature.h>
45 (
unsigned int)(1 << 0), (
unsigned int)(1 << 1),
46 (
unsigned int)(1 << 2), (
unsigned int)(1 << 3),
47 (
unsigned int)(1 << 4), (
unsigned int)(1 << 5),
48 (
unsigned int)(1 << 6), (
unsigned int)(1 << 7),
49 (
unsigned int)(1 << 8), (
unsigned int)(1 << 9),
50 (
unsigned int)(1 << 10), (
unsigned int)(1 << 11),
51 (
unsigned int)(1 << 12), (
unsigned int)(1 << 13),
52 (
unsigned int)(1 << 14), (
unsigned int)(1 << 15),
53 (
unsigned int)(1 << 16), (
unsigned int)(1 << 17),
54 (
unsigned int)(1 << 18), (
unsigned int)(1 << 19),
55 (
unsigned int)(1 << 20), (
unsigned int)(1 << 21),
56 (
unsigned int)(1 << 22), (
unsigned int)(1 << 23),
57 (
unsigned int)(1 << 24), (
unsigned int)(1 << 25),
58 (
unsigned int)(1 << 26), (
unsigned int)(1 << 27),
59 (
unsigned int)(1 << 28), (
unsigned int)(1 << 29),
60 (
unsigned int)(1 << 30), (
unsigned int)(1 << 31)
71 : s(), dim_s(0), flags(NULL), nbParameters(0), deallocate(
vpBasicFeature::user)
90 : s(), dim_s(0), flags(NULL), nbParameters(0), deallocate(
vpBasicFeature::user)
117 unsigned int dim = 0 ;
120 for (
unsigned int i=0 ; i <
s.
getRows() ; i++)
137 for(
unsigned int i=0;i<
dim_s;++i)
142 state.
stack(stateLine);
169 const unsigned int select)
174 for(
unsigned int i=0;i<
dim_s;++i){
177 eLine[0] =
s[i] - s_star[i];
vpBasicFeature & operator=(const vpBasicFeature &f)
void setFlags()
Set feature flags to true to prevent warning when re-computing the interaction matrix without having ...
bool * flags
Ensure that all the parameters needed to compute the iteraction matrix are set.
void stack(const double &d)
unsigned int getDimension(const unsigned int select=FEATURE_ALL) const
Get the feature vector dimension.
unsigned int dim_s
Dimension of the visual feature.
virtual vpColVector error(const vpBasicFeature &s_star, const unsigned int select=FEATURE_ALL)
Compute the error between two visual features from a subset of the possible features.
class that defines what is a visual feature
unsigned int getRows() const
Return the number of rows of the 2D array.
virtual ~vpBasicFeature()
static const unsigned int FEATURE_LINE[32]
vpBasicFeatureDeallocatorType deallocate
Implementation of column vector and the associated operations.
vpColVector get_s(unsigned int select=FEATURE_ALL) const
Get the feature vector .
unsigned int nbParameters
Number of parameters needed to compute the interaction matrix.
vpColVector s
State of the visual feature.