Skip to content

Latest commit

 

History

History
70 lines (52 loc) · 2.89 KB

Examples.md

File metadata and controls

70 lines (52 loc) · 2.89 KB

Examples

Below are some examples of quantette in action. The dissimilarity between the each image and the original is reported in the tables below using dssim (lower numbers are better). Each table starts with output from GIMP as a comparison.

Each output image was created like so:

  • The GIMP output was creating using Image > Mode > Indexed with GIMP version 2.10.36. For dithered outputs, Floyd-Steinberg (reduced color bleeding) was used.
  • The Wu - sRGB output was creating using quantette's fastest quantization method. The default number of bins was used (32).
  • The K-means - Oklab output was creating using quantette's most accurate quantization method. A sampling factor of 0.5 and a batch size of 4096 was used.

Original Image

Calaveras

Without Dithering

16 Colors

Method DSSIM Result
Gimp 0.063687
Wu - sRGB 0.040144
K-means - Oklab 0.026329

64 Colors

Method DSSIM Result
Gimp 0.017303
Wu - sRGB 0.012566
K-means - Oklab 0.006385

256 Colors

Method DSSIM Result
Gimp 0.004888
Wu - sRGB 0.003305
K-means - Oklab 0.001606

With Dithering

16 Colors

Method DSSIM Result
Gimp 0.050564
Wu - sRGB 0.032518
K-means - Oklab 0.018135

64 Colors

Method DSSIM Result
Gimp 0.01366
Wu - sRGB 0.007978
K-means - Oklab 0.004473

256 Colors

Method DSSIM Result
Gimp 0.004073
Wu - sRGB 0.00217
K-means - Oklab 0.001109