Click or drag to resize

UnsharpMaskCommand Constructor (Int32, Double, Double)

Creates a new instance of UnsharpMaskCommand specifying the threshold, amount of effect and deviation.

Namespace:  Atalasoft.Imaging.ImageProcessing.Filters
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public UnsharpMaskCommand(
	int threshold,
	double amount,
	double sigma
)

Parameters

threshold
Type: SystemInt32
Controls the depth of the effect; the lower the value, the greater the effect. Any value between 0 and 255 is valid.
amount
Type: SystemDouble
Controls the intensity of the effect. Values should be between 0.0 (no effect) and 1.0 (full effect). Higher values will give unpredictable results.
sigma
Type: SystemDouble
The standard deviation (sigma) of the gaussian kernal, controlling the amount of blur. Good values to start with are between 0.6 and 2.4. The higher the value the greater the blur depth and longer the processing time.
Exceptions
ExceptionCondition
Thrown if threshold is less than 0 or greater than 255, or if amount is less than 0.
See Also