MATLAB: Compresion ratio

imageprocessiong

i have an images and i want to compress in different factors using DWT,say i have an image,i need compressed ration as for example,25%,50%,60%,i want to perform these using dwt,please help
for dwt from help i get
[cA,cH,cV,cD] = dwt2(X,'wname')
it compresses for 25%,but how toprocesss for other ratios

Best Answer

You can use wcompress() and supply the optional 'comprat' parameter as an input argument.
That is a valid input argument for the so-called coefficient thresholding methods:
'lvl_mmc'
'gbl_mmc_f'
'gbl_mmc_h'
Related Question