ImageEn, unit ievision

TIEVisionMath.mahalonobisDistance

TIEVisionMath.mahalonobisDistance


Declaration

function mahalonobisDistance(vec1: TIEVisionImage; vec2: TIEVisionImage; invCovMatrix: TIEVisionImage): double; safecall;


Description

Calculate the Mahalanobis distance between two vectors.

Parameter Description
vec1 First 1D source vector
vec2 Second 1D source vector
invCovMatrix Inverse covariance matrix