Photosynthesis-metrics

Latest version: v0.4.0

Safety actively analyzes 619181 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.4.0

New Features
- Gradient magnitude similarity deviation (GMSD)(68)
- Multi scale gradient magnitude similarity deviation (MS-GMSD) (68)
- Blind/Referenceless Image Spatial Quality Evaluator (BRISQUE) (79)

Enhancement
- Update of Total Variation interface (78)
- Upgrade of input tensor validation to improve robustness (73, 78)
- Tests for utils (78)

Other
- Documentation updates (72, 75)

**Contributiors: denproc, snk4tr, zakajd**

0.3.0

New features

- Geometry Score (GS) (41)
- Support of SSIM and MS-SSIM for 5D tensors in the form that is used in the medical imaging (55)

Enchancements

- Total Variation (TV) now supports 2D, 3D and 4D tensors (55)
- MS-SSIM was upgraded to use custom scale weights of different size (55)

Other

Small fixes (62, 63, 65) and refactoring (64)

**Contributors**: denproc, zakajd, snk4tr

0.2.0

New features

- Visual Information Fidelity (VIF) and corresponding loss are implemented (47)
- Inception Score (IS) is implemented (42)
- TVLoss is changed. Now it is based on only predicted image, as it's [used as a regularizer](https://arxiv.org/abs/1603.08155) applied to the predicted images during NN training (58)

Enchancements

- Purely PyTorch-based computation of KID score (27)
- Assertion of minimal image resolution for MS-SSIM (38)
- Scipy-free computation of FID score (32)
- Fast InceptionNet initialization (45)

Other

- More strict formatting rules via workflow with flake8 checks
- CI pipeline corrections: now workflows are triggered for PRs and merges into master
- PR templates
- API description and examples
- Small fixes and refactoring

**Contributors**: denproc, zakajd, snk4tr, smikhai1

0.1.1

data_range` argument was moved to the class initializer.

0.1.0

This release includes new measures:
- FID
- KID
- MSID
- TV

It also includes more extensive testing and documentation.

0.0.2

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.