shape and color detection

1 次查看(过去 30 天)
Tulips
Tulips 2012-6-9
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 个评论
Tulips
Tulips 2012-6-9
how to code it?cant get it.using regionprops?how to do loops if I wanna remove unwanted noise?
Tulips
Tulips 2012-6-11
sir I did used this equation in my code circularities = Perimeter^2/(4 * pi (area) and I got the circularities values for the object detection. How can I eliminate the shape that I dont want?in my plotting image it show all detected objects.I want to just only get the circular shape and remove noncircular shape.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by