<< wenergy discrete_wavelet_analysis wentropy >>

swt >> discrete_wavelet_analysis > wenergy2

wenergy2

Energy Statistics from two dimension multiple level decompostion

Calling Sequence

[Ea,Ed]=wenergy2(c,s)
[Ea,Eh,Ev,Ed]=wenergy2(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);

Authors

See also


Report an issue
<< wenergy discrete_wavelet_analysis wentropy >>