pub fn mahalanobis(v1: &dyn core::ToInputArray, v2: &dyn core::ToInputArray, icovar: &dyn core::ToInputArray) -> Result<f64> {
	input_array_arg!(v1);
	input_array_arg!(v2);
	input_array_arg!(icovar);
	unsafe { sys::cv_Mahalanobis_const__InputArrayX_const__InputArrayX_const__InputArrayX(v1.as_raw__InputArray(), v2.as_raw__InputArray(), icovar.as_raw__InputArray()) }.into_result()
}
/// Calculates the Mahalanobis distance between two vectors.
/// 
/// The function cv::Mahalanobis calculates and returns the weighted distance between two vectors:
/// ![block formula](https://latex.codecogs.com/png.latex?d%28%20%5Ctexttt%7Bvec1%7D%20%2C%20%5Ctexttt%7Bvec2%7D%20%29%3D%20%5Csqrt%7B%5Csum%5F%7Bi%2Cj%7D%7B%5Ctexttt%7Bicovar%28i%2Cj%29%7D%5Ccdot%28%5Ctexttt%7Bvec1%7D%28I%29%2D%5Ctexttt%7Bvec2%7D%28I%29%29%5Ccdot%28%5Ctexttt%7Bvec1%28j%29%7D%2D%5Ctexttt%7Bvec2%28j%29%7D%29%7D%20%7D)
/// The covariance matrix may be calculated using the #calcCovarMatrix function and then inverted using
/// the invert function (preferably using the #DECOMP_SVD method, as the most accurate).
/// ## Parameters
/// * v1: first 1D input vector.
/// * v2: second 1D input vector.
/// * icovar: inverse covariance matrix.
Calculates the Mahalanobis distance between two vectors.
The function cv::Mahalanobis calculates and returns the weighted distance between two vectors:
[block formula]
The covariance matrix may be calculated using the #calcCovarMatrix function and then inverted using
the invert function (preferably using the #DECOMP_SVD method, as the most accurate).
Calculates the Mahalanobis distance between two vectors . The function cv :: Mahalanobis calculates and returns the weighted distance between two vectors : [ block formula ] The covariance matrix may be calculated using the #calcCovarMatrix function and then inverted using the invert function ( preferably using the #DECOMP_SVD method as the most accurate ) .
pub fn mahalanobis(v1: &dyn core::ToInputArray, v2: &dyn core::ToInputArray, icovar: &dyn core::ToInputArray) -> Result<f64> {
	input_array_arg!(v1);
	input_array_arg!(v2);
	input_array_arg!(icovar);
	unsafe { sys::cv_Mahalanobis_const__InputArrayX_const__InputArrayX_const__InputArrayX(v1.as_raw__InputArray(), v2.as_raw__InputArray(), icovar.as_raw__InputArray()) }.into_result()
}
pub fn mahalanobis ( v1 : & dyn core :: ToInputArray , v2 : & dyn core :: ToInputArray , icovar : & dyn core :: ToInputArray ) -> Result < f64 > { input_array_arg ! ( v1 ) ; input_array_arg ! ( v2 ) ; input_array_arg ! ( icovar ) ; unsafe { sys :: cv_Mahalanobis_const__InputArrayX_const__InputArrayX_const__InputArrayX ( v1 . as_raw__InputArray ( ) , v2 . as_raw__InputArray ( ) , icovar . as_raw__InputArray ( ) ) } . into_result ( ) }
Calculates the Mahalanobis distance between two vectors.
Calculates the Mahalanobis distance between two vectors .
v1
&dyn core::ToInputArray
v2
&dyn core::ToInputArray
icovar
&dyn core::ToInputArray