Transformations of Gray Levels in an Image

Requires a Wolfram Notebook System
Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.
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.
Permanent Citation