aws.segment(y, level, delta = 0, hmax = NULL, hpre = NULL, varmodel = "Constant", lkern = "Triangle", scorr = 0, ladjust = 1, wghts = NULL, u = NULL, varprop = 0.1, ext = 0, graph = FALSE, demo = FALSE, fov=NULL)y contains the observed response data. dim(y) determines the dimensionality and extend of the grid design.hmax specifies the maximal bandwidth. Defaults to hmax=250, 12, 5 for dd=1, 2, 3, respectively.hpre Bandwidth used for an initial nonadaptive estimate. The first estimate
of variance parameters is obtained from residuals with respect to this estimate.scorr allows to specify a first order correlations of the noise for each coordinate direction,
defaults to 0 (no correlation).wghts specifies the diagonal elements of a weight matrix to adjust for different distances between grid-points
in different coordinate directions, i.e. allows to define a more appropriate metric in the design space.u=0varprop times the mean variance.ext.graph=TRUE intermediate results are illustrated after each iteration step. Defaults to graph=FALSE.demo=TRUE the function pauses after each iteration. Defaults to demo=FALSE.aws with slotslength: length(y)aws.gaussianvalue >= level - delta and H2 value <= level="" +="" delta<="" code="">.
Pixel where the first hypotesis is rejected are classified as -1 (segment 1)
while rejection of H2 results in classification 1 (segment 3).
Pixel where neither H1 or H2 are rejected ar assigned to a value 0 (segment 2). Critical values for the tests are adjusted for smoothness at the different scales inspected in the iteration process using results from multiscale testing,
see e.g. Duembgen and Spokoiny (2001). Critical values also depend on the
size of the region of interest specified in parameter fov.Within segment 2 structural adaptive smoothing is performed while if a pair of pixel belongs to segment 1 or segment 3 the corresponding weight will be nonadaptive.
=>Polzehl, J. and Spokoiny, V. (2006). Propagation-Separation Approach for Local Likelihood Estimation. Probability Theory and Related Fields. 3 (135) 335 - 362.
aws, aws.gaussian