Brightness difference threshold.

Namespace:  AForge.Imaging
Assembly:  AForge.Imaging (in AForge.Imaging.dll) Version: (


public int DifferenceThreshold { get; set; }


The brightness difference threshold controls the amount of pixels, which become part of USAN area. If difference between central pixel (nucleus) and surrounding pixel is not higher than difference threshold, then that pixel becomes part of USAN.

Increasing this value decreases the amount of detected corners.

Default value is set to 25.

See Also