Skip to main content

Generate Exclude Area (Data Management Tools)

Summary

Masks pixels based on their color or by clipping a range of values. The output of this tool is used as an input to the Color Balance Mosaic Dataset tool to eliminate areas such as clouds and water that can skew the statistics used to color balance multiple images.

Usage

  • This tool is used to exclude areas that will be difficult to color correct, such as water, clouds, and anomalous areas.

  • The output of this tool can be used in the Color Balance Mosaic Dataset tool to exclude pixels (and colors) from the algorithm used to color correct the mosaic dataset.

Parameters

Label Explanation Data type

Input Raster

The raster or mosaic dataset layer that you want to mask.

Mosaic Dataset; Raster Dataset; Raster Layer

Output Raster Dataset

The name, location and format for the dataset you are creating. When storing a raster dataset in a geodatabase, do not add a file extension to the name of the raster dataset. When storing your raster dataset to a JPEG file, a JPEG 2000 file, or a geodatabase, you can specify a Compression type and Compression Quality within the Environment Settings.

Raster Dataset

Pixel Type

Choose the pixel depth of your input raster dataset. 8-bit is the default value; however, raster datasets with a greater bit-depth will need to have the color mask and histogram values scaled accordingly.

  • 8 bitThe input raster dataset has values from 0 to 255. This is the default.

  • 11 bitThe input raster dataset has values from 0 to 2047.

  • 12 bitThe input raster dataset has values from 0 to 4095.

  • 16 bitThe input raster dataset has values from 0 to 65535.

String

Generate Method

Create your mask based on the color of the pixels or by clipping high and low values.

  • Color maskSet the maximum color values to include in the output. This is the default.

  • Histogram percentageRemove a percentage of high and low pixel values.

String

Maximum Red

(Optional)

The maximum red value to exclude. The default is 255.

Double

Maximum Green

(Optional)

The maximum green value to exclude. The default is 255.

Double

Maximum Blue

(Optional)

The maximum blue value to exclude. The default is 255.

Double

Maximum White

(Optional)

The maximum white value to exclude. The default is 255.

Double

Maximum Black

(Optional)

The maximum black value to exclude. The default is 0.

Double

Maximum Magenta

(Optional)

The maximum magenta value to exclude. The default is 255.

Double

Maximum Cyan

(Optional)

The maximum cyan value to exclude. The default is 255.

Double

Maximum Yellow

(Optional)

The maximum yellow value to exclude. The default is 255.

Double

Low Percentage

(Optional)

Exclude this percentage of the lowest pixel values. The default is 0.

Double

High Percentage

(Optional)

Exclude this percentage of the highest pixel values. The default is 100.

Double

Environments

Current Workspace, Extent, Geographic Transformations, Output Coordinate System, Scratch Workspace, Snap Raster

Licensing information

  • Basic: No
  • Standard: Yes
  • Advanced: Yes