OOF2: The Manual

Name

OOF.Image.Modify.Sharpen — Sharpen the image by convolving with a Gaussian.

Synopsis

OOF.Image.Modify.Sharpen(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. Type: A real number.
    sigma
    Standard deviation of the Gaussian. Type: A real number.

Description

Sharpen an Image by convolving it with a Gaussian operator of the given radius and standard deviation (sigma), specified in units of the pixel size. For reasonable results, radius should be larger than sigma. A suitable radius will be chosen automatically if you set radius to zero.

This routine comes from the ImageMagick library.

Figure 6.40. Sharpening an Image

Sharpening an Image

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

Sharpening an Image

The result of sharpening the image with radius=0 and sigma=1.

Sharpening an Image

The result of sharpening the image with radius=0 and sigma=5.