Information Content Weighted SSIM (IW-SSIM), Pre-Commit Hooks and Updated Benchmarking
PyTorch Image Quality (PIQ) v0.7.0 Release Notes
- Information Content Weighted Structural Similarity (IW-SSIM) index (#301, #311);
- Pre-commit Hooks (#293);
- Enhancements (#273, #276, #286, #285, #290, #296, #292, #302, #305, #313, #270);
New Features
Information Content Weighted Structural Similarity (IW-SSIM) Index (#301, #311)
The new release of PIQ introduces metric and loss function interfaces for Information Content Weighted Structural Similarity (IW-SSIM) index. PIQ implementation of IW-SSIM is standalone. It doesn't require any additional packages for computing the index and includes optimised use of Laplacian pyramids. The performance of the proposed IW-SSIM index matches SRCC and KRCC estimations on TID2013, and KADID10k datasets.
IW-SSIM was proposed by Zhou Wang and Qiang Li. IW-SSIM takes into account local information content for image quality assessment. The content is estimated using advanced statistical models of natural images. Experiments showed consistent improvement in the performance for IQA, while IW-SSIM led to the best overall performance.
Pre-Commit Hooks (#293)
With this release, pre-commit hooks were added to the project. Pre-commit hooks enable automatic validation of code before committing it into the project. Such approach allows to automate code style checks locally and reduces number of commits to fix code style issues. To enable the feature on your machine, please follow the contribution guide.
Enhancements
- Updated library version parsers to meet
semver
andPEP404
formats (#273, #290); - Updates for
github/actions
(#296); - Upgrade for variable creation depending on input type (#292);
- Upgrade Benchmarking for metrics delivered with PIQ package (#270);
- Update README file (#270);
Bug Fix
- Fix for documentation description of feature-base metrics (#276);
- Fix for MDSI loss computation (#286);
- Fix for Precision and Recall metrics (#285);
- Fix for PSNR description (#302);
- Fix exceptions for some metric (#305);
- Fix BRISQUE interpolation to match MATLAB resize (#313);
Contributors: @merunes-goldman, @zakajd, @snk4tr, @denproc.