shape and color detection
显示 更早的评论
hi sir, after I did color segmentation using HSV color threshold, I want to eliminate the undesired shapes.for example I want to do shape detection. How can I set the area and parameter that I want and eliminate the undesired shapes.I m currently working on road sign detection.based on color segmentation demos: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
it works perfect for color detection. then how can I modify the code so as it can be used for shape detection?many thanks!!!
9 个评论
Image Analyst
2012-6-9
Sorry - I won't have time to answer this for at least a week - I'm headed off for a week vacation.
Tulips
2012-6-9
Ryan
2012-6-9
is post 8 what you're looking for? http://www.mathworks.com/matlabcentral/newsreader/view_thread/295271 (written by Image Analyst)
Tulips
2012-6-9
Ryan
2012-6-9
The code in the shared link tells you how to locate shapes, so you could locate the shapes and then do the color detection using HSV on those located shapes. Can you upload a sample image so we can see what we're dealing with?
Tulips
2012-6-9
Ryan
2012-6-9
try another bwareaopen operation with a high value, the area of the circle seems >>> than the pillars.
Tulips
2012-6-9
Tulips
2012-6-11
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Labeling, Segmentation, and Detection 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!