effects {magick}R Documentation

Image Effects

Description

High level effects applied to an entire image. These are mostly just for fun.

Usage

image_despeckle(image, times = 1L)

image_reducenoise(image, radius = 1L)

image_noise(image, noisetype = "gaussian")

image_blur(image, radius = 1, sigma = 0.5)

image_motion_blur(image, radius = 1, sigma = 0.5, angle = 0)

image_charcoal(image, radius = 1, sigma = 0.5)

image_oilpaint(image, radius = 1)

image_emboss(image, radius = 1, sigma = 0.5)

image_implode(image, factor = 0.5)

image_negate(image)

Arguments

image

magick image object returned by image_read() or image_graph()

times

number of times to repeat the despeckle operation

radius

radius, in pixels, for various transformations

noisetype

string with a noisetype value from noise_types.

sigma

the standard deviation of the Laplacian, in pixels.

angle

angle, in degrees, for various transformations

factor

image implode factor (special effect)

See Also

Other image: _index_, analysis, animation, attributes(), color, composite, defines, device, edges, editing, fx, geometry, morphology, ocr, options(), painting, segmentation, transform(), video

Examples

logo <- image_read("logo:")
image_despeckle(logo)
image_reducenoise(logo)
image_noise(logo)
image_blur(logo, 10, 10)
image_motion_blur(logo, 10, 10, 45)
image_charcoal(logo)
image_oilpaint(logo, radius = 3)
image_emboss(logo)
image_implode(logo)
image_negate(logo)

[Package magick version 2.8.4 Index]