This project clears all obstructions found in PPM images and generates a clear PPM using ML.
- Download and move all Birds 1-17.ppm files to the main directory.
- Run the following commands:
javac Blur.java
java Blur
- Your Terminal Output:
Opening birds1.ppm Opening birds2.ppm Opening birds3.ppm Opening birds4.ppm Opening birds5.ppm Opening birds6.ppm Opening birds7.ppm Opening birds8.ppm Opening birds9.ppm Opening birds10.ppm Opening birds11.ppm Opening birds12.ppm Opening birds13.ppm Opening birds14.ppm Opening birds15.ppm Opening birds16.ppm Opening birds17.ppm 354, 684, 255
- To view your newly generated image, you can upload blurred.ppm here
Before | After |
---|---|