geotrellis.raster.op

focal

package focal

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

Type Members

  1. case class AnalysisArea(colMin: Int, rowMin: Int, colMax: Int, rowMax: Int, rasterExtent: RasterExtent) extends Product with Serializable

  2. case class Annulus(innerRadius: Double, outerRadius: Double) extends Neighborhood with Product with Serializable

    Annulus neighborhood.

  3. case class Aspect(r: Op[Raster]) extends FocalOp[Raster] with HasAnalysisArea[Aspect] with Product with Serializable

    Calculates the aspect of each cell in a raster.

  4. case class AutomaticRescale(r: Op[Raster], g: Op[(Int, Int)]) extends Op2[Raster, (Int, Int), Raster] with Product with Serializable

    Normalize the values in the given raster so that all values are within the specified minimum and maximum value range.

  5. trait BitRasterDataResult extends Initialization with Resulting[Raster]

    Defines a focal calculation as returning a Raster with BitArrayRasterData, and defines the Initialization.

  6. trait ByteRasterDataResult extends Initialization with Resulting[Raster]

    Defines a focal calculation as returning a Raster with ByteArrayRasterData, and defines the Initialization.

  7. trait CellSet extends AnyRef

    A lighweight wrapper around performing foreach calculations on a set of cell coordinates

  8. trait CellwiseCalculation[T] extends FocalCalculation[T]

    A focal calculation that uses the Cellwise focal strategy

  9. case class CellwiseMeanCalc() extends CellwiseCalculation[Raster] with DoubleRasterDataResult with Product with Serializable

  10. class CellwiseMedianCalc extends CellwiseCalculation[Raster] with IntRasterDataResult with MedianModeCalculation

  11. class CellwiseModeCalc extends CellwiseCalculation[Raster] with IntRasterDataResult with MedianModeCalculation

  12. class CellwiseSumCalc extends CellwiseCalculation[Raster] with IntRasterDataResult

  13. case class Circle(radius: Double) extends Neighborhood with Product with Serializable

    A circle neighborhood.

  14. case class Convolve(r: Op[Raster], k: Op[Kernel]) extends FocalOp[Raster] with Product with Serializable

    Computes the convolution of two rasters.

  15. class ConvolveCalculation extends FocalCalculation[Raster] with Convolver

  16. trait Convolver extends IntRasterDataResult

    Supplies functionaltiy to operations that do convolution.

  17. case class Conway(r: Op[Raster]) extends FocalOp[Raster] with Product with Serializable

    Computes the next step of Conway's Game of Life for a given Raster.

  18. final case class CostDistance(costOp: Op[Raster], pointsOp: Op[Seq[(Int, Int)]]) extends Op[Raster] with Product with Serializable

    Generate a Cost-Distance raster based on a set of starting points and a cost raster

  19. case class CreateCircleRaster(size: Op[Int], cellWidth: Op[Double], rad: Op[Int]) extends Op3[Int, Double, Int, Raster] with Product with Serializable

    Creates a Circle raster.

  20. case class CreateGaussianRaster(size: Op[Int], cellWidth: Op[Double], sigma: Op[Double], amp: Op[Double]) extends Op4[Int, Double, Double, Double, Raster] with Product with Serializable

    Creates a Gaussian raster.

  21. class Cursor extends AnyRef

    Represents a cursor that can be used to iterate over cells within a focal neighborhood.

  22. trait CursorCalculation[T] extends FocalCalculation[T]

    A focal calculation that uses the Cursor focal strategy.

  23. class CursorMask extends AnyRef

    A mask over a cursor.

  24. case class CursorMeanCalc() extends CursorCalculation[Raster] with DoubleRasterDataResult with Product with Serializable

  25. class CursorMedianCalc extends CursorCalculation[Raster] with IntRasterDataResult with MedianModeCalculation

  26. class CursorModeCalc extends CursorCalculation[Raster] with IntRasterDataResult with MedianModeCalculation

  27. class CursorSumCalc extends CursorCalculation[Raster] with IntRasterDataResult

  28. case class DirectHillshade(r: Op[Raster], azimuth: Op[Double], altitude: Op[Double], zFactor: Op[Double]) extends FocalOp3[Double, Double, Double, Raster] with HasAnalysisArea[DirectHillshade] with Product with Serializable

    Direct calculation of hill shading of a raster.

  29. trait DoubleRasterDataResult extends Initialization with Resulting[Raster]

    Defines a focal calculation as returning a Raster with DoubleArrayRasterData, and defines the Initialization.

  30. trait FloatRasterDataResult extends Initialization with Resulting[Raster]

    Defines a focal calculation as returning a Raster with FloatArrayRasterData, and defines the Initialization.

  31. trait FocalCalculation[T] extends Resulting[T]

    A calculation that a FocalStrategy uses to complete a focal operation.

  32. class FocalOp[T] extends FocalOperation[T]

    Focal Operation that takes a raster and a neighborhood.

  33. class FocalOp1[A, T] extends FocalOperation1[A, T]

    Focal Operation that takes a raster, a neighborhood, and one other argument.

  34. class FocalOp2[A, B, T] extends FocalOperation2[A, B, T]

    Focal Operation that takes a raster, a neighborhood, and two other arguments.

  35. class FocalOp3[A, B, C, T] extends FocalOperation3[A, B, C, T]

    Focal Operation that takes a raster, a neighborhood, and three other arguments.

  36. class FocalOp4[A, B, C, D, T] extends FocalOperation4[A, B, C, D, T]

    Focal Operation that takes a raster, a neighborhood, and four other arguments.

  37. abstract class FocalOperation[T] extends Operation[T] with FocalOperationBase

    Base class for a focal operation that takes a raster and a neighborhood.

  38. abstract class FocalOperation1[A, T] extends Operation[T] with FocalOperationBase

    Base class for a focal operation that takes a raster, a neighborhood, and one other argument.

  39. abstract class FocalOperation2[A, B, T] extends Operation[T] with FocalOperationBase

    Base class for a focal operation that takes a raster, a neighborhood, and two other argument.

  40. abstract class FocalOperation3[A, B, C, T] extends Operation[T] with FocalOperationBase

    Base class for a focal operation that takes a raster, a neighborhood, and three other argument.

  41. abstract class FocalOperation4[A, B, C, D, T] extends Operation[T] with FocalOperationBase

    Base class for a focal operation that takes a raster, a neighborhood, and four other argument.

  42. trait FocalOperationBase extends AnyRef

  43. trait HasAnalysisArea[SELF <: FocalOperationBase] extends Cloneable

  44. case class IndirectHillshade(aspect: Aspect, slope: Slope, azimuth: Op[Double], altitude: Op[Double]) extends Operation[Raster] with Product with Serializable

    Indirect calculation of hill shading of a raster that uses Aspect and Slope operation results.

  45. trait Initialization extends AnyRef

    Trait defining the ability to initialize the focal calculation with a raster.

  46. trait Initialization1[A] extends AnyRef

    Trait defining the ability to initialize the focal calculation with a raster and one other parameter.

  47. trait Initialization2[A, B] extends AnyRef

    Trait defining the ability to initialize the focal calculation with a raster and two other parameters.

  48. trait Initialization3[A, B, C] extends AnyRef

    Trait defining the ability to initialize the focal calculation with a raster and three other parameters.

  49. trait Initialization4[A, B, C, D] extends AnyRef

    Trait defining the ability to initialize the focal calculation with a raster and four other parameters.

  50. trait IntRasterDataResult extends Initialization with Resulting[Raster]

    Defines a focal calculation as returning a Raster with IntArrayRasterData, and defines the Initialization.

  51. case class Kernel(raster: Raster) extends Neighborhood with Product with Serializable

    Kernel

  52. case class KernelDensity[D](points: Op[Seq[Point[D]]], transform: Op[(D) ⇒ Int], kernel: Op[Kernel], rasterExtent: Op[RasterExtent]) extends Op4[Seq[Point[D]], (D) ⇒ Int, Kernel, RasterExtent, Raster] with Product with Serializable

    Computes a Density raster based on the Kernel and set of points provided.

  53. case class Max(r: Op[Raster], n: Op[Neighborhood]) extends FocalOp[Raster] with HasAnalysisArea[Max] with Product with Serializable

    Computes the maximum value of a neighborhood for a given raster.

  54. case class Mean(r: Op[Raster], n: Op[Neighborhood]) extends FocalOp[Raster] with HasAnalysisArea[Mean] with Product with Serializable

    Computes the mean value of a neighborhood for a given raster.

  55. case class Median(r: Op[Raster], n: Op[Neighborhood]) extends FocalOp[Raster] with HasAnalysisArea[Median] with Product with Serializable

    Computes the median value of a neighborhood for a given raster

  56. trait MedianModeCalculation extends AnyRef

  57. case class Min(r: Op[Raster], n: Op[Neighborhood]) extends FocalOp[Raster] with HasAnalysisArea[Min] with Product with Serializable

    Computes the minimum value of a neighborhood for a given raster

  58. case class Mode(r: Op[Raster], n: Op[Neighborhood]) extends FocalOp[Raster] with HasAnalysisArea[Mode] with Product with Serializable

    Computes the mode of a neighborhood for a given raster

  59. sealed trait Movement extends AnyRef

  60. trait Neighborhood extends AnyRef

    A definition of the shape and size of the neighborhood (or kernel) to be used in a focal operation.

  61. case class Nesw(extent: Int) extends Neighborhood with Product with Serializable

    A neighborhood that includes a column and row intersectin the focus.

  62. case class PrecomputedRescale(r: Op[Raster], c: Op[(Int, Int)], g: Op[(Int, Int)]) extends Op3[Raster, (Int, Int), (Int, Int), Raster] with Product with Serializable

    Normalize the values in the given raster.

  63. case class RasterMoransI(r: Op[Raster], n: Op[Neighborhood]) extends FocalOp[Raster] with Product with Serializable

    Calculates spatial autocorrelation of cells based on the similarity to neighboring values.

  64. trait Resulting[T] extends AnyRef

    Declares that implementers have a result

  65. case class ScalarMoransI(r: Op[Raster], n: Op[Neighborhood]) extends FocalOp[Double] with Product with Serializable

    Calculates global spatial autocorrelation of a raster based on the similarity to neighboring values.

  66. trait ShortRasterDataResult extends Initialization with Resulting[Raster]

    Defines a focal calculation as returning a Raster with ShortArrayRasterData, and defines the Initialization.

  67. class Slope extends FocalOp1[Double, Raster] with HasAnalysisArea[Slope]

    Calculates the slope of each cell in a raster.

  68. case class Square(extent: Int) extends Neighborhood with Product with Serializable

    A square neighborhood.

  69. case class StandardDeviation(r: Op[Raster], n: Op[Neighborhood]) extends FocalOp[Raster] with HasAnalysisArea[StandardDeviation] with Product with Serializable

    Computes the standard deviation of a neighborhood for a given raster.

  70. case class Sum(r: Op[Raster], n: Op[Neighborhood]) extends FocalOp[Raster] with HasAnalysisArea[Sum] with Product with Serializable

    Computes the sum of values of a neighborhood for a given raster

  71. class SurfacePoint extends AnyRef

    A representation of the approximated partial derivatives of a raster cell, and the slope and aspect that can be calculated from those values.

  72. trait SurfacePointCalculation[T] extends FocalCalculation[T]

    Calculation used for surface point calculations such as Slope, Aspect, and Hillshade

  73. case class TileFocalOp[T <: Op[Raster] with FocalOperationBase with HasAnalysisArea[T]](r: Op[Raster], zonalOp: (Op[Raster]) ⇒ T) extends Op[Raster] with Product with Serializable

    Used to make an operation based off a focal operation that will parallelize correctly with tiled raster data.

  74. sealed trait TraversalStrategy extends AnyRef

  75. case class Wedge(radius: Double, startAngle: Double, endAngle: Double) extends Neighborhood with Product with Serializable

    Wedge neighborhood.

Value Members

  1. object Angles

  2. object CellwiseStrategy

    Focal strategy that implements a more strict mechanism that informs the user what cells have been added or removed.

  3. object Cursor

  4. object CursorStrategy

    Focal strategy which moves a Cursor across the raster, allowing a calculation to be done on each cell using the Cursor to determine what neighboring cells are inside the focus's neighborhood, what cells have been added since the last move, and what cells have been removed since the last move.

  5. object FocalOperation

  6. object Hillshade

    Computes Hillshade (shaded relief) from a raster.

  7. object Kernel extends Serializable

  8. object Movement

    Movements used to move a Cursor around, and to track it's movements.

  9. object Normalize

    We'd like to use the normalize name both when we want to automatically detect the min/max values, and when we provide them explicitly.

  10. object Rescale

    Rescale a raster when we want to automatically detect the min/max values, and when we provide them explicitly.

  11. object Slope

    Creates Slope instances.

  12. object TileFocalOp extends Serializable

  13. object TraversalStrategy

Ungrouped