필터 지우기
필터 지우기

Does anyone know how can finding angle in an ellipse

조회 수: 1 (최근 30일)
Abo
Abo 2014년 11월 25일
댓글: Image Analyst 2014년 11월 28일
The left ellipse is an fitted ellipse to an object in time (t) and right one is in t+1. I mean after 1 minute the object (fitted ellipse) was rotated about alpha degree. how can I find (α) in the rotated ellipse (right one)?
  댓글 수: 4
Image Analyst
Image Analyst 2014년 11월 27일
편집: Image Analyst 2014년 11월 27일
That doesn't answer my question. What kind of data are you starting with. If you use the "whos" function on your variables, what does it say? Is it a rows-by-column 2 or 3 D array (an image), or is it a N-by-2 array (a list of x,y coordinates)? Please read this http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer
Abo
Abo 2014년 11월 28일
sorry Image Analyst, I've used this method: http://blogs.mathworks.com/steve/2010/07/30/visualizing-regionprops-ellipse-measurements/ for ellipse fitting and I have a list of x,y coordinates for (2D image).

댓글을 달려면 로그인하십시오.

채택된 답변

Guillaume
Guillaume 2014년 11월 28일
편집: Guillaume 2014년 11월 28일
Since you're using regionprops to fit your ellipses, and one of the properties returned by regionprop is the ellipse orientation, why can't you just subtract the angles of your two ellipses?
  댓글 수: 1
Image Analyst
Image Analyst 2014년 11월 28일
Exactly what I was going to suggest (now that he clarified what he was doing).

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Geometric Transformation and Image Registration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by