Direct Graphical Models
v.1.7.0
Intensity.h
1
// Intensity 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
// ================================ Intensity Class ==============================
14
class
CIntensity
:
public
ILocalFeatureExtractor
15
{
16
public
:
21
DllExport
CIntensity
(
const
Mat &img) :
ILocalFeatureExtractor
(img) {}
22
DllExport
virtual
~CIntensity
(
void
) {}
23
24
DllExport
virtual
Mat
get
(void)
const
{
return
get
(
m_img
);}
25
33
DllExport
static
Mat
get
(
const
Mat &img, cv::Scalar weight = CV_RGB(0.333, 0.333, 0.333));
34
};
35
} }
DirectGraphicalModels::fex::CIntensity
Intensity feature extraction class.
Definition:
Intensity.h:14
DirectGraphicalModels
Definition:
AveragePrecision.cpp:4
DirectGraphicalModels::fex::CIntensity::CIntensity
CIntensity(const Mat &img)
Constructor.
Definition:
Intensity.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
DirectGraphicalModels::fex::CIntensity::~CIntensity
virtual ~CIntensity(void)
Definition:
Intensity.h:22
modules
FEX
Intensity.h
Generated on Thu Feb 21 2019 13:31:15 for Direct Graphical Models by
1.8.14