Direct Graphical Models
v.1.7.0
NDVI.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
// ================================ NDVI Class ==============================
14
class
CNDVI
:
public
ILocalFeatureExtractor
15
{
16
public
:
21
DllExport
CNDVI
(
const
Mat &img) :
ILocalFeatureExtractor
(img) {}
22
DllExport
virtual
~CNDVI
(
void
) {}
23
24
DllExport
virtual
Mat
get
(void)
const
{
return
get
(
m_img
); }
25
43
DllExport
static
Mat
get
(
const
Mat &img, byte midPoint = 127);
44
};
45
} }
DirectGraphicalModels::fex::CNDVI::~CNDVI
virtual ~CNDVI(void)
Definition:
NDVI.h:22
DirectGraphicalModels
Definition:
AveragePrecision.cpp:4
DirectGraphicalModels::fex::CNDVI
NDVI (normalized difference vegetation index) feature extraction class.
Definition:
NDVI.h:14
DirectGraphicalModels::fex::CNDVI::CNDVI
CNDVI(const Mat &img)
Constructor.
Definition:
NDVI.h:21
DirectGraphicalModels::fex::ILocalFeatureExtractor
Interface class for local feature extraction algorithms.
Definition:
ILocalFeatureExtractor.h:16
DirectGraphicalModels::fex::IFeatureExtractor::m_img
const Mat m_img
Container for the image, from which the features are to be extracted.
Definition:
IFeatureExtractor.h:27
modules
FEX
NDVI.h
Generated on Thu Feb 21 2019 13:31:15 for Direct Graphical Models by
1.8.14