Canny Edge Detection - coordinates of edge points to subpixel accuracy
조회 수: 1 (최근 30일)
이전 댓글 표시
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
답변 (3개)
Image Analyst
2014년 8월 22일
Try bwboundaries(). Usually people upload an image when asking for image processing advice.
댓글 수: 0
Stefan
2014년 8월 22일
편집: Stefan
2014년 8월 22일
댓글 수: 1
Image Analyst
2014년 8월 22일
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
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!