CvMahalonobis Method OpenCvSharp Class Library
Calculates Mahalonobis distance between two vectors

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

public static double Mahalonobis(
	CvArr vec1,
	CvArr vec2,
	CvArr mat
)

Parameters

vec1
Type: OpenCvSharpCvArr
The first 1D source vector.
vec2
Type: OpenCvSharpCvArr
The second 1D source vector.
mat
Type: OpenCvSharpCvArr
The inverse covariation matrix.

Return Value

Type: Double
Mahalonobis distance
See Also

Reference