Info

This question is closed. Reopen it to edit or answer.

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

2 views (last 30 days)
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.

Answers (1)

Image Analyst
Image Analyst on 7 Jun 2015
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 Comments
Dipak Majhi
Dipak Majhi on 7 Jun 2015
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 on 7 Jun 2015
I don't know. Maybe you want to skeletonize with bwmorph() it or maybe you want to use bwboundaries().

Community Treasure Hunt

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

Start Hunting!