Major axis and minor axis
29 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
How can I plot the major axis and minor axis for an object in an image?
2 Commenti
Image Analyst
il 10 Nov 2012
I've just added a section on "How do I create an ellipse" to the FAQ: http://matlab.wikia.com/wiki/FAQ#How_do_I_create_an_ellipse.3F so that might help you.
Risposta accettata
Walter Roberson
il 27 Ago 2012
regionprops() to get the centroid and orientation (angle). After that it becomes straight trig. The axes length is R, compute R*cos(theta), R*sin(theta), and center those displacements on the centroid.
17 Commenti
Image Analyst
il 9 Set 2012
Pamela, I haven't heard of that method to determine similarity. Much more common is SSIM ( http://en.wikipedia.org/wiki/SSIM) and friends, or even PSNR. Or you can use image moments: http://en.wikipedia.org/wiki/Image_moment
Più risposte (0)
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!