Hard Light Productions Forums

Off-Topic Discussion => General Discussion => Topic started by: SkycladGuardian on September 25, 2014, 08:20:02 am

Title: Xerox scanners/photocopiers randomly alter numbers in scanned documents
Post by: SkycladGuardian on September 25, 2014, 08:20:02 am
http://www.dkriesel.com/en/blog/2013/0802_xerox-workcentres_are_switching_written_numbers_when_scanning

Though it is old news (the bug was discovered a year ago) I've only learned about it recently and I'm still staggered by the implications. I mean, Xerox could be sued to bankruptcy if one could prove that damages were caused by this bug.

For those too lazy to click the link: A bug in Xerox' compression algorithms for professional scanners and photocopiers caused the device to switch written numbers on scanned documents, potentially altering important data. Oh, and this had gone on for eight years... 
Title: Re: Xerox scanners/photocopiers randomly alter numbers in scanned documents
Post by: Aardwolf on September 25, 2014, 11:12:30 am
Compression algorithms? Why would they even... Huh?
Title: Re: Xerox scanners/photocopiers randomly alter numbers in scanned documents
Post by: Phantom Hoover on September 25, 2014, 11:21:20 am
The article makes some attempt to explain why this happened near the end, but the quick version is that the compression algorithm they used saves space by using one patch of the document to fill in another if they look sufficiently similar. It looks like it's just been horrendously misapplied here.
Title: Re: Xerox scanners/photocopiers randomly alter numbers in scanned documents
Post by: SkycladGuardian on September 26, 2014, 08:15:19 am
Yeah they used pattern matching to save memory but it was configured a little bit too imprecise...
Title: Re: Xerox scanners/photocopiers randomly alter numbers in scanned documents
Post by: Klaustrophobia on September 26, 2014, 03:57:13 pm
ya know, when I COPY something, I'm not looking for similar
Title: Re: Xerox scanners/photocopiers randomly alter numbers in scanned documents
Post by: Phantom Hoover on September 26, 2014, 04:52:49 pm
Yes you are, have you really never seen a ****ty but usable photocopy? Xerox's fatal mistake here was using the wrong kind of 'similar'.
Title: Re: Xerox scanners/photocopiers randomly alter numbers in scanned documents
Post by: jr2 on September 27, 2014, 10:22:57 pm
Why didn't they just compress to JPEG or similar?  That would have worked (3-5MB -> 300-700 KB), and not done this...  :headdesk:
Title: Re: Xerox scanners/photocopiers randomly alter numbers in scanned documents
Post by: Dark RevenantX on September 27, 2014, 10:39:20 pm
Why didn't they just compress to JPEG or similar?  That would have worked (3-5MB -> 300-700 KB), and not done this...  :headdesk:

They probably are using JPEG-based compression to begin with, just adding this crap as an additional layer to improve PSNR.
Title: Re: Xerox scanners/photocopiers randomly alter numbers in scanned documents
Post by: Aardwolf on September 28, 2014, 01:34:59 pm
I, for one, had to Google that abbreviation. "Peak Signal-to-Noise Ratio".

(I knew SNR, but not PSNR)