Abstract
Digital image is a discrete 2D signal having information of intensity in terms of primary colors (either red, green, blue (RGB), or cyan, magenta, yellow, black (CMYK)) for each separation of each pixel. Just by considering a small RGB image of size 10?×?10, we can measure the size of the image data as 3?×?8?×?10?×?10?=?2400 bits, where intensity of each color separation or each pixel is 1 byte or 8 bits. Hence, we can understand, it requires huge data to represent a sufficiently large image. In today’s world of image transmission through network, fast representation on webpage, and storing image information, the size of data plays a resistive role. Therefore, it is very important to employ image compression suitably. The term “suitable” is added intentionally to address the quality issue of image against the trade-off with compression ratio. It is well understood that there is a merely inverse relationship between the factors “quality” and “compression ratio”. The quality is a direct illustration of information in the image. As the amount of detailing in the image is varied, the difficulty in choice between quality and compression ratio is also varied. This chapter is especially important for any kind of application development in image processing. The lossless and lossy compression methodology with trade-off has been described in the first half of this chapter. Second half of the chapter describes the process and algorithm of encoding the raw and compressed image formats. We have presented one C++ code for reading 24-bit BMP image. The code is available in the supplementary electronic material (CD) also. The two popular compressed image formats, JPEG and GIF are also discussed and the required code snippets are presented.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
In the later section, we will understand why “average unit” of information is mentioned instead of only “unit” of information.
- 2.
Refer to Chap. 4 to understand the relationship between RGB and CMYK.
References
Das, A.: Digital Communication: Principles and System Modelling. Springer-Verlag, Berlin (2010)
Das, A.: Signal Conditioning: An Introduction to Continuous Wave Communication and Signal Processing. Springer, Berlin (2012)
Das, A., Issac, A.: QPAC: A novel document image compression technique based on ANFIS for calibrated quality preservation. ICSIP 2012, LNEE (2012)
Gersho, A., Gray, R.M.: Vector Quantization and Signal Compression. Kluwer Academic, Boston (1992)
Gonzales, R.C., Woods, R.E.: Digital Image Processing, 3rd edn. Prentice Hall, Upper Saddle River (2009)
Miano, J.: Compressed Image File Formats. ACM Press, Addison Wesley, New York (1999)
Rosenfeld, A., Kak, A.C.: Digital Picture Processing, vol. 1 and 2, 2nd edn. Academic, New York (1982)
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2015 Springer International Publishing Switzerland
About this chapter
Cite this chapter
Das, A. (2015). Compression and Encoding of Image: Image Formats. In: Guide to Signals and Patterns in Image Processing. Springer, Cham. https://doi.org/10.1007/978-3-319-14172-5_6
Download citation
DOI: https://doi.org/10.1007/978-3-319-14172-5_6
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-14171-8
Online ISBN: 978-3-319-14172-5
eBook Packages: Computer ScienceComputer Science (R0)