-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhancement of SSIM/MS-SSIM and BRISQUE, Refactoring of tests for SSI…
…M/MS-SSIM and BRISQUE (#134) * tests(ssim): fix the randomly failing test Signed-off-by: Sergey Kastryulin <[email protected]> * refactoring(ssim): changes to simplify the ssim/ms-ssim * refactoring(test): changes ssim/ms-ssim to check values on real images * refactoring(ssim): minor * refactoring(tests): changes (ms)ssim tests to for better readability * refactoring(tests): fix memory consumption * refactoring(tests): docs * refactoring(tests): fix BRISQUE tests on real images * refactoring(tests): small fix for better utility * refact(ssim/brisque): changes proposed by @snk4tr and @zakajd * refact(tests): Hit 100% coverage for `TVLoss`, 'utls.py'. * docs: groomed to the single format * minor(all): changes after merge * release_commit: v0.5.0 Co-authored-by: Sergey Kastryulin <[email protected]>
- Loading branch information
Showing
11 changed files
with
658 additions
and
898 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
from piq.functional.base import ifftshift, get_meshgrid, similarity_map, gradient_map | ||
from piq.functional.colour_conversion import rgb2lmn, rgb2xyz, xyz2lab, rgb2lab, rgb2yiq | ||
from piq.functional.filters import hann_filter, scharr_filter, prewitt_filter | ||
from piq.functional.filters import hann_filter, scharr_filter, prewitt_filter, gaussian_filter | ||
from piq.functional.layers import L2Pool2d | ||
|
||
|
||
__all__ = [ | ||
'ifftshift', 'get_meshgrid', 'similarity_map', 'gradient_map', | ||
'rgb2lmn', 'rgb2xyz', 'xyz2lab', 'rgb2lab', 'rgb2yiq', | ||
'hann_filter', 'scharr_filter', 'prewitt_filter', | ||
'hann_filter', 'scharr_filter', 'prewitt_filter', 'gaussian_filter', | ||
'L2Pool2d', | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.