detcoef2 - detail coefficient extraction for two dimensional multiple stride fast discrete wavelet decompostion
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.
-->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. !