Learn R Programming

fields (version 1.7.2)

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

Description

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

Usage

plot.Wimage.info(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. 
#

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

Run the code above in your browser using DataLab