Angle display of binary image

1 次查看(过去 30 天)
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 个评论
Rik
Rik 2018-5-10
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?

请先登录,再进行评论。

回答(1 个)

Image Analyst
Image Analyst 2018-5-11
" 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 个评论
NURUL AMIRA MHD RIZAL
Okayy. I will try using it. But how to make it automatically select?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by