Question: CAP Please help. JPEG Lossless Encoder Block Diagram Entropy Encoder (Huffman) Source Completed Image Data Predictor Image Data Table Specification Predictor Block Diagram lo entropy






CAP Please help.
JPEG Lossless Encoder Block Diagram Entropy Encoder (Huffman) Source Completed Image Data Predictor Image Data Table Specification Predictor Block Diagram lo entropy encoder Previous Samples A,B,C x = f(A, B,C) List of Four Samples x = f(A, B,C) Assignment Perform a set of experiments to evaluate JPEG lossless codec. Design JPEG lossless encoder and decoder that will use the following seven prediction formula X=B X=A+B-C A C A+ B 2 Image Apply the JPEG lossless codec for the compression and decompression of the following 16x16 grayscale imagee 88 88 88 89 90 91 92 93 94 95 93 95 96 98 97 94 93 91 91 90 92 93 94 94 95 95 92 93 95 95 95 96 95 95 95 95 96 97 94 96 97 96 98 97 98 99 95 97 97 96 98 97 98 94 95 97 99 100 99 101 100 100 98 98 99 100 97 99 100 100 98 98 100 101 100 99 101 102 99 100 100 101 100 99 101 102 99 100 103 102 103 101 101 100 102 101 100 102 103 101 101 100 102 103 103 105 104 104 103 104 104 103 103 105 103 105 105 104 104 104 102 101 100 100 100 101 102 103 104 104 105 105 105 104 104 106 102 103 101 101 102 101 102 102 102 105 105 105 106 104 106 104 103 101 100 100 101 102 102 103 102 105 105 105 106 104 106 104 103 101 100 100 101 102 102 103 102 105 105 105 106 104 105 104 103 101 102 100 102 102 102 103 104 105 106 105 106 104 106 103 103 102 100 100 101 102 102 103 103 105 107 107 106 104 106 104 103 101 100 100 101 102 102 103 103 105 106 108 106 104 106 105 103 101 101 100 101 103 102 105 102 105 105 105 106 104 106 107 104 103 102 100 101 104 102 104 Huffman Table for Differences DX Use the following Huffman table for entropy encoding and decoding Difference DX Code 1 011 0100 01011 010100 0101011 01010100 010101011 0101010100 01010101011 010101010100 0101010101011 2 3 -3 4 4 -5 6 Project Report The Report should include a well documented program (C/C++, Java or any other), and the following results presented in an organized way and created by the computer: . The original 16x16 image (in the form of numbers, as given previously) The coefficients after the predictor The compressed image in the form of binary sequence . The image after Huffman decoder . The image after decompression (the sequence of numbers) For each case (7 cases) calculate: .Compression ratio Bits/pixel for the compressed image RMS Error (Should be zero) Evaluate obtained results and make your conclusions. Write a well-organized report which will include: Well-presented results including a brief evaluation and discussion. Listing of the well-structured program with necessary comments. JPEG Lossless Encoder Block Diagram Entropy Encoder (Huffman) Source Completed Image Data Predictor Image Data Table Specification Predictor Block Diagram lo entropy encoder Previous Samples A,B,C x = f(A, B,C) List of Four Samples x = f(A, B,C) Assignment Perform a set of experiments to evaluate JPEG lossless codec. Design JPEG lossless encoder and decoder that will use the following seven prediction formula X=B X=A+B-C A C A+ B 2 Image Apply the JPEG lossless codec for the compression and decompression of the following 16x16 grayscale imagee 88 88 88 89 90 91 92 93 94 95 93 95 96 98 97 94 93 91 91 90 92 93 94 94 95 95 92 93 95 95 95 96 95 95 95 95 96 97 94 96 97 96 98 97 98 99 95 97 97 96 98 97 98 94 95 97 99 100 99 101 100 100 98 98 99 100 97 99 100 100 98 98 100 101 100 99 101 102 99 100 100 101 100 99 101 102 99 100 103 102 103 101 101 100 102 101 100 102 103 101 101 100 102 103 103 105 104 104 103 104 104 103 103 105 103 105 105 104 104 104 102 101 100 100 100 101 102 103 104 104 105 105 105 104 104 106 102 103 101 101 102 101 102 102 102 105 105 105 106 104 106 104 103 101 100 100 101 102 102 103 102 105 105 105 106 104 106 104 103 101 100 100 101 102 102 103 102 105 105 105 106 104 105 104 103 101 102 100 102 102 102 103 104 105 106 105 106 104 106 103 103 102 100 100 101 102 102 103 103 105 107 107 106 104 106 104 103 101 100 100 101 102 102 103 103 105 106 108 106 104 106 105 103 101 101 100 101 103 102 105 102 105 105 105 106 104 106 107 104 103 102 100 101 104 102 104 Huffman Table for Differences DX Use the following Huffman table for entropy encoding and decoding Difference DX Code 1 011 0100 01011 010100 0101011 01010100 010101011 0101010100 01010101011 010101010100 0101010101011 2 3 -3 4 4 -5 6 Project Report The Report should include a well documented program (C/C++, Java or any other), and the following results presented in an organized way and created by the computer: . The original 16x16 image (in the form of numbers, as given previously) The coefficients after the predictor The compressed image in the form of binary sequence . The image after Huffman decoder . The image after decompression (the sequence of numbers) For each case (7 cases) calculate: .Compression ratio Bits/pixel for the compressed image RMS Error (Should be zero) Evaluate obtained results and make your conclusions. Write a well-organized report which will include: Well-presented results including a brief evaluation and discussion. Listing of the well-structured program with necessary comments
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
