org.opencv.core.Core.ellipse2Poly_0()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(5.7k)|赞(0)|评价(0)|浏览(192)

本文整理了Java中org.opencv.core.Core.ellipse2Poly_0()方法的一些代码示例,展示了Core.ellipse2Poly_0()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Core.ellipse2Poly_0()方法的具体详情如下:
包路径:org.opencv.core.Core
类名称:Core
方法名:ellipse2Poly_0

Core.ellipse2Poly_0介绍

暂无

代码示例

代码示例来源:origin: com.sikulix/sikulixapi

  1. /**
  2. * <p>Approximates an elliptic arc with a polyline.</p>
  3. *
  4. * <p>The function <code>ellipse2Poly</code> computes the vertices of a polyline
  5. * that approximates the specified elliptic arc. It is used by "ellipse".</p>
  6. *
  7. * @param center Center of the arc.
  8. * @param axes Half of the size of the ellipse main axes. See the "ellipse" for
  9. * details.
  10. * @param angle Rotation angle of the ellipse in degrees. See the "ellipse" for
  11. * details.
  12. * @param arcStart Starting angle of the elliptic arc in degrees.
  13. * @param arcEnd Ending angle of the elliptic arc in degrees.
  14. * @param delta Angle between the subsequent polyline vertices. It defines the
  15. * approximation accuracy.
  16. * @param pts Output vector of polyline vertices.
  17. *
  18. * @see <a href="http://docs.opencv.org/modules/core/doc/drawing_functions.html#ellipse2poly">org.opencv.core.Core.ellipse2Poly</a>
  19. */
  20. public static void ellipse2Poly(Point center, Size axes, int angle, int arcStart, int arcEnd, int delta, MatOfPoint pts)
  21. {
  22. Mat pts_mat = pts;
  23. ellipse2Poly_0(center.x, center.y, axes.width, axes.height, angle, arcStart, arcEnd, delta, pts_mat.nativeObj);
  24. return;
  25. }

代码示例来源:origin: nu.pattern/opencv

  1. /**
  2. * <p>Approximates an elliptic arc with a polyline.</p>
  3. *
  4. * <p>The function <code>ellipse2Poly</code> computes the vertices of a polyline
  5. * that approximates the specified elliptic arc. It is used by "ellipse".</p>
  6. *
  7. * @param center Center of the arc.
  8. * @param axes Half of the size of the ellipse main axes. See the "ellipse" for
  9. * details.
  10. * @param angle Rotation angle of the ellipse in degrees. See the "ellipse" for
  11. * details.
  12. * @param arcStart Starting angle of the elliptic arc in degrees.
  13. * @param arcEnd Ending angle of the elliptic arc in degrees.
  14. * @param delta Angle between the subsequent polyline vertices. It defines the
  15. * approximation accuracy.
  16. * @param pts Output vector of polyline vertices.
  17. *
  18. * @see <a href="http://docs.opencv.org/modules/core/doc/drawing_functions.html#ellipse2poly">org.opencv.core.Core.ellipse2Poly</a>
  19. */
  20. public static void ellipse2Poly(Point center, Size axes, int angle, int arcStart, int arcEnd, int delta, MatOfPoint pts)
  21. {
  22. Mat pts_mat = pts;
  23. ellipse2Poly_0(center.x, center.y, axes.width, axes.height, angle, arcStart, arcEnd, delta, pts_mat.nativeObj);
  24. return;
  25. }

