answered Jul 9 '13
You can use Mat_. You have to specify the Mat_ type when you declare it, and then you can acces to the pixels easily.
Check this documentation: http://docs.opencv.org/modules/core/doc/basic_structures.html#id7