本文整理了Java中org.opencv.imgproc.Imgproc.pointPolygonTest_0()
方法的一些代码示例,展示了Imgproc.pointPolygonTest_0()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Imgproc.pointPolygonTest_0()
方法的具体详情如下:
包路径:org.opencv.imgproc.Imgproc
类名称:Imgproc
方法名:pointPolygonTest_0
暂无
代码示例来源:origin: imistyrain/EasyPR4Android
public static double pointPolygonTest(MatOfPoint2f contour, Point pt, boolean measureDist)
{
Mat contour_mat = contour;
double retVal = pointPolygonTest_0(contour_mat.nativeObj, pt.x, pt.y, measureDist);
return retVal;
}
代码示例来源:origin: leadrien/opencv_native_androidstudio
public static double pointPolygonTest(MatOfPoint2f contour, Point pt, boolean measureDist)
{
Mat contour_mat = contour;
double retVal = pointPolygonTest_0(contour_mat.nativeObj, pt.x, pt.y, measureDist);
return retVal;
}
代码示例来源:origin: SouvDc/face-detection
public static double pointPolygonTest(MatOfPoint2f contour, Point pt, boolean measureDist)
{
Mat contour_mat = contour;
double retVal = pointPolygonTest_0(contour_mat.nativeObj, pt.x, pt.y, measureDist);
return retVal;
}
代码示例来源:origin: farkam135/GoIV
public static double pointPolygonTest(MatOfPoint2f contour, Point pt, boolean measureDist)
{
Mat contour_mat = contour;
double retVal = pointPolygonTest_0(contour_mat.nativeObj, pt.x, pt.y, measureDist);
return retVal;
}
代码示例来源:origin: kongqw/OpenCVForAndroid
public static double pointPolygonTest(MatOfPoint2f contour, Point pt, boolean measureDist)
{
Mat contour_mat = contour;
double retVal = pointPolygonTest_0(contour_mat.nativeObj, pt.x, pt.y, measureDist);
return retVal;
}
代码示例来源:origin: tz28/Chinese-number-gestures-recognition
public static double pointPolygonTest(MatOfPoint2f contour, Point pt, boolean measureDist)
{
Mat contour_mat = contour;
double retVal = pointPolygonTest_0(contour_mat.nativeObj, pt.x, pt.y, measureDist);
return retVal;
}
代码示例来源:origin: KePeng1019/SmartPaperScan
public static double pointPolygonTest(MatOfPoint2f contour, Point pt, boolean measureDist)
{
Mat contour_mat = contour;
double retVal = pointPolygonTest_0(contour_mat.nativeObj, pt.x, pt.y, measureDist);
return retVal;
}
代码示例来源:origin: raulh82vlc/Image-Detection-Samples
public static double pointPolygonTest(MatOfPoint2f contour, Point pt, boolean measureDist)
{
Mat contour_mat = contour;
double retVal = pointPolygonTest_0(contour_mat.nativeObj, pt.x, pt.y, measureDist);
return retVal;
}
代码示例来源:origin: DuckDeck/AndroidDemo
public static double pointPolygonTest(MatOfPoint2f contour, Point pt, boolean measureDist)
{
Mat contour_mat = contour;
double retVal = pointPolygonTest_0(contour_mat.nativeObj, pt.x, pt.y, measureDist);
return retVal;
}
代码示例来源:origin: ctodobom/OpenCV-3.1.0-Android
public static double pointPolygonTest(MatOfPoint2f contour, Point pt, boolean measureDist)
{
Mat contour_mat = contour;
double retVal = pointPolygonTest_0(contour_mat.nativeObj, pt.x, pt.y, measureDist);
return retVal;
}
代码示例来源:origin: SOFTPOWER1991/OpenCVCheck
public static double pointPolygonTest(MatOfPoint2f contour, Point pt, boolean measureDist)
{
Mat contour_mat = contour;
double retVal = pointPolygonTest_0(contour_mat.nativeObj, pt.x, pt.y, measureDist);
return retVal;
}
代码示例来源:origin: nroduit/Weasis
public static double pointPolygonTest(MatOfPoint2f contour, Point pt, boolean measureDist)
{
Mat contour_mat = contour;
double retVal = pointPolygonTest_0(contour_mat.nativeObj, pt.x, pt.y, measureDist);
return retVal;
}
代码示例来源:origin: akshika47/OpencvAndroid
public static double pointPolygonTest(MatOfPoint2f contour, Point pt, boolean measureDist)
{
Mat contour_mat = contour;
double retVal = pointPolygonTest_0(contour_mat.nativeObj, pt.x, pt.y, measureDist);
return retVal;
}
代码示例来源:origin: InnoFang/Android-Code-Demos
public static double pointPolygonTest(MatOfPoint2f contour, Point pt, boolean measureDist)
{
Mat contour_mat = contour;
double retVal = pointPolygonTest_0(contour_mat.nativeObj, pt.x, pt.y, measureDist);
return retVal;
}
代码示例来源:origin: hschott/Camdroid
public static double pointPolygonTest(MatOfPoint2f contour, Point pt, boolean measureDist)
{
Mat contour_mat = contour;
double retVal = pointPolygonTest_0(contour_mat.nativeObj, pt.x, pt.y, measureDist);
return retVal;
}
代码示例来源:origin: ytai/IOIOPlotter
/**
* <p>Performs a point-in-contour test.</p>
*
* <p>The function determines whether the point is inside a contour, outside, or
* lies on an edge (or coincides with a vertex). It returns positive (inside),
* negative (outside), or zero (on an edge) value, correspondingly. When
* <code>measureDist=false</code>, the return value is +1, -1, and 0,
* respectively. Otherwise, the return value is a signed distance between the
* point and the nearest contour edge.</p>
*
* <p>See below a sample output of the function where each image pixel is tested
* against the contour.</p>
*
* @param contour Input contour.
* @param pt Point tested against the contour.
* @param measureDist If true, the function estimates the signed distance from
* the point to the nearest contour edge. Otherwise, the function only checks if
* the point is inside a contour or not.
*
* @see <a href="http://docs.opencv.org/modules/imgproc/doc/structural_analysis_and_shape_descriptors.html#pointpolygontest">org.opencv.imgproc.Imgproc.pointPolygonTest</a>
*/
public static double pointPolygonTest(MatOfPoint2f contour, Point pt, boolean measureDist)
{
Mat contour_mat = contour;
double retVal = pointPolygonTest_0(contour_mat.nativeObj, pt.x, pt.y, measureDist);
return retVal;
}
代码示例来源:origin: nu.pattern/opencv
/**
* <p>Performs a point-in-contour test.</p>
*
* <p>The function determines whether the point is inside a contour, outside, or
* lies on an edge (or coincides with a vertex). It returns positive (inside),
* negative (outside), or zero (on an edge) value, correspondingly. When
* <code>measureDist=false</code>, the return value is +1, -1, and 0,
* respectively. Otherwise, the return value is a signed distance between the
* point and the nearest contour edge.</p>
*
* <p>See below a sample output of the function where each image pixel is tested
* against the contour.</p>
*
* @param contour Input contour.
* @param pt Point tested against the contour.
* @param measureDist If true, the function estimates the signed distance from
* the point to the nearest contour edge. Otherwise, the function only checks if
* the point is inside a contour or not.
*
* @see <a href="http://docs.opencv.org/modules/imgproc/doc/structural_analysis_and_shape_descriptors.html#pointpolygontest">org.opencv.imgproc.Imgproc.pointPolygonTest</a>
*/
public static double pointPolygonTest(MatOfPoint2f contour, Point pt, boolean measureDist)
{
Mat contour_mat = contour;
double retVal = pointPolygonTest_0(contour_mat.nativeObj, pt.x, pt.y, measureDist);
return retVal;
}
代码示例来源:origin: abhn/marvel
/**
* <p>Performs a point-in-contour test.</p>
*
* <p>The function determines whether the point is inside a contour, outside, or
* lies on an edge (or coincides with a vertex). It returns positive (inside),
* negative (outside), or zero (on an edge) value, correspondingly. When
* <code>measureDist=false</code>, the return value is +1, -1, and 0,
* respectively. Otherwise, the return value is a signed distance between the
* point and the nearest contour edge.</p>
*
* <p>See below a sample output of the function where each image pixel is tested
* against the contour.</p>
*
* @param contour Input contour.
* @param pt Point tested against the contour.
* @param measureDist If true, the function estimates the signed distance from
* the point to the nearest contour edge. Otherwise, the function only checks if
* the point is inside a contour or not.
*
* @see <a href="http://docs.opencv.org/modules/imgproc/doc/structural_analysis_and_shape_descriptors.html#pointpolygontest">org.opencv.imgproc.Imgproc.pointPolygonTest</a>
*/
public static double pointPolygonTest(MatOfPoint2f contour, Point pt, boolean measureDist)
{
Mat contour_mat = contour;
double retVal = pointPolygonTest_0(contour_mat.nativeObj, pt.x, pt.y, measureDist);
return retVal;
}
代码示例来源:origin: com.sikulix/sikulixapi
/**
* <p>Performs a point-in-contour test.</p>
*
* <p>The function determines whether the point is inside a contour, outside, or
* lies on an edge (or coincides with a vertex). It returns positive (inside),
* negative (outside), or zero (on an edge) value, correspondingly. When
* <code>measureDist=false</code>, the return value is +1, -1, and 0,
* respectively. Otherwise, the return value is a signed distance between the
* point and the nearest contour edge.</p>
*
* <p>See below a sample output of the function where each image pixel is tested
* against the contour.</p>
*
* @param contour Input contour.
* @param pt Point tested against the contour.
* @param measureDist If true, the function estimates the signed distance from
* the point to the nearest contour edge. Otherwise, the function only checks if
* the point is inside a contour or not.
*
* @see <a href="http://docs.opencv.org/modules/imgproc/doc/structural_analysis_and_shape_descriptors.html#pointpolygontest">org.opencv.imgproc.Imgproc.pointPolygonTest</a>
*/
public static double pointPolygonTest(MatOfPoint2f contour, Point pt, boolean measureDist)
{
Mat contour_mat = contour;
double retVal = pointPolygonTest_0(contour_mat.nativeObj, pt.x, pt.y, measureDist);
return retVal;
}
代码示例来源:origin: jtsky/EasyPR_Android
/**
* <p>Performs a point-in-contour test.</p>
*
* <p>The function determines whether the point is inside a contour, outside, or
* lies on an edge (or coincides with a vertex). It returns positive (inside),
* negative (outside), or zero (on an edge) value, correspondingly. When
* <code>measureDist=false</code>, the return value is +1, -1, and 0,
* respectively. Otherwise, the return value is a signed distance between the
* point and the nearest contour edge.</p>
*
* <p>See below a sample output of the function where each image pixel is tested
* against the contour.</p>
*
* @param contour Input contour.
* @param pt Point tested against the contour.
* @param measureDist If true, the function estimates the signed distance from
* the point to the nearest contour edge. Otherwise, the function only checks if
* the point is inside a contour or not.
*
* @see <a href="http://docs.opencv.org/modules/imgproc/doc/structural_analysis_and_shape_descriptors.html#pointpolygontest">org.opencv.imgproc.Imgproc.pointPolygonTest</a>
*/
public static double pointPolygonTest(MatOfPoint2f contour, Point pt, boolean measureDist)
{
Mat contour_mat = contour;
double retVal = pointPolygonTest_0(contour_mat.nativeObj, pt.x, pt.y, measureDist);
return retVal;
}
内容来源于网络,如有侵权,请联系作者删除!