Wavelet Toolbox
  Go to function:
    Search    Help Desk 
idwt2    Examples   See Also

Single-level inverse discrete 2-D wavelet transform.

Syntax

Description

The idwt2 command performs a single-level two-dimensional wavelet reconstruction with respect to either a particular wavelet ('wname', see wfilters) or particular wavelet reconstruction filters (Lo_R and Hi_R) you specify.

X = idwt2(cA,cH,cV,cD,'wname') uses the wavelet 'wname' to compute the single-level reconstructed approximation coefficients vector X based on approximation vector cA and (horizontal, vertical, and diagonal) detail vectors cH,cV and cD.

X = idwt2(cA,cH,cV,cD,Lo_R,Hi_R) reconstructs as above, using filters you specify:

Lo_R and Hi_R must be the same length.

If sa = size(cA) = size(cH) = size(cV) = size(cD) and lf is the length of the filters, then size(X) = 2*size(cA)-lf+2.

X = idwt2(cA,cH,cV,cD,'wname',S) and X = idwt2(cA,cH,cV,cD,Lo_R,Hi_R,S) return the size S central portion of the result obtained using the syntax idwt2(cA,cH,cV,cD,'wname'). S must be less than 2*size(cA)-lf+2.

Examples

idwt2 is the inverse function of dwt2 in the sense that the abstract statement
idwt2(dwt2(X,'wname'),'wname') gives back X. Consider this example.

Algorithm

See Also

dwt2, idwtper2, upwlev2

[ Previous | Help Desk | Next ]