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 ArrayTile's cells into new cells using the given integer function.
Combine two ArrayTile's cells into new cells using the given integer function. For every (x, y) cell coordinate, get each ArrayTile's integer value, map them to a new value, and assign it to the output's (x, y) cell.
Combine two ArrayTile's cells into new cells using the given double function.
Combine two ArrayTile's cells into new cells using the given double function. For every (x, y) cell coordinate, get each ArrayTile's double value, map them to a new value, and assign it to the output's (x, y) cell.
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 (TypeFloat, TypeDouble). 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.
Get value at given coordinates.
Get value at given coordinates.
Map each cell in the given raster to a new one, using the given function.
Map each cell in the given raster to a new one, using the given function.
Map each cell in the given raster to a new one, using the given function.
Map each cell in the given raster to a new one, using the given function.
Create a mutable copy of this tile
Create a mutable copy of this tile
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 mininum 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 mininum value
Old maximum value
New minimum value
New maximum value
Only changes the resolution
Only changes the resolution
ArrayTile based on an Array[Byte] as a bitmask; values are 0 and 1. Thus, there are 8 boolean (0 / 1) values per byte in the array. For example, Array(11, 9) corresponds to (0 0 0 0 1 0 1 1), (0 0 0 0 1 0 0 1) which means that we have 5 cells set to 1 and 11 cells set to 0.
Note that unlike the other array-based raster data objects we need to be explicitly told our size, since length=7 and length=8 will both need to allocate an Array[Byte] with length=1.