| Cv2CalcCovarMatrix Method (InputArray, OutputArray, InputOutputArray, CovarFlags, NullableMatType) |
computes covariation matrix of a set of samples
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static void CalcCovarMatrix(
InputArray samples,
OutputArray covar,
InputOutputArray mean,
CovarFlags flags,
Nullable<MatType> ctype = null
)
Public Shared Sub CalcCovarMatrix (
samples As InputArray,
covar As OutputArray,
mean As InputOutputArray,
flags As CovarFlags,
Optional ctype As Nullable(Of MatType) = Nothing
)
public:
static void CalcCovarMatrix(
InputArray^ samples,
OutputArray^ covar,
InputOutputArray^ mean,
CovarFlags flags,
Nullable<MatType> ctype = nullptr
)
static member CalcCovarMatrix :
samples : InputArray *
covar : OutputArray *
mean : InputOutputArray *
flags : CovarFlags *
?ctype : Nullable<MatType>
(* Defaults:
let _ctype = defaultArg ctype null
*)
-> unit
Parameters
- samples
- Type: OpenCvSharpInputArray
samples stored as rows/columns of a single matrix. - covar
- Type: OpenCvSharpOutputArray
output covariance matrix of the type ctype and square size. - mean
- Type: OpenCvSharpInputOutputArray
input or output (depending on the flags) array as the average value of the input vectors. - flags
- Type: OpenCvSharpCovarFlags
operation flags as a combination of CovarFlags - ctype (Optional)
- Type: SystemNullableMatType
type of the matrixl; it equals 'CV_64F' by default.
See Also