This project implements certain image filters on FPGAs, which can be used as standalone filters. The demo filters in include detail capturing and blurring of images with a given choice of modes, and this can be customized to other filters as well.
-
First synthesize the code and upload the bitstream file to an FPGA.
-
Then rename the file to in.pgm in the same directory
-
Compile and run filegen.cpp (for converting the image into a machine-readable format)
-
Send the file out.txt to the FPGA board using gtkterm.
-
Save the file received from the FPGA to rawout, then run convertoutput.sh.
-
Compile and run fileread.cpp and the output would be in out.pgm, which is in a viewable format.