TA的每日心情 | 衰 2021-5-13 17:04 |
---|
签到天数: 2 天 连续签到: 1 天 [LV.1]初来乍到


- 积分
- 7
|
51Halcon诚邀您的加入,专注于机器视觉开发与应用技术,我们一直都在努力!
您需要 登录 才可以下载或查看,没有账号?会员注册
x
intersection_lines (RowBegin1, ColBegin1, RowEnd1, ColEnd1, RowBegin, ColBegin, RowEnd, ColEnd, rows, cols, IsOverlapping),返回值rows, cols能不能用rows[0], cols[0]指定的数组单个元素接收?我测试了,这样表达是红色,也就是说不行。
再比如我使用for循环,来选取一系列Region,并取到它们的行列坐标放至指定数组
for Index := 1 to Number by 1
select_shape (ConnectedRegions1, SelectedRegions1, 'column', 'and', C[Index]-10, C[Index]+10)
sort_region (SelectedRegions1, SortedRegions, 'character', 'true', 'row')
area_center (SortedRegions, Area, R[Index], C[Index])
endfor
|
|