3
1
A past paper question from a Multimedia Systems exam:
If you had an X-Ray photograph of a leg which might be broken, which would give better compression before artifacts were visible, and which would you choose?
I think the answer is JPEG. However, my class mate thinks it is PNG.
I chose JPEG because:
The JPEG could be set to a low compression ratio (such that the quantization matrix will preserve most of the high frequencies from the DCT and still reduce the size of the coefficients). However, as a result, run-length encoding would yield significantly lower lossless compression ratio because there will be fewer zeroed high frequency coefficients, and as a result there many not be any subset of values with significantly large frequencies.
PNG is exlusively lossless compression which uses DEFLATE (LZ77 with Huffman). However, even though a X-Ray is mostly black and white, there are very subtle differences in the luminosity between pixels which would mean that PNG would not be able to achieve a high compression ratio. The PNG would be significantly larger than the JPEG before the compression on the JPEG was such that it would yield visible artifacts.
I'm looking for an authoritiatve answer. Is my reasoning sound, or would PNG be the better image format?
The question is flawed, and is leading the reader down the wrong path. Storage is now very inexpensive, especially when compared to the cost of an X-Ray machine. Lossless compression should be utilized in order to eliminate the possibility of compression artifacts and to preserve the most accurate image possible. This is especially true for images such as X-Rays where zooming in on small areas is often desirable. – RockPaperLizard – 2016-09-13T01:44:43.927