4 ms·
The similar blocks technique used in JBIG2 is what's called the prediction step in many image codecs, or intra prediction in video. That specific technique is a
by astrange 12y ago
The similar blocks technique used in JBIG2 is what's called the prediction step in many image codecs, or intra prediction in video. That specific technique is a perfectly fine idea so I've always wondered why more codecs don't use it - usually they don't let motion vectors point into the current frame.
But usually there's a step after it called residual coding, where you subtract the predicted image from the original and send the difference to make up for errors. Just leaving that out is, um, interesting.
- userbinator 12y agoBut usually there's a step after it called residual coding, where you subtract the predicted image from the original and send the difference to make up for errors. Just leaving that out is, um, interesting. Obviously because it would make the file bigger if that was included... The concept behind JBIG2 is good - small variations and random pixels are likely to be scanner noise/dust, so suppressing them can reduce filesize significantly. The problem here is that some JBIG2 implementations can be too lossy, and throw away the few pixels that could make all the difference between e.g. a 6 or an 8.
- thaumasiotes 12y ago> JBIG2, the image format used in the affected PDFs, usually has lossless and lossy operation modes. Pattern Matching & Substitution“ (PM&S) is usually the standard operation mode for lossy JBIG2, and “Soft Pattern Matching” (SPM) for lossless JBIG2 > Both operation modes have the basics in common: Images are cut into small segments, which are grouped by similarity. For every group only a representative segment is is saved that gets reused instead of other group members, which may cause character substitution. Different to PM&S, SPM corrects such errors by additionally saving difference images containing the differences of the reused symbols in comparison to the original image. At Xerox, by error the PM&S mode seems to have been used not only in the “normal” compression mode but also in the “higher” and “high” modes.
- astrange 12y agoIn sensible codecs, lossy and lossless modes use all the same steps. You then make it lossy by rounding the residual values, so they fit in less bits. Here they have nothing in between 100% and 0% quality.
- krick 12y ago> That specific technique is a perfectly fine idea I don't know… This whole thing reminds me of "The King's Breakfast" by A. Milne. Is it so hard for scanner to make exact copy of a piece of paper? It doesn't sound like a rocket science, really. I don't want it to try and compress anything, to leave watermarks or whatever. If I feel I need a better compression — I'll use a separate tool (which Xerox can provide if it wants so), I don't want my sanner/photocopier even to try modifying image somehow without my specific request to do so. Maybe I don't understand real technological reasons of doing so… but then I really don't. I cannot think of any possible reason of such step being necessary. Except if it doesn't have enough RAM to store image as is, but that really sounds unlikely.