Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use structural similarity #30

Closed
kornelski opened this issue May 1, 2014 · 3 comments
Closed

Use structural similarity #30

kornelski opened this issue May 1, 2014 · 3 comments

Comments

@kornelski
Copy link
Contributor

I've made my SSIM implementaiton usable directly in C (ignore the CLI tool that reads PNG, just set bitmaps directly via C API).

This is much more accurate than ImageMagick's MSE metric.

It may even be faster, because my implementation doesn't need to re-decode source image (you can set it once and only swap modified version).

@rflynn
Copy link
Owner

rflynn commented May 9, 2014

Thank you, this is terrific. I was aware of SSIM when I wrote imgmin but ImageMagick didn't have it available at the time. This is likely the single biggest improvement than can be made to imgmin, I want to add it when I have time.

@ptz0n
Copy link

ptz0n commented Jun 3, 2014

Sounds like amazing sauce. 👍

rflynn added a commit that referenced this issue Jun 4, 2014
… running, but not working -- getting all dssim=0.0 (#30)
@kornelski
Copy link
Contributor Author

I've refactored dssim to make integration faster/easier. Here's my attempt: https://github.com/pornel/imgmin/tree/newdssim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants