40 #include <visp3/visual_features/vpBasicFeature.h> 43 (
unsigned int)(1 << 0), (
unsigned int)(1 << 1), (
unsigned int)(1 << 2), (
unsigned int)(1 << 3),
44 (
unsigned int)(1 << 4), (
unsigned int)(1 << 5), (
unsigned int)(1 << 6), (
unsigned int)(1 << 7),
45 (
unsigned int)(1 << 8), (
unsigned int)(1 << 9), (
unsigned int)(1 << 10), (
unsigned int)(1 << 11),
46 (
unsigned int)(1 << 12), (
unsigned int)(1 << 13), (
unsigned int)(1 << 14), (
unsigned int)(1 << 15),
47 (
unsigned int)(1 << 16), (
unsigned int)(1 << 17), (
unsigned int)(1 << 18), (
unsigned int)(1 << 19),
48 (
unsigned int)(1 << 20), (
unsigned int)(1 << 21), (
unsigned int)(1 << 22), (
unsigned int)(1 << 23),
49 (
unsigned int)(1 << 24), (
unsigned int)(1 << 25), (
unsigned int)(1 << 26), (
unsigned int)(1 << 27),
50 (
unsigned int)(1 << 28), (
unsigned int)(1 << 29), (
unsigned int)(1 << 30), (
unsigned int)(1 << 31)};
102 unsigned int dim = 0;
105 for (
unsigned int i = 0; i <
s.
getRows(); i++) {
122 for (
unsigned int i = 0; i <
dim_s; ++i) {
125 state.
stack(stateLine);
155 for (
unsigned int i = 0; i <
dim_s; ++i) {
157 eLine[0] =
s[i] - s_star[i];
vpBasicFeature & operator=(const vpBasicFeature &f)
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)
class that defines what is a visual feature
unsigned int getRows() const
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.