Raster functions

Raster functions are operations that allow you to preview the results before generating a new imagery layer, and can be chained together for complex workflows. When you preview the results of a raster function, calculations are applied to the pixels of the original data as the raster is displayed, so only pixels that are visible on your screen are processed. As you zoom and pan around, the calculations are performed on the fly.

More than 150 raster functions are provided with ArcGIS. These are available as individual processing functions, or they can be combined into a processing chain as a raster function template. Raster function templates can be tailored for many applications using a variety of input data types and raster functions to facilitate specific workflows.

Raster functions and raster function templates support distributed processing and storage options such as on-premises, cloud, and web implementations. Standard and custom raster processing and storage capabilities can be scaled to account for surges in demand, emergencies, shifting priorities and other effects on required capacity, demand, and cost. Raster functions support distributed processing to support dynamic processing environments. As the number of processing instances changes, the distribution of raster analysis processes changes to take advantage of processing and storage resources.

Distributed raster analytics, based on ArcGIS Image Server, processes raster datasets and remotely sensed imagery with an extensive suite of raster functions. Results are automatically stored and published to a distributed raster data store, where they can be shared across your enterprise.

Custom raster functions can be written in Python, added to the portal, and used for distributed processing of raster analysis.

These raster functions and raster function template workflows can also be implemented in ArcGIS Pro, and with ArcGIS REST API, ArcGIS API for Python, and ArcGIS Maps SDK for JavaScript. For example, you can use the Generate Raster task in ArcGIS REST API to run distributed raster analysis by giving a JSON object representation of a raster function chain.

Raster functions available for raster analysis

The table below lists the raster functions available for raster analysis. To access the raster functions, open a map, click Analysis, which opens the Perform Analysis pane. Click Raster Analysis to open the Raster Analysis pane. Click the Browse Raster Function Templates button Browse Raster Function Templates to access the raster functions and raster function templates available in your content or your organization. To see the raster functions provided in ArcGIS, filter the list to view the System functions.

You can use raster functions and build your own custom raster function template chains in the Raster Function Editor. In the Raster Analysis pane, click the Raster Function Editor button Map Viewer Raster Function Editor to open the Raster Function Template window. The available raster functions are listed in the left pane; select your raster function and click Add Function to add it to the raster function template. Double-click a function to modify the properties. When you are finished, you can close the raster function editor window to run the template in your map. You can also save the raster function template as an item in My Contents, where you can share it throughout your organization or with external users.

The raster functions available in Map Viewer Classic are listed below.

Analysis

Raster functionDescription

Binary Thresholding

Divides a raster into two distinct classes using the Otsu method, which distinguishes between background and foreground in imagery by creating two classes with minimal intraclass variance. For more information, see the Binary Thresholding raster function.

CCDC Analysis

Evaluates changes in pixel values over time using the Continuous Change Detection and Classification (CCDC) method and generates a multidimensional raster containing the model results.

For more information, see the CCDC Analysis raster function.

Compute Change

Computes the differences between two raster datasets. For more information, see the Compute Change raster function.

Detect Change Using Change Analysis

Generates a raster containing pixel change information using the output change analysis raster from the Analyze Changes Using CCDC tool.

For more information, see the Detect Change Using Change Analysis raster function.

Generate Trend

Estimates the trend for each pixel along a dimension for a given variable in a multidimensional raster. For more information, see the Generate Trend raster function.

Heat Index

Calculates apparent temperature based on ambient temperature and relative humidity. For more information, see the Heat Index raster function.

Kernel Density

Calculates a magnitude-per-unit area from point or polyline features using a kernel function to fit a smoothly tapered surface to each point or polyline. For more information, see the Kernel Density raster function.

LandTrendr Analysis

Evaluates changes in pixel values over time using the Landsat-based detection of trends in disturbance and recovery (LandTrendr) method and generates a change analysis raster containing the model results. For more information, see the LandTrendr Analysis raster function.

