![]() |
VOOZH | about |
Intensity transformations are image processing techniques that modify pixel intensity values to enhance image appearance, improve contrast, or highlight specific features. These operations are performed directly on image pixels in the spatial domain.
The following grayscale image will be used throughout the article to demonstrate different intensity transformation techniques.
Image negative transformation inverts the intensity values of an image, producing a photographic negative effect. It is commonly used to enhance details that are difficult to observe in dark regions of an image.
Output:
Log transformation expands low-intensity pixel values while compressing higher-intensity values, making details in darker regions of an image more visible.
Output:
👁 ImagePower-law transformation, also known as gamma transformation, adjusts image brightness using a power-law relationship between input and output pixel intensities. It is widely used for image enhancement and display correction.
Output:
Gamma = 0.1:
👁 ImageGamma = 0.5:
👁 ImageGamma = 1.2:
👁 ImageGamma = 2.2:
👁 ImageNote:
- Gamma = 0.1, 0.5: Produces brighter images by increasing low-intensity pixel values.
- Gamma = 1.2, 2.2: Produces darker images by reducing pixel intensities.
Contrast stretching is a piecewise-linear transformation that improves image contrast by expanding the range of intensity values. It enhances the visibility of details in images with poor contrast.
Contrast Formula: