Direct Graphical Models
v.1.7.0
|
Coordinate feature extraction class. More...
#include <Coordinate.h>
Public Member Functions | |
CCoordinate (const Mat &img) | |
Constructor. More... | |
virtual | ~CCoordinate (void) |
virtual Mat | get (void) const |
Extracts and returns the required feature. More... | |
Public Member Functions inherited from DirectGraphicalModels::fex::ILocalFeatureExtractor | |
ILocalFeatureExtractor (const Mat &img) | |
Constructor. More... | |
virtual | ~ILocalFeatureExtractor (void) |
Public Member Functions inherited from DirectGraphicalModels::fex::IFeatureExtractor | |
IFeatureExtractor (const Mat &img) | |
Constructor. More... | |
virtual | ~IFeatureExtractor (void) |
Static Public Member Functions | |
static Mat | get (const Mat &img, coordinateType type=COORDINATE_ORDINATE) |
Extracts a coordinate feature. More... | |
Additional Inherited Members | |
Protected Attributes inherited from DirectGraphicalModels::fex::IFeatureExtractor | |
const Mat | m_img |
Container for the image, from which the features are to be extracted. More... | |
Coordinate feature extraction class.
This class allows extracting features, which depend only on the coordinates of the coresponding image pixels.
Definition at line 24 of file Coordinate.h.
|
inline |
|
inlinevirtual |
Definition at line 32 of file Coordinate.h.
|
inlinevirtual |
Extracts and returns the required feature.
Implements DirectGraphicalModels::fex::ILocalFeatureExtractor.
Definition at line 34 of file Coordinate.h.
|
static |
Extracts a coordinate feature.
This function calculates the coordinate feature of image pixels, based inly on theirs coordinates.
img | Input image. |
type | Type of the coordinate feature (Ref. coordinateType). |
Definition at line 6 of file Coordinate.cpp.