NDVI

Generates an image displaying greenness (relative biomass). The Normalized Difference Vegetation Index (NDVI) is a standardized index that uses the contrast of the characteristics of two bands from a multispectral raster dataset—the chlorophyll pigment absorptions in the red band and the high reflectivity of plant materials in the near-infrared (NIR) band. For more information, see the NDVI function.

NDVI Colorized

Applies the NDVI function on the input image, and uses a color map or color ramp to display the result. For more information, see the NDVI Colorized raster function.

Predict Using Trend

Generates a forecasted layer using the output from the Generate Trend function. For more information, see the Predict Using Trend raster function.

Process Raster Collection

Processes each slice in a multidimensional raster layer or each item in a mosaic layer. For more information, see the Process Raster Collection raster function.

Tasseled Cap

Provides standardized detection of human-made features, soil, and vegetation by measuring levels of brightness, greenness, and wetness. For more information, see the Tasseled Cap raster function.

Weighted Overlay

Overlays several rasters using a common measurement scale and weights each according to its importance.

The Weighted Overlay function allows you to overlay several rasters using a common measurement scale and weight each according to its importance.

For more information, see the Weighted Overlay raster function.

Weighted Sum

Weights and adds an array of rasters on a cell-by-cell basis.

The Weighted Sum function allows you to overlay several rasters, multiplying each by their given weight and adding them together.

For more information, see the Weighted Sum raster function.

Wind Chill

Measures how cold it feels when wind is taken into account. For more information, see the Wind Chill raster function.

Appearance

Raster functionDescription

Contrast And Brightness

Adjusts the differences between colors and overall brightness of the image. For more information, see the Contrast And Brightness raster function.

Convolution

Filters an image, which can be used to sharpen, blur, and detect edges in an image, or other kernel-based enhancements. For more information see the Convolution raster function.

Pansharpening

Enhances the spatial resolution of a multiband image by fusing it with a higher-resolution panchromatic image. For more information, see the Pansharpening raster function.

Statistics and Histogram

Defines the descriptive statistics for a dataset or uses the distribution from another dataset. For more information, see the Statistics and Histogram raster function.

Stretch

Calculates the focal statistics for each pixel of an image based on a defined focal neighborhood. For more information, see the Stretch raster function.

Classification

Raster functionDescription

Classify

Applies the appropriate classifier and associated training data specified in the .ecd training file to a raster dataset or segmented raster. For more information, see the Classify raster function.

Linear Spectral Unmixing

Performs subpixel classification and calculates the fractional abundance of different land-cover types for individual pixels.

For more information, see the Linear Spectral Unmixing raster function.

ML Classify

Assigns pixels to a class using the maximum likelihood algorithm. For more information, see the ML Classify raster function.

Predict Using Regression

Computes a predicted raster based on raster data inputs and a regression model from the Train Random Trees Regression Model tool.

Region Grow

Grows regions from seed points. The Region Grow function categorizes neighboring pixels into groups depending on the specified radius from the seed point. The group of pixels is assigned a specific fill value. For more information, see the Region Grow raster function.

Segment Mean Shift

Groups pixels that are adjacent and have similar spectral or spatial characteristics into segments. This can be used as a second raster in the Classify function. For more information, see the Segment Mean Shift raster function and Understanding segmentation and classification.

Conversion

Raster functionDescription

Color Model Conversion

Converts the color model of an image from either the HSV (hue, saturation, and value) model to the RGB (red, green, and blue) model, or from RGB to HSV. For more information, see the Color Model Conversion raster function.

Colormap

Transforms the pixel values to display the raster data as a grayscale or a red, green, blue (RGB) image, based on a color map. For more information, see the Colormap raster function.

Colormap to RGB

Converts a single-band raster with a color map to a three-band RGB (red, green, and blue) raster. For more information, see the Colormap to RGB raster function.

Complex

Derives the magnitude from RADARSAT data so it can be displayed. For more information, see the Complex raster function.

