org.locationtech.rasterframes.functions
Compute the absolute value of each cell.
Exponential of cell values
Ten to the power of cell values
Two to the power of cell values
Exponential of cell values, less one
Return the incoming tile untouched.
Where the maskTile
does **not** contain NoData
, replace values in the source tile with NoData
Where the maskTile
does **not** equal maskValue
, replace values in the source tile with NoData
Where the maskTile
does **not** equal maskValue
, replace values in the source tile with NoData
Cellwise addition of a scalar value to a tile.
Cellwise addition between two Tiles or Tile and scalar column.
Perform an arbitrary GeoTrellis LocalTileBinaryOp
between two Tile columns.
Return the tile with its values limited to a range defined by min and max.
Return the tile with its values limited to a range defined by min and max.
Return the tile with its values limited to a range defined by min and max.
Return the tile with its values limited to a range defined by min and max.
Return a tile with zeros where the input is NoData, otherwise one
Cellwise division of a tile by a scalar value.
Cellwise division between two Tiles.
Cellwise equal to value comparison between a tile and a scalar.
Cellwise equal to value comparison between two tiles.
Extract value from specified bits of the cells' underlying binary data.
Extract value from specified bits of the cells' underlying binary data.
bitPosition
is bit to consider, working from the right. It is zero indexed.
Extract value from specified bits of the cells' underlying binary data.
Extract value from specified bits of the cells' underlying binary data.
startBit
is the first bit to consider, working from the right. It is zero indexed.
numBits
is the number of bits to take, moving further to the left.
Extract value from specified bits of the cells' underlying binary data.
Extract value from specified bits of the cells' underlying binary data.
bitPosition
is bit to consider, working from the right. It is zero indexed.
Extract value from specified bits of the cells' underlying binary data.
Extract value from specified bits of the cells' underlying binary data.
startBit
is the first bit to consider, working from the right. It is zero indexed.
numBits
is the number of bits to take moving further to the left.
Cellwise greater than value comparison between a tile and a scalar.
Cellwise greater than value comparison between two tiles.
Cellwise greater than or equal to value comparison between a tile and a scalar.
Cellwise greater than or equal to value comparison between two tiles.
Test if each cell value is in provided array
Test if each cell value is in provided array
Cellwise less than value comparison between a tile and a scalar.
Cellwise less than value comparison between two tiles.
Cellwise less than or equal to value comparison between a tile and a scalar.
Cellwise less than or equal to value comparison between a tile and a scalar.
Cellwise maximum between Tiles.
Cellwise maximum between Tiles.
Cellwise minimum between Tiles.
Cellwise minimum between Tiles.
Cellwise multiplication of a tile by a scalar value.
Cellwise multiplication between two Tiles.
Return a tile with ones where the input is NoData, otherwise zero
Cellwise subtraction of a scalar value from a tile.
Cellwise subtraction between two Tiles.
Cellwise inequality comparison between a tile and a scalar.
Cellwise inequality comparison between two tiles.
Take natural logarithm of cell values.
Take base 10 logarithm of cell values.
Natural logarithm of one plus cell values.
Take base 2 logarithm of cell values.
Where the rf_mask tile contains NODATA, replace values in the source tile with NODATA
Where the rf_mask tile contains NODATA, replace values in the source tile with NODATA
Applies a mask using bit values in the mask_tile
.
Applies a mask using bit values in the mask_tile
. Working from the right, extract the bit at bitPosition
from the maskTile
. In all locations where these are equal to the valueToMask
, the returned tile is set to NoData, else the original dataTile
cell value.
Applies a mask using bit values in the mask_tile
.
Applies a mask using bit values in the mask_tile
. Working from the right, extract the bit at bitPosition
from the maskTile
. In all locations where these are equal to the valueToMask
, the returned tile is set to NoData, else the original dataTile
cell value.
Applies a mask from blacklisted bit values in the mask_tile
.
Applies a mask from blacklisted bit values in the mask_tile
. Working from the right, the bits from start_bit
to start_bit + num_bits
are @ref:[extracted](reference.md#rf_local_extract_bits) from cell values of the mask_tile
. In all locations where these are in the mask_values
, the returned tile is set to NoData; otherwise the original tile
cell value is returned.
Applies a mask from blacklisted bit values in the mask_tile
.
Applies a mask from blacklisted bit values in the mask_tile
. Working from the right, the bits from start_bit
to start_bit + num_bits
are @ref:[extracted](reference.md#rf_local_extract_bits) from cell values of the mask_tile
. In all locations where these are in the mask_values
, the returned tile is set to NoData; otherwise the original tile
cell value is returned.
Where the maskTile
equals maskValue
, replace values in the source tile with NoData
Where the maskTile
equals maskValue
, replace values in the source tile with NoData
Where the maskTile
equals maskValue
, replace values in the source tile with NoData
Generate a tile with the values from data_tile
, but where cells in the mask_tile
are in the mask_values
list, replace the value with NODATA.
Generate a tile with the values from data_tile
, but where cells in the mask_tile
are in the mask_values
list, replace the value with NODATA.
Compute the normalized difference of two tile columns
Rescale cell values such that the minimum is zero and the maximum is one.
Rescale cell values such that the minimum is zero and the maximum is one. Other values will be linearly interpolated into the range.
The min
parameter will become the zero value and the max
parameter will become 1.
Values outside the range will be set to 0 or 1.
Rescale cell values such that the minimum is zero and the maximum is one.
Rescale cell values such that the minimum is zero and the maximum is one. Other values will be linearly interpolated into the range.
The min
parameter will become the zero value and the max
parameter will become 1.
Values outside the range will be set to 0 or 1.
Rescale cell values such that the minimum is zero and the maximum is one.
Rescale cell values such that the minimum is zero and the maximum is one. Other values will be linearly interpolated into the range. Cells with the tile-wise minimum value will become the zero value and those at the tile-wise maximum value will become 1. This can result in inconsistent values across rows in a tile column.
Round cell values to nearest integer without chaning cell type.
Square root of cell values
Standardize cell values such that the mean is zero and the standard deviation is one.
Standardize cell values such that the mean is zero and the standard deviation is one. Each tile will be standardized according to the statistics of its cell values; this can result in inconsistent values across rows in a tile column.
Standardize cell values such that the mean is zero and the standard deviation is one.
Standardize cell values such that the mean is zero and the standard deviation is one.
The mean
and stddev
are applied to all tiles in the column.
Standardize cell values such that the mean is zero and the standard deviation is one.
Standardize cell values such that the mean is zero and the standard deviation is one.
The mean
and stddev
are applied to all tiles in the column.
Return a tile with cell values chosen from x
or y
depending on condition
.
Return a tile with cell values chosen from x
or y
depending on condition
.
Operates cell-wise in a similar fashion to Spark SQL when
and otherwise
.
Functions that operate on one or ore tiles and create a new tile on a cell-by-cell basis.