halcon有些算子很容易出错,针对混编和引擎两种方式都是不容易检查出来错误,毕竟halcon IDE环境有他的特定性,比如:
一、算子说明
read_region( : Region : FileName : )
在混编中直接读取本地region,很容易读取失败,但是用halcon的IDE环境不会出现读取失败问题,究其原因,在Attention
Attention
The clipping based on the current image format is set via the operator set_system('clip_region',<'true'/'false'>). Consequently, if no image of suffcient size has been created before the call to read_region, set_system('clip_region','false') should be called before calling read_region to ensure that the region is not being clipped.
基于当前图像操作时,设置系统函数为:set_system('clip_region',<'
本文介绍了Halcon中read_region算子在混编和引擎模式下可能出现的错误,强调了在没有先创建足够大小图像的情况下,调用read_region可能导致区域被剪裁。解决方法包括在读取region前先读取图像或调用set_system('clip_region','false')。测试表明,先执行read_image再执行read_region可以避免问题,而反之则可能失败。"
127099099,14890787,Python接口实战:下单接口抓包与数据处理,"['Python', '接口测试', '抓包工具', '数据处理']
订阅专栏 解锁全文
1244

被折叠的 条评论
为什么被折叠?



