참고소스 수정본
|
After Width: | Height: | Size: 114 B |
|
After Width: | Height: | Size: 114 B |
@@ -0,0 +1,11 @@
|
||||
# Julia SSIM trap
|
||||
|
||||
[SSIM](https://en.wikipedia.org/wiki/Structural_similarity) is a metric used to compare image similarity.
|
||||
|
||||
While original SSIM is computed against the luma channel (i.e. in a gray-scale),
|
||||
the Julia language [computes a weighted combination of per-channel SSIM's](https://github.com/JuliaImages/ImageQualityIndexes.jl/blob/e014cee9bef7023a1047b6eb0cbe49fbf28f2fed/src/ssim.jl#L39-L41).
|
||||
|
||||
This sample is a white image and a gray image that are reported equal by Julia SSIM.
|
||||
It also traps all the suggestions for color-weighted SSIM given here:
|
||||
https://dsp.stackexchange.com/questions/75187/how-to-apply-the-ssim-measure-on-rgb-images
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
These tests are coming from the `looks-same` library:
|
||||
- https://github.com/gemini-testing/looks-same/blob/b9399bce8fd980e6e59cf740bee3cd3fe66c3eae/test/test.js
|
||||
|
After Width: | Height: | Size: 137 B |
|
After Width: | Height: | Size: 139 B |
|
After Width: | Height: | Size: 137 B |
|
After Width: | Height: | Size: 139 B |
|
After Width: | Height: | Size: 211 B |
|
After Width: | Height: | Size: 286 B |
|
After Width: | Height: | Size: 137 B |
|
After Width: | Height: | Size: 140 B |
@@ -0,0 +1,8 @@
|
||||
# Original SSIM trap
|
||||
|
||||
[SSIM](https://en.wikipedia.org/wiki/Structural_similarity) is a metric used to compare image similarity.
|
||||
|
||||
The sample provides two different images. However, since the original SSIM implementation
|
||||
[converts images into
|
||||
gray-scale](https://github.com/obartra/ssim/blob/ca8e3c6a6ff5f4f2e232239e0c3d91806f3c97d5/src/index.ts#L104),
|
||||
SSIM metric will yield a perfect match for these images.
|
||||
|
After Width: | Height: | Size: 365 B |
|
After Width: | Height: | Size: 391 B |
@@ -0,0 +1,3 @@
|
||||
# Trivial failing examples
|
||||
|
||||
Some trivial failing examples
|
||||
|
After Width: | Height: | Size: 365 B |
|
After Width: | Height: | Size: 365 B |
|
After Width: | Height: | Size: 113 B |
|
After Width: | Height: | Size: 114 B |
|
After Width: | Height: | Size: 40 KiB |
|
After Width: | Height: | Size: 40 KiB |
@@ -0,0 +1,3 @@
|
||||
# Chrome non-deterministic rendering
|
||||
|
||||
Reported by: https://bugs.chromium.org/p/chromium/issues/detail?id=919955
|
||||
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 211 B |
|
After Width: | Height: | Size: 204 B |
@@ -0,0 +1,2 @@
|
||||
These tests are coming from the `looks-same` library:
|
||||
- https://github.com/gemini-testing/looks-same/blob/b9399bce8fd980e6e59cf740bee3cd3fe66c3eae/test/test.js
|
||||
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 691 B |
|
After Width: | Height: | Size: 689 B |
|
After Width: | Height: | Size: 705 B |
|
After Width: | Height: | Size: 659 B |
@@ -0,0 +1,5 @@
|
||||
# Tiny anti-aliasing sample
|
||||
|
||||
This is a 10x10 image sample with a 3 anti-aliased pixels in-between. This is actually
|
||||
a cropped down snapshot of one of the [ubuntu-x86-vs-ubuntu-arm samples](../ubuntu-x86-vs-ubuntu-arm/samples/stylings_stories-Stylings-stories-Texture-bar-should-use-custom-path-chrome/stylings-stories/texture/bar/should-use-custom-path-actual.png) handy for debugging
|
||||
purposes.
|
||||
|
After Width: | Height: | Size: 867 B |
|
After Width: | Height: | Size: 868 B |
@@ -0,0 +1,3 @@
|
||||
# Equal small images
|
||||
|
||||
Simple equal images.
|
||||
|
After Width: | Height: | Size: 113 B |
|
After Width: | Height: | Size: 113 B |
|
After Width: | Height: | Size: 114 B |
|
After Width: | Height: | Size: 114 B |
@@ -0,0 +1,2 @@
|
||||
A set of examples with rendering artifacts that happen when running Playwright
|
||||
screenshot tests on WebKit linux.
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 309 B |
|
After Width: | Height: | Size: 307 B |
|
After Width: | Height: | Size: 162 B |
|
After Width: | Height: | Size: 156 B |
|
After Width: | Height: | Size: 165 B |
|
After Width: | Height: | Size: 156 B |