How to recognize bean shaped object in image?
2 ビュー (過去 30 日間)
古いコメントを表示
Hi,
So far i am able to get measurements of an object in image using regionprops() but now i am not able to decide the object is of type "bean-shaped". How do i recognize it?
any type of help will be great.
0 件のコメント
回答 (1 件)
Image Analyst
2014 年 11 月 30 日
I'd look for a solidity in a certain range. To be more robust, so it doesn't also get things shaped like asterisks, you can get the convex hull and xor it with the blob and look for blobs (which represent bays/incursions) in a certain size range. Sorry, I don't already have code to do that, you'll have to write it. You can look at the image segmentation tutorial in my file exchange though, http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
9 件のコメント
Lior
2014 年 12 月 21 日
Maybe you can try adding properties such as: eccentricity, major/minor axis and other parameters. You can take a reference image of a ''bean-shaped'' object - apply regionprops to it and analyze the parameters you get. I would create a database of ''bean-shaped'' objects and see if there's any consistency in the properties of those images. Then I'll know what parameters to analyze. I hope I was somewhat clear... :)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!