Mask function

Using the Mask function, you will specify one or more NoData values or a range of valid pixel values.

The inputs for this function are the following:

You can specify values for either or both the NoData Values and Included Ranges.

The NoData values can be specified for each band. You can specify more than one value by entering a space-delimited list.

The included ranges can be specified for each band by specifying a minimum and maximum value; any values outside the range will be returned as NoData. A pixel is included if the pixel's value falls within any of the ranges specified. Therefore, if band 1 has a range of 5–10 and band 2 has a range of 15–20, and the pixel value for band 1 is 8, then this pixel will not be masked out.

Related Topics