geotrellis.raster

ByteArrayTile

final case class ByteArrayTile(array: Array[Byte], cols: Int, rows: Int) extends MutableArrayTile with IntBasedArrayTile with Product with Serializable

ArrayTile based on Array[Byte] (each cell as a Byte).

Linear Supertypes
Product, Equals, IntBasedArrayTile, MutableArrayTile, ArrayTile, Serializable, Serializable, Tile, MappableTile[Tile], MacroMappableTile[Tile], IterableTile, MacroIterableTile, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ByteArrayTile
  2. Product
  3. Equals
  4. IntBasedArrayTile
  5. MutableArrayTile
  6. ArrayTile
  7. Serializable
  8. Serializable
  9. Tile
  10. MappableTile
  11. MacroMappableTile
  12. IterableTile
  13. MacroIterableTile
  14. AnyRef
  15. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ByteArrayTile(array: Array[Byte], cols: Int, rows: Int)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def apply(i: Int): <error>

    Definition Classes
    ByteArrayTileIntBasedArrayTileArrayTile
  7. def applyDouble(i: Int): Double

    Definition Classes
    IntBasedArrayTile
  8. val array: Array[Byte]

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def asciiDraw(): String

    Return ascii art of this raster.

    Return ascii art of this raster.

    Definition Classes
    Tile
  11. def asciiDrawDouble(significantDigits: Int = Int.MaxValue): String

    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.

    Definition Classes
    Tile
  12. def asciiDrawRange(colMin: Int, colMax: Int, rowMin: Int, rowMax: Int): String

    Return ascii art of a range from this raster.

    Return ascii art of a range from this raster.

    Definition Classes
    Tile
  13. val cellType: TypeByte.type

    Definition Classes
    ByteArrayTileTile
  14. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. val cols: Int

    Definition Classes
    ByteArrayTileTile
  16. def combine(other: Tile)(f: (Int, Int) ⇒ Int): Tile

    Definition Classes
    ArrayTileTile
  17. def combine(other: ArrayTile)(f: (Int, Int) ⇒ Int): ArrayTile

    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.

    Definition Classes
    ArrayTile
  18. def combineDouble(other: Tile)(f: (Double, Double) ⇒ Double): Tile

    Definition Classes
    ArrayTileTile
  19. def combineDouble(other: ArrayTile)(f: (Double, Double) ⇒ Double): ArrayTile

    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.

    Definition Classes
    ArrayTile
  20. def convert(cellType: CellType): Tile

    Definition Classes
    ArrayTileTile
  21. def copy: ByteArrayTile

    Definition Classes
    ByteArrayTileArrayTile
  22. def crop(srcExtent: Extent, extent: Extent): Tile

    Definition Classes
    Tile
  23. def crop(gb: GridBounds): Tile

    Definition Classes
    Tile
  24. def crop(colMin: Int, rowMin: Int, colMax: Int, rowMax: Int): Tile

    Definition Classes
    Tile
  25. def crop(cols: Int, rows: Int): Tile

    Definition Classes
    Tile
  26. lazy val dimensions: (Int, Int)

    Definition Classes
    Tile
  27. def downsample(newCols: Int, newRows: Int)(f: (CellSet) ⇒ Int): Tile

    Definition Classes
    Tile
  28. def dualCombine(r2: Tile)(f: (Int, Int) ⇒ Int)(g: (Double, Double) ⇒ Double): Tile

    Definition Classes
    Tile
  29. def dualForeach(f: (Int) ⇒ Unit)(g: (Double) ⇒ Unit): Unit

    Definition Classes
    Tile
  30. def dualMap(f: (Int) ⇒ Int)(g: (Double) ⇒ Double): Tile

    Definition Classes
    Tile
  31. def dualMapIfSet(f: (Int) ⇒ Int)(g: (Double) ⇒ Double): Tile

    Definition Classes
    Tile
  32. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  33. def equals(other: Any): Boolean

    Definition Classes
    ArrayTile → AnyRef → Any
  34. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  35. def findMinMax: (Int, Int)

    Return tuple of highest and lowest value in raster.

    Return tuple of highest and lowest value in raster.

    Definition Classes
    Tile
    Note

    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.

  36. def findMinMaxDouble: (Double, Double)

    Return tuple of highest and lowest value in raster.

    Return tuple of highest and lowest value in raster.

    Definition Classes
    Tile
  37. def foreach(f: (Int) ⇒ Unit): Unit

    Definition Classes
    ArrayTileTile
  38. def foreach(f: (Int, Int, Int) ⇒ Unit): Unit

    Definition Classes
    IterableTile
  39. def foreachDouble(f: (Double) ⇒ Unit): Unit

    Definition Classes
    ArrayTileTile
  40. def foreachDouble(f: (Int, Int, Double) ⇒ Unit): Unit

    Definition Classes
    IterableTile
  41. def foreachDoubleVisitor(visitor: DoubleTileVisitor): Unit

    Definition Classes
    ArrayTileMacroIterableTile
  42. def foreachIntVisitor(visitor: IntTileVisitor): Unit

    Definition Classes
    ArrayTileMacroIterableTile
  43. def get(col: Int, row: Int): Int

    Get value at given coordinates.

    Get value at given coordinates.

    Definition Classes
    ArrayTileTile
  44. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  45. def getDouble(col: Int, row: Int): Double

    Get value at given coordinates.

    Get value at given coordinates.

    Definition Classes
    ArrayTileTile
  46. val gridBounds: GridBounds

    Definition Classes
    Tile
  47. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  48. def map(f: (Int) ⇒ Int): Tile

    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.

    Definition Classes
    ArrayTileTile
  49. def map(f: (Int, Int, Int) ⇒ Int): Tile

    Definition Classes
    MappableTile
  50. def mapDouble(f: (Double) ⇒ Double): Tile

    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.

    Definition Classes
    ArrayTileTile
  51. def mapDouble(f: (Int, Int, Double) ⇒ Double): Tile

    Definition Classes
    MappableTile
  52. def mapDoubleMapper(mapper: DoubleTileMapper): Tile

    Definition Classes
    ArrayTileMacroMappableTile
  53. def mapIfSet(f: (Int) ⇒ Int): Tile

    Definition Classes
    Tile
  54. def mapIfSetDouble(f: (Double) ⇒ Double): Tile

    Definition Classes
    Tile
  55. def mapIntMapper(mapper: IntTileMapper): Tile

    Definition Classes
    ArrayTileMacroMappableTile
  56. def mutable: MutableArrayTile

    Create a mutable copy of this tile

    Create a mutable copy of this tile

    Definition Classes
    MutableArrayTileTile
  57. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  58. def normalize(oldMin: Double, oldMax: Double, newMin: Double, newMax: Double): 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.

    oldMin

    Old mininum value

    oldMax

    Old maximum value

    newMin

    New minimum value

    newMax

    New maximum value

    Definition Classes
    Tile
  59. def normalize(oldMin: Int, oldMax: Int, newMin: Int, newMax: Int): 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.

    oldMin

    Old mininum value

    oldMax

    Old maximum value

    newMin

    New minimum value

    newMax

    New maximum value

    Definition Classes
    Tile
  60. final def notify(): Unit

    Definition Classes
    AnyRef
  61. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  62. def rescale(newMin: Double, newMax: Double): Tile

    Definition Classes
    Tile
  63. def rescale(newMin: Int, newMax: Int): Tile

    Definition Classes
    Tile
  64. val rows: Int

    Definition Classes
    ByteArrayTileTile
  65. def set(col: Int, row: Int, value: Int): Unit

    Definition Classes
    MutableArrayTile
  66. def setDouble(col: Int, row: Int, value: Double): Unit

    Definition Classes
    MutableArrayTile
  67. lazy val size: Int

    Definition Classes
    Tile
  68. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  69. def toArray(): Array[Int]

    Definition Classes
    ArrayTileTile
  70. def toArrayDouble(): Array[Double]

    Definition Classes
    ArrayTileTile
  71. def toArrayTile(): ArrayTile

    Definition Classes
    ArrayTileTile
  72. def toBytes(): Array[Byte]

    Definition Classes
    ByteArrayTileArrayTileTile
  73. def toList: List[Int]

    Definition Classes
    ArrayTile
  74. def toListDouble: List[Double]

    Definition Classes
    ArrayTile
  75. def update(i: Int, z: Int): Unit

  76. def updateDouble(i: Int, z: Double): Unit

    Definition Classes
    IntBasedArrayTile
  77. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  78. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  79. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Product

Inherited from Equals

Inherited from IntBasedArrayTile

Inherited from MutableArrayTile

Inherited from ArrayTile

Inherited from Serializable

Inherited from Serializable

Inherited from Tile

Inherited from MappableTile[Tile]

Inherited from MacroMappableTile[Tile]

Inherited from IterableTile

Inherited from MacroIterableTile

Inherited from AnyRef

Inherited from Any

Ungrouped