No BSD License  

Highlights from
RLE de/encoding

4.4 | 14 ratings Rate this file 51 Downloads (last 30 days) File Size: 802 Bytes File ID: #4955 Version: 1.0

RLE de/encoding



19 May 2004 (Updated )

A simple m-file which (de)compresses your data using RLE.

| Watch this File

File Information

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).

MATLAB release MATLAB 6.5 (R13)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (20)
29 Nov 2014 Seetha Rama Raju Sanapala

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.

Comment only
30 May 2014 José Marçal

x is the argument of the function

Comment only
07 Dec 2012 mnaa

mnaa (view profile)

pleeeeeeaze reply to me

Comment only
07 Dec 2012 mnaa

mnaa (view profile)

it appear the variable x is not define, please help me

05 Nov 2012 Zahra M

Great and Thanks

19 Dec 2011 OLFA MOUSSA


Comment only
09 Dec 2009 Ram prasad  
20 Apr 2009 zhang yong  
26 Jan 2009 Thurein Oo

lot thanks

Comment only
13 Jun 2008 siva kumar


15 Nov 2007 xiaofan feng

brilliant, though need specified by oneself.

25 Oct 2007 Shiva Krishna

Deserves more than 5 rating!!!

19 Dec 2006 Kallol Roy

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.

Comment only
14 Nov 2006 Zhuo Hao

It's short but efficient.

12 May 2006 Saeed Mozaffari

simple and efficient

25 Apr 2006 Jeffrey Marten Gillmor

Simple, yet very quick and effective, thanks

19 Apr 2006 Gabriel Peyré

Very nice compact code. One then just need to use an entropy coder to compress the runs length.

26 Mar 2006 Janet Khuu

A note that this function does not find the number of zeros in a run (if used for JPEG coding); otherwise, this is great.

14 Nov 2004 lele zhou

good, thanks

22 Jul 2004 Bush George


Contact us