How to recognize bean shaped object in image?

2 visualizaciones (últimos 30 días)
Yogi
Yogi el 30 de Nov. de 2014
Comentada: Lior el 21 de Dic. de 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.

Respuestas (1)

Image Analyst
Image Analyst el 30 de Nov. de 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 comentarios
Image Analyst
Image Analyst el 21 de Dic. de 2014
Correct.
Lior
Lior el 21 de Dic. de 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... :)

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by