colour image segmentation - in real time ?
10 views (last 30 days)
Show older comments
hi friends, am very new to this area, i need to do a project on colour image segmentation, tat is a real time video processing of colored object say as ball., need to find the color of the ball.,can any one plz help me in this regards ?
0 Comments
Answers (1)
Image Analyst
on 12 Feb 2012
I assume the ball is moving? So the first step is to find the ball. You might be able to do that fairly quickly by looking at what is different from one frame to the next. Then just use regionprops to get the mean intensity of the red, green, and blue channels to find the mean color of the ball. Note that finding the color of the ball is different than color segmentation which aims to find all pixels in the image that have certain colors, for example red. To do that see my color segmentation tutorials in my File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!