Name
upcoef2 — Two Dimension Direct Restruction
Calling Sequence
Y=upcoef2(type,x,wname,[N],[S])
Y=upcoef2(type,x,Lo_R,Hi_R,[N],[S])
Parameters
- x
-
: input matrix
- type
-
: approximation or detail, 'a', 'h', 'v' or 'd'.
- wname
-
: wavelet name
- Y
-
: reconstruction
- Lo_R
-
: lowpass synthesis filter
- Hi_R
-
: highpass syntheis filter
- N
-
: restruction level
- S
-
: desired output size vector
Description
upcoef2 is for upward two dimension reconstruction from any desired input matrix.
Examples
x=rand(100,100);
[cA,cH,cV,cD]=dwt2(x2,'db2');
Y=upcoef2('a',cA,'db2',1);
Z=upcoef2('h',cH,'db2',3);
Authors
Roger Liu and Isaac Zhi