computes Mahalanobis distance between two vectors: sqrt((v1-v2)'*icovar*(v1-v2)), where icovar is the inverse covariation matrix
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- v1
- Type: OpenCvSharp.CPlusPlusInputArray
[Missing <param name="v1"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.Mahalonobis(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray)"]
- v2
- Type: OpenCvSharp.CPlusPlusInputArray
[Missing <param name="v2"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.Mahalonobis(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray)"]
- icovar
- Type: OpenCvSharp.CPlusPlusInputArray
[Missing <param name="icovar"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.Mahalonobis(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray)"]
Return Value
Type: Double[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.Mahalonobis(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray)"]
See Also