<< Calc2dSQTree 2-d Wavelet- and Cosine- Packet Tools Calc2dTreeHeight >>

Wavelab Toolbox >> Wavelab Toolbox > 2-d Wavelet- and Cosine- Packet Tools > Calc2dStatTree

Calc2dStatTree

Put Wavelet/Cosine Packet Statistics into Quad Tree

Parameters

Inputs:

TFType:

string, 'CP' or 'WP' selecting type of time-frequency analysis

img :

2-d image, n by n, n dyadic

D :

maximum depth of splitting

TFPar :

if 'WP', qmf, if 'CP', bellname

ent :

type of entropy to record in tree: options are

ent = 'Entropy':

-- Coifman-Wickerhauser

ent = 'Log' :

-- sum log(abs(th_i))

ent = 'l^p' :

-- sum |th_i|^p, 0 < p < 2, p = EntPar

ent = 'N(eps)' :

-- #>= eps, eps = EntPar

ent = 'Risk' :

-- sum min(th_i^2,eps^2), eps = EntPar

ent = 'Sum' :

-- sum th_i

ent = 'SURE' :

-- SURE(Thresholding), thresh = EntPar

EntPar :

extra parameter, depends on type of entropy

Outputs:

sqtree:

quad tree filled entropy numbers. SQTree(qnode(d,bx,by)) contains entropy of quadlet(d,bx,by,n)

Description

A packet table is indexed by depth, block within depth, and coefficient within block. Because 2d images require four splits per parent block, WaveLab prefers to store just the entropy measure for the coefficients in a particular block rather than the coefficients themselves. Calc2dStatTree creates this statistics tree for the entropy measure chosen by the user.

See also

Authors

<< Calc2dSQTree 2-d Wavelet- and Cosine- Packet Tools Calc2dTreeHeight >>