Raster functions

Raster analysis in ArcGIS Online includes raster analysis tools and 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.

Over 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.

Note:

This functionality is currently only supported in Map Viewer Classic (formerly known as Map Viewer). It will be available in a future release of the next-generation Map Viewer (formerly known as Map Viewer Beta).

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 API for JavaScript. For example, you can use the Generate Raster task in ArcGIS REST API to execute 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 on 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

The binary Threshold function divides your 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 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.

See the raster function CCDC Analysis raster function.

Compute Change

Computes the differences between to categorical or continuous raster datasets. For details, see Compute Change raster function.

Detect Change Using Change Analysis

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

For details, see 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 details, see the Generate Trend raster function.

Heat index

Calculates apparent temperature based on ambient temperature and relative humidity. For details, 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 details, see 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 details, see the LandTrendr Analysis raster function.

NDVI

The Normalized Difference Vegetation Index (NDVI) is a standardized index that allows you to generate an image displaying greenness (relative biomass). This index takes advantage of 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 informationrmation, see NDVI function.

NDVI Colorized

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

Predict Using Trend

Generates a forecasted layer using the output from the Generate Trend function. For details, 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 details, see the Process Raster Collection raster function.

Tasseled Cap

Provides standardized detection of man-made features, soil, and vegetation by measuring levels of brightness, greenness, and wetness. For more informationrmation, 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 details, see 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 summing them together.

For details, see the Weighted Sum raster function.

Wind chill

Wind chill is a way to measure how cold it feels when wind is taken into account. For details, see the Wind Chill raster function.

Appearance

Raster FunctionDescription

Contrast and brightness

Adjusts the differences between colors and overall brightness of the image. For details, see the Contrast and Brightness raster functions.

Convolution

Filters an image, which can be used to sharpen, blur, and detect edges within 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 details, see the Statistics and Histogram raster function.

Stretch

Calculates the focal statistics for each pixel of an image, base on a defined focal neighborhood. For details, 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 details, 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 details, see the Linear Spectral Unmixing raster function.

ML Classify

Uses the maximum likelihood algorithm to assign pixels to a class. For more informationrmation, see ML Classify raster function.

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 details, see 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. For details, 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 RGB (red, green, and blue), or from RGB to HSV. For details, see 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 details, 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 details, see the Colormap to RGB raster function.

Complex

Derives the magnitude from RADARSAT data so it can be displayed. For details, 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 details, 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 details, see Rasterize Attributes raster functions.

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 details, 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 details, see the Spectral Conversion raster function.

Terrain To Raster

Render multipoint data managed using a terrain dataset stored in a geodatabase. For details, 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 details, see the Trend to RGB raster function.

Unit conversion

Converts from one unit of measurement to another. For details, see the Unit Conversion raster function.

Vector field

Composite 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). Data combination type (U-V or Magnitude-Direction) can also be converted interchangeably with this function. For details, 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, plus sun angle correction. For details, see the Apparent Reflectance raster function.

Geometric

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

Radar calibration

Calibration is performed on radar imagery so that the pixel values are a true representation of the radar backscatter. For details, see the Radar Calibration raster function.

Sentinel-1 Radiometric Calibration

Performs different types of radiometric calibration on Sentinel-1 data. For details, see the Sentinel-1 Radiometric Calibration raster function.

Sentinel-1 Thermal Noise Removal

Removes thermal noise from Sentinel-1 data. For details, 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 details, see the Speckle raster function.

Data Management

Raster FunctionDescription

Aggregate

Generates a reduced-resolution version of a raster. For details, see the Aggregate raster function.

Aggregate Multidimensional

Generates a multidimensional raster dataset by combining existing multidimensional raster variables along a dimension. For details, 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 your table contains fields named red, green, and blue, values within those fields will be used like a color map when rendering the image. For details, see the Attribute Table raster function.

Boundary Clean

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

Buffered

Buffers the last accessed pixel blocks. See Buffered raster function for more information.

Cached Raster

The Caches Raster function cerates 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 as well as multiple Arithmetic functions. For details, see the Cached Raster function.

Clip

Clips a raster using a rectangular shape according to the extents defined 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 within the raster. For details, 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.

Expand

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

For details, see the Expand raster function.

Extract Bands

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

Interpolate irregular data

The interpolate irregular data function takes the irregularly gridded data and resamples it so each pixel is of uniform size and is square. For details, see the Interpolate irregular data raster function.

Key metadata

This function allows you to insert or override key metadata of a raster. For details, 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 details, see the Mask raster function.

Merge Rasters

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

Mosaic Rasters

Stitches a set of raster datasets together to create one dataset. For details, 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 details, see the Multidimensional Filter raster function.

Multidimensional Raster

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

Nibble

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

For details, see the Nibble raster function.

Random

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

Raster information

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

Recast

Dynamically modifies the function parameter used in a mosaic dataset or image service without physically persisting the changes. For details, 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 details, 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 details, see the Reproject raster function.

Resample

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

Shrink

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

For details, see the Shrink raster function.

