WyohKnott / image-formats-comparison

MIT License
18 stars 5 forks source link

Include code for reproducing results #1

Open jrmuizel opened 7 years ago

jrmuizel commented 7 years ago

This would be nice to have.

WyohKnott commented 7 years ago

It's a bunch of dirty BASH scripts pieced together… I included the relevant lines for encoding on the bottom of the index page if you want to reproduce it. What else would you need?

jrmuizel commented 7 years ago

It would be nice to have the scripts for the graphs to be able to reproduce them since you already have scripts for them. It would also be valuable to be able to audit the way the metrics are computed for things like color conversion etc.

WyohKnott commented 7 years ago

I wrote down every step I could think of over here: http://wyohknott.github.io/image-formats-comparison/report.html I linked a git repo where you can find the BASH scripts. It's not super automated though.

The graphs are made with a spreadsheet app, you'll find the ODS files in the result part, and also the formulas to plot them just above.

If you have any question/remark, add them here.

WyohKnott commented 7 years ago

@jrmuizel I don't know if you're still interested by this but I rewrote my scripts in Python and the graphs are now generated using numpy+pandas+matplotlib: https://github.com/WyohKnott/image-comparison-sources

It's now easy to use it on a new set of images, and generate graphs for them.

jrmuizel commented 7 years ago

Thanks I'll take a look when I get a chance.