Direct Graphical Models
v.1.7.0
Scale.h
1
// Multi-Scale feature extraction class interface
2
// Written by Sergey G. Kosov in 2015 for Project X
3
#pragma once
4
5
#include "ILocalFeatureExtractor.h"
6
#include "SquareNeighborhood.h"
7
8
namespace
DirectGraphicalModels
{
namespace
fex
9
{
10
// ================================ Scale Class ==============================
16
class
CScale
:
public
ILocalFeatureExtractor
17
{
18
public
:
23
DllExport
CScale
(
const
Mat &img) :
ILocalFeatureExtractor
(img) {}
24
DllExport
virtual
~CScale
(
void
) {}
25
26
DllExport
virtual
Mat
get
(void)
const
{
return
get
(
m_img
);}
27
36
DllExport
static
Mat
get
(
const
Mat &img,
SqNeighbourhood
nbhd =
sqNeighbourhood
(5));
37
};
38
39
} }
DirectGraphicalModels::fex::CScale::CScale
CScale(const Mat &img)
Constructor.
Definition:
Scale.h:23
DirectGraphicalModels::fex::CScale
Scale feature extraction class.
Definition:
Scale.h:16
DirectGraphicalModels::fex::CScale::~CScale
virtual ~CScale(void)
Definition:
Scale.h:24
DirectGraphicalModels
Definition:
AveragePrecision.cpp:4
DirectGraphicalModels::fex::sqNeighbourhood
SqNeighbourhood sqNeighbourhood(int leftGap, int rightGap, int upperGap, int lowerGap)
Initializes the square neighborhood structure.
Definition:
SquareNeighborhood.h:42
DirectGraphicalModels::fex::SqNeighbourhood
Square neighborhood structure.
Definition:
SquareNeighborhood.h:15
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
Scale.h
Generated on Thu Feb 21 2019 13:31:15 for Direct Graphical Models by
1.8.14