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