Image Compression

4 Ansichten (letzte 30 Tage)
Aseel H
Aseel H am 7 Okt. 2011
I want some information about this built_in function:
[cr,bpp] = wcompress('c',X,X2.wtc','ezw','maxloop',12);
- what about 'maxloop' and 12 also waht about if increase or decrease this number "12" ?
- this method is lossy compresion . what are methods that lossless compression?
thank you

Antworten (2)

Image Analyst
Image Analyst am 7 Okt. 2011
PNG is a lossless compression. It is very commonly used and increasingly so. Just create a PNG file with imwrite(). JPEG2000 also has a lossless compression option.
  1 Kommentar
Walter Roberson
Walter Roberson am 7 Okt. 2011
JPEG (pre-2000) also has a lossless compression option.

Melden Sie sich an, um zu kommentieren.


Wayne King
Wayne King am 7 Okt. 2011
The 'maxloop' variable sets the maximum number of steps, if you decrease it too much, then your compression won't be optimal, if you increase it too much, you're just wasting computation effort, because the compression won't improve. You can experiment a bit.
wcompress() implements various lossy compression algorithms, see truecompdemo.m and datacompression.m for examples.
  1 Kommentar
Wayne King
Wayne King am 7 Okt. 2011
ImageAnalyst has given you lossless compression options.

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by