Transformations of Gray Levels in an Image
Transformations of Gray Levels in an Image
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.
γ
Details
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
γ
y=clog(1+(-1)x)
σ
e
and the power law by
y=c
γ
x
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).
c
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
Permanent Citation
José A. Díaz
"Transformations of Gray Levels in an Image"
http://demonstrations.wolfram.com/TransformationsOfGrayLevelsInAnImage/
Wolfram Demonstrations Project
Published: October 13, 2011

