segment(object, level=0.5, delta = 0, thresh = 3, fov = NULL, channel = 0, hmax = 4, aws = TRUE, varmodel = NULL, ladjust = 1.25, xind = NULL, yind = NULL, wghts = c(0.299, 0.587, 0.114, 0), scorr = TRUE, lkern = "Triangle", plateau = NULL, homogen = TRUE, earlystop = TRUE, demo = FALSE, select = FALSE, sext = 1.4, connected = FALSE, graph = FALSE, max.pixel = 400, compress = TRUE)read.image, read.raw, or make.image.select=TRUE. May be specified such that either
level-delta and level+delta are within the interval (0,1) or such that they are within the inteselect=TRUE. May be specified such that either
level-delta and level+delta are within the interval (0,1) or such that they are within the TRUE the propagation - separation
(PS) approach from Polzehl and Spokoiny (2006) is used.
aws=FALSE turns off the statistical penalty resulting in a
nonadaptive kernel estimate using a kernel with bandwivarmodel specifies how variances are to be
estimated. This can be a homogeneous variance estimate
(varmodel="None") assuming uncorrelated errors (both spatial
and between channels). Alternatives are an adaptive homogeladjust axind,yind in x- and y-direction. Full range
if NULL (default).TRUE. Is set to FALSE if
mask is not NULL.0.25.s_{ij} for all points j within the
circle is less than the value specified in plateau. In subsequent w_{ij}.
if this radius is considerably smaller than the actual bandwidth then the
demo=TRUE the function pauses after each
iteration. Defaults to FALSE.level is the generated
as the median of values within the selected region.select==TRUE the value of delta is increased by
sext times the standard deviation (estimated by IQR) of the values in the selected region.graph=TRUE intermediate results are
illustrated after each iteration step. Defaults to FALSE.graph=TRUE. If the true dimension is larger, the
images are downscaled for display. See also show.image."adimpro" withlevel useddelta usedthresh usedvalue >= 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.
If connected==TRUE pixel in segment 2 0 are reassigned to a value 2 if they belong to a maximal connected subset of segment2 that contains the center of the specified homogeneous set.
=>Polzehl, J. and Spokoiny, V. (2006). Propagation-Separation Approach for Local Likelihood Estimation. Probability Theory and Related Fields. 3 (135) 335 - 362.
read.image, read.raw, make.image, show.image, clip.image