Swath

Interpolates from irregular grids or swath data. For details, 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 details, see Transpose Bits raster function.

Distance

Raster FunctionDescription

Corridor

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

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 details, 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 details, see the Distance Allocation raster function.

Optimal Path As Raster

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

Distance (Legacy)

Raster FunctionDescription

Cost Allocation

Calculates, for each cell, its least-cost source based on the least accumulative cost over a cost surface. For more details, 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 details, 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 details, see 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 details, 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 details, 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 details, 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 details, 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 details, 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 details, 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 details, see 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 details, see 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 details, see Path Distance Back Link raster function.

The Distance Accumulation function provides enhanced functionality or performance.

Note:

The Legacy Distance functions allow you to access the distance analysis tools available in previous releases of ArcGIS. These functions perform analysis that accounts for either straight-line (Euclidean) or weighted distance. Distance can be weighted by a simple cost (friction) surface, or in ways that account for vertical and horizontal restrictions to movement. To take advantage of the more accurate distance calculations now available, use the Distance functions outside of the Legacy category.

Hydrology

Raster FunctionDescription

Fill

Fills sinks and peaks in an elevation surface raster to remove small imperfections in the data. For details, 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 details, see the Flow Accumulation raster function.

Flow Direction

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

Flow Distance

Computes the minimum downslope horizontal or vertical distance to cell(s) on a stream or river into which they flow. For details, 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 details, see the Flow Length raster function.

Sink

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

Snap Pour Point

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

Stream Link

Assigns unique values to sections of a raster linear network between intersections. For details, 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 details, see the Stream Order raster function.

Watershed

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

Math

Raster FunctionDescription

Absolute value

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

Arithmetic

Uses the pixel values to calculate mathematical operations on overlapping rasters. For details, see the Arithmetic raster function.

Band arithmetic

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

Calculator

Computes a raster from a raster based mathematical expression. For details, see the Calculator raster function.

Divide

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

Exponent

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

Exp10

Calculates the base 2 exponential of the pixels in a raster. For details, see the Exp10 raster function.

Exp2

Calculates the base 10 exponential of the pixels in a raster. For details, see the Exp2 raster function.

Float

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

Integer

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

Ln

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

Log10

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

Log2

Calculates the base 2 logarithm of each pixel in a raster. For details, 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 details, 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 details, 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 details, see the Negate raster function.

Plus

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

Power

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

Round Down

Returns the next lower integer, as a floating-point value, for each pixel in a raster. For details, 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 details, see the Round Up raster function.

Square

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

Square root

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

Times

Multiplies the values of two rasters on a pixel-by-pixel basis. For details, 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, where 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 should be. For details, see the Con raster function.

Set Null

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 details, 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.

Returns a value of 1 for pixels where the first raster is greater than the second raster and a value of 0 for pixels where 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-or-equal-to operation on two inputs on a pixel-by-pixel basis.

Returns a value of 1 for pixels where the first raster is greater than or equal to the second raster and a value of 0 for pixels where 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-or-equal-to operation on two inputs on a pixel-by-pixel basis.

Returns a value of 1 for pixels where the first raster is less than or equal to the second raster and a value of 0 where 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 where the first raster is not equal to the second raster and a value of 0 for pixels where it is equal to the second raster.

Trigonometric

Raster FunctionDescription

ACos

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

ACosH

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

ASin

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

ASinH

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

ATan

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

ATan2

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

ATanH

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

Cos

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

CosH

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

Sin

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

SinH

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

Tan

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

TanH

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

Math: Reclass

Raster FunctionDescription

Lookup

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

Remap

Allows you to group pixel values together and assign the group a new value. For details, see the Remap raster function.

Zonal Remap

Allows you to remap pixels in a raster based on zones defined in another raster and zone-dependent value mapping defined in a table. For details, 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 details, see the ArgStatistics raster function.

Cell statistics

Calculates statistics from multiple rasters on a pixel-by-pixel basis. The available statistics are Majority, Maximum, Mean, Median, Minimum, Minority, Range, Standard Deviation, Sum, and Variety. For details, 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 details, see the Focal Statistics raster function.

Statistics

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

Zonal statistics

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

Surface

Raster FunctionDescription

Aspect

The Aspect function identifies the downslope direction of the maximum rate of change in value from each cell to its neighbors. For details, see the Aspect raster function.

Aspect-Slope

Creates a raster layer that simultaneously displays the aspect and slope of a surface. For details, 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 details, 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 details, see the Curvature raster function.

Elevation void fill

The Elevation Void Fill function is used to create pixels where holes exist in your elevation.

For details, see the Elevation Void Fill raster function.

Hillshade

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

Shaded relief

The Shaded relief function 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 details, see the Shaded Relief raster function.

Slope

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

Viewshed

Determines the raster surface locations visible to a set of observer features using geodesic methods. For details, 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

A number of imagery and raster 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 execute 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 the arcgis.raster.functions.gbl module modules. To work with Raster Function Template use the arcgis.raster.functions.RFT module.