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 ...
Get OpenCL Programming by Example now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.