ColorEnhanceOptions
Color enhancement options.
class ColorEnhanceOptions {
const ColorEnhanceOptions({this.strengthLevel, this.skinProtectLevel});
@JsonKey(name: 'strengthLevel')
final double? strengthLevel;
@JsonKey(name: 'skinProtectLevel')
final double? skinProtectLevel;
factory ColorEnhanceOptions.fromJson(Map<String, dynamic> json) =>
_$ColorEnhanceOptionsFromJson(json);
Map<String, dynamic> toJson() => _$ColorEnhanceOptionsToJson(this);
}
Properties
- strengthLevel
- Color enhancement level. Value range is [0.0, 1.0].
0.0means no color enhancement is applied to the video. The higher the value, the stronger the color enhancement. Default is0.5. - skinProtectLevel
- Skin tone protection level. Value range is [0.0, 1.0].
0.0means no skin tone protection is applied. The higher the value, the stronger the protection. Default is1.0.- When the color enhancement level is high, facial skin tones may appear distorted. You need to set the skin tone protection level.
- A higher skin tone protection level slightly reduces the color enhancement effect.
strengthLevelandskinProtectLevelto achieve the optimal result.