No BSD License
19 May 2004
24 May 2004)
A simple m-file which (de)compresses your data using RLE.
Watch this File
A simple (de)compression program using Run Length Encoding.
Compression is done that easy:
compressedData = rle(originalData);
originalData = rle(compressedData);
This file inspired Sequence Length Encoder (Seqle, Similar To Rle).
pleeeeeeaze reply to me
it appear the variable x is not define, please help me
Great and Thanks
brilliant, though need specified by oneself.
Deserves more than 5 rating!!!
But when I'm decompressing the compressed image I'm getting back an one dimensional row vector. How can this prb be solved?
I used binary image for tedting.
It's short but efficient.
simple and efficient
Simple, yet very quick and effective, thanks
Very nice compact code. One then just need to use an entropy coder to compress the runs length.
A note that this function does not find the number of zeros in a run (if used for JPEG coding); otherwise, this is great.