Lempel - Ziv Decoder

조회 수: 1 (최근 30일)
Trevor Badji
Trevor Badji 2018년 2월 21일
답변: Abhishek Ballaney 2018년 2월 22일
After running Lempel-Ziv encoder, I need to decode it back . For example, We have a sequence which is 0011 . The last digit of it ( 1 ) shows first element of codebook( codebook is just 0,1 encoder constructs rest of it ) ( it should show 0 ) The other first three digits which are 001 should show decimal representation as 1 and that 1 should show the codebooks 1st element which is again 0 . ''Ps : for instance if first three digit is 111 then it must show the 8th element of codebook .'' As a result for this example 0011 should decoded as 00 . I can not turn back to real zeros and ones . As summary I can not decode what I encoded while using lempel ziv .

답변 (1개)

Abhishek Ballaney
Abhishek Ballaney 2018년 2월 22일
https://in.mathworks.com/matlabcentral/fileexchange/15428-lzw-compression-decompression

카테고리

Help CenterFile Exchange에서 Signal Processing에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by