wst2D
They represent a decomposition of a function with respect
to a set of (all possible) shifted two-dimensional wavelets.
They are a 2D extension of the wst objects.
Many other functions return an object of class wst2D
.
wst2D
object.
wst2D
object is n x n. Then
the dimension of the wst2D
array is [ nlevels, 2n, 2n].
The first index of the array refers to the resolution level
of the array with "resolution level = index - 1" (so, e.g.
the coarsest scale detailed is stored at index 1 and the finest
at index nlevels). For a given resolution level (selected first
index) the associated 2n x 2n matrix contains the two-dimensional
non-decimated wavelet coefficients for that level packed as follows.
At the finest resolution level the 2n x 2n coefficient image may be broken up into four n x n subimages. Each of the four images corresponds to data shifts in the horizontal and vertical directions. The top left image corresponds to ``no shift'' and indeed the top left image corresponds to the coefficients obtained using the decimated 2D wavelet transform as obtained using the imwd function. The top right image corresponds to a horizontal data shift; the bottom left to a vertical data shift and the bottom right corresponds to both horizontal and vertical data shift.
Within each of the four n x n images named in the previous paragraph are again 4 subimages each of dimension n/2 x n/2. These correspond to (starting at the top left and moving clockwise) the smooth (CC), horizontal detail (DC), diagonal detail (DD) and vertical detail (CD).
At coarser resolution levels the coefficients are smaller submatrices corresponding to various levels of data shifts and types of detail (smooth, horizontal, vertical, diagonal).
We strongly recommend the use of the
getpacket.wst2D and
putpacket.wst2D functions to
remove and replace coefficients from wst2D
objects.
2 nlevels
you get the number of data points used in
the decomposition.
wst2D
was modified.
wst2D
object be
extracted or replaced using
wst2D$wst2D
component
but you have to understand their organization described above.