5 #include "ILocalFeatureExtractor.h" 9 const static float GRADIENT_MAX_VALUE = 255 * sqrtf(2);
26 DllExport
virtual Mat
get(void)
const {
return get(
m_img);}
39 DllExport
static Mat
get(
const Mat &img,
float mid = GRADIENT_MAX_VALUE);
Gradient feature extraction class.
static Mat getDerivativeY(const Mat &img)
static Mat getDerivativeX(const Mat &img)
Interface class for local feature extraction algorithms.
HOG (histogram of oriented gradients) feature extraction class.
const Mat m_img
Container for the image, from which the features are to be extracted.
CGradient(const Mat &img)
Constructor.