Angle display of binary image

1 view (last 30 days)
NURUL AMIRA MHD RIZAL
NURUL AMIRA MHD RIZAL on 10 May 2018
Commented: Image Analyst on 12 May 2018
I have a binary image. My main problem is that, is it possible for me to set a specific place or point to display an angle? Example, I want to set arm and hip part to be display its angle. So, for the next image captured, it will automatically display the angle at the hip and arm spot. Someone help me please?
  1 Comment
Rik
Rik on 10 May 2018
It might be possible to do this automatically, but it will be very difficult. Is it also good enough if the lines defining the angles are placed manually?

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 11 May 2018
" is it possible for me to set a specific place or point to display an angle?" Yes. You didn't say that finding the endpoints was your problem, just setting the points to display - to display a line I guess. So, just specify the x and y coordinates and use line() or plot:
line([x1, x2], [y1, y2]);
  6 Comments
NURUL AMIRA MHD RIZAL
NURUL AMIRA MHD RIZAL on 12 May 2018
Okayy. I will try using it. But how to make it automatically select?

Sign in to comment.

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!