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 日

0 投票

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 件のコメント

Dipak Majhi
Dipak Majhi 2015 年 6 月 7 日
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
Image Analyst
Image Analyst 2015 年 6 月 7 日
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