Direct Graphical Models
v.1.7.0
|
Features concatenator base abstract class. More...
#include <FeaturesConcatenator.h>
Public Member Functions | |
CFeaturesConcatenator (word nFeatures) | |
Constructor. More... | |
virtual | ~CFeaturesConcatenator (void) |
virtual word | getNumFeatures (void) const =0 |
Returns the length of the concatenated feature vector. More... | |
virtual void | concatenate (const Mat &featureVector1, const Mat &featureVector2, Mat &dst) const =0 |
Concatenated two feature vectors. More... | |
Protected Attributes | |
word | m_nFeatures |
Number of features in the concatenated feature vector. More... | |
Features concatenator base abstract class.
This class allows for binding two feature vectors (e.g. two n-dimensinal points in feature space) together into a new feature vector
Definition at line 16 of file FeaturesConcatenator.h.
|
inline |
Constructor.
nFeatures | Number of features |
Definition at line 23 of file FeaturesConcatenator.h.
|
inlinevirtual |
Definition at line 24 of file FeaturesConcatenator.h.
|
pure virtual |
Concatenated two feature vectors.
[in] | featureVector1 | The first feature vector: Mat(size: nFeatures x 1; type: CV_8UC1) |
[in] | featureVector2 | The second feature vector: Mat(size: nFeatures x 1; type: CV_8UC1) |
[out] | dst | The resulting feture vector: Mat(size: this->nFeaturs() x 1; type: CV_8UC1) |
Implemented in DirectGraphicalModels::CDiffFeaturesConcatenator, and DirectGraphicalModels::CSimpleFeaturesConcatenator.
|
pure virtual |
Returns the length of the concatenated feature vector.
Implemented in DirectGraphicalModels::CDiffFeaturesConcatenator, and DirectGraphicalModels::CSimpleFeaturesConcatenator.
|
protected |
Number of features in the concatenated feature vector.
Definition at line 41 of file FeaturesConcatenator.h.