User:Tgibbs/Workflows

From XMS Wiki
< User:Tgibbs
Revision as of 05:18, 29 August 2024 by Tgibbs (talk | contribs)
Jump to navigationJump to search



Edge Preserving Mean Filter

This tool applies an edge-preserving mean filter to an input image. The filter is a type of low-pass filter used to smooth the image and reduce noise, while preserving important edges.

Input parameters

  • Input raster file – Select the file that will be preserved.
  • Size of the filter kernel – Specifies the dimensions of the square window used in the edge-preserving mean filter.
  • Maximum difference in values – Sets the threshold for the maximum allowable difference between the center value and its neighbors in the filtering process.

Output parameters

  • Output raster file – Enter the name for the new generated image.

Current Location in toolbox

Rasters/Edge Preserving Mean Filter

Related Links



Feature Preserving Smoothing

This tool is designed to smooth digital elevation models (DEMs) by reducing surface roughness while preserving significant topographic features such as breaks in slope. It works by calculating and smoothing surface normal vectors and then updating the elevations based on this smoothed data.

Input parameters

  • Input raster DEM file – Select the file that will be modified.
  • Size of the filter kernel – Defines the dimensions of the 3x3 neighborhood used to calculate surface normal vectors and smooth them.
  • Maximum difference in normal vectors, in degrees – Sets the threshold for the angular difference between surface normal vectors.
  • Number of iterations – Specifies how many times the smoothing algorithm will be applied to the DEM.
  • Maximum allowable absolute elevation change (optional) – Sets a limit on the maximum permitted change in elevation between the original and smoothed DEM values.
  • Optional multiplier for when the vertical and horizontal units are not the same – Adjusts the scale of vertical elevation changes to account for differences in units between vertical and horizontal measurements.

Output parameters

  • Output raster file – Enter the name for the new generated model.

Current Location in toolbox

Rasters/Feature Preserving Smoothing

Related Links


Smooth Raster

The Smooth Raster tool is designed to smooth digital elevation models (DEMs) by reducing surface roughness while preserving significant topographic features such as breaks in slope. The tool has the following options:

Input Parameters

  • Input raster – Select the raster that will be smoothed.
  • Filter size – This determines how many points will be included in the smoothed raster
  • Number of interations – This specifies how many passes should be made with the smoothing algorithm.
  • Maximum elevation change – This value specifies the maximum allowable elevation change per iteration for each cell.
  • Filter ratio (0.0 – 1.0) – The new cell elevation is computed using the original elevation (at the beginning of the iteration not the whole process) and the "blurred" elevation. The filter ratio defines how far the elevation is changed between the original elevation and the "blurred" elevation. A filter ratio of 1.0 would replace the existing elevation with the "blurred" elevation. A filter ratio of 0.0 would be pointless as it wouldn't change the elevations. A filter ratio of 0.5 would give a new elevation that is the average of the original elevation and the blurred elevation.
  • Define maximum change from original raster or per iteration – Select an option for defining maximum change:
    • "Maximum change defined from original raster"
    • "Maximum change defined for each iteration"

Output Paramters

  • Output raster – Enter the name for the new smoothed raster.

Current Location in Toolbox

Rasters/Smooth Raster

Related Links



Contours from Raster

This tool converts a raster surface model, such as a DEM, into a vector contour coverage. Users can specify the contour interval and optionally the base contour value. The tool also offers parameters for smoothing the contour lines and generalizing the contour paths.

Input parameters

  • Input surface raster file – Select the file that will be modified.
  • Contour interval – Defines the vertical spacing between contour lines in the output vector contour coverage
  • Base contour height – Sets the starting elevation for the first contour line in the output vector contour coverage
  • Smoothing filter size (in num. points), 3, 5, 7, 9, 11 – Specifies the size of the mean filter applied to the x-y positions of contour vertices, with larger values producing smoother contour lines.
  • Tolerance factor, in degrees (0-45); determines generalization level – Sets the threshold for angular deflection required to retain vertices in the contour line.

Output parameters

  • Output contour coverage – Enter the name for the new generated coverage.

Current Location in toolbox

Coverages/Contours from Raster

Related Links



Contours from Single Raster Value

The Contours from Single Raster tool converts a single raster value, such as a DEM, into a vector contour coverage. Users can specify the contour interval and optionally the base contour value.

Input parameters

  • Input surface raster file – Select the file that will be modified.
  • Base contour height – Specifies the elevation level at which the first contour line will be drawn.
  • Smoothing filter size (in num. points), e.g. 3, 5, 7, 9, 11 – Defines the size of the mean filter applied to the contour vertices, with the size specified as an odd integer like 3, 5, 7, 9, or 11.
  • Tolerance factor, in degrees (0-45); determines generalization level – Controls the level of contour line generalization by setting the minimum angular deflection required to keep vertices.

Output parameters

  • Output contour coverage – Enter the name for the new generated coverage.

Current Location in toolbox

Coverages/Contours from Single Raster Value

Related Links



Rho8 Flow Accumulation

This tool calculates a flow accumulation grid (i.e. contributing area) using the Rho8 algorithm. This method is a single-flow-direction (SFD) approach, meaning that flow from each grid cell is directed to a single downslope neighbor, without allowing flow divergence.

Input parameters

  • Input raster DEM or Rho8 pointer file; if a DEM is used, it must be depressionless – Select the file that will be modified.
  • Log-transform the output values? – Applies a natural logarithm transformation to the flow accumulation grid, which helps visualize the distribution of contributing areas.
  • Optional flag to request clipping the display max by 1% – Sets a limit on the maximum value displayed in the flow accumulation grid by excluding the top 1% of values.
  • Is the input raster a Rho8 flow pointer rather than a DEM? – Determines whether the raster file used as input is a Rho8 pointer file, which specifies flow directions and requires different handling compared to a standard digital elevation model (DEM).
  • Does the input Rho8 pointer use the ESRI style scheme? – Specifies whether the Rho8 pointer file follows the ESRI convention for encoding flow directions, which affects how the tool interprets the flow direction data.

Output parameters

  • Name of the output raster file – Enter the name for the new raster.
  • Output type; one of 'cells', 'specific contributing area' (default), and 'catchment area' – The "Output type" specifies the format of the flow accumulation grid: 'cells' shows the number of inflowing grid cells, 'specific contributing area' (the default) represents the catchment area divided by the flow width, and 'catchment area' displays the total upslope area contributing to each grid cell.

Current Location in toolbox

Rasters/Rho8 Flow Accumulation

Related Links