GPGPU means General Purpose computation on Graphics Processing Units. On this page a few basic programs and libraries are presented that show how the GPU can be used for computer vision tasks like edge detection.


The following hardware and software is needed to run the programs:

  • A graphics card (and driver) that supports OpenGL 2.0
  • The OpenGL Utility Toolkit (GLUT)
  • C for Graphics (Cg)
  • C++ (e.g. Visual C++ 8.0)

  GLUT Win32 3.7.6 (117,1 KiB, 1.700 hits)
This is GLUT for Win32 version 3.7.6 as of Nov 8th 2001 by Nate Robins.

  Simple Shader Test (194,2 KiB, 1.913 hits)
Simple demo program that demonstrates the use of Cg shaders for GPGPU using some edge detection filters (Sobel, Laplacian, Laplacian of Gaussian, Difference of Gaussian). Program needs glut32.dll Cg.dll and CgGL.dll. shadertest