Direct Graphical Models  v.1.7.0
HSV.h
1 // Hue, Saturation and Value 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  // ================================ Saturation Class ==============================
15  {
16  public:
21  DllExport CHSV(Mat &img) : ILocalFeatureExtractor(img) {}
22  DllExport virtual ~CHSV(void) {}
23 
24  DllExport virtual Mat get(void) const { return get(m_img); }
25 
32  DllExport static Mat get(const Mat &img);
33  };
34 } }
Hue, Saturation and Value feature extraction class.
Definition: HSV.h:14
Interface class for local feature extraction algorithms.
const Mat m_img
Container for the image, from which the features are to be extracted.
CHSV(Mat &img)
Constructor.
Definition: HSV.h:21