ColorEnhanceOptions
The 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;
}
};
Attributes
- strengthLevel
- The level of color enhancement. The value range is [0.0, 1.0].
0.0is the default value, which means no color enhancement is applied to the video. The higher the value, the higher the level of color enhancement. The default value is0.5. - skinProtectLevel
The level of skin tone protection. The value range is [0.0, 1.0].
0.0means no skin tone protection. The higher the value, the higher the level of skin tone protection. The default value is1.0.- When the level of color enhancement is higher, the portrait skin tone can be significantly distorted, so you need to set the level of skin tone protection.
- When the level of skin tone protection is higher, the color enhancement effect can be slightly reduced.