Return ascii art of this raster.
Return ascii art of this raster.
Return ascii art of this raster.
Return ascii art of this raster. The single int parameter indicates the number of significant digits to be printed.
Return ascii art of a range from this raster.
Return ascii art of a range from this raster.
Combine two tiles' cells into new cells using the given integer function.
Combine two tiles' cells into new cells using the given integer function. For every (x, y) cell coordinate, get each of the tiles' integer values, map them to a new value, and assign it to the output's (x, y) cell.
The other Tile
A function from (Int, Int) to Int
The result, an Tile
Combine two tiles' cells into new cells using the given double function.
Combine two tiles' cells into new cells using the given double function. For every (x, y) cell coordinate, get each of the tiles' double values, map them to a new value, and assign it to the output's (x, y) cell.
The other Tile
A function from (Int, Int) to Int
The result, an Tile
Returns a Tile equivalent to this tile, except with cells of the given type.
Returns a Tile equivalent to this tile, except with cells of the given type.
The new Tile
Reduce the resolution of the present Tile to the given number of columns and rows.
Combine two Tiles together using one of two given functions.
Combine two Tiles together using one of two given functions. If the union of the types of the two cells is floating-point, then the floating function is used, otherwise the integer function is used.
The tile to combine with the present one
The integer function
The double function
Execute a function at each pixel of a Tile.
Map one of the two given functions across the Tile to produce a new one.
Conditionally map across the Tile with one of two functions, depending on whether the tile is an integer- or a floating-tile.
Return tuple of highest and lowest value in raster.
Return tuple of highest and lowest value in raster.
Currently does not support double valued raster data types (FloatConstantNoDataCellType, DoubleConstantNoDataCellType). Calling findMinMax on rasters of those types will give the integer min and max of the rounded values of their cells.
Return tuple of highest and lowest value in raster.
Return tuple of highest and lowest value in raster.
Execute a function on each cell of the tile.
Execute a function on each cell of the tile. The function returns Unit, so it presumably produces side-effects.
A function from Int to Unit
Execute the given function 'f' at every location in the tile.
Execute the given function 'f' at every location in the tile. The function 'f' takes the column, row, and value and returns nothing (presumably for side-effects).
Execute a function on each cell of the tile.
Execute a function on each cell of the tile. The function returns Unit, so it presumably produces side-effects.
A function from Double to Unit
Execute the given function 'f' at every location in the tile.
Execute the given function 'f' at every location in the tile. The function 'f' takes the column, row, and value, the last one as a double, and returns nothing (presumably for side-effects).
Execute an DoubleTileVisitor at each cell of the present tile.
Execute an DoubleTileVisitor at each cell of the present tile.
An DoubleTileVisitor
Execute an IntTileVisitor at each cell of the present tile.
Execute an IntTileVisitor at each cell of the present tile.
An IntTileVisitor
Fetch the datum at the given column and row of the tile.
Fetch the datum at the given column and row of the tile.
The column
The row
The Int datum found at the given location
Fetch the datum at the given column and row of the tile.
Fetch the datum at the given column and row of the tile.
The column
The row
The Double datum found at the given location
Map each cell in the given tile to a new one, using the given function.
Map each cell in the given tile to a new one, using the given function.
A function from Int to Int, executed at each point of the tile
The result, a Tile
Map over the tiles using a function which accepts the column, row, and value at that position and returns an integer.
Map over the tiles using a function which accepts the column, row, and value at that position and returns an integer.
Map each cell in the given tile to a new one, using the given function.
Map each cell in the given tile to a new one, using the given function.
A function from Double to Double, executed at each point of the tile
The result, a Tile
Map over the tiles using a function which accepts the column, row, and value at that position and returns a double.
Map over the tiles using a function which accepts the column, row, and value at that position and returns a double.
Map an DoubleTileMapper over the present tile.
Map an DoubleTileMapper over the present tile.
The mapper
The result, a Tile
Conditionally execute (or don't) the given function at each pixel of a Tile, depending on whether that pixel is NODATA or not.
Conditionally execute (or don't) the given function at each pixel of a Tile, depending on whether that pixel is NODATA or not.
Map an IntTileMapper over the present tile.
Map an IntTileMapper over the present tile.
The mapper
The result, a Tile
Return the MutableArrayTile equivalent of this tile.
Return the MutableArrayTile equivalent of this tile.
The MutableArrayTile
Normalizes the values of this raster, given the current min and max, to a new min and max.
Normalizes the values of this raster, given the current min and max, to a new min and max.
Old minimum value
Old maximum value
New minimum value
New maximum value
Normalizes the values of this raster, given the current min and max, to a new min and max.
Normalizes the values of this raster, given the current min and max, to a new min and max.
Old minimum value
Old maximum value
New minimum value
New maximum value
Rescale the values in this Tile so that they are between the two given values.
Rescale the values in this Tile so that they are between the two given values.
Return the data behind this tile as an array of integers.
Return the data behind this tile as an array of integers.
The copy as an Array[Int]
Return the data behind this tile as an array of doubles.
Return the data behind this tile as an array of doubles.
The copy as an Array[Int]
Another name for the 'mutable' method on this class.
Another name for the 'mutable' method on this class.
Return the underlying data behind this tile as an array.
Return the underlying data behind this tile as an array.
An array of bytes
The DoubleConstantTile type.