A CUDA port of http://mehdi.rabah.free.fr/SSIM .
Before building, ensure you have the following installed and properly configured:
- xmake
- A C++20 compatible compiler, ensure it's available in your PATH
- CUDA SDK, latest version recommended
- Navigate to the project root directory.
- Run command
xmake. - The compiled executable will be located in the
bin/directory.
cu-ssim -i a.png b.png: compute SSIM ofa.pngandb.pngon R, G, B channels separatelycu-ssim -i a.png b.png -l: compute SSIM ofa.pngandb.pngon luminance value