Grayscale

Converts a multiband image into a single-band grayscale image. Specified weights can be applied to each of the input bands. For more information, see the Grayscale raster function.

Rasterize Attributes

Enriches a raster by adding bands derived from values of specified attributes from an external table or a feature service. For more information, see the Rasterize Attributes raster function.

Rasterize Features

Converts features to raster. Features are assigned pixel values based on the feature's field, such as OBJECTID. Optionally, the pixel values can be based on a user-defined value field in the input feature's attribute table. For more information, see the Rasterize Features raster function.

Spectral Conversion

Applies a matrix to a multiband image to convert a false color image to a pseudo color image. For more information, see the Spectral Conversion raster function.

Terrain To Raster

Renders multipoint data that is managed using a terrain dataset stored in a geodatabase. For more information, see the Terrain To Raster function.

Trend to RGB

Converts a trend raster to a three-band (red, green, and blue) raster. The trend raster is generated from the Generate Trend raster function or the CCDC Analysis raster function. For more information, see the Trend to RGB raster function.

Unit Conversion

Converts a unit of measurement to another. For more information, see the Unit Conversion raster function.

Vector Field

Composites two single-band rasters (each raster represents U/V or Magnitude/Direction) into a two-band raster (each band represents U/V or Magnitude/Direction). The data combination type (U-V or Magnitude-Direction) can also be converted interchangeably with this function. For more information, see the Vector Field raster function.

Correction

Raster functionDescription

Apparent Reflectance

Calibrates the digital number (DN) values of imagery from some satellite sensors. The calibration uses sun elevation, acquisition date, sensor gain, and bias for each band to derive Top of Atmosphere reflectance, as well as sun angle correction. For more information, see the Apparent Reflectance raster function.

Geometric

Orthorectifies the image based on a sensor definition and a terrain model. For more information, see the Geometric raster function.

Radar Calibration

Calibrates radar imagery so that the pixel values are a true representation of the radar backscatter. For more information, see the Radar Calibration raster function.

Sentinel-1 Radiometric Calibration

Performs various types of radiometric calibration on Sentinel-1 data. For more information, see the Sentinel-1 Radiometric Calibration raster function.

Sentinel-1 Thermal Noise Removal

Removes thermal noise from Sentinel-1 data. For more information, see the Sentinel-1 Thermal Noise Removal raster function.

Speckle

Filters the speckled radar dataset and smooths out the noise while retaining the edges or sharp features in the image. For more information, see the Speckle raster function.

Data Management

Raster functionDescription

Aggregate

Generates a reduced resolution version of a raster. For more information, see the Aggregate raster function.

Aggregate Multidimensional

Generates a multidimensional raster dataset by combining existing multidimensional raster variables along a dimension. For more information, see the Aggregate Multidimensional raster function.

Attribute Table

Uses an attribute table to symbolize a single-band raster. This is useful when you want to present imagery with specific labels and colors. If a table contains fields named red, green, and blue, values in those fields are used like a color map when rendering the image. For more information, see the Attribute Table raster function.

Boundary Clean

Smooths the boundary between zones. For more information, see the Boundary Clean raster function.

Buffered

Buffers the last accessed pixel blocks. For more information, see the Buffered raster function.

Cached Raster

Creates a preprocessed cache at the point in the function chain preceding the functions that can impede performance due to more computationally intensive processing. These demanding functions can include Convolution, Band Arithmetic, Pansharpen, Geometric, and multiple Arithmetic functions. For more information, see the Cached Raster function.

Clip

Clips a raster using a rectangular shape according to the defined extents or clips a raster to the shape of an input polygon feature class. The shape defining the clip can clip out the extent of the raster or clip out an area in the raster. For more information, see the Clip raster function.

Composite Bands

Combines multiple rasters into one multiband raster. For more information, see the Composite Bands raster function.

Constant

