Algosim documentation: ConvolutionKernel

ConvolutionKernel

Returns a predefined pixmap convolution kernel.

Syntax

Description

ConvolutionKernel(s) returns the predefined pixmap convolution kernel named s.

The following kernel names are recognised:

Examples

convolve(ExampleData("Sally"), ConvolutionKernel("5×5 Gaussian blur"))

Image 1

convolve(ExampleData("Sally"), ConvolutionKernel("3×3 sharpen"))

Image 2

convolve(ExampleData("Sally"), ConvolutionKernel("3×3 emboss"))

Image 3

convolve(ExampleData("Sally"), ConvolutionKernel("3×3 Sobel 1") + ConvolutionKernel("3×3 Sobel 2"))

Image 4

See also