Transformations of Gray Levels in an Image

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

This Demonstration shows how the contrast of a grayscale image can be modified by applying the common gray level transformations found in typical image processing textbooks, that is, the logarithm and the transformations.

Contributed by: José A. Díaz (October 2011)
Open content licensed under CC BY-NC-SA


Snapshots


Details

The logarithm and the (power-law) transformations are useful in varying the dynamic range of the darker or lighter parts of the gray levels in an image. In this Demonstration, the logarithm transformation is defined by

and the power law by

,

in which the constant is scaled to set the maximum output of the transformation to the maximum gray level (in an 8-bit grayscale image this value is 255).

Varying the parameters or (depending on the transformation chosen), we can modify the contrast in the image and highlight details not seen in the original.



Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.
Send