#include <contrib.hpp>
cv::LDA::LDA |
( |
int |
num_components = 0 | ) |
|
|
inline |
cv::LDA::LDA |
( |
const Mat & |
src, |
|
|
vector< int > |
labels, |
|
|
int |
num_components = 0 |
|
) |
| |
|
inline |
compute eigenvectors and eigenvalues
compute eigenvectors and eigenvalues
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 |
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: