:chart_with_upwards_trend: Implementation of eight evaluation metrics to access the similarity between two images. The eight metrics are as follows: RMSE, PSNR, SSIM, ISSM, FSIM, SRE, SAM, and UIQ.
This PR simplifies the CLI tool a bit, as well as adds new features. Some unnecessary options were removed, and the readme has been updated accordingly.
The user-visible changes are:
--mode is no longer necessary (or allowed), files with a .tif or .tiff extension are read using the TIFF code. This also allows mixing and matching TIFF/non-TIFF images.
--metric can be repeated, or all can be specified.
The --write_to_file option was removed, since it didn't really make much sense especially with the introduction of multiple metrics. Instead, the tool always outputs information as machine-readable JSON at the end of the run, and that information can readily be redirected into a file. Since the information contains the file names evaluated, it can even be appended into a JSON Lines style file.
This PR simplifies the CLI tool a bit, as well as adds new features. Some unnecessary options were removed, and the readme has been updated accordingly.
The user-visible changes are:
--mode
is no longer necessary (or allowed), files with a.tif
or.tiff
extension are read using the TIFF code. This also allows mixing and matching TIFF/non-TIFF images.--metric
can be repeated, orall
can be specified.--write_to_file
option was removed, since it didn't really make much sense especially with the introduction of multiple metrics. Instead, the tool always outputs information as machine-readable JSON at the end of the run, and that information can readily be redirected into a file. Since the information contains the file names evaluated, it can even be appended into a JSON Lines style file.