OOF2: The Manual

Name

OOF.Image.Modify.Equalize — Apply adaptive histogram equalization to the image.

Synopsis

OOF.Image.Modify.Equalize(image)

Details

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

    image
    Type: The path to an existing Image object.

Description

Apply Contrast Limited Adaptive Histogram Equalization to an Image. This spreads out the distribution of pixel values to increase the contrast in the image.

This routine uses skimage.exposure.equalize_adapthist from the scikit-image library. The documentation describes it as "An algorithm for local contrast enhancement, that uses histograms computed over different tile regions of the image. Local details can therefore be enhanced even in regions that are darker or lighter than most of the image". If operating on a color image, the image is converted to HSV, the method is applied to the V channel, and the image is converted back to RGB.

Figure 6.36. Equalizing Images

Equalizing Images

The top row consists of two unprocessed images, a 200×200 micrograph of Si3N4 (courtesy of C.-H. Hsueh) and a 640×375 print by M.C. Escher. The bottom two images are the results of applying the Equalize modifier.


See Also