Creates a virtual raster with a single pixel value that can be used in raster function templates and to process a mosaic dataset. The constant value is used for every pixel value in the raster. For more information, see the Constant raster function.

Create Color Composite

Creates a three-band raster from a multiband raster dataset in which each band can use an algebraic calculation on band algebra. For more information, see the Create Color Composite raster function.

Expand

Expands specified zones of a raster by a specified number of cells.

For more information, see the Expand raster function.

Extract Bands

Reorders or extracts bands from a raster. For more information, see the Extract Bands raster function.

Geometric Median

Reduces noise and outliers in time series imagery by calculating a geometric median pixel for each pixel array across the image stack. For more information, see the Geometric Median raster function.

Interpolate Irregular Data

Resamples the irregularly gridded data so each pixel is of uniform size and is square. For more information, see the Interpolate Irregular Data raster function.

Key Metadata

Allows you to insert or override key metadata of a raster. For more information, see the Key Metadata raster function.

Mask

Creates NoData by defining a range of pixel values. Any values outside the range return as NoData. For more information, see the Mask raster function.

Merge Rasters

Combines multiple raster datasets spatially or across variables and dimensions. For more information, see the Merge Rasters raster function.

Mosaic Rasters

Combines a set of raster datasets to create one dataset. For more information, see the Mosaic Rasters function.

Multidimensional Filter

Creates a raster layer from a multidimensional raster dataset by slicing data along defined variables and dimensions. For more information, see the Multidimensional Filter raster function.

Multidimensional Raster

Adds a multidimensional dataset as a multidimensional raster layer. For more information, see the Multidimensional Raster function.

Nibble

Replaces selected raster cells with the value of their nearest neighbor. This is useful for editing areas of a raster in which the data may be erroneous.

For more information, see the Nibble raster function.

Random

Creates a virtual raster with random pixel values that can be used in a mosaic dataset. For more information, see the Random raster function.

Raster Info

Modifies properties of the raster, such as bit depth, a NoData value, cell size, extent, and so on. For more information, see the Raster Info raster function.

Recast

Dynamically modifies the function parameter used in a mosaic dataset or image service without physically persisting the changes. For more information, see the Recast raster function.

Region Group

Records, for each cell in the output, the identity of the connected region to which that cell belongs. A unique number is assigned to each region.

For more information, see the Region Group raster function.

Reproject

Modifies the projection of a raster dataset, mosaic dataset, or raster item in a mosaic dataset. It can also resample the data to a new cell size and define an origin. For more information, see the Reproject raster function.

Resample

Changes the spatial resolution of a dataset. For more information, see the Resample raster function.

Shrink

Shrinks specified zones of a raster by a specified number of cells.

For more information, see the Shrink raster function.

Swath

Interpolates from irregular grids or swath data. For more information, see the Swath raster function.

Transpose Bits

Unpacks the bits of the input pixel and maps them to specified bits in the output pixel. The purpose of this function is to manipulate bits from a couple of inputs, such as the Landsat 8 quality band products. For more information, see the Transpose Bits raster function.

Distance

Raster functionDescription

Distance Accumulation

Calculates accumulated distance for each cell to sources, allowing for straight-line distance, cost distance, true surface distance, as well as vertical and horizontal cost factors. For more information, see the Distance Accumulation raster function.

Distance Allocation

Calculates distance allocation for each cell to the provided sources based on straight-line distance, cost distance, true surface distance, as well as vertical and horizontal cost factors. For more information, see the Distance Allocation raster function.

Optimal Path As Raster

Calculates the optimal path from destinations to sources. For more information, see the Optimal Path As Raster raster function.

Least Cost Corridor

Calculates the sum of two accumulative cost distance rasters with the option to apply a threshold based on percentage or accumulative cost. For more information, see the Least Cost Corridor raster function.

Distance (Legacy)

Raster functionDescription

Corridor

Calculates the sum of accumulative costs for two input accumulative cost rasters. For more information, see the Corridor raster function.

