geotrellis.raster.op

local

package local

Content Hierarchy Learn more about scaladoc diagrams
Visibility
  1. Public
  2. All

Type Members

  1. case class AddArray(op: Op[Array[Raster]]) extends Op[Raster] with MultiLocalArray with Product with Serializable

    Add the values of each cell in each raster.

  2. case class AddConstant(r: Op[Raster], c: Op[Int]) extends Op2[Raster, Int, Raster] with Product with Serializable

    Add a constant integer value to each cell.

  3. case class AddConstant2(c: Op[Int], r: Op[Raster]) extends Op2[Int, Raster, Raster] with Product with Serializable

    Add a constant integer value to each cell.

  4. case class AddRasters(rs: Op[Raster]*) extends Op[Raster] with MultiLocal with Product with Serializable

    Add the values of each cell in each raster.

  5. case class AndConstant1(r: Op[Raster], c: Op[Int]) extends Op2[Raster, Int, Raster] with Product with Serializable

    And's an integer and raster cell values

  6. case class AndConstant2(c: Op[Int], r: Op[Raster]) extends Op2[Int, Raster, Raster] with Product with Serializable

    And's an integer and raster cell values

  7. case class AndRaster(r1: Op[Raster], r2: Op[Raster]) extends Op2[Raster, Raster, Raster] with Product with Serializable

    And's the cell values of two rasters together.

  8. case class BinaryDoCell(r1: Op[Raster], r2: Op[Raster], f: (Int, Int) ⇒ Int) extends Op[Raster] with BinaryLocal with Product with Serializable

    Perform a function on every cell in a raster with the values from another raster.

  9. case class BinaryIfCell(r1: Op[Raster], r2: Op[Raster], cond: (Int, Int) ⇒ Boolean, trueValue: Int) extends Op[Raster] with BinaryLocal with Product with Serializable

    Given a condition over two rasters, set the value of each cell in the output to a specified value if the condition is true given the corresponding values in each of the two input rasters.

  10. case class BinaryIfElseCell(r1: Op[Raster], r2: Op[Raster], cond: (Int, Int) ⇒ Boolean, trueValue: Int, falseValue: Int) extends Op[Raster] with BinaryLocal with Product with Serializable

    Given a condition over two rasters, set the value of each cell in the output to a specified true or false value after testing the specified condition on the corresponding values in each of the two input rasters.

  11. trait BinaryLocal extends Op[Raster] with LocalOperation

    BinaryLocal is an abstract class for all operations that are both local (operating on each cell in a raster without knowledge of other cells) and binary, by which we mean that the input includes two rasters (as opposed to 'unary' or 'multi').

  12. case class CeilDouble(x: Op[Double]) extends Op1[Double, Double] with Product with Serializable

    Takes the Ceiling of a Double value.

  13. case class CeilInt(x: Op[Int]) extends Op1[Int, Int] with Product with Serializable

    Takes the Ceiling of an Int value.

  14. case class CeilRaster(r: Op[Raster]) extends Op1[Raster, Raster] with Product with Serializable

    Takes the Ceiling of each raster cell value.

  15. case class DefinedConstant(c: Op[Int]) extends Op1[Int, Int] with Product with Serializable

    Maps an integer value to 1 if the cell value is not NODATA, otherwise 0.

  16. case class DefinedRaster(r: Op[Raster]) extends Op1[Raster, Raster] with Product with Serializable

    Maps an integer typed Raster to 1 if the cell value is not NODATA, otherwise 0.

  17. case class DivideConstant(r: Op[Raster], c: Op[Int]) extends Op2[Raster, Int, Raster] with Product with Serializable

    Divide each cell by a constant value.

  18. case class DivideConstantBy(c: Op[Int], r: Op[Raster]) extends Op2[Int, Raster, Raster] with Product with Serializable

    Divide each cell by a constant value.

  19. case class DivideDoubleConstant(r: Op[Raster], c: Op[Double]) extends Op2[Raster, Double, Raster] with Product with Serializable

    Divide each cell by a constant Double value.

  20. case class DivideDoubleConstantBy(c: Op[Double], r: Op[Raster]) extends Op2[Double, Raster, Raster] with Product with Serializable

    Divide each cell by a constant Double value.

  21. case class DivideRaster(r1: Op[Raster], r2: Op[Raster]) extends Op[Raster] with BinaryLocal with Product with Serializable

    Divide each value of one raster with the values from another raster.

  22. case class DoCell(r: Op[Raster], f: (Int) ⇒ Int) extends Op1[Raster, Raster] with Product with Serializable

    Perform a function on every cell in a raster.

  23. case class EqualConstant1(r: Op[Raster], c: Op[Int]) extends Op2[Raster, Int, Raster] with Product with Serializable

    Returns a Raster with data of TypeBit, where cell values equal 1 if the corresponding cell value of the input raster is equal to the input intenger, else 0.

  24. case class EqualConstant2(c: Op[Int], r: Op[Raster]) extends Op2[Int, Raster, Raster] with Product with Serializable

    Returns a Raster with data of TypeBit, where cell values equal 1 if the corresponding cell value of the input raster is equal to the input intenger, else 0.

  25. case class EqualRaster(r1: Op[Raster], r2: Op[Raster]) extends Op2[Raster, Raster, Raster] with Product with Serializable

    Returns a Raster with data of TypeBit, where cell values equal 1 if the corresponding cell values of the input rasters are equal, else 0.

  26. case class FloorDouble(x: Op[Double]) extends Op1[Double, Double] with Product with Serializable

    Gets the Floor value for an integer value.

  27. case class FloorInt(x: Op[Int]) extends Op1[Int, Int] with Product with Serializable

    Gets the Floor value for an integer value.

  28. case class FloorRaster(r: Op[Raster]) extends Op1[Raster, Raster] with Product with Serializable

    Gets the Floor value for each raster cell value.

  29. case class GreaterConstant1(r: Op[Raster], c: Op[Int]) extends Op2[Raster, Int, Raster] with Product with Serializable

    Returns a Raster with TypeBit data that has cell values of 1 if the corresponding cell value is greater than the input integer.

  30. case class GreaterConstant2(c: Op[Int], r: Op[Raster]) extends Op2[Int, Raster, Raster] with Product with Serializable

    Returns a Raster with TypeBit data that has cell values of 1 if the corresponding cell value is greater than the input integer.

  31. case class GreaterOrEqualConstant1(r: Op[Raster], c: Op[Int]) extends Op2[Raster, Int, Raster] with Product with Serializable

    Returns a raster indicating which cell values are greater than or equal to the input value.

  32. case class GreaterOrEqualConstant2(c: Op[Int], r: Op[Raster]) extends Op2[Int, Raster, Raster] with Product with Serializable

    Returns a raster indication which cell values are greater than or equal to the input value.

  33. case class GreaterOrEqualRaster(r1: Op[Raster], r2: Op[Raster]) extends Op2[Raster, Raster, Raster] with Product with Serializable

    Returns a raster indicating which cell values of the first input raster are greater than or equal to the corresponding cells of the second input raster.

  34. case class GreaterRaster(r1: Op[Raster], r2: Op[Raster]) extends Op2[Raster, Raster, Raster] with Product with Serializable

    Returns a raster indicating which cell values of the first input raster are greater than the corresponding cells of the second input raster.

  35. case class IfCell(r: Op[Raster], cond: (Int) ⇒ Boolean, trueValue: Int) extends Op1[Raster, Raster] with Product with Serializable

    Maps all cells matching cond to trueValue.

  36. case class IfElseCell(r: Op[Raster], cond: (Int) ⇒ Boolean, trueValue: Int, falseValue: Int) extends Op1[Raster, Raster] with Product with Serializable

    Set all values of output raster to one value or another based on whether a condition is true or false.

  37. case class InverseMask(r1: Op[Raster], r2: Op[Raster], readMask: Int, writeMask: Int) extends Op[Raster] with BinaryLocal with Product with Serializable

    Generate a raster with the values from the first raster, but only include cells in which the corresponding cell in the second raster is set to the "readMask" value.

  38. case class LessConstant1(r: Op[Raster], c: Op[Int]) extends Op2[Raster, Int, Raster] with Product with Serializable

    Returns a Raster with TypeBit data that has cell values of 1 if the corresponding cell value is less than the input integer.

  39. case class LessConstant2(c: Op[Int], r: Op[Raster]) extends Op2[Int, Raster, Raster] with Product with Serializable

    Returns a Raster with TypeBit data that has cell values of 1 if the corresponding cell value is less than the input integer.

  40. case class LessOrEqualConstant1(r: Op[Raster], c: Op[Int]) extends Op2[Raster, Int, Raster] with Product with Serializable

    Returns a raster indicating which cell values are less than or equal to the input value.

  41. case class LessOrEqualConstant2(c: Op[Int], r: Op[Raster]) extends Op2[Int, Raster, Raster] with Product with Serializable

    Returns a raster indication which cell values are less than or equal to the input value.

  42. case class LessOrEqualRaster(r1: Op[Raster], r2: Op[Raster]) extends Op2[Raster, Raster, Raster] with Product with Serializable

    Returns a raster indicating which cell values of the first input raster are less than or equal to the corresponding cells of the second input raster.

  43. case class LessRaster(r1: Op[Raster], r2: Op[Raster]) extends Op2[Raster, Raster, Raster] with Product with Serializable

    Returns a raster indicating which cell values of the first input raster are less than the corresponding cells of the second input raster.

  44. trait LocalOperation extends Op[Raster]

    Local operations involve each individual value in a raster without information about other values in the raster.

  45. case class LogDouble(x: Op[Double]) extends Op1[Double, Double] with Product with Serializable

    Computes the Log of a Double value.

  46. case class LogInt(x: Op[Int]) extends Op1[Int, Int] with Product with Serializable

    Computes the Log of an Int value.

  47. case class LogRaster(r: Op[Raster]) extends Op1[Raster, Raster] with Product with Serializable

    Computes the Log of Raster cell values.

  48. case class Mask(r1: Op[Raster], r2: Op[Raster], readMask: Int, writeMask: Int) extends Op[Raster] with BinaryLocal with Product with Serializable

    Generate a raster with the values from the first raster, but only include cells in which the corresponding cell in the second raster *are not* set to the "readMask" value.

  49. case class MaxConstant(r: Op[Raster], c: Op[Int]) extends Op2[Raster, Int, Raster] with Product with Serializable

    Gets the maximum value between cell values of a rasters and a constant.

  50. case class MaxConstant2(c: Op[Int], r: Op[Raster]) extends Op2[Int, Raster, Raster] with Product with Serializable

    Gets the maximum value between cell values of a rasters and a constant.

  51. case class MaxRaster(r1: Op[Raster], r2: Op[Raster]) extends Op2[Raster, Raster, Raster] with Product with Serializable

    Gets the maximum value between cell values of two rasters.

  52. case class MinConstant(r: Op[Raster], c: Op[Int]) extends Op2[Raster, Int, Raster] with Product with Serializable

    Takes a Raster and an Int, and gives a raster with each cell being the min value of the original raster and the integer.

  53. case class MinConstant2(c: Op[Int], r: Op[Raster]) extends Op2[Int, Raster, Raster] with Product with Serializable

    Takes an Int and a Raster, and gives a raster with each cell being the min value of the original raster and the integer.

  54. case class MinRaster(r1: Op[Raster], r2: Op[Raster]) extends Op2[Raster, Raster, Raster] with Product with Serializable

    Takes two Rasters and gives a raster with the min values of the two at each cell.

  55. trait MultiLocal extends Op[Raster]

  56. trait MultiLocalArray extends Op[Raster]

  57. case class MultiplyArray(op: Op[Array[Raster]]) extends Op[Raster] with MultiLocalArray with Product with Serializable

    Multiply each cell of each raster in array.

  58. case class MultiplyConstant(r: Op[Raster], c: Op[Int]) extends Op2[Raster, Int, Raster] with Product with Serializable

    Multiply each cell by a constant.

  59. case class MultiplyConstant2(c: Op[Int], r: Op[Raster]) extends Op2[Int, Raster, Raster] with Product with Serializable

    Multiply each cell by a constant.

  60. case class MultiplyDoubleConstant(r: Op[Raster], c: Op[Double]) extends Op2[Raster, Double, Raster] with Product with Serializable

    Multiply each cell by a constant (double).

  61. case class MultiplyDoubleConstant2(c: Op[Double], r: Op[Raster]) extends Op2[Raster, Double, Raster] with Product with Serializable

    Multiply each cell by a constant (double).

  62. case class MultiplyRasters(rs: Op[Raster]*) extends Op[Raster] with MultiLocal with Product with Serializable

    Multiply each cell of each raster.

  63. case class Negate(r: Op[Raster]) extends Op1[Raster, Raster] with Product with Serializable

    Negate (multiply by -1) each value in a raster.

  64. case class NotConstant(c: Op[Int]) extends Op1[Int, Int] with Product with Serializable

    Returns the bitwise negation of an Int value.

  65. case class NotRaster(r: Op[Raster]) extends Op1[Raster, Raster] with Product with Serializable

    Returns the bitwise negation of each cell value.

  66. case class OrConstant1(r: Op[Raster], c: Op[Int]) extends Op2[Raster, Int, Raster] with Product with Serializable

    Or's an integer value with each cell of the raster

  67. case class OrConstant2(c: Op[Int], r: Op[Raster]) extends Op2[Int, Raster, Raster] with Product with Serializable

    Or's an integer value with each cell of the raster

  68. case class OrRaster(r1: Op[Raster], r2: Op[Raster]) extends Op2[Raster, Raster, Raster] with Product with Serializable

    Or's the cell values of the two rasters.

  69. case class PowConstant(r: Op[Raster], c: Op[Int]) extends Op2[Raster, Int, Raster] with Product with Serializable

    Raises cell values of a Raster to an Int Power.

  70. case class PowConstantBy(c: Op[Int], r: Op[Raster]) extends Op2[Int, Raster, Raster] with Product with Serializable

    Raises an Int value to the power of each cell values.

  71. case class PowDoubleConstant(r: Op[Raster], c: Op[Double]) extends Op2[Raster, Double, Raster] with Product with Serializable

    Raises cell values of a Raster to a Double Power.

  72. case class PowDoubleConstantBy(c: Op[Double], r: Op[Raster]) extends Op2[Double, Raster, Raster] with Product with Serializable

    Raises a Double value to the power of each cell values.

  73. case class PowDoubles(x: Op[Double], y: Op[Double]) extends Op2[Double, Double, Double] with Product with Serializable

    Raises a Double to a Double Power.

  74. case class PowInts(x: Op[Int], y: Op[Int]) extends Op2[Int, Int, Int] with Product with Serializable

    Raises an Int to an Int Power.

  75. case class PowRaster(r1: Op[Raster], r2: Op[Raster]) extends Op[Raster] with BinaryLocal with Product with Serializable

    Takes the cell value of the first raster and raises it to the power determined by the cell value of the second raster.

  76. case class RoundDouble(x: Op[Double]) extends Op1[Double, Long] with Product with Serializable

  77. case class RoundRaster(r: Op[Raster]) extends Op1[Raster, Raster] with Product with Serializable

  78. case class SqrtDouble(x: Op[Double]) extends Op1[Double, Double] with Product with Serializable

    Takes the square root of a Double value.

  79. case class SqrtInt(x: Op[Int]) extends Op1[Int, Int] with Product with Serializable

    Takes the square root of an Int value.

  80. case class SqrtRaster(r: Op[Raster]) extends Op1[Raster, Raster] with Product with Serializable

    Takes the square root of each cell value of a Raster

  81. case class SubtractConstant(r: Op[Raster], c: Op[Int]) extends Op2[Raster, Int, Raster] with Product with Serializable

    Subtract a constant value from each cell.

  82. case class SubtractConstantBy(c: Op[Int], r: Op[Raster]) extends Op2[Int, Raster, Raster] with Product with Serializable

    Subtract the value of each cell from a constant.

  83. case class SubtractRaster(r1: Op[Raster], r2: Op[Raster]) extends Op[Raster] with BinaryLocal with Product with Serializable

    Subtract each value in the second raster from the corresponding value in the first raster.

  84. case class UndefinedConstant(c: Op[Int]) extends Op1[Int, Int] with Product with Serializable

    Maps an integer to 1 if NODATA, else 0.

  85. case class UndefinedRaster(r: Op[Raster]) extends Op1[Raster, Raster] with Product with Serializable

    Maps Raster cell values to 1 if they are NODATA, else 0.

  86. case class UnequalConstant1(r: Op[Raster], c: Op[Int]) extends Op2[Raster, Int, Raster] with Product with Serializable

    Determines if cell values of the Raster are not equal.

  87. case class UnequalConstant2(c: Op[Int], r: Op[Raster]) extends Op2[Int, Raster, Raster] with Product with Serializable

    Determines if cell values of the Raster are not equal.

  88. case class UnequalRaster(r1: Op[Raster], r2: Op[Raster]) extends Op2[Raster, Raster, Raster] with Product with Serializable

    Determines if corresponding cell values of the two input Rasters are not equal.

  89. case class XorConstant1(r: Op[Raster], c: Op[Int]) extends Op2[Raster, Int, Raster] with Product with Serializable

    Xor's an integer value with each cell of the raster

  90. case class XorConstant2(c: Op[Int], r: Op[Raster]) extends Op2[Int, Raster, Raster] with Product with Serializable

    Xor's an integer value with each cell of the raster

  91. case class XorRaster(r1: Op[Raster], r2: Op[Raster]) extends Op2[Raster, Raster, Raster] with Product with Serializable

    Xor's the cell values of the two rasters.

