Wavelet Toolbox    
wenergy2

Energy for 2-D wavelet decomposition

Syntax

[Ea,EDetail] = WENERGY2(C,S)

Description

For a two-dimensional wavelet decomposition [C,S] (see wavedec2 for details), [Ea,Eh,Ev,Ed] = WENERGY2(C,S) returns Ea, which is the percentage of energy corresponding to the approximation, and vectors Eh, Ev, Ed, which contain the percentages of energy corresponding to the horizontal, vertical, and diagonal details, respectively.

[Ea,EDetail] = WENERGY2(C,S) returns Ea, and EDetail, which is the sum of vectors Eh, Ev, and Ed.

Examples


  wenergy wentropy