View source: R/EFDR_functions.R
wav_th | R Documentation |
This function is primarily used for testing the power of a method in the wavelet domain. Given an image, the discrete wavelet transform is found. The indices of the coefficients which exceed a certain threshold are then considered the 'signal' for testing purposes.
wav_th(Z, wf = "la8", J = 2, th = 1)
Z |
image of size |
wf |
type of wavelet to employ. Please see |
J |
number of resolutions to employ in the wavelet decomposition |
th |
threshold |
Indices of wavelet coefficients in a vector
Shen, X., Huang, H.-C., and Cressie, N. 'Nonparametric hypothesis testing for a spatial signal.' Journal of the American Statistical Association 97.460 (2002): 1122-1140.
Z <- test_image(h = 0.5, r = 14, n1 = 64)$z
print(wav_th(Z,wf="la8",J=3,th=0.5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.