blur_sigmas {tdarec} | R Documentation |
Standard deviation of Gaussian blur
Description
The standard deviation of the noise function convolved with array values to induce blur in raster data.
Usage
blur_sigmas(range = c(unknown(), unknown()), trans = transform_log1p())
Arguments
range |
A two-element vector holding the defaults for the smallest and largest possible values, respectively. If a transformation is specified, these values should be in the transformed units. |
trans |
A |
Details
The gaussian blur step deploys blur()
. See there for definitions
and references.
get_blur_range()
varies the parameter logarithmically from 0 to an order
of magnitude greater than the blur()
default.
Value
A param
object or list of param
objects.
Examples
img_dat <- data.frame(img = I(list(volcano)))
(blur_man <- blur_sigmas(range = c(0, 3)))
grid_regular(blur_man)
(blur_fin <- blur_sigmas() %>% get_blur_range(x = img_dat))
grid_regular(blur_fin)
[Package tdarec version 0.2.0 Index]