how does edge(image,'log') calculate threshold?
6 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Image Analyst
2013-10-8
The method is not specified. If you need to know you'll have to call imgradient() and then do the thresholding yourself.
2 个评论
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.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!