how does edge(image,'log') calculate threshold?
显示 更早的评论
hi friends,
As a part of my Masters curriculum I have to publish a paper during my course. I am using gradient and morphological operations for fingerprint image segmentation.
For command img2=edge(img1,'log'), function edge calculates threshold automatically.
How do I represent this in my paper? Is it ok that I use ">>threshold using LoG"? Or I have to explain algorithm for threshold calculation so this remains programming language independent.
I opened edge.m editor but could not understand how threshold is calculated.
回答(1 个)
Image Analyst
2013-10-8
1 个投票
The method is not specified. If you need to know you'll have to call imgradient() and then do the thresholding yourself.
2 个评论
Sam
2013-10-8
Image Analyst
2013-10-8
You specified the edge detection method, not the thresholding method. LoG mean Laplacian of Gaussian. It refers to a kernel , not a threshold. Basically it blurs the image twice and subtracts the result from the original image, though it can all be done in one single step. Anyway, you can see that if you don't specify the threshold, it does it automatically using an unspecified method.
类别
在 帮助中心 和 File Exchange 中查找有关 Image Segmentation and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!