mjc
08-09-2001, 01:12 AM
Multipart question:
1)Frames captured from my video camera are in RGB565 format. Is there some way to translate this to RGB888 using OpenGL so that it is done in hardware on my graphics card rather than the CPU.
2)I want to perform edge detection on this image. This involves calculating the dot product of a 3x3 matrix surrounding each pixel with a fixed matrix of coefficients, and setting the value of a pixel in the resultant image depending on the dot product. Is there some way this can be done by the graphics hardware using OpenGL?
At the moment all my image processing is done in C++ code using the CPU and I am hoping to be able to transfer some of it to the graphics hardware.
[This message has been edited by mjc (edited 08-09-2001).]
1)Frames captured from my video camera are in RGB565 format. Is there some way to translate this to RGB888 using OpenGL so that it is done in hardware on my graphics card rather than the CPU.
2)I want to perform edge detection on this image. This involves calculating the dot product of a 3x3 matrix surrounding each pixel with a fixed matrix of coefficients, and setting the value of a pixel in the resultant image depending on the dot product. Is there some way this can be done by the graphics hardware using OpenGL?
At the moment all my image processing is done in C++ code using the CPU and I am hoping to be able to transfer some of it to the graphics hardware.
[This message has been edited by mjc (edited 08-09-2001).]