代码示例来源:origin: ytai/IOIOPlotter

  1. /**
  2. * <p>Approximates an elliptic arc with a polyline.</p>
  3. *
  4. * <p>The function <code>ellipse2Poly</code> computes the vertices of a polyline
  5. * that approximates the specified elliptic arc. It is used by "ellipse".</p>
  6. *
  7. * @param center Center of the arc.
  8. * @param axes Half of the size of the ellipse main axes. See the "ellipse" for
  9. * details.
  10. * @param angle Rotation angle of the ellipse in degrees. See the "ellipse" for
  11. * details.
  12. * @param arcStart Starting angle of the elliptic arc in degrees.
  13. * @param arcEnd Ending angle of the elliptic arc in degrees.
  14. * @param delta Angle between the subsequent polyline vertices. It defines the
  15. * approximation accuracy.
  16. * @param pts Output vector of polyline vertices.
  17. *
  18. * @see <a href="http://docs.opencv.org/modules/core/doc/drawing_functions.html#ellipse2poly">org.opencv.core.Core.ellipse2Poly</a>
  19. */
  20. public static void ellipse2Poly(Point center, Size axes, int angle, int arcStart, int arcEnd, int delta, MatOfPoint pts)
  21. {
  22. Mat pts_mat = pts;
  23. ellipse2Poly_0(center.x, center.y, axes.width, axes.height, angle, arcStart, arcEnd, delta, pts_mat.nativeObj);
  24. return;
  25. }

代码示例来源:origin: abhn/marvel

  1. /**
  2. * <p>Approximates an elliptic arc with a polyline.</p>
  3. *
  4. * <p>The function <code>ellipse2Poly</code> computes the vertices of a polyline
  5. * that approximates the specified elliptic arc. It is used by "ellipse".</p>
  6. *
  7. * @param center Center of the arc.
  8. * @param axes Half of the size of the ellipse main axes. See the "ellipse" for
  9. * details.
  10. * @param angle Rotation angle of the ellipse in degrees. See the "ellipse" for
  11. * details.
  12. * @param arcStart Starting angle of the elliptic arc in degrees.
  13. * @param arcEnd Ending angle of the elliptic arc in degrees.
  14. * @param delta Angle between the subsequent polyline vertices. It defines the
  15. * approximation accuracy.
  16. * @param pts Output vector of polyline vertices.
  17. *
  18. * @see <a href="http://docs.opencv.org/modules/core/doc/drawing_functions.html#ellipse2poly">org.opencv.core.Core.ellipse2Poly</a>
  19. */
  20. public static void ellipse2Poly(Point center, Size axes, int angle, int arcStart, int arcEnd, int delta, MatOfPoint pts)
  21. {
  22. Mat pts_mat = pts;
  23. ellipse2Poly_0(center.x, center.y, axes.width, axes.height, angle, arcStart, arcEnd, delta, pts_mat.nativeObj);
  24. return;
  25. }

代码示例来源:origin: jtsky/EasyPR_Android

  1. /**
  2. * <p>Approximates an elliptic arc with a polyline.</p>
  3. *
  4. * <p>The function <code>ellipse2Poly</code> computes the vertices of a polyline
  5. * that approximates the specified elliptic arc. It is used by "ellipse".</p>
  6. *
  7. * @param center Center of the arc.
  8. * @param axes Half of the size of the ellipse main axes. See the "ellipse" for
  9. * details.
  10. * @param angle Rotation angle of the ellipse in degrees. See the "ellipse" for
  11. * details.
  12. * @param arcStart Starting angle of the elliptic arc in degrees.
  13. * @param arcEnd Ending angle of the elliptic arc in degrees.
  14. * @param delta Angle between the subsequent polyline vertices. It defines the
  15. * approximation accuracy.
  16. * @param pts Output vector of polyline vertices.
  17. *
  18. * @see <a href="http://docs.opencv.org/modules/core/doc/drawing_functions.html#ellipse2poly">org.opencv.core.Core.ellipse2Poly</a>
  19. */
  20. public static void ellipse2Poly(Point center, Size axes, int angle, int arcStart, int arcEnd, int delta, MatOfPoint pts)
  21. {
  22. Mat pts_mat = pts;
  23. ellipse2Poly_0(center.x, center.y, axes.width, axes.height, angle, arcStart, arcEnd, delta, pts_mat.nativeObj);
  24. return;
  25. }

相关文章

Core类方法