44 #include <visp3/visual_features/vpBasicFeature.h>
48 (
unsigned int)(1 << 0), (
unsigned int)(1 << 1), (
unsigned int)(1 << 2), (
unsigned int)(1 << 3),
49 (
unsigned int)(1 << 4), (
unsigned int)(1 << 5), (
unsigned int)(1 << 6), (
unsigned int)(1 << 7),
50 (
unsigned int)(1 << 8), (
unsigned int)(1 << 9), (
unsigned int)(1 << 10), (
unsigned int)(1 << 11),
51 (
unsigned int)(1 << 12), (
unsigned int)(1 << 13), (
unsigned int)(1 << 14), (
unsigned int)(1 << 15),
52 (
unsigned int)(1 << 16), (
unsigned int)(1 << 17), (
unsigned int)(1 << 18), (
unsigned int)(1 << 19),
53 (
unsigned int)(1 << 20), (
unsigned int)(1 << 21), (
unsigned int)(1 << 22), (
unsigned int)(1 << 23),
54 (
unsigned int)(1 << 24), (
unsigned int)(1 << 25), (
unsigned int)(1 << 26), (
unsigned int)(1 << 27),
55 (
unsigned int)(1 << 28), (
unsigned int)(1 << 29), (
unsigned int)(1 << 30), (
unsigned int)(1 << 31) };
68 if (
flags !=
nullptr) {
78 : s(), dim_s(0), flags(nullptr), nbParameters(0), deallocate(
vpBasicFeature::user)
104 unsigned int dim = 0;
107 for (
unsigned int i = 0; i <
s.
getRows(); i++) {
123 for (
unsigned int i = 0; i <
dim_s; ++i) {
126 state.
stack(stateLine);
134 if (
flags !=
nullptr) {
144 if (
flags !=
nullptr) {
156 for (
unsigned int i = 0; i <
dim_s; ++i) {
158 eLine[0] =
s[i] - s_star[i];
unsigned int getRows() const
class that defines what is a visual feature
virtual vpColVector error(const vpBasicFeature &s_star, unsigned int select=FEATURE_ALL)
vpColVector s
State of the visual feature.
virtual ~vpBasicFeature()
unsigned int nbParameters
Number of parameters needed to compute the interaction matrix.
vpBasicFeature & operator=(const vpBasicFeature &f)
unsigned int getDimension(unsigned int select=FEATURE_ALL) const
Get the feature vector dimension.
vpColVector get_s(unsigned int select=FEATURE_ALL) const
Get the feature vector .
unsigned int dim_s
Dimension of the visual feature.
static const unsigned int FEATURE_LINE[32]
vpBasicFeatureDeallocatorType deallocate
Implementation of column vector and the associated operations.