Image manipulation demos based on the PPM image format.
TODO: Add a representative image for your project here
Windows
Open git bash to the directory containing this repository.
pixmap-ops $ mkdir build
pixmap-ops $ cd build
pixmap-ops/build $ cmake -G "Visual Studio 16 2019" ..
pixmap-ops/build $ start Pixmap-Ops.sln
Your solution file should contain two projects: pixmap_art
and pixmap_test
.
To run from the git bash command shell,
pixmap-ops/build $ ../bin/Debug/pixmap_test
pixmap-ops/build $ ../bin/Debug/pixmap_art
macOS
Open terminal to the directory containing this repository.
pixmap-ops $ mkdir build
pixmap-ops $ cd build
pixmap-ops/build $ cmake ..
pixmap-ops/build $ make
To run each program from build, you would type
pixmap-ops/build $ ../bin/pixmap_test
pixmap-ops/build $ ../bin/pixmap_art
Following features are implemented in PPM Class:
**1. Resize **
2. Flip Horizontally
3. Gamma Corrections
- Gamma = 0.6
- Gamma = 2.2
4. GrayScale
5. SubImage
6. Blend and Replace
1. Rotate 90 degrees
2. Swirl Color
3. Invert Colors
4. Distort
5. Extract Red, Green and Blue
- Red
- Green
- Blue
6. Lightest
7. Darkest
8. Difference
9. Multiply
ORIGINAL IMAGE
Invertion Applied to the Original Image
Swirl Color applied to Original Image
Red Extracted from the Original Image
Green Extracted from the Original Image
Blue Extracted from the Original Image
Distortion Applied to the original Image
Gamma correction applied to the original Image
Swirl color applied to the Image on which invert color was applied
Difference applied to the Image on which invert color was applied
Rotation-90 degees applied to the above image
Distortion applied after applying difference on color inverted images