请选择 进入手机版 | 继续访问电脑版

Hello Mat

 找回密码
 立即注册
查看: 3299|回复: 0

绘制点、线、多边形

[复制链接]

84

主题

115

帖子

731

金钱

管理员

Rank: 9Rank: 9Rank: 9

积分
1467
发表于 2021-4-11 21:46:31 | 显示全部楼层 |阅读模式
绘制点、线、多边形点、圆:
  1.                 Cv2.Circle(op_ImageDraw, ini_Coord.X, ini_Coord.Y, int.Parse(tB_DrawLineWidth.Text),
  2.                     color, int.Parse(tB_DrawLineWidth.Text), LineTypes.AntiAlias);
复制代码
线:
  1.                 Cv2.Line(op_ImageDraw, ini_Coord.X, ini_Coord.Y,
  2.                     TranslateZoomMousePosition(e.Location).X, TranslateZoomMousePosition(e.Location).Y,
  3.                     color, int.Parse(tB_DrawLineWidth.Text), LineTypes.AntiAlias);
复制代码





回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Python|Opencv|MATLAB|Halcom.cn ( 蜀ICP备16027072号 )

GMT+8, 2024-3-28 23:43 , Processed in 0.207777 second(s), 21 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表