10#ifndef SFM_FEATURE_SET_HEADER
11#define SFM_FEATURE_SET_HEADER
33 FEATURE_SIFT = 1 << 0,
34 FEATURE_SURF = 1 << 1,
51 void set_options (
Options const& options);
57 void normalize_feature_positions (
float px,
float py);
60 void clear_descriptors (
void);
85FeatureSet::Options::Options (
void)
86 : feature_types(FEATURE_SIFT)
104 this->opts = options;
std::shared_ptr< Image< T > > Ptr
std::shared_ptr< Image< T > const > ConstPtr
The FeatureSet holds per-feature information for a single view, and allows to transparently compute a...
std::vector< math::Vec3uc > colors
Per-feature image color.
std::vector< math::Vec2f > positions
Per-feature image position.
FeatureTypes
Bitmask with feature types.
Surf::Descriptors surf_descriptors
The SURF descriptors.
void set_options(Options const &options)
Sift::Descriptors sift_descriptors
The SIFT descriptors.
std::vector< Descriptor > Descriptors
std::vector< Descriptor > Descriptors
#define SFM_NAMESPACE_END
#define SFM_NAMESPACE_BEGIN
Options for feature detection and matching.
FeatureTypes feature_types