Direct Graphical Models  v.1.7.0
SIFT.h
1 // SIFT feature extraction class interface
2 // Written by Sergey G. Kosov in 2016 for Project X
3 #pragma once
4 
5 #include "ILocalFeatureExtractor.h"
6 
7 namespace DirectGraphicalModels { namespace fex
8 {
9 
10 
11  // ================================ SIFT Class ==============================
17  {
18  public:
23  DllExport CSIFT(const Mat &img) : ILocalFeatureExtractor(img) {}
24  DllExport virtual ~CSIFT(void) {}
25 
26  DllExport virtual Mat get(void) const { return get(m_img); }
27 
34  DllExport static Mat get(const Mat &img);
35  };
36 } }
CSIFT(const Mat &img)
Constructor.
Definition: SIFT.h:23
SIFT (scale-invariant feature transform) feature extraction class.
Definition: SIFT.h:16
Interface class for local feature extraction algorithms.
const Mat m_img
Container for the image, from which the features are to be extracted.