Image.sketch

Simulates a pencil sketch. For best results start with a grayscale image.

class Image
void
sketch
(
double radius = 0
,
double sigma = 1
,
double angle = 0
)

Parameters

radius
Type: double

The radius of the Gaussian, in pixels, not counting the center pixel.

sigma
Type: double

The standard deviation of the Gaussian, in pixels.

angle
Type: double

The angle toward which the image is sketched.

Meta