Description Usage Arguments Details Value Author(s) References See Also
A convolution combines pixels in the input image with neighbouring pixels to produce a resulting image. A wide variety of imaging operations can be achieved through convolutions, including blurring, edge detection, sharpening, embossing and beveling.
1 2 3 4 5 6 7 |
input |
Identifies an input for this filter primtive. See
|
order |
A numeric vector of length 1 or 2. Indicates the number of cells in
each dimension for |
kernelMatrix |
The kernel matrix for the convolution. The number of entries must
correspond with the values given by |
divisor |
After applying the |
bias |
After applying the |
targetX |
Determines the positioning in X of the convolution matrix relative to a given target pixel in the input image. The leftmost column of the matrix is column number zero. The value must be such that: 0 <= targetX < orderX. By default, the convolution matrix is centered in X over each pixel of the input image (i.e., targetX = floor( orderX / 2 )). |
targetY |
Determines the positioning in Y of the convolution matrix relative to a given target pixel in the input image. The topmost row of the matrix is row number zero. The value must be such that: 0 <= targetY < orderY. By default, the convolution matrix is centered in Y over each pixel of the input image (i.e., targetY = floor( orderY / 2)). |
edgeMode |
Determines how to extend the input image as necessary with colour values so that the matrix operations can be applied when the kernel is positioned at or near the edge of the input image.
|
kernelUnitLength |
The first number is the |
preserveAlpha |
A value of A value of |
... |
Further arguments to be passed onto |
For more information about this primitive, consult the reference to the SVG specification.
An fe.convolve.matrix
object.
Simon Potter
http://www.w3.org/TR/SVG/filters.html#feConvolveMatrixElement
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.