ArcGIS for Desktop

  • Documentation
  • Pricing
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS for Desktop

A complete professional GIS

ArcGIS for Server

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Pricing
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

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:

  • Input Raster
  • NoData Interpretation
  • NoData Values
  • Included Ranges

NoData Interpretation refers to how the NoData values will impact the output image.

  • All—The NoData values you specify for each band must occur in the same cell for the output image to contain the NoData cell.
  • Any—If the NoData value you specify occurs for a cell in a specified band, then that cell in the output image will be NoData.

Example of cell value inputs and output

Band 1Band 2Band 3NoData InterpretationRGB

NoData

1

1

All

1

NoData

NoData

NoData

All

NoData

NoData

1

1

Any

NoData

NoData

NoData

NoData

Any

NoData

Examples using NoData Interpretation

You can specify values for either or both of 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

  • What are the functions used by a raster or mosaic dataset?
  • Editing function chains in a mosaic dataset
Feedback on this topic?

ArcGIS for Desktop

  • Home
  • Documentation
  • Pricing
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS for Desktop
  • ArcGIS for Server
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacy | Legal