WaveletImagePlot

WaveletImagePlot[dwd]

plots the basis tree of wavelet image coefficients in the DiscreteWaveletData dwd.

WaveletImagePlot[dwd,r]

plots coefficients up to refinement level r.

WaveletImagePlot[dwd,r,ifunc]

applies the image function ifunc to coefficients and wavelet indexes before plotting.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Show wavelet image coefficients arranged in a pyramid layout:

Plot wavelet image coefficients in a grid layout:

Plot a full tree of wavelet packet coefficients at different refinement levels:

Scope  (9)

Data  (5)

DiscreteWaveletTransform of image data:

Plot image wavelet coefficients in a hierarchical grid:

The plotted coefficients are the Automatic coefficients used in the inverse transform:

Use WaveletImagePlot[dwd,r] to plot coefficients only up to refinement level r:

The hierarchical layout corresponds to the tree structure of the wavelet coefficients:

DiscreteWaveletPacketTransform of image data:

The DiscreteWaveletData object contains a full tree of coefficients at each level:

Default Automatic coefficients for packet transform correspond to the highest refinement level:

WaveletBestBasis computes a different Automatic tree of coefficients:

Specify an image function f to apply to wavelet coefficients before plotting:

By default, ImageAdjust[ImageApply[Abs,#]& is applied:

Presentation  (4)

Display with a label:

Specify a function to apply to each coefficient image:

Sharpen image coefficients:

Improve contrast:

Control the displayed size of the generated image:

Specify a style for grid lines separating wavelet coefficients:

Options  (4)

BaseStyle  (1)

Specify a style for lines separating wavelet coefficients:

ImageSize  (1)

Specify the size of the displayed image:

The pixel dimensions of the image are not affected by ImageSize:

Method  (2)

Inverse transform each coefficient before plotting:

Inverse transform coefficients from stationary wavelet transform:

Inverse transform coefficients from lifting wavelet transform:

Choose which channel to plot in multichannel Image:

Properties & Relations  (6)

WaveletImagePlot returns an Image object:

Use like any other image:

Pixel dimensions of generated images depend on padding, wavelet, and refinement level:

The generated image is generally larger than the original data:

WaveletImagePlot plots image wavelet coefficients in a hierarchical grid layout:

dwd[,"Image"] gives each coefficient as a separate image:

WaveletImagePlot plots the Automatic coefficients used in the inverse transform:

WaveletBestBasis selects a different default tree of coefficients:

WaveletMatrixPlot plots matrix wavelet coefficients in a hierarchical grid:

WaveletScalogram plots vector coefficients with numerical magnitude indicated by color:

WaveletListPlot plots vector coefficients with a common horizontal or vertical axis:

Possible Issues  (3)

Generated images may be saturated if a custom image function f is specified:

Compose the custom image function with ImageAdjust:

Wavelet coefficients from stationary wavelet transform cannot be plotted using pyramid layout:

Pyramid layout cannot be constructed for inverse transformed wavelet coefficients:

Neat Examples  (2)

JPEG 2000 wavelet transform:

Improve contrast for detail coefficients:

Plot an image wavelet packet transform:

Introduced in 2010
 (8.0)