Canny Edge Detection - coordinates of edge points to subpixel accuracy
Show older comments
Hi,
I know I can get white pixels showing me edges in an image when using the edge function with the canny method and I am also aware that one can easily find the coordinates of those pixels.
But does anyone know how to get the exact coordinates of the edge "points". I don´t know how this function works exactly but I assume it fits a function of intensity normal to the edge and then finds a middle ground between the darkest and brightest pixel. And it does that for every row/column (depending on the orientation of the edge). For example for a horizon it will do this for every column to find the "crossover point".
Instead of matlab painting the pixel nearest to that coordinate white I would like to get the actual coordinate.
Any thoughts and ideas are most welcome!
Answers (3)
Stefan
on 22 Aug 2014
0 votes
Image Analyst
on 22 Aug 2014
0 votes
Try bwboundaries(). Usually people upload an image when asking for image processing advice.
1 Comment
Image Analyst
on 22 Aug 2014
Maybe look into the work by University of Dayton where they get superresolution from a single blurry image: https://www.udayton.edu/engineering/vision_lab/video_preprocessing/super_resolution.php
Categories
Find more on Object Analysis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
