
Full contrast

Full contrast, JPEG compressed

Low contrast, high mean level.

Low contrast, high mean level, JPEG compressed
There are some practical problems with this. First, we lose all the benefits of of the perceptually linear space, such as automatic gamma correction, noise minimization, and efficient use of bits. Furthermore, coding in a peceptually non-linear space suggests that we will create quantization artifacts. But we will implement it anyway and study the potential benefits that such a scheme offers. Below are the two test images introduced above, and the their compressed form under both the regular JPEG schemes, and the JPEG compression in intesnity space, which we shall call Y-JPEG for brevity. We see that indeed we get coarse quantization levels and concomitant artifacts at low intensities, but that at high intensities we get better compression. Now we will implement the the scheme for color images.

Full contrast

Full contrast, JPEG compressed

Full contrast, Y-JPEG compressed

Low contrast, high mean level.

Low contrast, high mean level, JPEG compressed

Low contrast, high mean level, Y-JPEG compressed