Available with Image Server
Calculates the gradient along X, Y, XY, or a given dimension.
Notes
The Gradient function works on a single band input. Use the Extract Bands function to specify the band. If the input is multiband, the first band will be used.
For multidimensional input that contains multiple variables, all variables will be processed. If a variable does not contain the specified Gradient Dimension parameter, it will be ignored. Use the Multidimensional Filter function to select the required variables.
The Multidimensional Filter function can also be used to define the dimension range for which the function is applied.
The table below has the equations for the various gradient calculations.
Gradient type | Equation |
---|---|
Gradient X |
|
Gradient Y |
|
Gradient for a dimension |
|
Parameters
Parameter | Description |
---|---|
Raster | The input multidimensional raster. |
Gradient Dimension | The available dimensions that can be used to calculate the gradient. For non-multidimensional input, available dimensions include X, Y, and XY. For multidimensional input, available dimensions include X, Y, XY, and all dimensions available in the data. If there are two or more dimensions, the gradient will be calculated on the gradient dimension for all slices in the available dimensions. The XY option outputs a 2-band raster, where band 1 represents the gradient along the X dimension, and band 2 represents the gradient along the Y dimension. |
Denominator Unit | The unit of the gradient denominator, which depends on the selected Gradient Dimension. The following are the options for X, Y, and XY:
The following are the options for StdTime:
The following are the options for non-time dimensions:
|