Sub-Pixel Edge Detector Algorithm

[亡魂溺海] 提交于 2019-12-08 19:46:30

AFAIK state-of-the-art edge detection algorithms operate at a pixel-level accuracy (e.g., gPb).

If you want to get sub-pixel accuracy, you may apply a post-processing stage to the pixel-level results obtained by canny or gPb.

You can fit a parametric curve to small neighborhoods of detected edges thus obtaining sub-pixel accuracy.

The problem with running edge() on your original image is that the returned black and white image is the same size as your original image. Can you increase the size of your image with the imresize() function and do edge detection on that?

Most of these sub-pixel edge detection algorithms simply involve upsampling the image, typically with bicubic spline interpolation, and then performing the edge detection on the result, and then downsampling the image to the original resolution again.

Have you tested any of these simple algorithms yet? Are they suitable for your purposes?

The matlab resampling and edge detection algorithms are already quite well documented.

If you need sub-pixel detection, you can try subpixelEdges() method in Matlab, based in the paper 'Accurate Subpixel Edge Location Based on Partial Area Effect'.

http://es.mathworks.com/matlabcentral/fileexchange/48908-accurate-subpixel-edge-location

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!