I am using MATLAB to apply the Discrete Wavelet Transform on an image. I am applying it several times (3) in order to get a 3 level transform. I am using the dwt2
function provided by MATLAB in order to compress and idwt2
to make the decompression. The problem is that I do not know how to decompress several times, as in apply idwt2
several times to the previous received output, as it returns a matrix. Take for example:
x = idwt2(scaled3, vertical3, horizontal3, diagonal3, Lo_R, Ho_R);
How should idwt2
be applied to x?