Image Processing
Edge Detection

soebel.png

 

In this model, the framebuffer containing the 3D rendering of a space ship is further processed using an OpenCL program that computes an edge detection algorithm. The framebuffer is an OpenGL 2D texture which is shared with OpenCL as a pixel buffer object. This demo also contains a user interface to adjust various thresholds and experiment with the effect of different lighting conditions on the edge detection algorithm. As the framebuffer in this particular example is made up of 16 bit floating point numbers, this simulation only runs at about 19 fps on a GeForce 8800GT.