AutoWhiteBalanceFilterOptions Class

Summary: Provides configuration options for the Auto White Balance filter.
Allows tuning of contrast stretching parameters and channel scaling
to improve the appearance of digital images.

Module: aspose.imaging.imagefilters.filteroptions

Full Name: aspose.imaging.imagefilters.filteroptions.AutoWhiteBalanceFilterOptions

Inheritance: FilterOptionsBase

Constructors

NameDescription
AutoWhiteBalanceFilterOptions(low_percentile, target_high_percentile, target_value, max_scale, protected_dark_offset)Initializes a new instance of the AutoWhiteBalanceFilterOptions class.

Properties

NameTypeAccessDescription
low_percentileintrThe low percentile for black point, used for darks protection (default: 3).
max_scalefloatrGets the maximum scaling factor for each channel.
Restricts the amplification of any channel to avoid excessive color shifts.
protected_dark_offsetintrOffset from low percentile below which dark pixels are not stretched (protection).
target_high_percentileintrGets the target high percentile for contrast stretching.
Determines which brightness percentile will be mapped to the target value.
target_valueintrGets the target value for the high percentile.
This value will be used as the white reference for contrast stretching.

Constructor: AutoWhiteBalanceFilterOptions(low_percentile, target_high_percentile, target_value, max_scale, protected_dark_offset)

 AutoWhiteBalanceFilterOptions(low_percentile, target_high_percentile, target_value, max_scale, protected_dark_offset) 

Initializes a new instance of the AutoWhiteBalanceFilterOptions class.

Parameters:

ParameterTypeDescription
low_percentileintThe low percentile for black point, used for darks protection (default: 3).
target_high_percentileintThe target high percentile for contrast stretching (default 97).
target_valueintThe target value for the high percentile (default 255).
max_scalefloatThe maximum scaling factor for each channel (default 1.4f).
protected_dark_offsetintOffset from low percentile below which dark pixels are not stretched (protection).