本文整理了Java中org.opencv.core.Core.Mahalanobis_0()
方法的一些代码示例,展示了Core.Mahalanobis_0()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Core.Mahalanobis_0()
方法的具体详情如下:
包路径:org.opencv.core.Core
类名称:Core
方法名:Mahalanobis_0
暂无
代码示例来源:origin: ctodobom/OpenCV-3.1.0-Android
public static double Mahalanobis(Mat v1, Mat v2, Mat icovar)
{
double retVal = Mahalanobis_0(v1.nativeObj, v2.nativeObj, icovar.nativeObj);
return retVal;
}
代码示例来源:origin: kongqw/OpenCVForAndroid
public static double Mahalanobis(Mat v1, Mat v2, Mat icovar)
{
double retVal = Mahalanobis_0(v1.nativeObj, v2.nativeObj, icovar.nativeObj);
return retVal;
}
代码示例来源:origin: imistyrain/EasyPR4Android
public static double Mahalanobis(Mat v1, Mat v2, Mat icovar)
{
double retVal = Mahalanobis_0(v1.nativeObj, v2.nativeObj, icovar.nativeObj);
return retVal;
}
代码示例来源:origin: SOFTPOWER1991/OpenCVCheck
public static double Mahalanobis(Mat v1, Mat v2, Mat icovar)
{
double retVal = Mahalanobis_0(v1.nativeObj, v2.nativeObj, icovar.nativeObj);
return retVal;
}
代码示例来源:origin: farkam135/GoIV
public static double Mahalanobis(Mat v1, Mat v2, Mat icovar)
{
double retVal = Mahalanobis_0(v1.nativeObj, v2.nativeObj, icovar.nativeObj);
return retVal;
}
代码示例来源:origin: tz28/Chinese-number-gestures-recognition
public static double Mahalanobis(Mat v1, Mat v2, Mat icovar)
{
double retVal = Mahalanobis_0(v1.nativeObj, v2.nativeObj, icovar.nativeObj);
return retVal;
}
代码示例来源:origin: DuckDeck/AndroidDemo
public static double Mahalanobis(Mat v1, Mat v2, Mat icovar)
{
double retVal = Mahalanobis_0(v1.nativeObj, v2.nativeObj, icovar.nativeObj);
return retVal;
}
代码示例来源:origin: nroduit/Weasis
public static double Mahalanobis(Mat v1, Mat v2, Mat icovar)
{
double retVal = Mahalanobis_0(v1.nativeObj, v2.nativeObj, icovar.nativeObj);
return retVal;
}
代码示例来源:origin: leadrien/opencv_native_androidstudio
public static double Mahalanobis(Mat v1, Mat v2, Mat icovar)
{
double retVal = Mahalanobis_0(v1.nativeObj, v2.nativeObj, icovar.nativeObj);
return retVal;
}
代码示例来源:origin: akshika47/OpencvAndroid
public static double Mahalanobis(Mat v1, Mat v2, Mat icovar)
{
double retVal = Mahalanobis_0(v1.nativeObj, v2.nativeObj, icovar.nativeObj);
return retVal;
}
代码示例来源:origin: SouvDc/face-detection
public static double Mahalanobis(Mat v1, Mat v2, Mat icovar)
{
double retVal = Mahalanobis_0(v1.nativeObj, v2.nativeObj, icovar.nativeObj);
return retVal;
}
代码示例来源:origin: raulh82vlc/Image-Detection-Samples
public static double Mahalanobis(Mat v1, Mat v2, Mat icovar)
{
double retVal = Mahalanobis_0(v1.nativeObj, v2.nativeObj, icovar.nativeObj);
return retVal;
}
代码示例来源:origin: InnoFang/Android-Code-Demos
public static double Mahalanobis(Mat v1, Mat v2, Mat icovar)
{
double retVal = Mahalanobis_0(v1.nativeObj, v2.nativeObj, icovar.nativeObj);
return retVal;
}
代码示例来源:origin: hschott/Camdroid
public static double Mahalanobis(Mat v1, Mat v2, Mat icovar)
{
double retVal = Mahalanobis_0(v1.nativeObj, v2.nativeObj, icovar.nativeObj);
return retVal;
}
代码示例来源:origin: nu.pattern/opencv
/**
* <p>Calculates the Mahalanobis distance between two vectors.</p>
*
* <p>The function <code>Mahalanobis</code> calculates and returns the weighted
* distance between two vectors:</p>
*
* <p><em>d(vec1, vec2)= sqrt(sum_(i,j)(icovar(i,j)*(vec1(I)-vec2(I))*(vec1(j)-vec2(j))))</em></p>
*
* <p>The covariance matrix may be calculated using the "calcCovarMatrix" function
* and then inverted using the "invert" function (preferably using the
* <code>DECOMP_SVD</code> method, as the most accurate).</p>
*
* @param v1 a v1
* @param v2 a v2
* @param icovar inverse covariance matrix.
*
* @see <a href="http://docs.opencv.org/modules/core/doc/operations_on_arrays.html#mahalanobis">org.opencv.core.Core.Mahalanobis</a>
*/
public static double Mahalanobis(Mat v1, Mat v2, Mat icovar)
{
double retVal = Mahalanobis_0(v1.nativeObj, v2.nativeObj, icovar.nativeObj);
return retVal;
}
代码示例来源:origin: com.sikulix/sikulixapi
/**
* <p>Calculates the Mahalanobis distance between two vectors.</p>
*
* <p>The function <code>Mahalanobis</code> calculates and returns the weighted
* distance between two vectors:</p>
*
* <p><em>d(vec1, vec2)= sqrt(sum_(i,j)(icovar(i,j)*(vec1(I)-vec2(I))*(vec1(j)-vec2(j))))</em></p>
*
* <p>The covariance matrix may be calculated using the "calcCovarMatrix" function
* and then inverted using the "invert" function (preferably using the
* <code>DECOMP_SVD</code> method, as the most accurate).</p>
*
* @param v1 a v1
* @param v2 a v2
* @param icovar inverse covariance matrix.
*
* @see <a href="http://docs.opencv.org/modules/core/doc/operations_on_arrays.html#mahalanobis">org.opencv.core.Core.Mahalanobis</a>
*/
public static double Mahalanobis(Mat v1, Mat v2, Mat icovar)
{
double retVal = Mahalanobis_0(v1.nativeObj, v2.nativeObj, icovar.nativeObj);
return retVal;
}
代码示例来源:origin: ytai/IOIOPlotter
/**
* <p>Calculates the Mahalanobis distance between two vectors.</p>
*
* <p>The function <code>Mahalanobis</code> calculates and returns the weighted
* distance between two vectors:</p>
*
* <p><em>d(vec1, vec2)= sqrt(sum_(i,j)(icovar(i,j)*(vec1(I)-vec2(I))*(vec1(j)-vec2(j))))</em></p>
*
* <p>The covariance matrix may be calculated using the "calcCovarMatrix" function
* and then inverted using the "invert" function (preferably using the
* <code>DECOMP_SVD</code> method, as the most accurate).</p>
*
* @param v1 a v1
* @param v2 a v2
* @param icovar inverse covariance matrix.
*
* @see <a href="http://docs.opencv.org/modules/core/doc/operations_on_arrays.html#mahalanobis">org.opencv.core.Core.Mahalanobis</a>
*/
public static double Mahalanobis(Mat v1, Mat v2, Mat icovar)
{
double retVal = Mahalanobis_0(v1.nativeObj, v2.nativeObj, icovar.nativeObj);
return retVal;
}
代码示例来源:origin: abhn/marvel
/**
* <p>Calculates the Mahalanobis distance between two vectors.</p>
*
* <p>The function <code>Mahalanobis</code> calculates and returns the weighted
* distance between two vectors:</p>
*
* <p><em>d(vec1, vec2)= sqrt(sum_(i,j)(icovar(i,j)*(vec1(I)-vec2(I))*(vec1(j)-vec2(j))))</em></p>
*
* <p>The covariance matrix may be calculated using the "calcCovarMatrix" function
* and then inverted using the "invert" function (preferably using the
* <code>DECOMP_SVD</code> method, as the most accurate).</p>
*
* @param v1 a v1
* @param v2 a v2
* @param icovar inverse covariance matrix.
*
* @see <a href="http://docs.opencv.org/modules/core/doc/operations_on_arrays.html#mahalanobis">org.opencv.core.Core.Mahalanobis</a>
*/
public static double Mahalanobis(Mat v1, Mat v2, Mat icovar)
{
double retVal = Mahalanobis_0(v1.nativeObj, v2.nativeObj, icovar.nativeObj);
return retVal;
}
代码示例来源:origin: jtsky/EasyPR_Android
/**
* <p>Calculates the Mahalanobis distance between two vectors.</p>
*
* <p>The function <code>Mahalanobis</code> calculates and returns the weighted
* distance between two vectors:</p>
*
* <p><em>d(vec1, vec2)= sqrt(sum_(i,j)(icovar(i,j)*(vec1(I)-vec2(I))*(vec1(j)-vec2(j))))</em></p>
*
* <p>The covariance matrix may be calculated using the "calcCovarMatrix" function
* and then inverted using the "invert" function (preferably using the
* <code>DECOMP_SVD</code> method, as the most accurate).</p>
*
* @param v1 a v1
* @param v2 a v2
* @param icovar inverse covariance matrix.
*
* @see <a href="http://docs.opencv.org/modules/core/doc/operations_on_arrays.html#mahalanobis">org.opencv.core.Core.Mahalanobis</a>
*/
public static double Mahalanobis(Mat v1, Mat v2, Mat icovar)
{
double retVal = Mahalanobis_0(v1.nativeObj, v2.nativeObj, icovar.nativeObj);
return retVal;
}
内容来源于网络,如有侵权,请联系作者删除!