Exercises from a Digital Image Processing class.
CubePerspective.c
- draw a 3D colored cube and change the camera position by pressing F1 to F6.
Compile: gcc -o CubePerspective CubePerspective.c -lglut -lGL -lGLU -lm
Histograma
- adjust the brightness, contrast, convert to grayscale and generates the normalized histogram of a given image.
Compile:
- Create a
build
folder
make
./PDI_example01 ../yourimage.jpg