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).
Tip
Information about APIs of this tool in Remotior Sensus at this link .
Tool symbol and name | Description |
---|---|
:guilabel:`Select input band set (of classifications)` | select the input :ref:`band_set_tab` |
:guilabel:`Size threshold` | size of threshold in number of pixels |
:guilabel:`Pixel connection` | select between 4 pixel connection or 8 pixel connection |
:guilabel:`Output name` | set the name prefix for output files |
:guilabel:`Virtual output` | if checked, the output is created as virtual raster composed of as
many .tif files as the number of CPU threads defined in
:ref:`system_processing` |
:guilabel:`Script` | add this function to the :ref:`script_tab` |
:guilabel:`RUN` | run this function |