feGaussianBlur element | SVGFEGaussianBlurElement object
Performs a Gaussian blur on the input image.
![]() ![]() |
Syntax
<feGaussianBlur in="SourceAlpha" stdDeviationX="4" stdDeviationY="4" result="blur"/>
DOM Information
Inheritance Hierarchy
Members
The SVGFEGaussianBlurElement object has these types of members:
Methods
The SVGFEGaussianBlurElement object has these methods.
| Method | Description |
|---|---|
| setStdDeviation |
Sets the standard deviation values used in calculating a Gaussian blur. |
Properties
The SVGFEGaussianBlurElement object has these properties.
| Property | Access type | Description |
|---|---|---|
|
Gets or sets the height of an element. | ||
| Read-only |
Identifies input for the given filter primitive. | |
| Read-only |
Provides a reference for the output result of a filter. | |
| Read-only |
Gets a value that indicates the standard deviation in the x-direction, used in calculating a Gaussian blur. | |
| Read-only |
Gets a value that indicates the standard deviation in the y-direction, used in calculating a Gaussian blur. | |
|
Defines the width of an element. | ||
|
Gets or sets the x-coordinate value. | ||
|
Gets or sets the y-coordinate value. |
Standards information
- Scalable Vector Graphics: Filter Effects, Section 15.25.19
Remarks
The Gaussian blur kernel is an approximation of the normalized convolution G(x,y) = H(x)I(y), where H(x) = exp(-x²/ (2s²)) / sqrt(2* pi*s²) and I(y) = exp(-y²/ (2t²)) / sqrt(2* pi*t²) with 's' being the standard deviation in the x direction and 't' being the standard deviation in the y direction, as specified by the stdDeviationX and stdDeviationY properties.
See also

