Click or drag to resize

PCA Constructor (InputArray, InputArray, PCAFlags, Int32)

Constructor

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public PCA(
	InputArray data,
	InputArray mean,
	PCAFlags flags,
	int maxComponents = 0
)

Parameters

data
Type: OpenCvSharpInputArray
input samples stored as matrix rows or matrix columns.
mean
Type: OpenCvSharpInputArray
optional mean value; if the matrix is empty (@c noArray()), the mean is computed from the data.
flags
Type: OpenCvSharpPCAFlags
operation flags; currently the parameter is only used to specify the data layout (PCA::Flags)
maxComponents (Optional)
Type: SystemInt32
maximum number of components that PCA should retain; by default, all the components are retained.
See Also