Template:Conservative Smoothing Filter
From XMS Wiki
Jump to navigationJump to search
Conservative Smoothing Filter
This tool applies a conservative smoothing filter to a raster image to reduce noise and short-range variability. It replaces grid cells that are greater than the local maximum or less than the local minimum in their neighborhood. The filter size for the neighborhood is controlled by specifying odd integer values for the x and y dimensions.
Input parameters
- Input raster file – The input raster streams file is a grid-based dataset where cells represent stream locations, typically derived from flow accumulation data.
- Size of the filter kernel in the x-direction: – Specifies the width of the smoothing filter's window along the horizontal axis. This value should be an odd, positive integer (e.g., 3, 5, 7), and determines how many neighboring cells in the x-direction are considered when applying the filter.
- Size of the filter kernel in the y-direction: – Specifies the height of the smoothing filter's window along the vertical axis. This value should be an odd, positive integer (e.g., 3, 5, 7) and determines how many neighboring cells in the y-direction are included in the filtering process.
Output parameters
- Output raster file – Enter the name for the new raster.
Current Location in toolbox
Rasters/Conservative Smoothing Filter
Related Links
- Conservative Smoothing Filter Whitebox Documentation