Does anyone have any ideas?
Canny Edge Detection - coordinates of edge points to subpixel accuracy
7 views (last 30 days)
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!
0 Comments
Answers (3)
Image Analyst
on 22 Aug 2014
Try bwboundaries(). Usually people upload an image when asking for image processing advice.
0 Comments
Stefan
on 22 Aug 2014
Edited: Stefan
on 22 Aug 2014
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
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!