O'Reilly logo

OpenCL Programming by Example by Koushik Bhattacharyya, Ravishekhar Banger

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

JPEG compression

Image compression is a huge topic in itself, and we cannot discuss it all here in the context of OpenCL. In the preceding section, we discussed the different kinds of filters which would perform some operation on the raw image data and result in some special effect to give the resultant image. After discussing different kinds of filters we would jump to compressed image data representation. Image representation is a tradeoff between space and quality. The image quality is directly related to the amount of storage required to store it. If we try to have better quality, it would come at the cost of space and if we want to reduce space, the quality is affected. When we capture an image and store it raw pixel by pixel, it is in its ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required