Annulus neighborhood.
Defines a focal calculation as returning a Tile with BitArrayTile, and defines the Initialization.init function for setting up the tile.
Defines a focal calculation as returning a Tile with ByteArrayTile, and defines the Initialization.init function for setting up the tile.
A focal calculation that uses the Cellwise focal strategy
A circle neighborhood.
A circle neighborhood.
Radius of the circle that defines which cells inside the bounding box will be considered part of the neighborhood.
Cells who's distance from the center is exactly the radius are included in the neighborhood.
Represents a cursor that can be used to iterate over cells within a focal neighborhood.
A focal calculation that uses the Cursor focal strategy.
A mask over a cursor.
A mask over a cursor. The CursorMask helps the cursor keep track of the state of masking and unmasking of cells between moves.
Defines a focal calculation as returning a Tile with DoubleArrayTile, and defines the Initialization.init function for setting up the tile.
Defines a focal calculation as returning a Tile with FloatArrayTile, and defines the Initialization.init function for setting up the tile.
A calculation that a FocalStrategy uses to complete a focal operation.
Defines a focal calculation as returning a Tile with IntArrayTile, and defines the Initialization.init function for setting up the tile.
Kernel
Kernel
Represents a neighborhood that is represented by a tile.
A focal calculation that uses the Cursor focal strategy.
A definition of the shape and size of the neighborhood (or kernel) to be used in a focal operation.
A neighborhood that includes a column and row intersectin the focus.
A neighborhood that includes a column and row intersectin the focus.
Extent of the neighborhood. The extent is how many cells past the focus the bounding box goes. (e.g., 1 for 3x3 square)
Declares that implementers have a result
Defines a focal calculation as returning a Tile with ShortArrayTile, and defines the Initialization.init function for setting up the tile.
A square neighborhood.
A square neighborhood.
Extent of the neighborhood. The extent is how many cells past the focus the bounding box goes. (e.g., 1 for 3x3 square)
Wedge neighborhood.
Wedge neighborhood.
The radius of the wedge, in raster cell units.
The starting angle of the wedge (in degrees).
The ending angle of the wedge (in degrees).
Cells who's distance from the center is exactly the radius are included in the neighborhood.
Calculates the aspect of each cell in a raster.
Calculates the aspect of each cell in a raster.
Aspect is the direction component of a gradient vector. It is the direction in degrees of which direction the maximum change in direction is pointing. It is defined as the directional component of the gradient vector and is the direction of maximum gradient of the surface at a given point. It uses Horn's method for computing aspect.
As with slope, aspect is calculated from estimates of the partial derivatives dz / dx and dz / dy.
If Aspect operations encounters NoData in its neighborhood, that neighborhood cell well be treated as having the same elevation as the focal cell.
Aspect is computed in degrees from due north, i.e. as an azimuth in degrees not radians. The expression for aspect is:
val aspect = 270 - 360 / (2 * Pi) * atan2(`dz / dy`, - `dz / dx`)
Focal strategy that implements a more strict mechanism that informs the user what cells have been added or removed.
Focal strategy that implements a more strict mechanism that informs the user what cells have been added or removed. This strategy is more performant, but can only be used for Square or Circle neighborhoods.
Computes the convolution of a raster with a kernel.
Focal strategy which moves a Cursor across the raster, allowing a calculation to be done on each cell using the Cursor to determine what neighboring cells are inside the focus's neighborhood, what cells have been added since the last move, and what cells have been removed since the last move.
Computes the maximum value of a neighborhood for a given raster.
Computes the maximum value of a neighborhood for a given raster.
Maximum does not currently support Double raster data. If you use a Tile with a Double CellType (FloatConstantNoDataCellType, DoubleConstantNoDataCellType) the data values will be rounded to integers.
Computes the minimum value of a neighborhood for a given raster
Computes the minimum value of a neighborhood for a given raster
Min does not currently support Double raster data. If you use a Tile with a Double CellType (FloatConstantNoDataCellType, DoubleConstantNoDataCellType) the data values will be rounded to integers.
Computes the mode of a neighborhood for a given raster
Computes the mode of a neighborhood for a given raster
Mode does not currently support Double raster data. If you use a Tile with a Double CellType (FloatConstantNoDataCellType, DoubleConstantNoDataCellType) the data values will be rounded to integers.
Movements used to move a Cursor around, and to track it's movements.
Calculates global spatial autocorrelation of a raster based on the similarity to neighboring values.
Calculates global spatial autocorrelation of a raster based on the similarity to neighboring values.
The resulting statistic is such that the more positive the number, the greater the similarity of values in the raster, and the more negative the number, the more dissimilar the raster values are.
Since mean and standard deviation are based off of an Int based Histogram, those values will come from rounded values of a double typed Tile (FloatConstantNoDataCellType, DoubleConstantNoDataCellType).
,This operation requires that the whole raster be passed in; it does not work over tiles.
Calculates the slope of each cell in a raster.
Calculates the slope of each cell in a raster.
Slope is the magnitude portion of the gradient vector. It is the maximum change of elevation from a raster cell to any immediate neighbor. It uses Horn's method for computing slope.
As with aspect, slope is calculated from estimates of the partial derivatives dz / dx and dz / dy.
Slope is computed in degrees from horizontal.
If Slope operations encounters NoData in its neighborhood, that neighborhood cell well be treated as having the same elevation as the focal cell.
The expression for slope is:
val slope = atan(sqrt(pow(`dz / dy`, 2) * pow(`dz / dx`, 2)))
Computes the standard deviation of a neighborhood for a given raster.
Computes the standard deviation of a neighborhood for a given raster. Returns a raster of DoubleConstantNoDataCellType.
StandardDeviation does not currently support Double raster data inputs. If you use a Tile with a Double CellType (FloatConstantNoDataCellType, DoubleConstantNoDataCellType) the data values will be rounded to integers.
Calculates spatial autocorrelation of cells based on the similarity to neighboring values.
Calculates spatial autocorrelation of cells based on the similarity to neighboring values.
The statistic for each focus in the resulting raster is such that the more positive the number, the greater the similarity between the focus value and it's neighboring values, and the more negative the number, the more dissimilar the focus value is with it's neighboring values.
Since mean and standard deviation are based off of an Int based Histogram, those values will come from rounded values of a double typed Tile (FloatConstantNoDataCellType, DoubleConstantNoDataCellType).
,This operation requires that the whole raster be passed in; it does not work over tiles.
Annulus neighborhood.
The radius of the inner circle of the Annulus.
The radius of the outer circle of the Annulus.
Cells who's distance from the center is exactly the inner or outer radius are included in the neighborhood.