本文整理了Java中org.opencv.core.Core.ellipse2Poly_0()
方法的一些代码示例,展示了Core.ellipse2Poly_0()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Core.ellipse2Poly_0()
方法的具体详情如下:
包路径:org.opencv.core.Core
类名称:Core
方法名:ellipse2Poly_0
暂无
代码示例来源:origin: com.sikulix/sikulixapi
/**
* <p>Approximates an elliptic arc with a polyline.</p>
*
* <p>The function <code>ellipse2Poly</code> computes the vertices of a polyline
* that approximates the specified elliptic arc. It is used by "ellipse".</p>
*
* @param center Center of the arc.
* @param axes Half of the size of the ellipse main axes. See the "ellipse" for
* details.
* @param angle Rotation angle of the ellipse in degrees. See the "ellipse" for
* details.
* @param arcStart Starting angle of the elliptic arc in degrees.
* @param arcEnd Ending angle of the elliptic arc in degrees.
* @param delta Angle between the subsequent polyline vertices. It defines the
* approximation accuracy.
* @param pts Output vector of polyline vertices.
*
* @see <a href="http://docs.opencv.org/modules/core/doc/drawing_functions.html#ellipse2poly">org.opencv.core.Core.ellipse2Poly</a>
*/
public static void ellipse2Poly(Point center, Size axes, int angle, int arcStart, int arcEnd, int delta, MatOfPoint pts)
{
Mat pts_mat = pts;
ellipse2Poly_0(center.x, center.y, axes.width, axes.height, angle, arcStart, arcEnd, delta, pts_mat.nativeObj);
return;
}
代码示例来源:origin: nu.pattern/opencv
/**
* <p>Approximates an elliptic arc with a polyline.</p>
*
* <p>The function <code>ellipse2Poly</code> computes the vertices of a polyline
* that approximates the specified elliptic arc. It is used by "ellipse".</p>
*
* @param center Center of the arc.
* @param axes Half of the size of the ellipse main axes. See the "ellipse" for
* details.
* @param angle Rotation angle of the ellipse in degrees. See the "ellipse" for
* details.
* @param arcStart Starting angle of the elliptic arc in degrees.
* @param arcEnd Ending angle of the elliptic arc in degrees.
* @param delta Angle between the subsequent polyline vertices. It defines the
* approximation accuracy.
* @param pts Output vector of polyline vertices.
*
* @see <a href="http://docs.opencv.org/modules/core/doc/drawing_functions.html#ellipse2poly">org.opencv.core.Core.ellipse2Poly</a>
*/
public static void ellipse2Poly(Point center, Size axes, int angle, int arcStart, int arcEnd, int delta, MatOfPoint pts)
{
Mat pts_mat = pts;
ellipse2Poly_0(center.x, center.y, axes.width, axes.height, angle, arcStart, arcEnd, delta, pts_mat.nativeObj);
return;
}
代码示例来源:origin: ytai/IOIOPlotter
/**
* <p>Approximates an elliptic arc with a polyline.</p>
*
* <p>The function <code>ellipse2Poly</code> computes the vertices of a polyline
* that approximates the specified elliptic arc. It is used by "ellipse".</p>
*
* @param center Center of the arc.
* @param axes Half of the size of the ellipse main axes. See the "ellipse" for
* details.
* @param angle Rotation angle of the ellipse in degrees. See the "ellipse" for
* details.
* @param arcStart Starting angle of the elliptic arc in degrees.
* @param arcEnd Ending angle of the elliptic arc in degrees.
* @param delta Angle between the subsequent polyline vertices. It defines the
* approximation accuracy.
* @param pts Output vector of polyline vertices.
*
* @see <a href="http://docs.opencv.org/modules/core/doc/drawing_functions.html#ellipse2poly">org.opencv.core.Core.ellipse2Poly</a>
*/
public static void ellipse2Poly(Point center, Size axes, int angle, int arcStart, int arcEnd, int delta, MatOfPoint pts)
{
Mat pts_mat = pts;
ellipse2Poly_0(center.x, center.y, axes.width, axes.height, angle, arcStart, arcEnd, delta, pts_mat.nativeObj);
return;
}
代码示例来源:origin: abhn/marvel
/**
* <p>Approximates an elliptic arc with a polyline.</p>
*
* <p>The function <code>ellipse2Poly</code> computes the vertices of a polyline
* that approximates the specified elliptic arc. It is used by "ellipse".</p>
*
* @param center Center of the arc.
* @param axes Half of the size of the ellipse main axes. See the "ellipse" for
* details.
* @param angle Rotation angle of the ellipse in degrees. See the "ellipse" for
* details.
* @param arcStart Starting angle of the elliptic arc in degrees.
* @param arcEnd Ending angle of the elliptic arc in degrees.
* @param delta Angle between the subsequent polyline vertices. It defines the
* approximation accuracy.
* @param pts Output vector of polyline vertices.
*
* @see <a href="http://docs.opencv.org/modules/core/doc/drawing_functions.html#ellipse2poly">org.opencv.core.Core.ellipse2Poly</a>
*/
public static void ellipse2Poly(Point center, Size axes, int angle, int arcStart, int arcEnd, int delta, MatOfPoint pts)
{
Mat pts_mat = pts;
ellipse2Poly_0(center.x, center.y, axes.width, axes.height, angle, arcStart, arcEnd, delta, pts_mat.nativeObj);
return;
}
代码示例来源:origin: jtsky/EasyPR_Android
/**
* <p>Approximates an elliptic arc with a polyline.</p>
*
* <p>The function <code>ellipse2Poly</code> computes the vertices of a polyline
* that approximates the specified elliptic arc. It is used by "ellipse".</p>
*
* @param center Center of the arc.
* @param axes Half of the size of the ellipse main axes. See the "ellipse" for
* details.
* @param angle Rotation angle of the ellipse in degrees. See the "ellipse" for
* details.
* @param arcStart Starting angle of the elliptic arc in degrees.
* @param arcEnd Ending angle of the elliptic arc in degrees.
* @param delta Angle between the subsequent polyline vertices. It defines the
* approximation accuracy.
* @param pts Output vector of polyline vertices.
*
* @see <a href="http://docs.opencv.org/modules/core/doc/drawing_functions.html#ellipse2poly">org.opencv.core.Core.ellipse2Poly</a>
*/
public static void ellipse2Poly(Point center, Size axes, int angle, int arcStart, int arcEnd, int delta, MatOfPoint pts)
{
Mat pts_mat = pts;
ellipse2Poly_0(center.x, center.y, axes.width, axes.height, angle, arcStart, arcEnd, delta, pts_mat.nativeObj);
return;
}
内容来源于网络,如有侵权,请联系作者删除!