File Exchange

image thumbnail

RLE Run Length Encoding

version 1.2 (2.22 KB) by Said BOUREZG
RLE Run Length Encoding and Irle Inverse Run Length Encoding


Updated 22 Feb 2015

View License

Run Length Encoding, use it to compress a vector of values.
Inverse Run Length Encoding, use it to reconstruct a vector of values.
Help, how you can use this code.

Cite As

Said BOUREZG (2020). RLE Run Length Encoding (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (5)

i running this code but it's not function properly. what i supposed to do

thanks bro


Hi Loy Soo Ling
you see it as it work for one column because image after some operations it will be a vector that mean that we use it for the whole image.
Thank for your interesting

hello...can i noe the coding tat u write only for one column of the image or whole image?



Image of an exemple

Useful code try to use it,

MATLAB Release Compatibility
Created with R14SP2
Compatible with any release
Platform Compatibility
Windows macOS Linux