Raster to perform the operation on.
Neighborhood to use in this focal operation.
TileNeighbors that describe the neighboring tiles.
Create a new operation with a function that takes the result of this operation and returns a new operation.
Create a new operation with a function that takes the result of this operation and returns a new operation.
Create an operation that applies the function f to the result of this operation, but returns nothing.
Create an operation that applies the function f to the result of this operation, but returns nothing.
Gets a calculation to be used with this focal operation for the given raster neighborhood.
Gets a calculation to be used with this focal operation for the given raster neighborhood.
Choosing the calculation based on on the raster and neighborhood allows flexibility in what calculation to use; if some calculations are faster for some neighborhoods (e.g., using a CellwiseCalculation for Square neighborhoods and a CursorCalculation for all other neighborhoods), or if you want to change the calculation based on the raster's data type, you can do so by returning the correct FocalCalculation from this function.
Raster that the focal calculation will run against.
Neighborhood that will be used in the focal operation.
Call the given function with this operation as its argument.
Call the given function with this operation as its argument.
This is primarily useful for code readability.
http://debasishg.blogspot.com/2009/09/thrush-combinator-in-scala.html
Create a new operation that returns the result of the provided function that takes this operation's result as its argument.
Create a new operation that returns the result of the provided function that takes this operation's result as its argument.
Neighborhood to use in this focal operation.
Raster to perform the operation on.
Execute this operation and return the result.
Execute this operation and return the result.
TileNeighbors that describe the neighboring tiles.
Create a new operation with a function that takes the result of this operation and returns a new operation.
Create a new operation with a function that takes the result of this operation and returns a new operation.
Same as flatMap.
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.
Raster to perform the operation on.
Neighborhood to use in this focal operation.
TileNeighbors that describe the neighboring 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 Raster (TypeFloat,TypeDouble).
,This operation requires that the whole raster be passed in; it does not work over tiles.