AutoWhiteBalanceFilterOptions 类

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

Name描述
AutoWhiteBalanceFilterOptions(low_percentile, target_high_percentile, target_value, max_scale, protected_dark_offset)初始化 AutoWhiteBalanceFilterOptions 类的新实例。

Properties

NameTypeAccess描述
low_percentileintr黑点的低百分位,用于暗部保护(默认值:3)。
max_scalefloatr获取每个通道的最大缩放因子。
限制任何通道的放大,以避免过度的色彩偏移。
protected_dark_offsetintr低百分位以下的偏移量,低于此值的暗像素不被拉伸(保护)。
target_high_percentileintr获取对比度拉伸的目标高百分位。
确定哪个亮度百分位将映射到目标值。
target_valueintr获取高百分位的目标值。
此值将用作对比度拉伸的白色参考。

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) 

初始化 AutoWhiteBalanceFilterOptions 类的新实例。

Parameters:

参数TypeDescription
low_percentileint黑点的低百分位,用于暗部保护(默认值:3)。
target_high_percentileint对比度拉伸的目标高百分位(默认 97)。
target_valueint高百分位的目标值(默认 255)。
max_scalefloat每个通道的最大缩放因子(默认 1.4f)。
protected_dark_offsetint低百分位以下的偏移量,低于此值的暗像素不被拉伸(保护)。