<< Plot2dBasisTree 2-d Wavelet- and Cosine- Packet Tools UpQuad >>

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

Plot2dPartition

Show partition of Time/Freq plane by best basis

Calling Sequence

Plot2dPartition(basis,colors,ax,D)

Parameters

Inputs:

basis:

quadtree specifying partition of time or frequency plane

colors :

string, e.g. 'y'

ax :

axis parameter of plot this should be overlaid on

D :

maximum deoth of splitting

Description

Plot a 2d partition corresponding to the decomposition of the spatial variable.

Examples

GrayImage(img);
stat  = Calc2dStatTree('CP',img,5,'Entropy',[]);
basis = Best2dBasis(stat,5);
Plot2dPartition(basis,'y',[1 256 1 256],5);

// this example will overlay on a gray-scale display of img the partition
//corresponding to the best decomposition of the spatial variable.

Authors

<< Plot2dBasisTree 2-d Wavelet- and Cosine- Packet Tools UpQuad >>