How to recognize bean shaped object in image?

3 visualizzazioni (ultimi 30 giorni)
Yogi
Yogi il 30 Nov 2014
Commentato: Lior il 21 Dic 2014
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.

Risposte (1)

Image Analyst
Image Analyst il 30 Nov 2014
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 Commenti
Lior
Lior il 21 Dic 2014
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... :)

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by