Halcon例程学习01 使用coherence_enhancing_diff增强指纹图像

例程源码

* This example program shows how coherence_enhancing_diff can be used
* to enhance a fingerprint image by joining disconnected parts of the
* fingerprint lines.
read_image (Image, 'fingerprint')
get_image_size (Image, Width, Height)
dev_close_window ()
dev_open_window (0, 0, Width * 2, Height * 2, 'black', WindowHandle)
dev_display (Image)
stop ()
coherence_enhancing_diff (Image, ImageCED, 0.5, 4, 0.5, 50)
dev_display (ImageCED)

*这个示例程序展示了如何使用coherence_enhancing_diff

*通过连接指纹的断开部分来增强指纹图像

*指纹线。

原图                                                                                      运行后

        

相干增强扩散(coherence_enhancing_diff)

执行图像的连贯性增强扩散。


图像(Image)   ---   输入对象(input_object)
输入图像。

结果(ImageCED)   ---   输出对象(output_object)
输出图像。

西格玛(Sigma)   ---   输入元组(input_control)
导数算子的光滑。

扩散平滑系数(Rho)   ---   输入元组(input_control)
扩散系数平滑。

时间步距(Theta)   ---   输入元组(input_control)
时间步。

迭代次数(Iterations)   ---   输入元组(input_control)
迭代次数。

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值