ColourScanning

Hi everybody!

I’m trying to write a Colour bases tracking program, but can’t figure out how to start the colour search… I’m building it on top of the VideoGrabber Example, and I think I could use the cvInRange function…But how?
The purpose is to find the centre of a red dot and give me the X and Y coordinates.
I hope you can help me…

Also, I’ve been reading a lot about the contourfinder, is it smarter to use that? Because it’s a high contrast… (red on white)

Really thanks!!