Identify shapes from images
21 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(2 个)
Image Analyst
2012-3-26
See my image segmentation tutorial: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Segmentation and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!