| Cv2CalcCovarMatrix Method (Mat, Mat, Mat, 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(
Mat[] samples,
Mat covar,
Mat mean,
CovarFlags flags,
Nullable<MatType> ctype = null
)
Public Shared Sub CalcCovarMatrix (
samples As Mat(),
covar As Mat,
mean As Mat,
flags As CovarFlags,
Optional ctype As Nullable(Of MatType) = Nothing
)
public:
static void CalcCovarMatrix(
array<Mat^>^ samples,
Mat^ covar,
Mat^ mean,
CovarFlags flags,
Nullable<MatType> ctype = nullptr
)
static member CalcCovarMatrix :
samples : Mat[] *
covar : Mat *
mean : Mat *
flags : CovarFlags *
?ctype : Nullable<MatType>
(* Defaults:
let _ctype = defaultArg ctype null
*)
-> unit
Parameters
- samples
- Type: OpenCvSharpMat
samples stored as separate matrices - covar
- Type: OpenCvSharpMat
output covariance matrix of the type ctype and square size. - mean
- Type: OpenCvSharpMat
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