Image Brightness and Color Balancer
Function
This Step uses different algorithms to process images. It is mainly used to adjust the contrast of images and also used to adjust the color balance, which facilitates further processing such as edge detection and identification.
Usage Scenario
This Step is used in scenes with large variations in light intensity. It performs a balancing operation on the image, so that the brightness or color of the image is within an appropriate range to facilitate subsequent processing.
Parameters
The following five types of balancers are available, each requires different parameter settings:
AdaptiveColorBalancer
This balancer performs a balancing operation based on the RGB channels’ values of the image, while its effect on grayscale images is not obvious.
There are no parameters for this kind of balancer.
CLAHE
The default balancer is CLAHE.
| Parameter | Description |
|---|---|
Clip Limit |
Parameter description: This parameter is used to adjust the color balance. When the value is increased, the balancing effect is more obvious, and the degree of contrast decreases.
|
ColorBalancer
| Parameter | Description |
|---|---|
Lightness |
Parameter description: This parameter is used to adjust the lightness of the image. When the value is increased, the image will be brighter.
|
Green to Red |
Parameter description: This parameter is used to adjust the color of the image. When the value is increased, the image will tend to be reddish.
|
Blue to Yellow |
Parameter description: This parameter is used to adjust the color of the image. When the value is increased, the image will tend to be yellowish.
|
GammaCorrection
| Parameter | Description |
|---|---|
Gamma |
Parameter description: When the value is increased, the degree of contrast decreases. Only a few pixels will be displayed if this value is set to 0.
|
Illumination Normalization
Retinex_SSR
Gaussian Kernel Settings
| Parameter | Description |
|---|---|
Kernel Size |
Parameter description: This parameter is used to set the Gaussian kernel size, and the value can only be an odd number. When the value is increased, the edge of objects in the image will be more obvious.
|
General Settings
| Parameter | Description |
|---|---|
Mean Illumination |
Parameter description: This parameter is used to adjust the mean value of illumination. When the value is increased, the image will be brighter, and is suitable for processing images acquired under darker lighting conditions.
|
Retinex_MSR
Gaussian Kernel Settings
| Parameter | Description |
|---|---|
Small/Medium/Large Kernel Size |
Parameter description: This parameter is used to set the Gaussian kernel size, and the value can only be an odd number. When the value is increased, the edge of objects in the image will be more obvious.
|
General Settings
| Parameter | Description |
|---|---|
Mean Illumination |
Parameter description: This parameter is used to adjust the mean value of illumination. When the value is increased, the image will be brighter, and is suitable for processing images acquired under darker lighting conditions.
|
BgAdjust
Background Adjustment Settings
ROI
|
The coordinate of the upper left corner of the original image is (0, 0). |
| Parameter | Description |
|---|---|
X |
Parameter description: This parameter refers to the X coordinate of the ROI’s upper left vertex.
|
Y |
Parameter description: This parameter refers to the Y coordinate of the ROI’s upper left vertex.
|
Width |
Parameter description: This parameter refers to the width of the ROI.
|
Height |
Parameter description: This parameter refers to the height of the ROI.
|
General Settings
| Parameter | Description |
|---|---|
Mean Illumination |
Parameter description: This parameter is used to adjust the mean value of illumination. When the value is increased, the image will be brighter, and is suitable for processing images acquired under darker lighting conditions.
|