Cost Allocation

Calculates, for each cell, its least-cost source based on the least accumulative cost over a cost surface. For more information, see the Cost Allocation raster function.

The Distance Allocation function provides enhanced functionality or performance.

Cost Back Link

Defines the neighbor that is the next cell on the least accumulative cost path to the least-cost source. For more information, see the Cost Back Link raster function.

The Distance Accumulation function provides enhanced functionality or performance.

Cost Distance

Calculates the least accumulative cost distance for each cell from or to the least-cost source over a cost surface. For more information, see the Cost Distance raster function.

The Distance Accumulation function provides enhanced functionality or performance.

Cost Path

Calculates the least-cost path from a source to a destination. For more information, see the Cost Path raster function.

The Optimal Path As Raster function provides enhanced functionality or performance.

Euclidean Allocation

Calculates, for each cell, the nearest source based on Euclidean distance. For more information, see the Euclidean Allocation raster function.

The Distance Allocation function provides enhanced functionality or performance.

Euclidean Back Direction

Calculates, for each cell, the direction, in degrees, to the neighboring cell along the shortest path back to the closest source while avoiding barriers. For more information, see the Euclidean Back Direction raster function.

The Distance Accumulation function provides enhanced functionality or performance.

Euclidean Direction

Calculates, for each cell, the direction, in degrees, to the nearest source. For more information, see the Euclidean Direction raster function.

The Distance Accumulation function provides enhanced functionality or performance.

Euclidean Distance

Calculates, for each cell, the Euclidean distance to the closest source. For more information, see the Euclidean Distance raster function.

The Distance Accumulation function provides enhanced functionality or performance.

Least Cost Path

Calculates the least-cost path from a source to a destination. The least accumulative cost distance is calculated for each cell over a cost surface, to the nearest source. This produces an output raster that records the least-cost path, or paths, from selected locations to the closest source cells defined within the accumulative cost surface, in terms of cost distance. For more information, see the Least Cost Path raster function.

The Distance Accumulation and Optimal Path As Raster functions provide enhanced functionality or performance.

Path Distance

Calculates, for each cell, the least accumulative cost distance from or to the least-cost source, while accounting for surface distance along with horizontal and vertical cost factors. For more information, see the Path Distance raster function.

The Distance Accumulation function provides enhanced functionality or performance.

Path Distance Allocation

Calculates the least-cost source for each cell based on the least accumulative cost over a cost surface, while accounting for surface distance along with horizontal and vertical cost factors. For more information, see the Path Distance Allocation raster function.

The Distance Allocation function provides enhanced functionality or performance.

Path Distance Back Link

Defines the neighbor that is the next cell on the least accumulative cost path to the least-cost source, while accounting for surface distance along with horizontal and vertical cost factors. For more information, see the Path Distance Back Link raster function.

The Distance Accumulation function provides enhanced functionality or performance.

Legacy:

The Distance (Legacy) functions are deprecated and will be removed in a future release. Consider migrating to equivalent functions, which provide enhanced functionality and performance.

Hydrology

Raster functionDescription

Fill

Fills sinks and peaks in an elevation surface raster to remove small imperfections in the data. For more information, see the Fill raster function.

Flow Accumulation

Creates a raster layer of accumulated flow into each cell. A weight factor can optionally be applied. For more information, see the Flow Accumulation raster function.

Flow Direction

Creates a raster layer of flow direction from each cell to its steepest downslope neighbor. For more information, see the Flow Direction raster function.

Flow Distance

Computes the minimum downslope horizontal or vertical distance to cells on a stream or river into which they flow. For more information, see the Flow Distance raster function.

Flow Length

Creates a raster layer of upstream or downstream distance, or weighted distance, along the flow path for each cell. For more information, see the Flow Length raster function.

Sink

Creates a raster layer identifying all sinks or areas of internal drainage. For more information, see the Sink raster function.

Snap Pour Point

