use of rle in compression

6 ビュー (過去 30 日間)
Jitesh Bhanushali
Jitesh Bhanushali 2014 年 3 月 29 日
回答済み: Said BOUREZG 2015 年 2 月 28 日
is use of rle is responsible for compressing the image ???

回答 (3 件)

Jan
Jan 2014 年 9 月 21 日
It depends on the compression, of course. RLE is applied in JPEG compression and as the name says already in images stored in the .rle format, as e.g. the startup screen of Windows (see Wiki: RLE).
It would be an efficient idea to ask your favorite internet search engine about "image rle" to find out more details by your own.

Hassan
Hassan 2014 年 9 月 21 日
of course just think about the pixel's value as a character or number

Said BOUREZG
Said BOUREZG 2015 年 2 月 28 日
Yes, it's responsible but not all time. for example here: X= 200 200 200 200 200 200 8 11 11 11 11 11 Y=rle(X) >> Y=200 6 8 1 11 5 Here CR= length(X)/length(Y) >>CR=2 %here we have a compression with compression ratio equal 2. but if we try to compress Y with rle we will have: F=rle(Y) >> F=200 1 6 1 8 1 1 1 11 1 5 1 So we will obtain CR=0.5 here we don't have a compression.

カテゴリ

Help Center および File ExchangeDenoising and Compression についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by