BeautyOptions
Beauty options.
public class BeautyOptions
{
public BeautyOptions()
{
lighteningContrastLevel = LIGHTENING_CONTRAST_LEVEL.LIGHTENING_CONTRAST_NORMAL;
this.lighteningLevel = 0;
this.smoothnessLevel = 0;
this.rednessLevel = 0;
this.sharpnessLevel = 0;
}
public BeautyOptions(
LIGHTENING_CONTRAST_LEVEL lighteningContrastLevel, float lighteningLevel, float smoothnessLevel,
float rednessLevel, float sharpnessLevel)
{
this.lighteningContrastLevel = lighteningContrastLevel;
this.lighteningLevel = lighteningLevel;
this.smoothnessLevel = smoothnessLevel;
this.rednessLevel = rednessLevel;
this.sharpnessLevel = sharpnessLevel;
}
public LIGHTENING_CONTRAST_LEVEL lighteningContrastLevel { set; get; }
public float lighteningLevel { set; get; }
public float smoothnessLevel { set; get; }
public float rednessLevel { set; get; }
public float sharpnessLevel { set; get; }
}
public LIGHTENING_CONTRAST_LEVEL lighteningContrastLevel { set; get; }
public float lighteningLevel { set; get; }
public float smoothnessLevel { set; get; }
public float rednessLevel { set; get; }
public float sharpnessLevel { set; get; }
}
Properties
- lighteningContrastLevel
- Contrast level, usually used with
lighteningLevel. The larger the value, the greater the contrast between light and dark. See LIGHTENING_CONTRAST_LEVEL. - lighteningLevel
- Whitening level, ranging from [0.0, 1.0], where 0.0 means original brightness. Default is 0.0. The larger the value, the greater the whitening effect.
- smoothnessLevel
- Smoothing level, ranging from [0.0, 1.0], where 0.0 means original smoothness. Default is 0.0. The larger the value, the greater the smoothing effect.
- rednessLevel
- Redness level, ranging from [0.0, 1.0], where 0.0 means original redness. Default is 0.0. The larger the value, the more rosy the effect.
- sharpnessLevel
- Sharpening level, ranging from [0.0, 1.0], where 0.0 means original sharpness. Default is 0.0. The larger the value, the sharper the image.