blend_raster | R Documentation |
Raster Helpers
blend_raster(x, bg_layer, blend_type = "Over", flip_order = FALSE, alpha = NA)
blend_custom_raster(x, bg_layer, a, b, c, d, flip_order = FALSE, alpha = NA)
bloom_raster(
x,
threshold_lower = 80,
threshold_upper = 100,
sigma = 5,
strength = 1,
keep_alpha = TRUE
)
blur_raster(x, sigma = 0.5, stack = FALSE)
displace_raster(x, x_map, y_map = x_map, x_scale = 1, y_scale = x_scale)
dither_raster(x, max_colours = 256, colourspace = "sRGB")
inner_glow_raster(x, colour = "black", sigma = 3, expand = 0)
interpolate_raster(x, bg_layer, src_percent, bg_percent)
convolve_grob(
x,
kernel,
iterations = 1,
scaling = NULL,
bias = NULL,
stack = FALSE
)
mask_raster(x, mask, invert = FALSE)
motion_blur_raster(x, sigma = 0.5, angle = 0)
ordered_dither_raster(x, map, colourspace = "sRGB", offset = NULL)
outer_glow_raster(x, colour = "black", sigma = 3, expand = 0)
shade_raster(
x,
height_map,
azimuth = 30,
elevation = 30,
strength = 10,
sigma = 0,
blend_type = "overlay"
)
variably_blur_raster(
x,
x_sigma,
y_sigma = x_sigma,
angle = NULL,
x_scale = 1,
y_scale = x_scale,
angle_range = 0
)
A nativeRaster object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.