Direct Graphical Models  v.1.7.0
Distance.h
1 // NDVI feature extraction class interface
2 // Written by Sergey G. Kosov in 2015 for Project X
3 #pragma once
4 
5 #include "ILocalFeatureExtractor.h"
6 
7 namespace DirectGraphicalModels { namespace fex
8 {
9  // ================================ Distance Class ==============================
16  {
17  public:
22  DllExport CDistance(const Mat &img) : ILocalFeatureExtractor(img) {}
23  DllExport virtual ~CDistance(void) {}
24 
25  DllExport virtual Mat get(void) const {return get(m_img);}
26 
36  DllExport static Mat get(const Mat &img, byte threshold = 16, double multiplier = 4.0);
37  };
38 } }
CDistance(const Mat &img)
Constructor.
Definition: Distance.h:22
Interface class for local feature extraction algorithms.
Distance feature extraction class.
Definition: Distance.h:15
const Mat m_img
Container for the image, from which the features are to be extracted.