This project is implemented in C++ and built with CMake. To build the project:
$ mkdir build
$ cd build
$ export CC=/usr/lib64/ccache/clang
$ export CXX=/usr/lib64/ccache/clang++
$ cmake ..
$ make parpat_tests
$ cd ../images
$ ./create_inputs 50
$ cd ..
Make sure there's an images/ folder with at least 50 images written imageN.png where N is the image index. You can generate these with images/create_inputs as shown above.
To run unit tests run build/parpat_tests/parpat_tests -s
To run benchmarks run build/parpat_tests/parpat_tests "[!benchmark]"
Note: the convolution benchmark takes a very long time by default, so you might want to add --benchmark-samples 10 to decrease the number of samples it takes.