Raw Camera Data
I've been dabbling in the camera inputs, as our team's mechanism is finally starting to come together, and I've noticed the color tracking that either NI or WPI set up (Not sure who the code is coming from) is very crudely written. Does anyone know of a way to get the raw data from the camera (preferably like a two-dimensional array of ints with rgb data)? I have written code to filter out blobs of known colors (And it works with pretty much any color, not just the bright pinks and greens for this), though I have yet to find a way to define their bounds without just averaging the position of each pixel of a given color. All I need is that array.
Thanks for your help
|