Opencv... getting at the data in an IPLImage or CvMat
I do not know opencv python bindings, but in C or C++ you have to get the buffer pointer stored in IplImage. This buffer is coded according to the image format (also stored in IplImage). For RGB you have a byte for R, a byte for G, a byte for B, and so on.
Look at the API of python bindings,you will find how to access the buffer and then you can get to pixel info.
my2c
I am doing some simple programs with opencv in python.  I want to write a few algorithms myself, so need to get at the 'raw' image data inside an image.  I can't just do image[i,j] for example, how can I get at the numbers?
Thanks