LS2W-package: Estimates the locally stationary wavelet spectrum for locally...

LS2W-packageR Documentation

Estimates the locally stationary wavelet spectrum for locally stationary 2-D wavelets processes

Description

The LS2W package which provides an implementation of the modelling approach proposed by Eckley, Nason, and Treloar (2010) for locally stationary spatial covariance structure of (regular) lattice processes, such as images.

The approach, which is an extension of NvSK's time series modelling paradigm, is in part motivated by a frequently erent scales. Moreover, several researchers have highlighted that the human and mammalian visual systems process images in a multiscale manner, preserving both local and global information (see for example, Daugman (1990) or Field (1999)). The LS2W package which we introduce implements the estimation scheme described by Eckley et al. (2010) for such processes. Note that LS2W should be used in conjunction with the WaveThresh package developed by Nason (1998).

Details

Note that this package should be used in conjunction with the WaveThresh package. It is advised that WaveThresh should be loaded first, followed by LS2W. This is because LS2W currently overwrites a couple of WaveThresh functions to, e.g., provide consistent naming structures for some of the objects created during estimation of 2-D LSW processes.

The central function within the LS2W package is cddews. This executes the LS2W estimation algorithm as summarised in Algorithm 1, drawing on other functions to calculate the autocorrelation (ac) wavelets and their inner product matrix. The output of this function is stored in an object of class "cddews". Print and summary methods are provided for this class of objects.

Below we provide brief descriptions of the main functions contained within the package. Please see individual help files for additional information.

PhiJ: Computes discrete autocorrelation father wavelets. These are automatically stored within the R session, using a naming convention governed by Phi1Dname.

PsiiJ: Computes discrete autocorrelation mother wavelets. These are automatically stored within the R session, using a naming convention governed by Psi1Dname.

D2ACW: Computes two-dimensional autocorrelation wavelets. These are automatically stored within the R session, using a naming convention governed by Psi2Dname.

D2autoplot: Can be used to generate images of two-dimensional discrete autocorrelation wavelets.

D2Amat: Computes the inner product matrix of two-dimensional discrete autocorrelation wavelets. These objects are automatically stored within a session following a naming convention governed by A2name.

cddews: Computes the local wavelet spectrum estimate as described in Eckley et al. (2010), returning an object of class cddews.

specplot: Plots the local wavelet periodogram associated with a cddews object.

Haar2MA.diag: Generates a two-dimentional Haar MA object (diagonal direction) of specied size and order. The functions Haar2MA.vert, Haar2MA.horiz can be used to construct equivalent realisations for process in the vertical and horizontal direction respectively whilst HaarMontage generates a realisation of a concatenated two-dimensional Haar MA process (for an example, see Fig 3 of Eckley and Nason 2009).

Author(s)

Idris Eckley and Guy Nason, with contributions from Sarah Taylor and Matt Nunes Maintainer: Who to complain to <i.eckley@lancs.ac.uk>

References

Eckley, I.A., Nason, G.P. and Treloar, R.L. (2010) Locally stationary wavelet fields with application to the modelling and analysis of image texture. Journal of the Royal Statistical Society (Series C), 59, 595 - 616.

Eckley, I.A. and Nason, G.P. (2011). LS2W: Implementing the Locally Stationary 2D Wavelet Process Approach in R, Journal of Statistical Software, 43(3), 1-23. URL http://www.jstatsoft.org/v43/i03/.

Examples

    #
    # See comprehensive examples in the help pages for the major functions
    # outlined above.
    #

LS2W documentation built on Nov. 2, 2022, 1:06 a.m.