3.4.5.4. Erosion

_images/erosion_tab.png

Erosion

This tab allows for removing the border of a class patch (erosion), defining the class values to be eroded and the number of pixels from the border. It is useful for classification refinement.

Порада

Information about APIs of this tool in Remotior Sensus at this link .

3.4.5.4.1. Erosion

Tool symbol and name

Description

Select input band set (of classifications) input_number

select the input Band set

Class values input_text

set the class values to be eroded; class values must be separated by , and - can be used to define a range of values (e.g. 1, 3-5, 8 will select classes 1, 3, 4, 5, 8); if the text is red then the expression contains errors

Size in pixels input_number

number of pixels to be eroded from the border

checkbox Circular optional

if checked, the erosion will be circular, similar to a buffer

Output name

set the name prefix for output files

checkbox Virtual output optional

if checked, the output is created as virtual raster composed of as many .tif files as the number of CPU threads defined in System

Script script_tool

add this function to the Script

RUN run

run this function