Class AutoWhiteBalanceFilterOptions

AutoWhiteBalanceFilterOptions class

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.

public class AutoWhiteBalanceFilterOptions : FilterOptionsBase

Constructors

NameDescription
AutoWhiteBalanceFilterOptions(int, int, int, float, int)Initializes a new instance of the AutoWhiteBalanceFilterOptions class.

Properties

NameDescription
LowPercentile { get; }The low percentile for black point, used for darks protection (default: 3).
MaxScale { get; }Gets the maximum scaling factor for each channel. Restricts the amplification of any channel to avoid excessive color shifts.
ProtectedDarkOffset { get; }Offset from low percentile below which dark pixels are not stretched (protection).
TargetHighPercentile { get; }Gets the target high percentile for contrast stretching. Determines which brightness percentile will be mapped to the target value.
TargetValue { get; }Gets the target value for the high percentile. This value will be used as the white reference for contrast stretching.

See Also