Skip to content

Instantly share code, notes, and snippets.

@castano
Last active March 30, 2020 23:58
Show Gist options
  • Save castano/7a7acf2b78846f4d952ee7fda8947862 to your computer and use it in GitHub Desktop.
Save castano/7a7acf2b78846f4d952ee7fda8947862 to your computer and use it in GitHub Desktop.
RMSE PSNR Time
Kodak/Waterloo Image Set:
stb 8.202766 29.851597 0.258041
stb-hq 8.009301 30.058910 0.284019
nvtt-fast 8.089954 29.971882 0.445670
nvtt 7.616215 30.496019 6.806233
nvtt-hq 7.562366 30.557650 13.081200
squish 7.680242 30.423306 7.308268
squish-hq 7.677340 30.426588 9.483221
cmp 7.680834 30.422636 21.029043
Roblox Set:
stb 10.996125 27.306009 0.781845
stb-hq 10.696564 27.545918 0.884837
nvtt-fast 10.700490 27.542730 1.265391
nvtt 10.174404 27.980623 24.711681
nvtt-hq 10.145576 28.005270 43.677601
squish 10.214572 27.946400 27.016682
squish-hq 10.214238 27.946684 34.496914
cmp 10.199525 27.959206 77.598381
- stb is https://github.com/nothings/stb/blob/master/stb_dxt.h with modifications.
- cmp is AMD Compresonator https://github.com/GPUOpen-Tools/compressonator/tree/master/Compressonator/CMP_Core @ 3/29/2020
Full Results:
Image 'testsuite/kodak/kodim01.png'
stb 9.143194 28.908844 0.008275
stb-hq 8.861547 29.180613 0.009340
nvtt-fast 8.825259 29.216253 0.013527
nvtt 8.312532 29.736137 0.258930
nvtt-hq 8.278423 29.771851 0.458992
squish 8.333426 29.714333 0.287039
squish-hq 8.333019 29.714756 0.328477
cmp 8.340087 29.707392 0.807820
Image 'testsuite/kodak/kodim02.png'
stb 6.594998 31.746510 0.007910
stb-hq 6.501203 31.870930 0.008660
nvtt-fast 6.519421 31.846624 0.013427
nvtt 6.142602 32.363754 0.215082
nvtt-hq 6.118040 32.398556 0.408927
squish 6.249147 32.214390 0.233955
squish-hq 6.246517 32.218044 0.337025
cmp 6.196153 32.288361 0.736250
Image 'testsuite/kodak/kodim03.png'
stb 5.267075 33.699413 0.007587
stb-hq 5.156311 33.884022 0.008239
nvtt-fast 5.165102 33.869225 0.013283
nvtt 4.818578 34.472424 0.149061
nvtt-hq 4.790132 34.523853 0.329513
squish 4.887787 34.348557 0.152983
squish-hq 4.885668 34.352325 0.193642
cmp 4.870338 34.379623 0.443387
Image 'testsuite/kodak/kodim04.png'
stb 6.154434 32.347042 0.007961
stb-hq 6.048723 32.497532 0.008713
nvtt-fast 6.047755 32.498920 0.013377
nvtt 5.725202 32.974987 0.213878
nvtt-hq 5.691806 33.025803 0.404607
squish 5.774426 32.900627 0.229463
squish-hq 5.773393 32.902184 0.300572
cmp 5.778824 32.894012 0.676384
Image 'testsuite/kodak/kodim05.png'
stb 10.512321 27.696833 0.008243
stb-hq 10.189187 27.968014 0.009364
nvtt-fast 10.186414 27.970377 0.013475
nvtt 9.684670 28.409107 0.271297
nvtt-hq 9.652545 28.437967 0.473033
squish 9.704469 28.391369 0.298303
squish-hq 9.704067 28.391727 0.361751
cmp 9.709688 28.386698 0.848956
Image 'testsuite/kodak/kodim06.png'
stb 7.807467 30.280602 0.008066
stb-hq 7.582719 30.534304 0.008968
nvtt-fast 7.553020 30.568392 0.013444
nvtt 7.166609 31.024529 0.240880
nvtt-hq 7.146610 31.048801 0.429752
squish 7.195042 30.990137 0.255263
squish-hq 7.194730 30.990515 0.296485
cmp 7.202374 30.981291 0.714228
Image 'testsuite/kodak/kodim07.png'
stb 6.306606 32.134892 0.007666
stb-hq 6.156992 32.343430 0.008326
nvtt-fast 6.158721 32.340992 0.013209
nvtt 5.810884 32.845959 0.175731
nvtt-hq 5.788169 32.879978 0.360531
squish 5.858089 32.775684 0.185500
squish-hq 5.856759 32.777657 0.233350
cmp 5.866415 32.763348 0.541598
Image 'testsuite/kodak/kodim08.png'
stb 11.205924 27.141850 0.008247
stb-hq 10.860719 27.413631 0.009375
nvtt-fast 10.834544 27.434591 0.013332
nvtt 10.291583 27.881161 0.274492
nvtt-hq 10.241671 27.923388 0.480933
squish 10.312057 27.863897 0.305283
squish-hq 10.311922 27.864012 0.366114
cmp 10.300886 27.873312 0.854092
Image 'testsuite/kodak/kodim09.png'
stb 5.809178 32.848511 0.008008
stb-hq 5.668427 33.061554 0.008637
nvtt-fast 5.676599 33.049038 0.013419
nvtt 5.311575 33.626335 0.191616
nvtt-hq 5.286994 33.666626 0.379971
squish 5.340762 33.578739 0.202663
squish-hq 5.339468 33.580845 0.267715
cmp 5.372015 33.528057 0.475933
Image 'testsuite/kodak/kodim10.png'
stb 5.734987 32.960155 0.007835
stb-hq 5.606911 33.156330 0.008675
nvtt-fast 5.606683 33.156685 0.013394
nvtt 5.264729 33.703281 0.197730
nvtt-hq 5.243445 33.738468 0.386315
squish 5.309662 33.629467 0.212453
squish-hq 5.308887 33.630733 0.277467
cmp 5.334523 33.588890 0.553103
Image 'testsuite/kodak/kodim11.png'
stb 7.375801 30.774620 0.007954
stb-hq 7.181376 31.006651 0.008733
nvtt-fast 7.141182 31.055401 0.013394
nvtt 6.752474 31.541546 0.224560
nvtt-hq 6.727581 31.573626 0.418880
squish 6.789935 31.493490 0.243667
squish-hq 6.789165 31.494476 0.302670
cmp 6.795759 31.486044 0.723999
Image 'testsuite/kodak/kodim12.png'
stb 5.262039 33.707722 0.007734
stb-hq 5.137859 33.915161 0.008467
nvtt-fast 5.134350 33.921093 0.013271
nvtt 4.810794 34.486469 0.172953
nvtt-hq 4.794087 34.516685 0.356675
squish 4.848266 34.419075 0.183440
squish-hq 4.847123 34.421124 0.229722
cmp 4.887005 34.349949 0.539029
Image 'testsuite/kodak/kodim13.png'
stb 11.970881 26.568281 0.008649
stb-hq 11.563527 26.868998 0.009908
nvtt-fast 11.501268 26.915890 0.013454
nvtt 10.905963 27.377523 0.302917
nvtt-hq 10.869936 27.406263 0.508790
squish 10.927073 27.360725 0.333509
squish-hq 10.927055 27.360741 0.387096
cmp 10.920541 27.365921 0.932779
Image 'testsuite/kodak/kodim14.png'
stb 8.939573 29.104467 0.008212
stb-hq 8.732633 29.307899 0.009290
nvtt-fast 8.790837 29.250198 0.013478
nvtt 8.327705 29.720297 0.253386
nvtt-hq 8.305854 29.743118 0.451805
squish 8.359223 29.687485 0.279036
squish-hq 8.357579 29.689194 0.340937
cmp 8.369595 29.676716 0.835398
Image 'testsuite/kodak/kodim15.png'
stb 6.276939 32.175846 0.007687
stb-hq 6.165508 32.331425 0.008282
nvtt-fast 6.158677 32.341057 0.013137
nvtt 5.858661 32.774837 0.182783
nvtt-hq 5.831294 32.815506 0.370220
squish 5.922650 32.680481 0.194448
squish-hq 5.921201 32.682610 0.256218
cmp 5.905458 32.705730 0.564382
Image 'testsuite/kodak/kodim16.png'
stb 5.582063 33.194908 0.007764
stb-hq 5.446919 33.407784 0.008689
nvtt-fast 5.418086 33.453888 0.013381
nvtt 5.077719 34.017429 0.197252
nvtt-hq 5.056965 34.053005 0.383997
squish 5.129647 33.929054 0.211304
squish-hq 5.128376 33.931206 0.255745
cmp 5.128239 33.931438 0.626499
Image 'testsuite/kodak/kodim17.png'
stb 6.046465 32.500771 0.007841
stb-hq 5.879607 32.743835 0.008621
nvtt-fast 5.857458 32.776619 0.013422
nvtt 5.528963 33.277931 0.204410
nvtt-hq 5.506166 33.313816 0.394193
squish 5.588667 33.184639 0.218383
squish-hq 5.587937 33.185772 0.273975
cmp 5.590839 33.181263 0.625949
Image 'testsuite/kodak/kodim18.png'
stb 8.672964 29.367453 0.008356
stb-hq 8.434968 29.609135 0.009468
nvtt-fast 8.427026 29.617317 0.013482
nvtt 8.015267 30.052443 0.283531
nvtt-hq 7.989988 30.079880 0.485661
squish 8.065707 29.997955 0.312286
squish-hq 8.065261 29.998436 0.404067
cmp 8.044608 30.020706 0.843924
Image 'testsuite/kodak/kodim19.png'
stb 7.230689 30.947210 0.008059
stb-hq 7.024611 31.198359 0.008931
nvtt-fast 7.021752 31.201895 0.013429
nvtt 6.605984 31.732054 0.237855
nvtt-hq 6.569033 31.780775 0.432545
squish 6.624055 31.708324 0.262087
squish-hq 6.623544 31.708996 0.335362
cmp 6.633976 31.695326 0.667691
Image 'testsuite/kodak/kodim20.png'
stb 5.930622 32.668800 0.006776
stb-hq 5.771597 32.904884 0.007193
nvtt-fast 5.774463 32.900570 0.012493
nvtt 5.472828 33.366570 0.174732
nvtt-hq 5.450123 33.402679 0.343982
squish 5.508909 33.309490 0.185813
squish-hq 5.508560 33.310043 0.229476
cmp 5.495990 33.329884 0.476508
Image 'testsuite/kodak/kodim21.png'
stb 7.834897 30.250137 0.008004
stb-hq 7.592511 30.523096 0.008907
nvtt-fast 7.587067 30.529325 0.013362
nvtt 7.154235 31.039539 0.233928
nvtt-hq 7.132174 31.066364 0.428660
squish 7.182668 31.005087 0.253153
squish-hq 7.181380 31.006645 0.328063
cmp 7.196198 30.988741 0.626160
Image 'testsuite/kodak/kodim22.png'
stb 6.974738 31.260246 0.008109
stb-hq 6.806535 31.472282 0.009130
nvtt-fast 6.801702 31.478451 0.013530
nvtt 6.451542 31.937532 0.266637
nvtt-hq 6.429918 31.966696 0.465298
squish 6.482322 31.896191 0.294071
squish-hq 6.481460 31.897346 0.395654
cmp 6.501652 31.870329 0.782815
Image 'testsuite/kodak/kodim23.png'
stb 5.346720 33.569054 0.007624
stb-hq 5.231693 33.757957 0.008776
nvtt-fast 5.242045 33.740788 0.013393
nvtt 4.919858 34.291752 0.188793
nvtt-hq 4.900603 34.325813 0.376122
squish 4.972726 34.198914 0.199313
squish-hq 4.969314 34.204876 0.284865
cmp 4.980387 34.185543 0.528123
Image 'testsuite/kodak/kodim24.png'
stb 9.123251 28.927811 0.007867
stb-hq 8.872250 29.170128 0.008806
nvtt-fast 8.858574 29.183527 0.013164
nvtt 8.452692 29.590902 0.218647
nvtt-hq 8.427136 29.617203 0.422372
squish 8.509707 29.532511 0.239320
squish-hq 8.509254 29.532974 0.288067
cmp 8.496743 29.545753 0.688538
Image 'testsuite/waterloo/clegg.png'
stb 15.737898 24.191870 0.012814
stb-hq 15.534037 24.305117 0.013296
nvtt-fast 16.127361 23.979538 0.023447
nvtt 15.083556 24.560728 0.107242
nvtt-hq 14.999422 24.609314 0.403569
squish 15.225851 24.479172 0.088275
squish-hq 15.220442 24.482258 0.113667
cmp 15.319827 24.425726 0.712057
Image 'testsuite/waterloo/frymire.png'
stb 12.990689 25.858160 0.013992
stb-hq 12.735037 26.030800 0.014214
nvtt-fast 13.388351 25.596262 0.030590
nvtt 12.166534 26.427465 0.083802
nvtt-hq 11.661261 26.795893 0.430198
squish 12.567129 26.146082 0.049948
squish-hq 12.534507 26.168659 0.058721
cmp 12.400268 26.262182 0.443247
Image 'testsuite/waterloo/lena.png'
stb 7.426716 30.714867 0.005597
stb-hq 7.306589 30.856510 0.006302
nvtt-fast 7.381546 30.767857 0.008930
nvtt 7.041991 31.176893 0.227657
nvtt-hq 7.026479 31.196049 0.365998
squish 7.065053 31.148495 0.253604
squish-hq 7.061237 31.153187 0.431518
cmp 7.098739 31.107180 0.646844
Image 'testsuite/waterloo/monarch.png'
stb 7.047613 31.169962 0.007655
stb-hq 6.890690 31.365549 0.008464
nvtt-fast 6.905490 31.346912 0.013414
nvtt 6.588677 31.754839 0.224155
nvtt-hq 6.558335 31.794931 0.416944
squish 6.608935 31.728174 0.241914
squish-hq 6.607292 31.730333 0.345063
cmp 6.618846 31.715158 0.600219
Image 'testsuite/waterloo/peppers.png'
stb 6.820243 31.454805 0.005279
stb-hq 6.684391 31.629568 0.005847
nvtt-fast 6.741894 31.555164 0.008899
nvtt 6.402774 32.003441 0.211994
nvtt-hq 6.390563 32.020023 0.337959
squish 6.446883 31.943808 0.230467
squish-hq 6.444585 31.946905 0.363567
cmp 6.466816 31.916992 0.531046
Image 'testsuite/waterloo/sail.png'
stb 8.956736 29.087809 0.008302
stb-hq 8.746379 29.294237 0.009459
nvtt-fast 8.791842 29.249207 0.013543
nvtt 8.364487 29.682018 0.301414
nvtt-hq 8.349252 29.697853 0.506859
squish 8.384356 29.661409 0.336349
squish-hq 8.383703 29.662086 0.430998
cmp 8.404620 29.640442 0.928066
Image 'testsuite/waterloo/serrano.png'
stb 6.844575 31.423874 0.006014
stb-hq 6.757908 31.534557 0.006080
nvtt-fast 7.109970 31.093449 0.013151
nvtt 6.395986 32.012653 0.038195
nvtt-hq 6.295595 32.150066 0.184746
squish 6.567714 31.782518 0.023641
squish-hq 6.567496 31.782808 0.028383
cmp 6.549755 31.806303 0.202248
Image 'testsuite/waterloo/tulips.png'
stb 8.072374 29.990778 0.007954
stb-hq 7.923396 30.152576 0.008859
nvtt-fast 8.007339 30.061039 0.013418
nvtt 7.629858 30.480474 0.280692
nvtt-hq 7.610084 30.503014 0.483154
squish 7.655866 30.450918 0.311333
squish-hq 7.654468 30.452503 0.436792
cmp 7.679758 30.423853 0.851772
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment