Skip to content

Instantly share code, notes, and snippets.

@kgjenkins
Created April 19, 2024 16:45
Show Gist options
  • Save kgjenkins/886c915def80d4c174ea80843529d84d to your computer and use it in GitHub Desktop.
Save kgjenkins/886c915def80d4c174ea80843529d84d to your computer and use it in GitHub Desktop.
variation across multiple scans

The same image (an illustrated book cover) was scanned on the flatbed scanner (EPSON WF-2630) three times at 300dpi.

Analysis of the variation across the three scans:

band min max mean std dev
red 0 36 4.47 2.59
green 0 36 4.41 2.68
blue 0 37 4.72 2.95

Lossy compression could be considered acceptable if the pixel values changed due to compression are within these ranges. (That is, if the compression doesn't add any more error than what would be found by scanning the same image again.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment