---
title: "TransformsProvider..::.UnsharpMask Method (Single, Single, Single)"
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_TransformsProvider_UnsharpMask_3_8ebc23ce.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)
 
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 _
)
```
 
```csharp
public void UnsharpMask(float amount,float radius,float threshold
)
```
 
### 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.
 
## Remarks
 You can also use [UnsharpMask](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_UnsharpMask.htm.md) class to apply this effect.
 
## Examples
  
```
'Sharpen image via unsharp mask
bitmap.Transforms.UnsharpMask(1.5, 2.1, 0.04)
```
 
```csharp
//Sharpen image via unsharp mask
bitmap.Transforms.UnsharpMask(1.5f, 2.1f, 0.04f);
```
   
## 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)
