effects: Image Effects

Description Usage Arguments See Also Examples

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
image_despeckle(image, times = 1L)

image_reducenoise(image, radius = 1L)

image_noise(image, noisetype = "gaussian")

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

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.

factor

image implode factor (special effect)

See Also

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10

ropensci/magick documentation built on Jan. 15, 2019, 3:27 a.m.