coherence_enhancing_diff
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 ()
* Image 是输入图像 ImageCED 是输出图像,0.5是sigma,平滑的尺度;4是rho,扩散系数;0.5是时间间隔;50是迭代次数
coherence_enhancing_diff (Image, ImageCED, 0.5, 4, 0.5, 50)
dev_display (ImageCED)
转载请注明原文地址: https://www.6miu.com/read-3200359.html