ColorEnhanceOptions
Color enhancement options.
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;
}
};
Properties
- strengthLevel
- Degree of color enhancement. Value range is [0.0,1.0].
0.0means no color enhancement is applied to the video. The higher the value, the stronger the enhancement. Default is0.5. - skinProtectLevel
- Degree of skin tone protection. Value range is [0.0,1.0].
0.0means no skin tone protection. The higher the value, the greater the protection. Default is1.0.- When the color enhancement level is high, facial skin tones may appear distorted, so you need to set the skin protection level.
- A higher skin protection level may slightly reduce the color enhancement effect.
strengthLevelandskinProtectLevelto achieve the optimal effect.