how to plot major axis and minor axis on object?
Show older comments
i have found the major and minor axis length and orientation using regionprops, now how can i plot them on my image?
Answers (1)
Image Analyst
on 20 Apr 2014
0 votes
It's shown in Steve's blog: http://blogs.mathworks.com/steve/2010/07/30/visualizing-regionprops-ellipse-measurements/
2 Comments
roma marfatia
on 21 Apr 2014
Image Analyst
on 21 Apr 2014
Some objects may be ambiguous, such as a region that is just one single isolated pixel. I mightbe able to look at your image if you post your original image, and binary image, and your code that did not work. Point out which region it's not working for.
Categories
Find more on Images in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!