Counting Colored Objects in an Image

4 Ansichten (letzte 30 Tage)
Cady
Cady am 10 Okt. 2013
Kommentiert: Image Analyst am 26 Apr. 2016
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.

Akzeptierte Antwort

Image Analyst
Image Analyst am 15 Okt. 2013
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 Kommentare
sana saleeme
sana saleeme am 26 Apr. 2016
image anylist this sign ~ always create problem for me.and stop running my code.kindly help me.
Image Analyst
Image Analyst am 26 Apr. 2016
I'll try, but you forgot to attach your code.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Yatin
Yatin am 15 Okt. 2013
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

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by