Snaps pour points to the cell of highest flow accumulation within a specified distance. For more information, see the Snap Pour Point raster function.

Stream Link

Assigns unique values to sections of a raster linear network between intersections. For more information, see the Stream Link raster function.

Stream Order

Creates a raster layer that assigns a numeric order to segments of a raster representing branches of a linear network. For more information, see the Stream Order raster function.

Watershed

Determines the contributing area above a set of cells in a raster. For more information, see the Watershed raster function.

Math

Raster functionDescription

Abs

Calculates the absolute value of the pixels in a raster. For more information, see the Abs raster function.

Arithmetic

Calculates mathematical operations on overlapping rasters using the pixel values. For more information, see the Arithmetic raster function.

Band Arithmetic

Calculates indexes using predefined formulas or a user-defined expression. For more information, see the Band Arithmetic raster function.

Calculator

Computes a raster from a raster-based mathematical expression. For more information, see the Calculator raster function.

Divide

Divides the values of two rasters on a pixel-by-pixel basis. For more information, see the Divide raster function.

Exponent

Calculates the base e exponential of the pixels in a raster. For more information, see the Exp raster function.

Exp10

Calculates the base 10 exponential of the pixels in a raster. For more information, see the Exp10 raster function.

Exp2

Calculates the base 2 exponential of the pixels in a raster. For more information, see the Exp2 raster function.

Float

Converts each pixel value of a raster into a floating-point representation. For more information, see the Float raster function.

Integer

Converts each pixel value of a raster to an integer by truncation. For more information, see the Int raster function.

Ln

Calculates the natural logarithm (base e) of each pixel in a raster. For more information, see the Ln raster function.

Log10

Calculates the base 10 logarithm of each pixel in a raster. For more information, see the Log10 raster function.

Log2

Calculates the base 2 logarithm of each pixel in a raster. For more information, see the Log2 raster function.

Minus

Subtracts the value of the second input raster from the value of the first input raster on a pixel-by-pixel basis. For more information, see the Minus raster function.

Modulo

Finds the remainder (modulo) of the first raster when divided by the second raster on a pixel-by-pixel basis. For more information, see the Mod raster function.

Negate

Changes the sign (multiplies by -1) of the pixel values of the input raster on a pixel-by-pixel basis. For more information, see the Negate raster function.

Plus

Adds (sums) the values of two rasters on a pixel-by-pixel basis. For more information, see the Plus raster function.

Power

Raises the pixel values in a raster to the power of the values in another raster. For more information, see the Power raster function.

Round Down

Returns the next lower integer, as a floating-point value, for each pixel in a raster. For more information, see the Round Down raster function.

Round Up

Returns the next higher integer, as a floating-point value, for each pixel in a raster. For more information, see the Round Up raster function.

Square

Calculates the square of the pixel values in a raster. For more information, see the Square raster function.

Square Root

Calculates the square root of the pixel values in a raster. For more information, see the Square Root raster function.

Times

Multiplies the values of two rasters on a pixel-by-pixel basis. For more information, see the Times raster function.

Math: Conditional

Raster functionDescription

Con

Performs a conditional If, Then, Else operation. When a Con operator is used, there usually needs to be two or more functions chained together in which one function states the criteria and the second function is the Con operator, which uses the criteria and dictates what the true and false outputs will be. For more information, see the Con raster function.

Set Null

Sets identified cell locations to NoData based on a specified criteria. It returns NoData if a conditional evaluation is true, and returns the value specified by another raster if it is false. For more information, see the Set Null raster function.

Math: Logical

Raster functionDescription

Bitwise And

Performs a Bitwise And operation on the binary values of two input rasters.

Learn more about how Bitwise math tools work

Bitwise Left Shift

Performs a Bitwise Left Shift operation on the binary values of two input rasters.

Bitwise Not

Performs a Bitwise Not (complement) operation on the binary value of an input raster.

Bitwise Or

