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

2-D detail coefficients

Syntax

Description

detcoef2 is a two-dimensional wavelet analysis function.

D = detcoef2(O,C,S,N) extracts from the wavelet decomposition structure [C,S] the horizontal, vertical, or diagonal detail coefficients for O = 'h'(or 'v' or 'd', respectively), at level N, where N must be an integer such that 1 N size(S,1)-2. See wavedec2 for more information on C and S.

[H,V,D] = detcoef2('all',C,S,N) returns the horizontal H, vertical V, and diagonal D detail coefficients at level N.

D = detcoef2('compact',C,S,N) returns the detail coefficients at level N, stored row-wise.

detcoef2('a',C,S,N) is equivalent to detcoef2('all',C,S,N).

detcoef2('c',C,S,N) is equivalent to detcoef2('compact',C,S,N).

Remarks

If C and S are obtained from an indexed image analysis or a truecolor image analysis, D is an m-by-n matrix or an m-by-n-by-3 array, respectively.

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

Examples

See Also
appcoef2, wavedec2


 Provide feedback about this page 

Previous page detcoef disp Next page

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