shape and color detection

3 views (last 30 days)
Tulips
Tulips on 9 Jun 2012
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 Comments
Tulips
Tulips on 9 Jun 2012
how to code it?cant get it.using regionprops?how to do loops if I wanna remove unwanted noise?
Tulips
Tulips on 11 Jun 2012
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.

Sign in to comment.

Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!