Image.sharpen

Sharpens an image. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and sharpen selects a suitable radius for you.

class Image
void
sharpen

Parameters

radius
Type: double

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

sigma
Type: double

The standard deviation of the Laplacian, in pixels.

channel

If no channels are specified, sharpens all the channels.

Meta