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 double

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

sigma double

The standard deviation of the Gaussian, in pixels.

angle double

The angle toward which the image is sketched.

Meta