
rods and disk image
5 ビュー (過去 30 日間)
古いコメントを表示
I have an image of rods and disk and i need to suppurate the rods only using morphological processing i need the mean steps only
0 件のコメント
採用された回答
Image Analyst
2013 年 12 月 30 日
You forgot to post your image. I don't know how you define "mean steps". Please explain.
If the image looks like what I'm imagining, something like pencils and coins, or this:

Then I'd threshold and call regionprops and look at the ratio of the major to minor axis. If the ratio is high, it's a rod. If the ratio is less than about 2, it's a disc.
3 件のコメント
Image Analyst
2013 年 12 月 30 日
I'd look for objects with a solidity close to 1 and a major to minor axis ratio close to 1. That will be the circles. Everything else will be rods or rod/disc overlap.
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
