3.4.4.3. Masking bands

_images/masking_bands_tab.png

Masking bands

This tool allows for masking bands, based on the values of a raster mask, creating an output masked band for each band of the Band set. NoData is set in all the bands of the Band set for pixels corresponding to the mask.

Порада

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

3.4.4.3.1. Mask of band set

Tool symbol and name

Description

Select input band set input_number

select the input Band set to be masked

Select the classification input_list

select a classification raster (already loaded in QGIS) which contains a mask class

reload

refresh layer list

Mask class values input_text

set the class values to be masked; 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

checkbox Use buffer of pixel size input_number

if checked, a buffer is created for masked area, corresponding to the defined number of pixels; this can be useful to dilate masked area

Output NoData value input_number

set the value of NoData pixels corresponding to the mask

Output name prefix input_text

set the prefix for output file names (default is mask_)

Script script_tool

add this function to the Script

RUN run

run this function