首页 > 其他 > 详细

EmguCV 简单图形绘制

时间:2014-02-18 01:40:38      阅读:793      评论:0      收藏:0      [点我收藏+]

一、圆

  public static void cvCircle(

      IntPtr img,

      System.Drawing.Point center,    //Center of the circle

      int radius,      //Radius of the circle

      MCvScalar color,  //Color of the circle

      int thickness,    if negative indicates that a filled circle has to be drawn

      Emgu.CV.CvEnum.LINE_TYPE lineType,

      int shift      //Number of fractional bits in the center coordinates and radius value

  )

   eg:

  CvInvoke.cvCircle(dst1, new Point(120, 120), 100, new MCvScalar(255, 255, 255), 3, Emgu.CV.CvEnum.LINE_TYPE.CV_AA, 0);

 

二、线段

  public static void cvLine(

      IntPtr img,

      System.Drawing.Point pt1,

      System.Drawing.Point pt2,

      MCvScalar color,

      int thickness,

      Emgu.CV.CvEnum.LINE_TYPE lineType,

      int shift

  )

EmguCV 简单图形绘制

原文:http://www.cnblogs.com/alsofly/p/3552635.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!