Wavelet Toolbox™ Previous page   Next Page 
lwt2
 Provide feedback about this page

2-D lifting wavelet transform

Syntax

Description

lwt2 performs a 2-D lifting wavelet decomposition with respect to a particular lifted wavelet that you specify.

[CA,CH,CV,CD] = lwt2(X,W) computes the approximation coefficients matrix CA and detail coefficients matrices CH, CV, and CD, obtained by a lifting wavelet decomposition, of the matrix X. W is a lifted wavelet name (see liftwave).

X_InPlace = lwt2(X,LS) computes the approximation and detail coefficients. These coefficients are stored in place:

lwt2(X,W,LEVEL) computes the lifting wavelet decomposition at level LEVEL.

X_InPlace = lwt2(X,W,LEVEL,'typeDEC',typeDEC) or [CA,CH,CV,CD] = LWT2(X,W,LEVEL,'typeDEC',typeDEC) with typeDEC = 'w' or 'wp' computes the wavelet or the wavelet packet decomposition using lifting, at level LEVEL.

Instead of a lifted wavelet name, you may use the associated lifting scheme LS: lwt2(X,LS,...) instead of LWT2(X,W,...).

For more information about lifting schemes, see lsinfo.

Remarks

When X represents an indexed image, X, as well as the output arrays cA,cH,cV,cD, or X_InPlace are m-by-n matrices. When X represents a truecolor image, it is an m-by-n-by-3 array, where each m-by-n matrix represents a red, green, or blue color plane concatenated along the third dimension.

For more information on image formats, see the image and imfinfo reference pages .

Examples

Algorithm

This function implements the polyphase algorithm.

lwt reduces to dwt with zero-padding extension mode and without extra-coefficients.

See Also
ilwt2

References

Strang, G.; T. Nguyen (1996), Wavelets and filter banks, Wellesley-Cambridge Press.

Sweldens, W. (1998), "The Lifting Scheme: a Construction of Second Generation of Wavelets," SIAM J. Math. Anal., 29 (2), pp. 511-546.


 Provide feedback about this page 

Previous page lwt lwtcoef Next page

 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS