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
I don't know if it's more efficiency than your program but it is a possibilty to do it
Thanks for your quick reply, I will give this a try in my test program and see how it performs vs GDI+. How about the other graphics drawing stuff, is it easy and efficient to do in OpenCV vs GDI+. I would like to do everything in memory and then draw it on the screen probably utilizing double buffering to reduce flicker.
OpenCV is used for image processing blur, filter threshold, motion detection , stereovision.... using processor or GPU. You can do some basic drawing but it's not principal purpose. OpenGL or VTK can be used inside OpenCV