This documentation is for the old version. Go to the latest Graphics Mill docs

UnsharpMask Constructor (Single, Single, Single)

Creates and initializes new UnsharpMask class instance. You can set all three unsharp mask main values here.

Namespace: Aurigma.GraphicsMill.Transforms
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)


Visual Basic
Public Sub New ( _
	amount As Single, _
	radius As Single, _
	threshold As Single _
public UnsharpMask(
	float amount,
	float radius,
	float threshold



Type: System.Single

Value that specifies unsharp mask amount. Amount*100 means the percentage of the difference between blurred and original image. Min value is 0. You can change it later using Amount property.

Type: System.Single

Value that specifies blur radius used to produce unfocused version of the image. You can change it later using Radius property.

Type: System.Single

Value in range [0, 1] specifying threshold value for the unsharp mask. Minimum value (0) means that all pixels are affected with unsharp mask, maximum value means that no pixels are affected. To calculate threshold in pixel luminosity levels, multiply it on 255 for non-extended (8 bit per channel) images, or 65535 for extended (16 bit per channel) images. You can change it later using Threshold property.

See Also