Direct Graphical Models  v.1.7.0
IFeatureExtractor.h
1 // Interface class for feature extraction algorithms
2 // Writtem by Sergey G. Kosov in 2015 - 2016 for Project X
3 #pragma once
4 
5 #include "types.h"
6 
7 namespace DirectGraphicalModels { namespace fex
8 {
9  // ================================ Base Feature Extractor Class ==============================
16  {
17  public:
22  IFeatureExtractor(const Mat &img) : m_img(img) {}
23  virtual ~IFeatureExtractor(void) {}
24 
25 
26  protected:
27  const Mat m_img;
28  };
29 } }
IFeatureExtractor(const Mat &img)
Constructor.
const Mat m_img
Container for the image, from which the features are to be extracted.
Interface class for feature extraction algorithms.