Table of Contents

Constructor LDA

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

LDA(int)

constructor

public LDA(int numComponents = 0)

Parameters

numComponents int

LDA(InputArray, InputArray, int)

Initializes and performs a Discriminant Analysis with Fisher's Optimization Criterion on given data in src and corresponding labels in labels.If 0 (or less) number of components are given, they are automatically determined for given data in computation.

public LDA(InputArray src, InputArray labels, int numComponents = 0)

Parameters

src InputArray
labels InputArray
numComponents int