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개)

Community Treasure Hunt

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

Start Hunting!

Translated by