🟧 Image Gamma Correction

Function Description

This operator can perform non-linear adjustment of image brightness and contrast by adjusting the Gamma value of the image, making image details easier to observe under different lighting conditions.

Usage Scenarios

  • Dark area detail enhancement: When dark areas of the image lack detail, use a Gamma value greater than 1 to brighten these details.

  • Bright area detail recovery: When bright areas of the image are overexposed and details are lost, use a Gamma value less than 1 to darken bright areas and recover details.

Input Output

Input

Image: Input images or image lists that need Gamma correction.

Output

Result Image: Images or image lists after Gamma correction.

Parameter Description

Contrast Limiting Threshold

Parameter Description

Determines the degree of brightness and contrast adjustment for the image.

Parameter Adjustment

  • When this value is greater than 1: The low grayscale range of the input image is stretched, and the high grayscale range is compressed, which enhances dark area details and makes the entire image appear brighter. Suitable for brightening underexposed images or scenes where objects in shadows need to be seen clearly.

  • When this value is less than 1: The low grayscale range of the input image is compressed, and the high grayscale range is stretched. This enhances bright area details and makes the entire image appear darker. Suitable for correcting overexposed images and recovering details in highlight areas.

  • When this value equals 1: No change to the image.

Parameter Range

[0, 100], Default value: 2