o

geotrellis.raster.mapalgebra.focal

ScalarMoransICalculation

object ScalarMoransICalculation

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

The resulting statistic is such that the more positive the number, the greater the similarity of values in the raster, and the more negative the number, the more dissimilar the raster values are.

Note

This operation requires that the whole raster be passed in; it does not work over tiles.

,

Since mean and standard deviation are based off of an Int based Histogram, those values will come from rounded values of a double typed Tile (FloatConstantNoDataCellType, DoubleConstantNoDataCellType).

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalarMoransICalculation
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def apply(tile: Tile, n: Neighborhood, bounds: Option[GridBounds[Int]]): Double