Image Manipulation [OpenGL]

Finding out what version of OpenGL your graphics card support: GLinfo2.zip

The very first thing you need to do is determine if your video card can support GPU programming. Specifically, you are looking to see if your graphic card supports OpenGL version 4.1 or later.

>>See the Source Code<<

>>Download the Executive program<<

How my program works(Keyboard events are case-insensitive):

1
2
3
4
5
6
7
8
9
Key 'O': Display original picture (usain_bolt.bmp -- colorful without transformation)
Key 'L': Display picture with Luminance effect (gray scale)
Key 'N': Display image negative
Key 'D': Display image with edge detection effect [Two versions: one is done in color, the other in luminance]
Key 'E': Display image with embossing effect
Key 'T': Display image with Toon rendering
Key 'W': Display image with Twirl Transformation
Key 'P': Display image with Ripple Transformation
Key 'S': Display image with Spherical Transformation

Attention for keyboar issues ‘D’:

1). Edge Detection in color: If the previous keyboard event is ‘O’, or no previous keyboard event, then when you press ‘D’ or ‘d’, it will trigger edge detection in color

2). Edge Detection in luminance: Otherwise, it will trigger edge detection in luminance

If you have any question, you can contact me: [email protected]

Screen Shots:

keyboard 'l' event keyboard 'n' event keyboard 'd' event keyboard 'e' event keyboard 't' event keyboard 'w' event keyboard 'p' event keyboard 's' event