Identify shapes from images

7 views (last 30 days)
Angad Adivrekar
Angad Adivrekar on 26 Mar 2012
Hello, I am working on my MSc project where I need to identify shapes from line-drawings. I need to store the location and co-ordinates of these shapes, so I can refer each object that make up the image as a separate entity . Will it be possible to break down each entity? The main concern is to identify the shapes in the image. What methods can be used? Thanks

Answers (2)

Majid Al-Sirafi
Majid Al-Sirafi on 26 Mar 2012
i think you can use image segmentation methods

Image Analyst
Image Analyst on 26 Mar 2012
You can often use the Perimeter^2 / (4*pi*Area) as a metric to distinguish shapes from one another. That metric will be 1 for a circle and have different ranges for rectangles, triangles, etc. You can also use the majoraxis, minor axis, eccentricity, etc. to try to better define the shapes you're interested in. Basically you make up a "feature vector" which is a list of values for those various parameters that your different objects have. So the feature vector for triangles would have different values than a feature vector for discs.

Community Treasure Hunt

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

Start Hunting!