Make a 2D Wavelet Packet Crystal.

DESCRIPTION:
Makes an object of class wp.crystal.2d. A wp.crystal.2d is a collection of 2D wavelet packet atoms.

USAGE:
wp.crystal.2d(x, row.dict=NULL, col.dict=NULL, crystal.name="",
              odd=attr(x, "odd"), ...)

REQUIRED ARGUMENTS:
x:
an image or a matrix.

OPTIONAL ARGUMENTS:
row.dict:
wavelet packet dictionary for rows.
col.dict:
wavelet packet dictionary for columns.
crystal.name:
name of the crystal (same as the name of the first atom in the crystal).
odd:
a vector of logical flags indicating if the ancestors of the crystal are of odd lengths.
...:
additional arguments for wp.dict.2d().

VALUE:
an object of class "wp.crystal.2d" which is the same as x with attributes dictionary, crystal.name and odd.

DETAILS:
Generic functions such as reconstruct, print, plot, eda.plot, and summary have methods for wp.crystal.2d objects.

SEE ALSO:
wp.crystal , reconstruct , eda.plot .