What is the best edge detector?
2 次查看(过去 30 天)
显示 更早的评论
Hello What is the difference between sobel, prewitt, canny, laplacien, log...What is the best one used to detect edges? I used sobel and log edge detector but always i had an open edges. There is some solution to close edges? thanks
2 个评论
Walter Roberson
2012-10-19
If someone asks you what the best vehicle is for bringing home milk, are you going to tell them a particular brand and model and model year of automobile before even asking whether the milk is being transported a block from the corner store, or hundreds of miles up to the International Space Station ?
There is no "best" algorithm to detect edges. There are algorithms that are better in particular circumstances. Better algorithms yet might be invented a week from Sunday, or within a few billion years at latest.
回答(1 个)
Image Analyst
2012-10-19
The best edge detector is the one that you are happiest with.
For edge linking or closing gaps in edge outlines, try imclose() or try Peter's site for edge-linking code: http://www.csse.uwa.edu.au/~pk/Research/MatlabFns/#edgelink
6 个评论
Walter Roberson
2012-10-19
It is part of findendsjunctions.m and is the first routine in that file after findendsjunctions itself.
Image Analyst
2012-10-20
I haven't used that edge linking code. It's Peter's. If you've searched your hard drive for both those m-files, and can't find any of them, and you've searched inside all the m-files and still couldn't find it, then you'll have to contact Peter.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!