#include <contrib.hpp>
Public Member Functions
void save (const string &filename) const
Protected Member Functions
Protected Attributes
Constructor & Destructor Documentation
cv::LDA::LDA
(
int
num_components =
0 )
inline
cv::LDA::LDA
(
const
Mat &
src,
)
inline
compute eigenvectors and eigenvalues
compute eigenvectors and eigenvalues
Member Function Documentation
Compute the discriminants for data in src (row aligned) and labels.
Mat cv::LDA::eigenvalues
(
)
const
inline
Mat cv::LDA::eigenvectors
(
)
const
inline
void cv::LDA::load
(
const string &
filename )
Projects samples into the LDA subspace. src may be one or more row aligned samples.
Reconstructs projections from the LDA subspace. src may be one or more row aligned projections.
void cv::LDA::save
(
const string &
filename )
const
Member Data Documentation
bool cv::LDA::_dataAsRow
protected
Mat cv::LDA::_eigenvalues
protected
Mat cv::LDA::_eigenvectors
protected
int cv::LDA::_num_components
protected
The documentation for this class was generated from the following file: