16#ifndef SFM_SURF_HEADER
17#define SFM_SURF_HEADER
111 Keypoints const& get_keypoints (
void)
const;
133 void create_octaves (
void);
135 void create_response_map (
int o,
int k);
136 SatType filter_dxx (
int fs,
int x,
int y);
137 SatType filter_dyy (
int fs,
int x,
int y);
138 SatType filter_dxy (
int fs,
int x,
int y);
140 void extrema_detection (
void);
141 void check_maximum (
int o,
int s,
int x,
int y);
143 void keypoint_localization_and_filtering (
void);
146 void descriptor_assignment (
void);
147 bool descriptor_orientation (
Descriptor* descr);
148 bool descriptor_computation (
Descriptor* descr,
bool upright);
149 void filter_dx_dy(
int x,
int y,
int fs,
float* dx,
float* dy);
162Surf::Options::Options (
void)
163 : contrast_threshold(500.0f)
164 , use_upright_descriptor(false)
165 , verbose_output(false)
166 , debug_output(false)
173 return this->keypoints;
179 return this->descriptors;
Vector class for arbitrary dimensions and types.
Multi-channel image class of arbitrary but homogenous data type.
std::shared_ptr< Image< T > > Ptr
std::shared_ptr< Image< T > const > ConstPtr
Implementation of the SURF feature detector and descriptor as described in:
std::vector< Keypoint > Keypoints
Descriptors const & get_descriptors(void) const
Returns the list of descriptors.
int64_t SatType
Signed type for the SAT image values.
std::vector< Descriptor > Descriptors
mve::Image< SatType > SatImage
SAT image type.
Keypoints const & get_keypoints(void) const
Returns the list of keypoints.
std::vector< Octave > Octaves
#define SFM_NAMESPACE_END
#define SFM_NAMESPACE_BEGIN
Representation of a SURF descriptor.
float scale
The scale (or sigma value) of the keypoint.
float orientation
The orientation of the image keypoint in [-PI, PI].
float y
The sub-pixel y-coordinate of the image keypoint.
math::Vector< float, 64 > data
The descriptor data, elements are signed in [-1.0, 1.0].
float x
The sub-pixel x-coordinate of the image keypoint.
Representation of a SURF keypoint.
int octave
Octave index of the keypoint.
float x
Detected keypoint X coordinate.
float y
Detected keypoint Y coordinate.
float sample
Scale space sample index within octave in [0, 3].
std::vector< RespImage::Ptr > RespImages
Vector of response images.
mve::Image< RespType > RespImage
Hessian response map type.
float RespType
Type for the Hessian response value.
bool verbose_output
Produce status messages on the console.
float contrast_threshold
Sets the hessian threshold, defaults to 500.0.
bool debug_output
Produce even more messages on the console.
bool use_upright_descriptor
Trade rotation invariance for speed.