Wavelet Toolbox Previous page   Next Page
upcoef2

Direct reconstruction from 2-D wavelet coefficients

Syntax

Description

upcoef2 is a two-dimensional wavelet analysis function.

Y = upcoef2(O,X,'wname',N,S) computes the N-step reconstructed coefficients of matrix X and takes the central part of size S. 'wname' is a string containing the name of the wavelet. See wfilters for more information.

If O = 'a', approximation coefficients are reconstructed; otherwise if O = 'h' ('v' or 'd', respectively), horizontal (vertical or diagonal, respectively) detail coefficients are reconstructed. N must be a strictly positive integer.

Instead of giving the wavelet name, you can give the filters.

For Y = upcoef2(O,X,Lo_R,Hi_R,N,S), Lo_R is the reconstruction low-pass filter and Hi_R is the reconstruction high-pass filter.

Y = upcoef2(O,X,'wname',N) or Y = upcoef2(O,X,Lo_R,Hi_R,N) returns the computed result without any truncation.

Y = upcoef2(O,X,'wname') is equivalent to Y = upcoef2(O,X,'wname',1).

Y = upcoef2(O,X,Lo_R,Hi_R) is equivalent to Y = upcoef2(O,X,Lo_R,Hi_R,1).

Examples

Algorithm

See upcoef.

See Also
idwt2


Previous page  upcoef upwlev Next page

© 1994-2005 The MathWorks, Inc.