Performs a Bitwise Or operation on the binary values of two input rasters.

Bitwise Right Shift

Performs a Bitwise Right Shift operation on the binary values of two input rasters.

Bitwise Xor

Performs a Bitwise eXclusive Or operation on the binary values of two input rasters.

Boolean And

Performs a Boolean And operation on the pixel values of two input rasters.

If both input values are true (nonzero), the output value is 1. If one or both input values are false (zero), the output value is 0.

Learn more about how the Boolean math tools work

Boolean Not

Performs a Boolean Not (complement) operation on the pixel values of the input raster.

If the input values are true (nonzero), the output value is 0. If the input values are false (zero), the output value is 1.

Boolean Or

Performs a Boolean Or operation on the cell values of two input rasters.

If one or both input values are true (nonzero), the output value is 1. If both input values are false (zero), the output value is 0.

Boolean Xor

Performs a Boolean eXclusive Or operation on the cell values of two input rasters.

If one input value is true (nonzero) and the other value is false (zero), the output value is 1. If both input values are true or both are false, the output value is 0.

Equal To

Performs an Equal To operation on two rasters on a pixel-by-pixel basis.

Greater Than

Performs a Relational Greater Than operation on two inputs on a pixel-by-pixel basis.

A value of 1 is returned for pixels when the first raster is greater than the second raster and a value of 0 for pixels when the first raster is not greater than the second raster.

Learn more about how the Relational math tools work

Greater Than Equal

Performs a Relational Greater Than Equal operation on two inputs on a pixel-by-pixel basis.

Returns a value of 1 for pixels when the first raster is greater than or equal to the second raster and a value of 0 for pixels when the first raster is not greater than or equal to the second raster.

Is Null

Determines which values from the input raster are NoData on a pixel-by-pixel basis.

Returns a value of 1 if the input value is NoData and a value of 0 for pixels that are not NoData.

Less Than

Performs a Relational Less Than operation on two inputs on a pixel-by-pixel basis.

Returns a value of 1 for pixels where the first raster is not less than the second raster.

Less Than Equal

Performs a Relational Less Than Equal operation on two inputs on a pixel-by-pixel basis.

Returns a value of 1 for pixels when the first raster is less than or equal to the second raster and a value of 0 when it is not less than or equal to the second raster.

Not Equal

Performs a Relational Not Equal To operation on two inputs on a pixel-by-pixel basis.

Returns a value of 1 for pixels when the first raster is not equal to the second raster and a value of 0 for pixels when it is equal to the second raster.

Trigonometric

Raster functionDescription

ACos

Calculates the inverse cosine of the pixels in a raster. For more information, see the ACos raster function.

ACosH

Calculates the inverse hyperbolic cosine of the pixels in a raster. For more information, see the ACosH raster function.

ASin

Calculates the inverse sine of the pixels in a raster. For more information, see the ASin raster function.

ASinH

Calculates the inverse hyperbolic sine of the pixels in a raster. For more information, see the ASinH raster function.

ATan

Calculates the inverse tangent of the pixels in a raster. For more information, see the ATan raster function.

ATan2

Calculates the inverse tangent (based on x,y) of the pixels in a raster. For more information, see the ATan2 raster function.

ATanH

Calculates the inverse hyperbolic tangent of the pixels in a raster. For more information, see the ATanH raster function.

Cos

Calculates the cosine of the pixels in a raster. For more information, see the Cos raster function.

CosH

Calculates the hyperbolic cosine of the pixels in a raster. For more information, see the CosH raster function.

Sin

Calculates the sine of the pixels in a raster. For more information, see the Sin raster function.

SinH

Calculates the hyperbolic sine of the pixels in a raster. For more information, see the SinH raster function.

Tan

Calculates the tangent of the pixels in a raster. For more information, see the Tan raster function.

TanH

Calculates the hyperbolic tangent of the pixels in a raster. For more information, see the TanH raster function.

Math: Reclass

