How to find the angles between three consecutive pixels in an binary image ?

I have a binary image(alphabet) who's edge matrix i have, now i need to store all the angles formed between three consecutive pixels of the edge in an array and do a histogram plot.

답변 (1개)

Image Analyst
Image Analyst 2015년 6월 7일
Check out Loren's answer and ROger Stafford's answer at the bottom of this link: http://www.mathworks.com/matlabcentral/newsreader/view_thread/236492

댓글 수: 2

sir, in that question some points are given and the angle is to be found out,but i don't know the points of my binary image,how to trace every point and get all the edge angles formed
I don't know. Maybe you want to skeletonize with bwmorph() it or maybe you want to use bwboundaries().

이 질문은 마감되었습니다.

질문:

2015년 6월 7일

마감:

2021년 8월 20일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by