Class

geotrellis.raster.io.geotiff

ByteGeoTiffTile

Related Doc: package geotiff

Permalink

class ByteGeoTiffTile extends GeoTiffTile with ByteGeoTiffSegmentCollection

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ByteGeoTiffTile
  2. ByteGeoTiffSegmentCollection
  3. GeoTiffSegmentCollection
  4. GeoTiffTile
  5. GeoTiffImageData
  6. Tile
  7. MappableTile
  8. MacroMappableTile
  9. IterableTile
  10. MacroIterableTile
  11. CellGrid
  12. Serializable
  13. Serializable
  14. AnyRef
  15. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ByteGeoTiffTile(compressedBytes: Array[Array[Byte]], decompressor: Decompressor, segmentLayout: GeoTiffSegmentLayout, compression: Compression, cellType: ByteCells with NoDataHandling)

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def asciiDraw(): String

    Permalink

    Return ascii art of this raster.

    Return ascii art of this raster.

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

    Permalink

    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
  7. def asciiDrawRange(colMin: Int, colMax: Int, rowMin: Int, rowMax: Int): String

    Permalink

    Return ascii art of a range from this raster.

    Return ascii art of a range from this raster.

    Definition Classes
    Tile
  8. val bandCount: Int

    Permalink
    Definition Classes
    GeoTiffTileGeoTiffImageData
  9. val bandType: ByteBandType.type

    Permalink
  10. val cellType: ByteCells with NoDataHandling

    Permalink
    Definition Classes
    ByteGeoTiffTileGeoTiffTileCellGrid
  11. def clone(): AnyRef

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

    Permalink
    Definition Classes
    GeoTiffTileGeoTiffImageDataCellGrid
  13. def combine(other: Tile)(f: (Int, Int) ⇒ Int): Tile

    Permalink

    Combine the given Tile with the present one using the given function.

    Combine the given Tile with the present one using the given function.

    Definition Classes
    GeoTiffTileTile
  14. def combineDouble(other: Tile)(f: (Double, Double) ⇒ Double): Tile

    Permalink

    Combine the given Tile with the present one using the given function.

    Combine the given Tile with the present one using the given function.

    Definition Classes
    GeoTiffTileTile
  15. val compressedBytes: Array[Array[Byte]]

    Permalink
  16. def convert(newCellType: CellType): Tile

    Permalink

    Converts the cell type of the tile.

    Converts the cell type of the tile.

    Definition Classes
    GeoTiffTileTile
    Note

    This will immediately iterate over the tile and allocate a new copy of data; this should be a performance consideration.

  17. lazy val createSegment: (Int) ⇒ ByteGeoTiffSegment

    Permalink
  18. val decompressor: Decompressor

    Permalink
  19. def dimensions: (Int, Int)

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

    Permalink

    Reduce the resolution of the present Tile to the given number of columns and rows.

    Reduce the resolution of the present Tile to the given number of columns and rows. A new Tile is returned.

    newCols

    The number of columns in the new Tile

    newRows

    The number of rows in the new Tile

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

    Permalink

    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.

    r2

    The tile to combine with the present one

    f

    The integer function

    g

    The double function

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

    Permalink

    Execute a function at each pixel of a Tile.

    Execute a function at each pixel of a Tile. Two functions are given: an integer version which is used if the tile is an integer-tile, and the other in the case of a floating-tile.

    f

    A function from Int to Unit

    g

    A function from Double to Unit

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

    Permalink

    Map one of the two given functions across the Tile to produce a new one.

    Map one of the two given functions across the Tile to produce a new one. One of the functions is from Int to Int, and the other from Double to Double.

    f

    A function from Int to Int

    g

    A function from Double to Double

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

    Permalink

    Conditionally map across the Tile with one of two functions, depending on whether the tile is an integer- or a floating-tile.

    Conditionally map across the Tile with one of two functions, depending on whether the tile is an integer- or a floating-tile. A pixel is mapped only if it is set.

    f

    A function from Int to Int

    g

    A function from Double to Double

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

    Permalink
    Definition Classes
    AnyRef
  26. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  27. def finalize(): Unit

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

    Permalink

    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 (FloatConstantNoDataCellType, DoubleConstantNoDataCellType). Calling findMinMax on rasters of those types will give the integer min and max of the rounded values of their cells.

  29. def findMinMaxDouble: (Double, Double)

    Permalink

    Return tuple of highest and lowest value in raster.

    Return tuple of highest and lowest value in raster.

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

    Permalink

    Execute the given function at each pixel of the present Tile.

    Execute the given function at each pixel of the present Tile.

    Definition Classes
    GeoTiffTileTile
  31. macro def foreach(f: (Int, Int, Int) ⇒ Unit): Unit

    Permalink

    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).

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

    Permalink

    Execute the given function at each pixel of the present Tile.

    Execute the given function at each pixel of the present Tile.

    Definition Classes
    GeoTiffTileTile
  33. macro def foreachDouble(f: (Int, Int, Double) ⇒ Unit): Unit

    Permalink

    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).

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

    Permalink
    Definition Classes
    GeoTiffTileMacroIterableTile
  35. def foreachIntVisitor(visitor: IntTileVisitor): Unit

    Permalink
    Definition Classes
    GeoTiffTileMacroIterableTile
  36. def get(col: Int, row: Int): Int

    Permalink

    Get value at given coordinates.

    Get value at given coordinates.

    Definition Classes
    GeoTiffTileTile
  37. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  38. def getDecompressedBytes(i: Int): Array[Byte]

    Permalink
    Definition Classes
    GeoTiffSegmentCollection
  39. def getDouble(col: Int, row: Int): Double

    Permalink

    Get value at given coordinates.

    Get value at given coordinates.

    Definition Classes
    GeoTiffTileTile
  40. def getSegment(i: Int): T

    Permalink
    Definition Classes
    GeoTiffSegmentCollection
  41. def gridBounds: GridBounds

    Permalink
    Definition Classes
    CellGrid
  42. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  43. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  44. def isNoDataTile: Boolean

    Permalink
    Definition Classes
    Tile
  45. def map(f: (Int) ⇒ Int): GeoTiffTile

    Permalink

    Map the given function across the present Tile.

    Map the given function across the present Tile. The result is another Tile.

    Definition Classes
    GeoTiffTileTile
  46. macro def map(f: (Int, Int, Int) ⇒ Int): Tile

    Permalink

    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.

    Definition Classes
    MappableTile
  47. def mapDouble(f: (Double) ⇒ Double): GeoTiffTile

    Permalink

    Map the given function across the present Tile.

    Map the given function across the present Tile. The result is another Tile.

    Definition Classes
    GeoTiffTileTile
  48. macro def mapDouble(f: (Int, Int, Double) ⇒ Double): Tile

    Permalink

    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.

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

    Permalink
    Definition Classes
    GeoTiffTileMacroMappableTile
  50. def mapIfSet(f: (Int) ⇒ Int): Tile

    Permalink

    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. The result of the mapping is returned as a tile.

    f

    A function from Int to Int

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

    Permalink

    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. The result of the mapping is returned as a tile.

    f

    A function from Double to Double

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

    Permalink
    Definition Classes
    GeoTiffTileMacroMappableTile
  53. def mutable: MutableArrayTile

    Permalink

    Create a mutable copy of this tile

    Create a mutable copy of this tile

    Definition Classes
    ByteGeoTiffTileGeoTiffTileTile
  54. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  55. val noDataValue: Option[Byte]

    Permalink
  56. def normalize(oldMin: Double, oldMax: Double, newMin: Double, newMax: Double): Tile

    Permalink

    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 minimum value

    oldMax

    Old maximum value

    newMin

    New minimum value

    newMax

    New maximum value

    Definition Classes
    Tile
  57. def normalize(oldMin: Int, oldMax: Int, newMin: Int, newMax: Int): Tile

    Permalink

    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 minimum value

    oldMax

    Old maximum value

    newMin

    New minimum value

    newMax

    New maximum value

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

    Permalink
    Definition Classes
    AnyRef
  59. final def notifyAll(): Unit

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

    Permalink

    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.

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

    Permalink

    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.

    Definition Classes
    Tile
  62. val rows: Int

    Permalink
    Definition Classes
    GeoTiffTileGeoTiffImageDataCellGrid
  63. val segmentCount: Int

    Permalink
    Definition Classes
    GeoTiffTile
  64. val segmentLayout: GeoTiffSegmentLayout

    Permalink
    Definition Classes
    GeoTiffTileGeoTiffImageData
  65. def size: Int

    Permalink
    Definition Classes
    CellGrid
  66. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink

    Return the data behind this Tile, or a copy, as an Array of integers.

    Return the data behind this Tile, or a copy, as an Array of integers.

    Definition Classes
    GeoTiffTileTile
  68. def toArrayDouble(): Array[Double]

    Permalink

    Return the data behind this Tile, or a copy, as an Array of doubles.

    Return the data behind this Tile, or a copy, as an Array of doubles.

    Definition Classes
    GeoTiffTileTile
  69. def toArrayTile(): ArrayTile

    Permalink

    Convert the present Tile to an ArrayTile.

    Convert the present Tile to an ArrayTile.

    Definition Classes
    GeoTiffTileTile
  70. def toBytes(): Array[Byte]

    Permalink

    Return the data behind this Tile, or a copy, as an Array of bytes.

    Return the data behind this Tile, or a copy, as an Array of bytes.

    Definition Classes
    GeoTiffTileTile
  71. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  72. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from GeoTiffSegmentCollection

Inherited from GeoTiffTile

Inherited from GeoTiffImageData

Inherited from Tile

Inherited from MappableTile[Tile]

Inherited from MacroMappableTile[Tile]

Inherited from IterableTile

Inherited from MacroIterableTile

Inherited from CellGrid

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped