45 #include <visp/vpBasicFeature.h>
49 (
unsigned int)(1 << 0), (
unsigned int)(1 << 1),
50 (
unsigned int)(1 << 2), (
unsigned int)(1 << 3),
51 (
unsigned int)(1 << 4), (
unsigned int)(1 << 5),
52 (
unsigned int)(1 << 6), (
unsigned int)(1 << 7),
53 (
unsigned int)(1 << 8), (
unsigned int)(1 << 9),
54 (
unsigned int)(1 << 10), (
unsigned int)(1 << 11),
55 (
unsigned int)(1 << 12), (
unsigned int)(1 << 13),
56 (
unsigned int)(1 << 14), (
unsigned int)(1 << 15),
57 (
unsigned int)(1 << 16), (
unsigned int)(1 << 17),
58 (
unsigned int)(1 << 18), (
unsigned int)(1 << 19),
59 (
unsigned int)(1 << 20), (
unsigned int)(1 << 21),
60 (
unsigned int)(1 << 22), (
unsigned int)(1 << 23),
61 (
unsigned int)(1 << 24), (
unsigned int)(1 << 25),
62 (
unsigned int)(1 << 26), (
unsigned int)(1 << 27),
63 (
unsigned int)(1 << 28), (
unsigned int)(1 << 29),
64 (
unsigned int)(1 << 30), (
unsigned int)(1 << 31)
92 unsigned int dim = 0 ;
95 for (
unsigned int i=0 ; i <
s.
getRows() ; i++)
112 for(
unsigned int i=0;i<
dim_s;++i)
144 const unsigned int select)
149 for(
unsigned int i=0;i<
dim_s;++i){
152 eLine[0] =
s[i] - s_star[i];
153 e.stackMatrices(eLine);
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.
static const unsigned int FEATURE_ALL
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
static const unsigned int FEATURE_LINE[32]
static vpMatrix stackMatrices(const vpMatrix &A, const vpMatrix &B)
Stack two Matrices C = [ A B ]^T.
vpBasicFeatureDeallocatorType deallocate
Class that provides a data structure for the column vectors as well as a set of operations on these v...
unsigned int getRows() const
Return the number of rows of the matrix.
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.