Two Dimension Detail Coefficent Extraction
D=detcoef2(type,c,s,N) [H,V,D]=detcoef2('all',c,s,N)
detcoef2 is for extraction of detail coeffient at different level after a multiple level decompostion. Extension mode is stored as a global variable and could be changed with dwtmode.
x=rand(100,100); [C,S]=wavedec2(x,3,'db2'); H2=detcoef2('h',C,S,2);
Roger Liu and Isaac Zhi