ConvertConfig.SetSharpening Method

Definition

Namespace: P1.ImageSdk

Adjust the parameters of sharpening of the image.

public ConvertConfig SetSharpening(float amount, float radius, float threshold, float haloAmount);

Parameters:

amount

is the strength of sharpening, value between 0 and 10. Default is 0.0

radius

is patch size for detecting detail, value between 0 and 3. Default is 1.0

threshold

defines noise level or weak detail, which will be ignored. Value between 0 and 10. Default is 1.0

haloAmount

is amount of halo suppression, value between 0 and 1. Default is 0.0