---
title: "TransformsProvider..::.UnsharpMask Method (Single, Single, Single, BlurType)"
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_TransformsProvider_UnsharpMask_4_6d5ad759.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# TransformsProvider.UnsharpMask Method (Single, Single, Single, BlurType)
 
Enhances image sharpness using *unsharp mask* technique.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Sub UnsharpMask ( _amount As Single, _radius As Single, _threshold As Single, _blurType As BlurType _
)
```
 
```csharp
public void UnsharpMask(float amount,float radius,float threshold,BlurType blurType
)
```
 
### Parameters
 
 - amount
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
Value that specifies unsharp mask amount.

 - radius
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
Value that specifies blur radius used to produce unfocused version of the image.

 - threshold
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
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.

 - blurType
     - Type: [Aurigma.GraphicsMill.Transforms.BlurType](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_BlurType.htm.md)
 [BlurType](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_BlurType.htm.md) value specifying a blur type used to produce unfocused version of the image.
 
## Remarks
 You can also use [UnsharpMask](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_UnsharpMask.htm.md) class to apply this effect.
   
## See Also

### Reference

- [TransformsProvider Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_TransformsProvider.htm.md)
- [UnsharpMask Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_TransformsProvider_UnsharpMask.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
