Counting Colored Objects in an Image

1 次查看(过去 30 天)
Hello, I need help creating a code that can count and keep track of red and green colors in an image. Every time the program detects a red or green object it will put it a vector to be stored. If anyone can help me with this I would appreciate it because I am a novice to Matlab programming. Thank you for your time.

采纳的回答

Image Analyst
Image Analyst 2013-10-15
See my File Exchange for color segmentation demos: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
Also check the File Exchange where there are lots of tracking demos, like video tracking of red lasers or red balls, etc.
  17 个评论
sana saleeme
sana saleeme 2016-4-26
image anylist this sign ~ always create problem for me.and stop running my code.kindly help me.
Image Analyst
Image Analyst 2016-4-26
I'll try, but you forgot to attach your code.

请先登录,再进行评论。

更多回答(1 个)

Yatin
Yatin 2013-10-15
Hello,
May be the link below will be useful. It is based on the segmentation of the image based on colors. The link is : http://www.mathworks.com/matlabcentral/newsreader/view_thread/287764

类别

Help CenterFile Exchange 中查找有关 Image Processing and Computer Vision 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by