Files
AI/참고/playwright-main/tests/image_tools/fixtures/should-fail/julia-ssim-trap/README.md

12 lines
651 B
Markdown
Raw Normal View History

2026-05-12 19:40:31 +09:00
# 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