---
title: "TransformsProvider.Median Method "
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_TransformsProvider_Median_1_e1836fc4.htm
product: "Graphics Mill"
---

# TransformsProvider.Median Method 
 
Applies a median filter to the bitmap.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public void Median(int radius
)
```
 
### Parameters
 
 - radius
     - Type: System.Int32
The radius of the filter in pixels.
 
## Remarks
  
Median filter is a non-linear filter which works in the following way: for each pixel it searches median pixel in "running window" of the radius specified with *radius* parameter. This pixel is copied to the result bitmap.
 
This filter is good for removing noise (especially impulse noise).
   
## See Also

### Reference

- [TransformsProvider Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_TransformsProvider.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
