第4章 4.3.4 灰度插值

本文介绍了在Halcon中进行4.3.4灰度插值的操作,通过代码示例展示了如何实现,并提到使用'开运算'。讨论了dev_update_window('off')和dev_update_var('off')对处理速度和图形窗口显示的影响。建议在修改代码后,通过清空和保存来确保效果正确。
摘要由CSDN通过智能技术生成

用到了“开运算”?

代码

* 打开或关闭程序执行期间,将图标输出对象的自动输出切换到图形窗口
dev_update_window('off')
* Switches the update of the variable window during program execution on or off.
dev_update_var('off')
* Switch time measurement for operators on or off.
dev_update_time('off')
* Switches the update of the PC during program execution on or off.
* 猜测是关闭指示程序执行位置的左侧那个箭头的显示,否则循环很多次时,眼睛会瞎
* If the mode is 'off' the PC is not visible during program execution and the program text will not be scrolled automatically. 
* When the program stops the PC becomes visible again and the listing is scrolled to the current PC position.
dev_update_pc('off')

dev_set_color('red')

read_image(Image,'C:/Users/Administrator/Pictures/高01.jpg')

* Segment an image using global threshold.
threshold(Image,Region,160,255)

opening_circle(Region,RegionOpening,9.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值