OOF2: The Manual

Name

OOF.Image.Modify.Blur — Blur an image by convolving it with a Gaussian operator of the given radius and standard deviation (sigma).

Synopsis

OOF.Image.Modify.Blur(image,radius,sigma)

Details

  • Parent Menu: OOF.Image.Modify
  • Callback: function doImageMod in module ooflib.image.imagemodifier
  • Parameters:

    image
    Type: The path to an existing Image object.
    radius
    Radius of the Gaussian, in pixels, not counting the center pixel. Type: A real number.
    sigma
    Standard deviation of the Gaussian, in pixels Type: A real number.

Description

Blur the given image. This can be a useful way of reducing noise, at the obvious expense of a loss of resolution. The image is convolved with a Gaussian operator with the given radius and standard deviation (sigma). For reasonable results, the radius should be larger than sigma. If radius is 0, then a suitable radius will be chosen automatically.

This routine comes from the ImageMagick library.

Figure 6.27. Blurring an Image

Blurring an Image

A micrograph of Si3N4 (courtesy of C.-H. Hsueh).

Blurring an Image

The image after being blurred with radius=0 and sigma=3.0.