This is a test suite assembled to test various lossy image formats. Right now it supports testing WebP, HEVC-MSP, and JPEG XR. Supported image quality tests are Y-SSIM (luma-only SSIM), RGB-SSIM (average of SSIM applied to R, G, and B channels), IW-SSIM, and PSNR-HVS-M.
This suite was created and is maintained on OS X. It can probably work on Linux with minimal tweaking. I tried here and there to make life easier for anyone attempting this on Windows, but it'll probably be a pain to get everything working.
Install all of the requirements listed below, build whatever needs to be built in the requirements, then build every source file in './encoders' and './decoders'. Compile commands for the encoders and decoders are in comments near the top of the source files themselves, paths may need tweaking.
Requirements:
Must Have
- ImageMagick, specifically the 'convert' utility, http://www.imagemagick.org/ ** Version 6.8.6 or higher required, earlier versions have a bug in YUV conversion
- perl ** Any version 5.x from the past few years is probably fine.
HEVC-MSP Support
- svn://hevc.kw.bbc.co.uk/svn/jctvc-hm
JPEG XR Support
WebP Support
Y-SSIM Support (MATLAB)
- May only work on OS X as written now
- Requires that MATLAB be installed
- https://ece.uwaterloo.ca/~z70wang/research/ssim/
RGB-SSIM Support (C++)
PSNR-HVS-M Support (C)
IW-SSIM Support (MATLAB)
- May only work on OS X as written now
- Requires that MATLAB be installed
- https://ece.uwaterloo.ca/~z70wang/research/iwssim/
- http://www.cns.nyu.edu/lcv/software.php
- Download the iw-ssim soure, then download the matlabPyrTools source, then put all of the files in the matlabPyrTools directory into the iw-ssim source directory so that all of the required MATLAB files are in the same directory.