Does anyone know how can finding angle in an ellipse
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Abo
am 25 Nov. 2014
Kommentiert: Image Analyst
am 28 Nov. 2014
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)?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/146213/image.jpeg)
4 Kommentare
Image Analyst
am 27 Nov. 2014
Bearbeitet: Image Analyst
am 27 Nov. 2014
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
Akzeptierte Antwort
Guillaume
am 28 Nov. 2014
Bearbeitet: Guillaume
am 28 Nov. 2014
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 Kommentar
Image Analyst
am 28 Nov. 2014
Exactly what I was going to suggest (now that he clarified what he was doing).
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Geometric Transformation and Image Registration finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!