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

OnlineSystem Object
  PrecisionImage.SpatialFiltering SpatialFilteringOperator
    PrecisionImage.SpatialFiltering WeightedMedianFilter

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

public class WeightedMedianFilter : SpatialFilteringOperator

The WeightedMedianFilter shares the same overall algorithm as the MedianFilter, the only difference being the inclusion of filter kernel weights in the weighted variant of the filter. The weights are integers that specify the number of times a value at a particular position in the filter kernel is added to the array to be sorted. This adds additional weight to that particular value when computing the median. The default filtering kernel is a 3x3 kernel center-weighted with a value of 3.

See Also