interactive_charcoal: interactive charcoal filtering

Description Usage Arguments Value Author(s) Examples

View source: R/interactive_charcoal.R

Description

Using image_charcoal of 'magick' interactively. radius and sigma are parameters of image_charcoal. See reference manual of 'magick' for detail.

Usage

1
2
3
4
5
6
7
8
interactive_charcoal(
  image,
  range_max_radius = 5,
  range_max_sigma = 5,
  resolution = 0.1,
  return_param = FALSE,
  scale
)

Arguments

image

a magick image object

range_max_radius

define maximum in slider of radius. must be positive.

range_max_sigma

define maximum in slider of sigma. must be positive.

resolution

resolution of slider

return_param

If return_param is TRUE, returns values of radius and sigma. If return_param is FALSE, returns a magick image object.

scale

geometry to be passed to image_scale function of magick package. image is scaled just for preview and result image is not scaled if scale is given.

Value

a magick image object or values of radius and sigma

Author(s)

Shota Ochi

Examples

1

ShotaOchi/magickGUI documentation built on Feb. 28, 2021, 12:48 p.m.