Image Brightness and Contrast Adjustment
Description
This operator adjusts the brightness and contrast of the input image based on pixel transformation formulas to enhance image quality.
Scenarios
-
Image preprocessing: Preprocessing before image detection to eliminate the effects of uneven lighting.
-
Visual effect enhancement: Adjusting the visual presentation of the image to make details clearer for observation and analysis.
-
Exposure correction: Correcting overexposed or underexposed images to restore image details.
Inputs and Outputs
Inputs |
Image: The input image or list of images requiring brightness and contrast adjustment. |
Outputs |
Result image: The image or list of images after brightness and contrast adjustment. |
Parameters
Adjustment Type
Description |
Three adjustment methods are provided: Formula Method, Mean Method, and Histogram Method. |
Tuning Instructions |
|
Parameter Range |
Values/Range:
Default: Formula Method |
Contrast Coefficient
Tuning Instructions |
|
Parameter Range |
[0, 30], Default value: 0.8 |
Parameter Range |
Values/Range: [0, 30] Default: 0.8 |
Grayscale Coefficient
Tuning Instructions |
|
Parameter Range |
[-255, 255], Default value: 0 |
Parameter Range |
Values/Range: [-255, 255] Default: 0 |
Contrast Coefficient
Tuning Instructions |
|
Parameter Range |
[0, 10], Default value: 1 |
Parameter Range |
Values/Range: [0, 10] Default: 1 |
Grayscale Coefficient
Tuning Instructions |
|
Parameter Range |
[-10, 10], Default value: 1 |
Parameter Range |
Values/Range: [-10, 10] Default: 1 |
Histogram Clip Percent
Tuning Instructions |
|
Parameter Range |
[0, 100], Default value: 25 |
Parameter Range |
Values/Range: [0, 100] Default: 25 |