![]() |
Direct Graphical Models
v.1.7.0
|
Simple features concatenator class. More...
#include <FeaturesConcatenator.h>
Public Member Functions | |
CSimpleFeaturesConcatenator (word nFeatures) | |
Constructor. More... | |
virtual | ~CSimpleFeaturesConcatenator (void) |
virtual word | getNumFeatures (void) const |
Returns the length of the concatenated feature vector. More... | |
virtual void | concatenate (const Mat &featureVector1, const Mat &featureVector2, Mat &dst) const |
Concatenated two feature vectors. More... | |
![]() | |
CFeaturesConcatenator (word nFeatures) | |
Constructor. More... | |
virtual | ~CFeaturesConcatenator (void) |
Additional Inherited Members | |
![]() | |
word | m_nFeatures |
Number of features in the concatenated feature vector. More... | |
Simple features concatenator class.
This class concatenates two feature vectors \(\textbf{f}_1\) and \(\textbf{f}_2\) as follows:
\[\textbf{dst} = \left\{f^{1}_{1},f^{2}_{1},f^{1}_{2},f^{2}_{2},\dots,f^{n}_{2},f^{n}_{2}\right\}\]
Definition at line 52 of file FeaturesConcatenator.h.
|
inline |
Constructor.
nFeatures | Number of features |
Definition at line 59 of file FeaturesConcatenator.h.
|
inlinevirtual |
Definition at line 60 of file FeaturesConcatenator.h.
|
inlinevirtual |
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) |
Implements DirectGraphicalModels::CFeaturesConcatenator.
Definition at line 62 of file FeaturesConcatenator.h.
|
inlinevirtual |
Returns the length of the concatenated feature vector.
Implements DirectGraphicalModels::CFeaturesConcatenator.
Definition at line 61 of file FeaturesConcatenator.h.