Calculates the weighted distance between two vectors and returns it
Namespace:
Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
C# |
---|
public static double cvMahalanobis( IntPtr vec1, IntPtr vec2, IntPtr mat ) |
Visual Basic (Declaration) |
---|
Public Shared Function cvMahalanobis ( _ vec1 As IntPtr, _ vec2 As IntPtr, _ mat As IntPtr _ ) As Double |
Visual C++ |
---|
public: static double cvMahalanobis( IntPtr vec1, IntPtr vec2, IntPtr mat ) |
Parameters
- vec1
- Type: System..::.IntPtr
The first 1D source vector
- vec2
- Type: System..::.IntPtr
The second 1D source vector
- mat
- Type: System..::.IntPtr
The inverse covariation matrix