Scilab Wavelet Toolbox Function
Last update : June 2007
wenergy2 - Energy Statistics from two dimension multiple level decompostion
Calling Sequence
-
[Ea,Ed]=wenergy(c,s)
-
[Ea,Eh,Ev,Ed]=wenergy(c,s)
Parameters
-
Ea
: energy percentage of approximation coefficent
-
Eh
: energy percentage of horizontal detail coefficent
-
Ec
: energy percentage of vertical detail coefficent
-
Ed
: energy percentage of diagonal detail coefficent, vector
-
c
: coefficent array
-
s
: size array
Description
wenergy2 is to calculate the energy percentage of approximation and detail coefficent for two dimension decompostion.
Examples
x=rand(100,100);
[C,S]=wavedec2(x,3,'db2');
[Ea,Ed]=wenergy2(C,S);
Author
Roger Liu and Isaac Zhi
See Also
wavedec2
,
waverec2
,