Smooth a raster using
Gaussian function on 3 x 3 or 5 x 5 neighborhood.
Read more about Gaussian smoothing
here
Inputs:
- Input floating point raster dataset
- Output raster name and format
- Neighborhood size - 3 x 3 or 5 x 5
Example:
A profile of a raster before and after smoothing

Output:
Notes:
- Supported raster formats are File Geodatabase raster, Personal Geodatabase
raster and file based raster formats (ESRI GRID, Erdas Imagine and
TIFF).
- For file based rasters initially the name of the output raster
defines the raster format
- no extension specified - ESRI binary GRID
- .img extension (for example raster1.img) -
ERDAS IMAGINE image.
- .tif extension (for example raster1.tif -
Tagged Image File Format (TIFF) image.
- The initial output raster format can be
changed by selecting the desired output in the dialog.
- The input raster must be in a projected
coordinate system.
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 |