A simple (de)compression program using Run Length Encoding.
Compression is done that easy:
compressedData = rle(originalData);
originalData = rle(compressedData);
can anyone specifiy how to input original data @@
I am not able to view or download the file. I am getting "invalid menu handle". Kindly advise. This is 1st time I am attempting file exchange.
x is the argument of the function
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.