Value Members

  1. object Add

    Operation to add values.

  2. object And

    Operation for And'ing values.

  3. object Ceil

    Operation to get the ceiling of values.

  4. object Defined

    Maps values to 0 if the are NoData values, otherwise 1.

  5. object Divide

    Operation for dividing values.

  6. object Equal

    Determines if values are equal.

  7. object Floor

    Gets the Floor value for Raster cell values or constant values.

  8. object Greater

    Determines if one value is greater than another.

  9. object GreaterOrEqual

    Determines if one value is greater than or equal to another.

  10. object IfCell extends Serializable

  11. object Less

    Determines if one value is less than another.

  12. object LessOrEqual

    Determines if one value is less than or equal to another.

  13. object Log

    Computes the Log of Raster or single values.

  14. object Max

    Gets maximum values.

  15. object Min

    Takes the Min of Ints and integer typed Rasters.

  16. object Multiply

    Multiplies values of Rasters or constants.

  17. object Not

    Bitwise negation of Raster or constant values.

  18. object Or

    Or's cell values of rasters or Int values.

  19. object Pow

    Raises values to the given power.

  20. object Round

    Round values to the nearest integer.

  21. object Sqrt

    Takes the Square Root of values.

  22. object Subtract

    Subtracts values.

  23. object Undefined

    Maps an integer or Raster to 1 or 0.

  24. object Unequal

    Determines if values are not equal, and sets results as 1 if not equal, 0 otherwise.

  25. object Xor

    Xor's cell values of rasters or Int values.

Ungrouped