Learn R Programming

fields (version 5.02)

Wimage.info.plot: Plot to check 2-d multiresolution indexing

Description

Plots in image format the differnt blocks of coefficents associated with a 2-d multiresolution. This function can be used to check the Wtransform indexing functions and is also an introduction to how the coefficients are organized.

Usage

Wimage.info.plot(m, n, cut.min)

Arguments

Details

This function was used to check the (compicated) indexing functions work. But it also might a useful graphics to desribe how the different levels of wavelet coefficients are pack into the image format.

See Also

Wtransform.image, W.info, Wimage.info,

Examples

Run this code
#
# 64X 128 image coarsest level has 8X16 smooth basis funcitons. 
#
# NOTE as a matrix the image plot is upside down! Rows are along X-axis and 
# columns on Y
# e.g. the (1,1) element is the lower left corner. 
#

Wimage.info.plot( 64, 128, cut.min=8)

Run the code above in your browser using DataLab