Scilab Wavelet Toolbox Function
Last update : Feburary 2006

detcoef2 - detail coefficient extraction for two dimensional multiple stride fast discrete wavelet decompostion

Calling Sequence

dc=detcoef2(type,c,s,level) or [cH,cV,cD]=detcoef2('all',c,s,level)

Parameters

Description

This function extracts detail coefficents from coefficent bunch vector. Since all the detail coefficients are stored in the coefficient bunch vector, no inverse transform efforts are needed. Hence, the wavelet name and extension method need not to be presented.

Examples

-->img=rand(64,64);
-->[c,s]=wavedec2(img,3,'db2','sp0');
-->[cH1,cV1,cD1]=detcoef2('all',c,s,1);
-->size(cH1)
 ans  =
 
!   33.    33. !

-->cV2=detcoef2('v',c,s,2);            
-->size(cV2)               
 ans  =
 
!   18.    18. !



  

See Also

appcoef ,   detcoef ,   wrcoef ,   appcoef2 ,   wrcoef2