Available with Image Analyst license.
Available with Spatial Analyst license.
Overview
Subtracts the value of the second input raster from the value of the first input raster on a pixel-by-pixel basis.
Notes
The order of the inputs is important and affects the output result.
If both inputs are integer, the output will be an integer type; otherwise, it will be a floating-point type.
If both inputs are single band rasters, or one of the inputs is a constant, the output will be a single band raster.
If both inputs are multiband rasters, or one of the inputs is a constant, the output will be a multiband raster. The number of bands in each multiband input must be the same.
The function will perform the operation on each band from one input against the corresponding band from the other input. If one of the inputs is a multiband raster and the other input is a constant, the function will perform the operation against the constant value for each band in the multiband input.
Parameters
Parameter name | Description |
---|---|
Raster | The input from which to subtract the values of the second input. A constant value can be used as an input for this parameter, provided a raster is specified for the other parameter. |
Raster2 | The input values to subtract from the values of the first input. A constant value can be used as an input for this parameter, provided a raster is specified for the other parameter. |
Extent Type | Choose which extent should be used in the output raster:
|
Cellsize Type | Choose which cell size to use in the output raster. If all the input cell sizes are the same, all the options will yield the same results.
|