本文整理了Java中org.opencv.core.Core.circle_2()
方法的一些代码示例,展示了Core.circle_2()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Core.circle_2()
方法的具体详情如下:
包路径:org.opencv.core.Core
类名称:Core
方法名:circle_2
暂无
代码示例来源:origin: ytai/IOIOPlotter
/**
* <p>Draws a circle.</p>
*
* <p>The function <code>circle</code> draws a simple or filled circle with a given
* center and radius.</p>
*
* @param img Image where the circle is drawn.
* @param center Center of the circle.
* @param radius Radius of the circle.
* @param color Circle color.
*
* @see <a href="http://docs.opencv.org/modules/core/doc/drawing_functions.html#circle">org.opencv.core.Core.circle</a>
*/
public static void circle(Mat img, Point center, int radius, Scalar color)
{
circle_2(img.nativeObj, center.x, center.y, radius, color.val[0], color.val[1], color.val[2], color.val[3]);
return;
}
代码示例来源:origin: jtsky/EasyPR_Android
/**
* <p>Draws a circle.</p>
*
* <p>The function <code>circle</code> draws a simple or filled circle with a given
* center and radius.</p>
*
* @param img Image where the circle is drawn.
* @param center Center of the circle.
* @param radius Radius of the circle.
* @param color Circle color.
*
* @see <a href="http://docs.opencv.org/modules/core/doc/drawing_functions.html#circle">org.opencv.core.Core.circle</a>
*/
public static void circle(Mat img, Point center, int radius, Scalar color)
{
circle_2(img.nativeObj, center.x, center.y, radius, color.val[0], color.val[1], color.val[2], color.val[3]);
return;
}
代码示例来源:origin: abhn/marvel
/**
* <p>Draws a circle.</p>
*
* <p>The function <code>circle</code> draws a simple or filled circle with a given
* center and radius.</p>
*
* @param img Image where the circle is drawn.
* @param center Center of the circle.
* @param radius Radius of the circle.
* @param color Circle color.
*
* @see <a href="http://docs.opencv.org/modules/core/doc/drawing_functions.html#circle">org.opencv.core.Core.circle</a>
*/
public static void circle(Mat img, Point center, int radius, Scalar color)
{
circle_2(img.nativeObj, center.x, center.y, radius, color.val[0], color.val[1], color.val[2], color.val[3]);
return;
}
代码示例来源:origin: com.sikulix/sikulixapi
/**
* <p>Draws a circle.</p>
*
* <p>The function <code>circle</code> draws a simple or filled circle with a given
* center and radius.</p>
*
* @param img Image where the circle is drawn.
* @param center Center of the circle.
* @param radius Radius of the circle.
* @param color Circle color.
*
* @see <a href="http://docs.opencv.org/modules/core/doc/drawing_functions.html#circle">org.opencv.core.Core.circle</a>
*/
public static void circle(Mat img, Point center, int radius, Scalar color)
{
circle_2(img.nativeObj, center.x, center.y, radius, color.val[0], color.val[1], color.val[2], color.val[3]);
return;
}
代码示例来源:origin: nu.pattern/opencv
/**
* <p>Draws a circle.</p>
*
* <p>The function <code>circle</code> draws a simple or filled circle with a given
* center and radius.</p>
*
* @param img Image where the circle is drawn.
* @param center Center of the circle.
* @param radius Radius of the circle.
* @param color Circle color.
*
* @see <a href="http://docs.opencv.org/modules/core/doc/drawing_functions.html#circle">org.opencv.core.Core.circle</a>
*/
public static void circle(Mat img, Point center, int radius, Scalar color)
{
circle_2(img.nativeObj, center.x, center.y, radius, color.val[0], color.val[1], color.val[2], color.val[3]);
return;
}
内容来源于网络,如有侵权,请联系作者删除!