Plot Two-dimensional Discrete Wavelet Transform

Share:

Description

Organizes the wavelet coefficients from a 2D DWT into a single matrix and plots it. The coarser resolutions are nested within the lower-lefthand corner of the image.

Usage

1
2
## S3 method for class 'dwt.2d'
plot(x, cex.axis = 1, plot = TRUE, ...)

Arguments

x

input matrix (image)

cex.axis

par plotting parameter that controls the size of the axis text

plot

if plot = FALSE then the matrix of wavelet coefficients is returned, the default is plot = TRUE

...

additional graphical parameters if necessary

Details

The wavelet coefficients from the DWT object (a list) are reorganized into a single matrix of the same dimension as the original image and the result is plotted.

Value

Image plot.

Author(s)

B. Whitcher

See Also

dwt.2d.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.