No BSD License  

Highlights from
RLE de/encoding

4.42857

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

RLE de/encoding

by

 

19 May 2004 (Updated )

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

| Watch this File

File Information
Description

A simple (de)compression program using Run Length Encoding.

Compression is done that easy:
compressedData = rle(originalData);

Decompression:
originalData = rle(compressedData);

Acknowledgements

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 (19)
30 May 2014 José Marçal

x is the argument of the function

07 Dec 2012 mnaa

pleeeeeeaze reply to me
pleaze

07 Dec 2012 mnaa

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

05 Nov 2012 Zahra M

Great and Thanks

19 Dec 2011 OLFA MOUSSA

thx

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

lot thanks

13 Jun 2008 siva kumar

good.......

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.

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

Thanks!

Contact us