![]() The image can then be reconstructed with image_r = DPCM_decoder(error). The higher it is, the closer the reconstructed image will be to the original image the smaller it is, the less information would need to be sent. The second parameter defines the number of quantization levels for the error. the function error = DPCM_encoder(image, error_quantization_levels) can be used to compute the quantized errors that would be sent over the transmission channel. The encoder-decoder can act on images stored as a matrix. This repository contains 3 MATLAB files: one for the encoder function,another for the decoder, as well as an example script. This README provides some theorethical background and insights about implementation choices. The code is definetely not optimized but written as to be easily understood. ![]() I cleaned it up and uploaded it here for anyone interested in understanding the algorithm. It was a programming exercise for an image processing course. This repository contains an example of Differential Pulse-Code Modulation (DPCM) written in MATLAB.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |