Smooth Raster

ToolBox Implementation .NET Implementation
Smooth a raster using Gaussian function on 3 x 3 or 5 x 5 neighborhood.

Read more about Gaussian smoothing  here

Inputs:

Example:

A profile of a raster before and after smoothing

Output:

Notes:

ToolBox implementation

Command line syntax

ETS_GPSmoothRaster <Input Raster>  <Out Raster> <Neighborhood>

Parameters

Expression Explanation
<Input Raster> A Raster dataset or Raster layer
<Out Raster> A String - the full name of the output raster (A raster with the same full name should not exist). The output raster type depends on the extension of the output file(see Notes above)
<Neighborhood> A String indicating the neighborhood to be used. Valid inputs "3x3" and "5x5"

Scripting syntax

ETS_GPSmoothRaster (Input Raster,  Out_Raster, Neighborhood)

.NET implementation
(Go to TOP)

SmoothRaster (inRasterDataset As IRasterDataset2, sOutRaster As String, sNeighbourhood As String) As IRasterDataset2

Copyright © Ianko Tchoukanski