PCACompute Method OpenCvSharp Class Library
operator that performs PCA. The previously stored data, if any, is released

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public PCA Compute(
	InputArray data,
	InputArray mean,
	PCAFlag flags,
	int maxComponents = 0
)

Parameters

data
Type: OpenCvSharp.CPlusPlusInputArray

[Missing <param name="data"/> documentation for "M:OpenCvSharp.CPlusPlus.PCA.Compute(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.PCAFlag,System.Int32)"]

mean
Type: OpenCvSharp.CPlusPlusInputArray

[Missing <param name="mean"/> documentation for "M:OpenCvSharp.CPlusPlus.PCA.Compute(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.PCAFlag,System.Int32)"]

flags
Type: OpenCvSharpPCAFlag

[Missing <param name="flags"/> documentation for "M:OpenCvSharp.CPlusPlus.PCA.Compute(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.PCAFlag,System.Int32)"]

maxComponents (Optional)
Type: SystemInt32

[Missing <param name="maxComponents"/> documentation for "M:OpenCvSharp.CPlusPlus.PCA.Compute(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.PCAFlag,System.Int32)"]

Return Value

Type: PCA

[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.PCA.Compute(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.PCAFlag,System.Int32)"]

See Also

Reference