3.4.5.5. Sieve

_images/sieve_tab.png

Sieve

This tab allows for the replacement of isolated pixel values with the value of the largest neighbour patch. It is useful for removing small patches from a classification.

It is possible to chose 4 pixel connection (in a 3x3 window, diagonal pixels are not considered connected) or 8 pixel connection (in a 3x3 window, diagonal pixels are considered connected).

Порада

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

3.4.5.5.1. Sieve

Tool symbol and name

Description

Select input band set (of classifications) input_number

select the input Band set

Size threshold input_number

size of threshold in number of pixels

checkbox Pixel connection input_list

select between 4 pixel connection or 8 pixel connection

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