Core Optical, Inc.
MedianFilter ClassIndustrial Strength, Scientific Grade
Encapsulates the functionality associated with a median filtering operation.
Inheritance Hierarchy

OnlineSystem Object
  PrecisionImage.SpatialFiltering SpatialFilteringOperator
    PrecisionImage.SpatialFiltering MedianFilter

Namespace: PrecisionImage.SpatialFiltering
Assembly: PrecisionImage (in PrecisionImage.dll) Version: (

public class MedianFilter : SpatialFilteringOperator

The median filter is a spatial neighborhood filter used for removing impulse noise (sometimes referred to as "salt and pepper" noise) while maintaining good edge sharpness. This filter is less effective at removing other types of noise such as gaussian white noise. Increasing the size of the filter kernel radius can improve the effectiveness of the impulse noise removal at the expense of gradually introducing blur. An alternative is to implement a multi-pass strategy where the filter processing is applied in-place to the SourceData object multiple times, each pass successively reducing the impulse noise while minimizing the impact on edge features.

See Also