Emgu CV Library Documentation
cvMahalanobis Method (vec1, vec2, mat)
NamespacesEmgu.CVCvInvokecvMahalanobis(IntPtr, IntPtr, IntPtr)

www.emgu.com/wiki
Calculates the weighted distance between two vectors and returns it
Declaration Syntax
C#Visual BasicVisual C++
public static double cvMahalanobis(
	IntPtr vec1,
	IntPtr vec2,
	IntPtr mat
)
Public Shared Function cvMahalanobis ( _
	vec1 As IntPtr, _
	vec2 As IntPtr, _
	mat As IntPtr _
) As Double
public:
static double cvMahalanobis(
	IntPtr vec1, 
	IntPtr vec2, 
	IntPtr mat
)
Parameters
vec1 (IntPtr)
The first 1D source vector
vec2 (IntPtr)
The second 1D source vector
mat (IntPtr)
The inverse covariation matrix
Return Value
the Mahalanobis distance

Assembly: Emgu.CV (Module: Emgu.CV) Version: 1.5.0.0 (1.5.0.0)