Template:Mean Filter: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
__NOINDEX__
__NOINDEX__
__NOTOC__
__NOTOC__
 
===Mean Filter===
==Mean Filter==
The ''Mean Filter'' tool is used to do a low-pass filter that can emphasize the longer-range variability in an image that essentially smooths the image. It is useful for reducing noise in an image. The algorithm calculates the average value in a moving window centered on each grid cell. The filter size is specified in the x and y dimensions in odd, positive integer values. It works in both greyscale and red-green-blue (RGB) images, however, the RGB images are decomposed into intensity-hue-saturation and the filter applies to the intensity channel. NoData values are ignored.  
The ''Mean Filter'' tool is used to do a low-pass filter that can emphasize the longer-range variability in an image that essentially smooths the image. It is useful for reducing noise in an image. The algorithm calculates the average value in a moving window centered on each grid cell. The filter size is specified in the x and y dimensions in odd, positive integer values. It works in both greyscale and red-green-blue (RGB) images, however, the RGB images are decomposed into intensity-hue-saturation and the filter applies to the intensity channel. NoData values are ignored.  


===Input Parameters===
====Input Parameters====
*''Input raster file:'' –
*''Input raster file:'' –
*''Size of the filter kernel in the x-direction:'' – Enter the number, an odd, positive integer for the x dimension. Default is 3.
*''Size of the filter kernel in the x-direction:'' – Enter the number, an odd, positive integer for the x dimension. Default is 3.
*''Size of the filter kernel in the y-direction:'' – Enter the number, an odd, positive integer for the y dimension. Default is 3
*''Size of the filter kernel in the y-direction:'' – Enter the number, an odd, positive integer for the y dimension. Default is 3


===Output Parameters===
====Output Parameters====
*''Output raster file:'' – Enter the name of the newly created raster file.
*''Output raster file:'' – Enter the name of the newly created raster file.


===Toolbox Location===
====Toolbox Location====
Rasters/Mean Filter
Rasters/Mean Filter


====Related Links====
====Related Links====
*[https://www.whiteboxgeo.com/manual/wbt_book/available_tools/image_processing_tools_filters.html#MeanFilter| Mean Filter]
*[https://www.whiteboxgeo.com/manual/wbt_book/available_tools/image_processing_tools_filters.html#MeanFilter| Mean Filter]

Revision as of 18:31, 29 October 2024


Mean Filter

The Mean Filter tool is used to do a low-pass filter that can emphasize the longer-range variability in an image that essentially smooths the image. It is useful for reducing noise in an image. The algorithm calculates the average value in a moving window centered on each grid cell. The filter size is specified in the x and y dimensions in odd, positive integer values. It works in both greyscale and red-green-blue (RGB) images, however, the RGB images are decomposed into intensity-hue-saturation and the filter applies to the intensity channel. NoData values are ignored.

Input Parameters

  • Input raster file:
  • Size of the filter kernel in the x-direction: – Enter the number, an odd, positive integer for the x dimension. Default is 3.
  • Size of the filter kernel in the y-direction: – Enter the number, an odd, positive integer for the y dimension. Default is 3

Output Parameters

  • Output raster file: – Enter the name of the newly created raster file.

Toolbox Location

Rasters/Mean Filter

Related Links