What is Gaussian Blur?

Gaussian blur smooths an image by convolving it with a kernel whose weights follow a Gaussian distribution. The kernel scale determines how broadly neighboring pixels influence each output pixel.

How Gaussian Blur works

Gaussian smoothing replaces each pixel with a distance-weighted blend of its neighborhood, giving nearby samples more influence than distant ones. Because a two-dimensional Gaussian is separable, implementations can perform horizontal and vertical passes instead of one expensive square convolution. The operation suppresses high spatial frequencies but does not reproduce optical depth of field. It commonly precedes resizing, edge detection, segmentation, or visual compositing.

Key facts

  1. The standard deviation controls the blur’s physical scale, while kernel dimensions determine how much of the distribution is sampled; truncating the kernel too aggressively can introduce visible error.
  2. A Gaussian kernel is separable, so an N-by-N convolution can be evaluated as two one-dimensional passes, substantially reducing arithmetic and memory access for larger radii.
  3. Blurring before downsampling acts as an anti-aliasing filter, but excessive smoothing removes edge energy and can weaken feature detectors, OCR, or later sharpening operations.

When Gaussian Blur matters

Developers apply Gaussian blur for noise reduction, background defocus, privacy masking, and scale-space analysis. Larger kernels cost more to compute and may erase edges needed by later processing.

Turn media knowledge into a working pipeline

Connect uploads, processing, AI, storage, and delivery through one declarative API — with the encoding stack, scaling, and format churn handled for you.

Try Transloadit for free