Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Converting 8bit image into RGB and more

Hello all,

I am planning to grab real time images from a scientific framegrabber which is 8bit image data.

The workflow goes as follows- 8bit image data --> convert to RGB image based on predefined color pallete --> (draw some square unfilled boxes) --> (draw some lines on it) --> (update color of some pixels based on other criteria) --> Display it on screen

Steps in () are optional based on user flags. Currently in VC++ 6.0, I do all of these using a mix of GDI+ and SetPixel etc, except for second step. This time I am reqriting the whole applciation in VC++ 2010 and I have OpenCV libraries that I compiled and used in other applciations. Wondering whether this could be accomplished more efficiently in OpenCV, if so, any tips/suggestions?

thanks