User Tools

Site Tools


doc:pipeline:filter.weightedmedian

Table of Contents

Filter.WeightedMedian

Documentation | Other Specifications | Pipeline | Filter.WeightedMedian

The Filter.WeightedMedian command applies the weighted median filter on a pixel layer.

For more information visit TGIS_PixelFilterWeightedMedian class.

Parameters

Name Required Default value Comment
Source + Source pixel layer.
Destination + Destination pixel layer; can be the same as Source.
Band 1 Band to be processed; set to 0 for all bands, relevant only if ColorSpace=RGB.
ColorSpace HSL For color images only - color space in which the image is to be processed (RGB or HSL).
BlockSize 3 Width/height (in pixels) of the moving block (mask).
WeightMask 5×5 center-weighted mask Weight mask definition as a comma-separated list of integer values.

Samples

  Filter.WeightedMedian Source=$src Destination=$dst
2018/12/17 16:07