how to plot major axis and minor axis on object?

i have found the major and minor axis length and orientation using regionprops, now how can i plot them on my image?

回答 (1 件)

Image Analyst
Image Analyst 2014 年 4 月 20 日

0 投票

2 件のコメント

roma marfatia
roma marfatia 2014 年 4 月 21 日
but it does not work for all object
Image Analyst
Image Analyst 2014 年 4 月 21 日
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.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeImages についてさらに検索

質問済み:

2014 年 4 月 20 日

コメント済み:

2014 年 4 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by