---
title: "ContiguousBackgroundRemoval.StepTolerance Property "
canonical: https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_ContiguousBackgroundRemoval_StepTolerance.htm
product: "Graphics Mill"
---

# ContiguousBackgroundRemoval.StepTolerance Property 
 
Gets or sets the largest color difference between a pixel and a neighboring background pixel for the pixel to be a part of the background.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public float StepTolerance { get; set; }
```
 
### Property Value
The difference as delta E, in range `[0, 100]`. The default value is `6`.
 
## Remarks
 This value lets the background change smoothly, for example, in a gradient or a vignette. A sharp edge stops the background.
 
## Exceptions
  
|  Exception |  Condition |
| --- | --- |
 |  System.ArgumentOutOfRangeException |  The value is out of range. |
   
## See Also

### Reference

- [ContiguousBackgroundRemoval Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_ContiguousBackgroundRemoval.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
