Compare and Contrast: Lossless and Lossy compression.
|Lossless Compression||Lossy Compression|
|It is a reversible process||It is irreversible process|
|In lossless compression techniques reconstructed image contains no loss of information as exact reconstruction of the original image is possible||In lossy compression techniques reconstructed image contains loss of information which in turn produces distortion in the image|
|Mean Square Error (MSE) is always zero as exact reconstruction of original image is possible||MSE is not zero as exact reconstruction of original image is never possible|
|Compression ratio is low||Compression ratio can be very high|
|Lossless compression technique are Huffman Coding, Arithmetic Coding, DPCM, B2 Coding, CAC Coding and RLE Coding||Lossy Compression techniques are IGS Coding, JPEG Coding, DM Coding etc.|
|It is suitable for Text file compression, medical reports compression.||It is suitable for Photograph, Natural scene, satellite image compression.|