本文整理了Java中org.opencv.core.Core.arrowedLine_1()
方法的一些代码示例,展示了Core.arrowedLine_1()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Core.arrowedLine_1()
方法的具体详情如下:
包路径:org.opencv.core.Core
类名称:Core
方法名:arrowedLine_1
暂无
代码示例来源:origin: jtsky/EasyPR_Android
/**
* <p>Draws a arrow segment pointing from the first point to the second one.</p>
*
* <p>The function <code>arrowedLine</code> draws an arrow between <code>pt1</code>
* and <code>pt2</code> points in the image. See also "line".</p>
*
* @param img Image.
* @param pt1 The point the arrow starts from.
* @param pt2 The point the arrow points to.
* @param color Line color.
*
* @see <a href="http://docs.opencv.org/modules/core/doc/drawing_functions.html#arrowedline">org.opencv.core.Core.arrowedLine</a>
*/
public static void arrowedLine(Mat img, Point pt1, Point pt2, Scalar color)
{
arrowedLine_1(img.nativeObj, pt1.x, pt1.y, pt2.x, pt2.y, color.val[0], color.val[1], color.val[2], color.val[3]);
return;
}
代码示例来源:origin: ytai/IOIOPlotter
/**
* <p>Draws a arrow segment pointing from the first point to the second one.</p>
*
* <p>The function <code>arrowedLine</code> draws an arrow between <code>pt1</code>
* and <code>pt2</code> points in the image. See also "line".</p>
*
* @param img Image.
* @param pt1 The point the arrow starts from.
* @param pt2 The point the arrow points to.
* @param color Line color.
*
* @see <a href="http://docs.opencv.org/modules/core/doc/drawing_functions.html#arrowedline">org.opencv.core.Core.arrowedLine</a>
*/
public static void arrowedLine(Mat img, Point pt1, Point pt2, Scalar color)
{
arrowedLine_1(img.nativeObj, pt1.x, pt1.y, pt2.x, pt2.y, color.val[0], color.val[1], color.val[2], color.val[3]);
return;
}
代码示例来源:origin: abhn/marvel
/**
* <p>Draws a arrow segment pointing from the first point to the second one.</p>
*
* <p>The function <code>arrowedLine</code> draws an arrow between <code>pt1</code>
* and <code>pt2</code> points in the image. See also "line".</p>
*
* @param img Image.
* @param pt1 The point the arrow starts from.
* @param pt2 The point the arrow points to.
* @param color Line color.
*
* @see <a href="http://docs.opencv.org/modules/core/doc/drawing_functions.html#arrowedline">org.opencv.core.Core.arrowedLine</a>
*/
public static void arrowedLine(Mat img, Point pt1, Point pt2, Scalar color)
{
arrowedLine_1(img.nativeObj, pt1.x, pt1.y, pt2.x, pt2.y, color.val[0], color.val[1], color.val[2], color.val[3]);
return;
}
内容来源于网络,如有侵权,请联系作者删除!