Raster functionDescription

Lookup

Creates a raster by looking up values in another field in the table of the input raster. For more information, see the Lookup raster function.

Remap

Groups pixel values and assigns the group a new value. For more information, see the Remap raster function.

Zonal Remap

Remaps pixels in a raster based on zones defined in another raster and zone-dependent value mapping defined in a table. For more information, see the Zonal Remap raster function.

Statistical

Raster functionDescription

ArgStatistics

Orders raster bands into an array and identifies the band that has the minimum, maximum, median, or duration of pixel values. For more information, see the ArgStatistics raster function.

Cell Statistics

Calculates statistics from multiple rasters on a pixel-by-pixel basis. For more information, see the Cell Statistics raster function.

Focal Statistics

Calculates statistics on the cells within a neighborhood around each cell of an input raster. Several shapes of neighborhood are available. For more information, see the Focal Statistics raster function.

Statistics

Defines a neighborhood and calculates the statistics within those pixels. For more information, see the Statistics raster function.

Zonal Statistics

Calculates statistics on values of a raster within the zones of another dataset. For more information, see the Zonal Statistics raster function.

Surface

Raster functionDescription

Aspect

Identifies the downslope direction of the maximum rate of change in value from each cell to its neighbors. For more information, see the Aspect raster function.

Aspect-Slope

Creates a raster layer that simultaneously displays the aspect and slope of a surface. For more information, see the Aspect-Slope raster function.

Contour

Generates contour lines by joining points with the same elevation from a raster elevation dataset. The contours are isolines created as rasters for visualization. For more information, see the Contour raster function.

Curvature

Displays the shape or curvature of the slope. A part of a surface can be concave or convex; you can tell that by looking at the curvature value. The curvature is calculated by computing the second derivative of the surface. For more information, see the Curvature raster function.

Elevation Void Fill

Creates pixels where holes exist in the elevation.

For more information, see the Elevation Void Fill raster function.

Hillshade

Produces a grayscale 3D representation of the terrain surface, with the sun's relative position taken into account for shading the image. For more information, see the Hillshade raster function.

Shaded Relief

Creates a color 3D representation of the terrain by merging the images from the elevation-coded and hillshade methods. This function uses the altitude and azimuth properties to specify the sun's position. For more information, see the Shaded Relief raster function.

Slope

Represents the rate of change of elevation for each digital elevation model (DEM) cell. It's the first derivative of a DEM. For more information, see the Slope raster function.

Surface Parameters

Determines the parameters of a surface raster such as aspect, slope, and several types of curvatures using geodesic methods. For more information, see the Surface Parameters raster function.

Viewshed

Determines the raster surface locations visible to a set of observer features using geodesic methods. For more information, see the Viewshed raster function.

Access raster analysis functions

There are several other ways to access raster analysis functions besides Map Viewer Classic.

Access from ArcGIS Pro

You can access raster analysis functions in ArcGIS Pro when signed in to your portal. See Raster analysis in Portal for details.

A number of imagery and raster functions are available in ArcGIS Pro. For details, see List of raster functions.

Access from ArcGIS REST API

In addition to the user interface clients ArcGIS Pro and Map Viewer Classic, raster analysis services are also accessible through ArcGIS REST API.

Developers can use raster function objects using the Generate Raster task to run raster analysis on a distributed server deployment. This task uses a well-defined raster function JSON object as input and performs analysis based on the function definition. You can either directly use the system's built-in raster function supported by ArcGIS REST API or create your own custom raster models.

Access from ArcGIS API for Python

ArcGIS API for Python allows you to query, visualize, analyze, and transform your spatial data using the raster analysis functions available in your organization. To learn more about the analysis capabilities of the API, see the ArcGIS API for Python documentation.

The raster analysis functions can be accessed through the arcgis.raster.functions module and arcgis.raster.functions.gbl module modules. To work with Raster Function Template, use the arcgis.raster.functions.RFT module.