ColorEnhanceOptions
色彩增强选项。
public class ColorEnhanceOptions { public float strengthLevel; public float skinProtectLevel; public ColorEnhanceOptions() { strengthLevel = 0.5f; skinProtectLevel = 1f; } public ColorEnhanceOptions(float strength, float skinProtect) { strengthLevel = strength; skinProtectLevel = skinProtect; } }
属性
- strengthLevel
- 色彩增强程度。取值范围为 [0.0,1.0]。
0.0
表示不对视频进行色彩增强。取值越大,色彩增强的程度越大。默认值为0.5
。 - skinProtectLevel
肤色保护程度。取值范围为 [0.0,1.0]。
0.0
表示不对肤色进行保护。取值越大,肤色保护的程度越大。默认值为1.0
。- 当色彩增强程度较大时,人像肤色会明显失真,你需要设置肤色保护程度;
- 肤色保护程度较大时,色彩增强效果会略微降低。