フィルターのクリア

DWT lossless or lossy compression??

3 ビュー (過去 30 日間)
slama najla
slama najla 2012 年 9 月 8 日
hello please, the discrete wavelet transform DWT decomposes which allows the image to 4 subbands: LL, HL, LH and HH is a lossless or lossy compression?? thank

回答 (1 件)

Wayne King
Wayne King 2012 年 9 月 13 日
編集済み: Wayne King 2012 年 9 月 13 日
Just by itself, the DWT is lossless, because you can simply invert the transform. However, if you are really going to compress the image, then you are by definition modifying the coefficients and you have lossy compression.
For example:
x = magic(4);
[ca,ch,cv,cd] = dwt2(x,'db1','mode','sym');
X = idwt2(ca,ch,cv,cd,'db1','mode','sym');
max(abs(X-x))
In practice, the above is not useful. So you would modify the coeffcients in a way that you would not be able to get back the original image exactly -- hence lossy.

カテゴリ

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