Click or drag to resize

LDA Constructor (InputArray, InputArray, Int32)

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.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public LDA(
	InputArray src,
	InputArray labels,
	int numComponents = 0
)

Parameters

src
Type: OpenCvSharpInputArray

[Missing <param name="src"/> documentation for "M:OpenCvSharp.LDA.#ctor(OpenCvSharp.InputArray,OpenCvSharp.InputArray,System.Int32)"]

labels
Type: OpenCvSharpInputArray

[Missing <param name="labels"/> documentation for "M:OpenCvSharp.LDA.#ctor(OpenCvSharp.InputArray,OpenCvSharp.InputArray,System.Int32)"]

numComponents (Optional)
Type: SystemInt32

[Missing <param name="numComponents"/> documentation for "M:OpenCvSharp.LDA.#ctor(OpenCvSharp.InputArray,OpenCvSharp.InputArray,System.Int32)"]

See Also