| 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
)
Public Sub New (
src As InputArray,
labels As InputArray,
Optional numComponents As Integer = 0
)
public:
LDA(
InputArray^ src,
InputArray^ labels,
int numComponents = 0
)
new :
src : InputArray *
labels : InputArray *
?numComponents : int
(* Defaults:
let _numComponents = defaultArg numComponents 0
*)
-> LDA
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