|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Grid2DSquareCellDouble in uk.ac.leeds.ccg.andyt.grids.core |
---|
Methods in uk.ac.leeds.ccg.andyt.grids.core that return Grid2DSquareCellDouble | |
---|---|
Grid2DSquareCellDouble |
Grid2DSquareCellDoubleFactory.createGrid2DSquareCellDouble(java.io.File gridFile)
Returns a new Grid2DSquareCellDouble with values obtained from gridFile. |
Grid2DSquareCellDouble |
Grid2DSquareCellDoubleFactory.createGrid2DSquareCellDouble(java.io.File directory,
java.io.File gridFile,
Grid2DSquareCellDoubleChunkAbstractFactory grid2DSquareCellDoubleChunkFactory,
int chunkNrows,
int chunkNcols,
long startRowIndex,
long startColIndex,
long endRowIndex,
long endColIndex,
double noDataValue)
Returns a new Grid2DSquareCellDouble with values obtained from gridFile. |
Grid2DSquareCellDouble |
Grid2DSquareCellDoubleFactory.createGrid2DSquareCellDouble(java.io.File directory,
java.io.File gridFile,
Grid2DSquareCellDoubleChunkAbstractFactory grid2DSquareCellDoubleChunkFactory,
long startRowIndex,
long startColIndex,
long endRowIndex,
long endColIndex,
double noDataValue)
Returns a new Grid2DSquareCellDouble with values obtained from gridFile. |
Grid2DSquareCellDouble |
Grid2DSquareCellDoubleFactory.createGrid2DSquareCellDouble(java.io.File directory,
java.io.File gridFile,
long startRowIndex,
long startColIndex,
long endRowIndex,
long endColIndex,
double noDataValue)
Returns a new Grid2DSquareCellDouble with values obtained from gridFile. |
Grid2DSquareCellDouble |
Grid2DSquareCellDoubleFactory.createGrid2DSquareCellDouble(java.io.File directory,
java.io.File gridFile,
java.io.ObjectInputStream ois)
|
Grid2DSquareCellDouble |
Grid2DSquareCellDoubleFactory.createGrid2DSquareCellDouble(java.io.File directory,
Grid2DSquareCellAbstract grid2DSquareCell,
Grid2DSquareCellDoubleChunkAbstractFactory grid2DSquareCellDoubleChunkFactory,
int chunkNrows,
int chunkNcols,
long startRowIndex,
long startColIndex,
long endRowIndex,
long endColIndex,
double noDataValue)
Returns a new Grid2DSquareCellDouble with all values taken from grid2DSquareCell. |
Grid2DSquareCellDouble |
Grid2DSquareCellDoubleFactory.createGrid2DSquareCellDouble(java.io.File directory,
Grid2DSquareCellAbstract grid2DSquareCell,
long startRowIndex,
long startColIndex,
long endRowIndex,
long endColIndex)
Returns a new Grid2DSquareCellDouble with all values taken from grid2DSquareCell. |
Grid2DSquareCellDouble |
Grid2DSquareCellDoubleFactory.createGrid2DSquareCellDouble(java.io.File directory,
Grid2DSquareCellDoubleChunkAbstractFactory grid2DSquareCellDoubleChunkFactory,
int chunkNrows,
int chunkNcols,
long nrows,
long ncols,
java.math.BigDecimal[] dimensions,
double noDataValue)
Returns a new Grid2DSquareCellDouble grid with all values as noDataValues. |
Grid2DSquareCellDouble |
Grid2DSquareCellDoubleFactory.createGrid2DSquareCellDouble(java.io.File directory,
int chunkNrows,
int chunkNcols,
long nrows,
long ncols,
java.math.BigDecimal[] dimensions,
double noDataValue)
Returns a new Grid2DSquareCellDouble grid with all values as noDataValues. |
Grid2DSquareCellDouble |
Grid2DSquareCellDoubleFactory.createGrid2DSquareCellDouble(Grid2DSquareCellAbstract grid2DSquareCell)
Returns a new Grid2DSquareCellDouble with all values taken from grid2DSquareCell. |
Grid2DSquareCellDouble |
Grid2DSquareCellDoubleFactory.createGrid2DSquareCellDouble(Grid2DSquareCellAbstract grid2DSquareCell,
long startRowIndex,
long startColIndex,
long endRowIndex,
long endColIndex)
Returns a new Grid2DSquareCellDouble with all values taken from grid2DSquareCell. |
Grid2DSquareCellDouble |
Grid2DSquareCellDoubleFactory.createGrid2DSquareCellDouble(GridStatisticsAbstract gridStatistics,
java.io.File directory,
java.io.File gridFile,
Grid2DSquareCellDoubleChunkAbstractFactory grid2DSquareCellDoubleChunkFactory,
int chunkNrows,
int chunkNcols,
long startRowIndex,
long startColIndex,
long endRowIndex,
long endColIndex,
double noDataValue)
Returns a new Grid2DSquareCellDouble with values obtained from gridFile. |
Grid2DSquareCellDouble |
Grid2DSquareCellDoubleFactory.createGrid2DSquareCellDouble(GridStatisticsAbstract gridStatistics,
java.io.File directory,
Grid2DSquareCellAbstract grid2DSquareCell,
Grid2DSquareCellDoubleChunkAbstractFactory grid2DSquareCellDoubleChunkFactory,
int chunkNrows,
int chunkNcols,
long startRowIndex,
long startColIndex,
long endRowIndex,
long endColIndex,
double noDataValue)
Returns a new Grid2DSquareCellDouble with all values taken from grid2DSquareCell. |
Grid2DSquareCellDouble |
Grid2DSquareCellDoubleFactory.createGrid2DSquareCellDouble(GridStatisticsAbstract gridStatistics,
java.io.File directory,
Grid2DSquareCellDoubleChunkAbstractFactory grid2DSquareCellDoubleChunkFactory,
int chunkNrows,
int chunkNcols,
long nrows,
long ncols,
java.math.BigDecimal[] dimensions,
double noDataValue)
Returns a new Grid2DSquareCellDouble grid with all values as noDataValues. |
Grid2DSquareCellDouble |
Grid2DSquareCellDoubleFactory.createGrid2DSquareCellDouble(int chunkNrows,
int chunkNcols,
long nrows,
long ncols)
Returns an Grid2DSquareCellDouble with all values as noDataValues. |
Grid2DSquareCellDouble |
Grid2DSquareCellDoubleFactory.createGrid2DSquareCellDouble(int chunkNrows,
int chunkNcols,
long nrows,
long ncols,
java.math.BigDecimal[] dimensions)
Returns an Grid2DSquareCellDouble with all values as noDataValues. |
Grid2DSquareCellDouble |
Grid2DSquareCellDoubleFactory.createGrid2DSquareCellDouble(int chunkNrows,
int chunkNcols,
long nrows,
long ncols,
java.math.BigDecimal[] dimensions,
double noDataValue)
Returns an Grid2DSquareCellDouble with all values as noDataValues. |
Grid2DSquareCellDouble |
Grid2DSquareCellDoubleFactory.createGrid2DSquareCellDouble(int chunkNrows,
int chunkNcols,
long nrows,
long ncols,
double noDataValue)
Returns an Grid2DSquareCellDouble with all values as noDataValues. |
Grid2DSquareCellDouble |
Grid2DSquareCellDoubleFactory.createGrid2DSquareCellDouble(long nrows,
long ncols)
Returns an Grid2DSquareCellDouble with all values as noDataValues. |
Grid2DSquareCellDouble |
Grid2DSquareCellDoubleFactory.createGrid2DSquareCellDouble(long nrows,
long ncols,
java.math.BigDecimal[] dimensions)
Returns an Grid2DSquareCellDouble with all cell vallue equal to noDataValue. |
Grid2DSquareCellDouble |
Grid2DSquareCellDoubleFactory.createGrid2DSquareCellDouble(long nrows,
long ncols,
java.math.BigDecimal[] dimensions,
double noDataValue)
Returns an Grid2DSquareCellDouble with all cell vallue equal to noDataValue. |
Grid2DSquareCellDouble |
Grid2DSquareCellDoubleChunkAbstract.getGrid2DSquareCellDouble()
Returns grid2DSquareCellDouble. |
Methods in uk.ac.leeds.ccg.andyt.grids.core with parameters of type Grid2DSquareCellDouble | |
---|---|
static long |
GridStatisticsAbstract.count(Grid2DSquareCellDouble grid2DSquareCellDouble,
long row,
long col,
long nrows,
long ncols,
double value)
Counts the remaining number of values in grid2DSquareCellDouble equal to value from cell given by row p and column q counting in row major order. |
Grid2DSquareCellDoubleChunkAbstract |
Grid2DSquareCellDoubleChunk64CellMapFactory.createGrid2DSquareCellDoubleChunk(Grid2DSquareCellDouble grid2DSquareCellDouble,
Grid2DSquareCellAbstract.ChunkID chunkID)
|
abstract Grid2DSquareCellDoubleChunkAbstract |
Grid2DSquareCellDoubleChunkAbstractFactory.createGrid2DSquareCellDoubleChunk(Grid2DSquareCellDouble grid2DSquareCellDouble,
Grid2DSquareCellAbstract.ChunkID chunkID)
For creating a new Grid2DSquareCellDoubleChunkAbstract containing all noDataValues that is linked to grid2DSquareCellDouble via chunkID. |
Grid2DSquareCellDoubleChunkAbstract |
Grid2DSquareCellDoubleChunkArrayFactory.createGrid2DSquareCellDoubleChunk(Grid2DSquareCellDouble grid2DSquareCellDouble,
Grid2DSquareCellAbstract.ChunkID chunkID)
|
Grid2DSquareCellDoubleChunkAbstract |
Grid2DSquareCellDoubleChunkJAIFactory.createGrid2DSquareCellDoubleChunk(Grid2DSquareCellDouble grid2DSquareCellDouble,
Grid2DSquareCellAbstract.ChunkID chunkID)
|
Grid2DSquareCellDoubleChunkAbstract |
Grid2DSquareCellDoubleChunkMapFactory.createGrid2DSquareCellDoubleChunk(Grid2DSquareCellDouble grid2DSquareCellDouble,
Grid2DSquareCellAbstract.ChunkID chunkID)
|
Grid2DSquareCellDoubleChunkAbstract |
Grid2DSquareCellDoubleChunkRAFFactory.createGrid2DSquareCellDoubleChunk(Grid2DSquareCellDouble grid2DSquareCellDouble,
Grid2DSquareCellAbstract.ChunkID chunkID)
|
Constructors in uk.ac.leeds.ccg.andyt.grids.core with parameters of type Grid2DSquareCellDouble | |
---|---|
Grid2DSquareCellDoubleChunk64CellMap(Grid2DSquareCellDouble grid2DSquareCellDouble,
Grid2DSquareCellAbstract.ChunkID chunkID)
TODO: documentation deal with case: ( grid2DSquareCellDouble.getChunkNrows() * grid2DSquareCellDouble.getChunkNcols() > 64 ) |
|
Grid2DSquareCellDoubleChunkArray(Grid2DSquareCellDouble grid2DSquareCellDouble,
Grid2DSquareCellAbstract.ChunkID chunkID)
Creates a new Grid2DSquareCellDouble grid containing all no data values. |
|
Grid2DSquareCellDoubleChunkJAI(Grid2DSquareCellDouble grid2DSquareCellDouble,
Grid2DSquareCellAbstract.ChunkID chunkID)
TODO: docs |
|
Grid2DSquareCellDoubleChunkMap(Grid2DSquareCellDouble grid2DSquareCellDouble,
Grid2DSquareCellAbstract.ChunkID chunkID)
Creates a new Grid2DSquareCellDoubleChunkMap |
|
Grid2DSquareCellDoubleChunkMap(Grid2DSquareCellDouble grid2DSquareCellDouble,
Grid2DSquareCellAbstract.ChunkID chunkID,
double defaultValue)
Creates a new Grid2DSquareCellDoubleChunkMap |
|
Grid2DSquareCellDoubleChunkRAF(java.io.File file,
Grid2DSquareCellDouble grid2DSquareCellDouble,
Grid2DSquareCellAbstract.ChunkID chunkID)
Creates a new Grid2DSquareCellDouble grid containing all no data values. |
|
Grid2DSquareCellDoubleIterator(Grid2DSquareCellDouble grid2DSquareCellDouble)
Creates a new instance of Grid2DSquareDoubleIterator |
Uses of Grid2DSquareCellDouble in uk.ac.leeds.ccg.andyt.grids.examples |
---|
Methods in uk.ac.leeds.ccg.andyt.grids.examples that return Grid2DSquareCellDouble | |
---|---|
Grid2DSquareCellDouble[] |
GenerateTestData.generateCatchment()
|
Grid2DSquareCellDouble[] |
GenerateTestData.generateCircularData()
|
Grid2DSquareCellDouble[] |
GenerateTestData.generateSquareData()
|
Methods in uk.ac.leeds.ccg.andyt.grids.examples with parameters of type Grid2DSquareCellDouble | |
---|---|
java.util.HashSet |
GenerateTestData.getCellIDs(Grid2DSquareCellDouble grid,
long row,
long col,
double minRadius,
double maxRadius)
|
java.util.HashSet |
GenerateTestData.getCellIDsHashSet(Grid2DSquareCellDouble grid,
long row,
long col,
double radius)
|
Uses of Grid2DSquareCellDouble in uk.ac.leeds.ccg.andyt.grids.exchange |
---|
Methods in uk.ac.leeds.ccg.andyt.grids.exchange that return Grid2DSquareCellDouble | |
---|---|
Grid2DSquareCellDouble |
ESRIAsciiGridImporter.constructGrid2DSquareCellDouble(GridStatisticsAbstract gridStatistics,
java.io.File outputDirectory,
Grid2DSquareCellDoubleChunkAbstractFactory grid2DSquareCellDoubleChunkFactory,
int chunkNrows,
int chunkNcols)
Returns a Grid2DSquareCellDouble loaded from this.file |
Uses of Grid2DSquareCellDouble in uk.ac.leeds.ccg.andyt.grids.process |
---|
Methods in uk.ac.leeds.ccg.andyt.grids.process that return Grid2DSquareCellDouble | |
---|---|
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.add(Grid2DSquareCellDouble grid0,
Grid2DSquareCellDouble grid1,
boolean data,
Grid2DSquareCellDoubleFactory gridFactory,
boolean handleOutOfMemoryError)
TODO: 1. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.addToGrid(Grid2DSquareCellDouble grid,
double value,
boolean handleOutOfMemoryError)
Returns grid with value added to every cell via AbstractGrid2DSquareCellDouble.addToCell(value) |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.addToGrid(Grid2DSquareCellDouble grid,
double value,
Grid2DSquareCellDoubleFactory gridFactory,
boolean handleOutOfMemoryError)
Returns a copy of grid with value added to every cell via AbstractGrid2DSquareCellDouble.addToCell(value) |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.addToGrid(Grid2DSquareCellDouble grid,
java.io.File file,
java.lang.String type,
boolean handleOutOfMemoryError)
Returns grid with values added from a file. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.addToGrid(Grid2DSquareCellDouble grid,
Grid2DSquareCellAbstract.CellID[] cellIDs,
double value,
boolean handleOutOfMemoryError)
Returns grid with value added to every cell via Grid2DSquareCellDouble.addToCell(value) |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.addToGrid(Grid2DSquareCellDouble grid,
Grid2DSquareCellDouble gridToAdd,
boolean handleOutOfMemoryError)
Returns grid with values added from gridToAdd |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.addToGrid(Grid2DSquareCellDouble grid2DSquareCellDouble,
Grid2DSquareCellDouble grid2DSquareCellDoubleToAdd,
double weight,
boolean handleOutOfMemoryError)
Returns a Grid2DSquareCellDouble with values of grid2DSquareCellDouble added with values from grid2DSquareCellDoubleToAdd multiplied by weight. |
protected Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.addToGrid(Grid2DSquareCellDouble grid2DSquareCellDouble,
Grid2DSquareCellDouble grid2DSquareCellDoubleToAdd,
long startRowIndex,
long startColIndex,
long endRowIndex,
long endColIndex,
java.math.BigDecimal[] dimensionConstraints,
double weight,
boolean handleOutOfMemoryError)
Returns a Grid2DSquareCellDouble with values of grid2DSquareCellDouble added with values from grid2DSquareCellDoubleToAdd (with row index between startRowIndex, endRowIndex and column index between startColIndex, endColIndex) multiplied by weight. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.addToGrid(Grid2DSquareCellDouble grid2DSquareCellDouble,
Grid2DSquareCellDouble grid2DSquareCellDoubleToAdd,
long startRowIndex,
long startColIndex,
long endRowIndex,
long endColIndex,
double weight,
boolean handleOutOfMemoryError)
Returns a Grid2DSquareCellDouble with values of grid2DSquareCellDouble added with values from grid2DSquareCellDoubleToAdd (with row index between startRowIndex, endRowIndex and column index between startColIndex, endColIndex) multiplied by weight. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.addToGrid(Grid2DSquareCellDouble grid,
java.util.HashSet cellIDs,
double value,
boolean handleOutOfMemoryError)
Returns grid with value added to all cells with IDs as Integers in cellKeys. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.addToGrid(Grid2DSquareCellDouble grid,
java.util.HashSet cellIDs,
double value,
Grid2DSquareCellDoubleFactory gridFactory,
boolean handleOutOfMemoryError)
Returns a copy of grid with value added to all cells with IDs as Integer keys in cellIDKeys |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.aggregate(Grid2DSquareCellDouble grid,
int cellFactor,
java.lang.String statistic,
int rowOffset,
int colOffset,
Grid2DSquareCellDoubleFactory gridFactory,
boolean handleOutOfMemoryError)
Returns an Grid2DSquareCellDouble at a lower level of resolution than grid. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.aggregate(Grid2DSquareCellDouble grid,
java.lang.String statistic,
java.math.BigDecimal[] resultDimensions,
Grid2DSquareCellDoubleFactory gridFactory,
boolean handleOutOfMemoryError)
Returns an Grid2DSquareCellDouble at a lower level of resolution than grid. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.distanceToDataValue(Grid2DSquareCellDouble grid0,
Grid2DSquareCellDoubleFactory gridFactory,
boolean handleOutOfMemoryError)
Returns a new Grid2DSquareCellDouble the values of which are the distance to the nearest data value TODO: Optimise as it is currently very slow and inefficient!!! |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.divide(Grid2DSquareCellDouble grid0,
Grid2DSquareCellDouble grid1,
Grid2DSquareCellDoubleFactory gridFactory,
double defaultValue,
boolean handleOutOfMemoryError)
|
Grid2DSquareCellDouble |
Grid2DSquareCellProcessorDEM.doFlowAccumulation(Grid2DSquareCellDouble flowAccumulation,
Grid2DSquareCellDouble grid,
double precipitation,
java.util.HashSet outflowCellIDs,
Grid2DSquareCellDoubleFactory gridFactory)
TODO: docs frictionFactor = 75.0d; constant = 8.0d * 9.81d / frictionFactor; velocity = Math.sqrt( constant * waterDepth * changeInDepth / ChangeInLength ); discharge = velocity * waterDepth |
Grid2DSquareCellDouble[] |
Grid2DSquareCellProcessorGWS.geometricDensity(Grid2DSquareCellDouble grid,
double distance,
Grid2DSquareCellDoubleFactory gridFactory)
Returns an Grid2DSquareCellDouble[] containing geometric density surfaces at a range of scales: result[ 0 ] - is the result at the first scale ( double the cellsize of grid ) result[ 1 ] - if it exists is the result at the second scale ( double the cellsize of result[ 0 ] ) result[ n ] - if it exists is the result at the ( n + 1 )th scale ( double the cellsize of result[ n - 1 ] ) The algorithm used for generating a geometric density surface is described in: Turner A (2000) Density Data Generation for Spatial Data Mining Applications. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessorDEM.getFlowAccumulation(Grid2DSquareCellDouble grid,
int iterations,
double precipitation,
java.util.HashSet outflowCellIDs,
Grid2DSquareCellDoubleFactory gridFactory)
There are many estimates of flow that can be generated and many models developed in hydrology. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessorDEM.getHollowFilledDEM(Grid2DSquareCellDouble grid,
double outflowHeight,
int maxIterations,
java.util.HashSet outflowCellIDsSet,
Grid2DSquareCellDoubleFactory gridFactory)
Returns an Grid2DSquareCellDouble hollowFilledDEM which has cell values as in grid except with any hollows raised so that they are not hollows. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessorDEM.getInitialFlowAccumulation(Grid2DSquareCellDouble grid,
double precipitation,
java.util.HashSet outflowCellIDs,
Grid2DSquareCellDoubleFactory gridFactory)
TODO: docs frictionFactor = 75.0d; constant = 8.0d * 9.81d / frictionFactor; velocity = Math.sqrt( constant * waterDepth * changeInDepth / ChangeInLength ); discharge = velocity * waterDepth |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessorDEM.getMaxFlowDirection(Grid2DSquareCellDouble grid,
Grid2DSquareCellDoubleFactory gridFactory)
Returns an Grid2DSquareCellDouble result containing values which indicate the direction of the maximum down slope for the immediate 8 cell neighbourhood. |
Grid2DSquareCellDouble[] |
Grid2DSquareCellProcessorDEM.getMetrics1(Grid2DSquareCellDouble[] metrics1,
Grid2DSquareCellDouble grid,
java.math.BigDecimal[] dimensions,
double distance,
double weightIntersect,
double weightFactor)
Returns an Grid2DSquareCellDouble[] metrics1 where: metrics1[0] = no data count; metrics1[1] = flatness; metrics1[2] = roughness; metrics1[3] = slopyness; metrics1[4] = levelness; metrics1[5] = totalDownness; metrics1[6] = averageDownness; metrics1[7] = totalUpness; metrics1[8] = averageUpness; metrics1[9] = maxd_hhhh [ sum of distance weighted maximum height differences ]; metrics1[10] = mind_hhhh [ sum of distance weighted minimum height differences ]; metrics1[11] = sumd_hhhh [ sum of distance weighted height differences ]; metrics1[12] = aved_hhhh [ sum of distance weighted average height difference ]; metrics1[13] = count_hhhh [ count ]; metrics1[14] = w_hhhh [ sum of distance weights ]; metrics1[15] = mind_hxhx_ai_hhhl [ sum of distance weighted ( minimum difference of cells adjacent to lower cell ) ]; metrics1[16] = maxd_hxhx_ai_hhhl [ sum of distance weighted ( maximum difference of cells adjacent to lower cell ) ]; metrics1[17] = sumd_hxhx_ai_hhhl [ sum of distance weighted ( sum of differences of cells adjacent to lower cell ) ]; metrics1[18] = d_xhxx_ai_hhhl [ sum of distance weighted ( difference of cell opposite lower cell ) ]; metrics1[19] = d_xxxl_ai_hhhl [ sum of distance weighted ( difference of lower cell ) ]; metrics1[20] = sumd_xhxl_ai_hhhl [ sum of distance weighted ( sum of differences of lower cell and cell opposite ) ]; metrics1[21] = mind_abs_xhxl_ai_hhhl [ sum of distance weighted ( minimum difference magnitude of lower cell and cell opposite ) ]; metrics1[22] = maxd_abs_xhxl_ai_hhhl [ sum of distance weighted ( maximum difference magnitude of lower cell and cell opposite ) ]; metrics1[23] = sumd_abs_xhxl_ai_hhhl [ sum of distance weighted ( sum of difference magnitudes of lower cell and cell opposite ) ]; metrics1[24] = count_hhhl [ count ]; metrics1[25] = w_hhhl [ sum of distance weights ]; metrics1[26] = mind_hxhx_ai_hlhl [ sum of distance weighted ( minimum difference of higher cells ) ]; metrics1[27] = maxd_hxhx_ai_hlhl [ sum of distance weighted ( maximum difference of higher cells ) ]; metrics1[28] = sumd_hxhx_ai_hlhl [ sum of distance weighted ( sum differences of higher cells ) ]; metrics1[29] = mind_xlxl_ai_hlhl [ sum of distance weighted ( minimum difference of lower cells ) ]; metrics1[30] = maxd_xlxl_ai_hlhl [ sum of distance weighted ( maximum difference of lower cells ) ]; metrics1[31] = sumd_xlxl_ai_hlhl [ sum of distance weighted ( sum of differences of lower cells ) ]; metrics1[32] = mind_abs_hlhl [ sum of distance weighted ( minimum difference magnitude of cells ) ]; metrics1[33] = maxd_abs_hlhl [ sum of distance weighted ( maximum difference magnitude of cells ) ]; metrics1[34] = sumd_abs_hlhl [ sum of distance weighted ( sum of difference magnitudes of cells ) ]; metrics1[35] = count_hlhl [ count ]; metrics1[36] = w_hlhl [ sum of distance weights ]; metrics1[37] = mind_hhxx_ai_hhll [ sum of distance weighted ( minimum difference of higher cells ) ]; metrics1[38] = maxd_hhxx_ai_hhll [ sum of distance weighted ( maximum difference of higher cells ) ]; metrics1[39] = sumd_hhxx_ai_hhll [ sum of distance weighted ( sum of differences of higher cells ) ]; metrics1[40] = mind_xxll_ai_hhll [ sum of distance weighted ( minimum difference of lower cells ) ]; metrics1[41] = maxd_xxll_ai_hhll [ sum of distance weighted ( maximum difference of lower cells ) ]; metrics1[42] = sumd_xxll_ai_hhll [ sum of distance weighted ( sum of differences of lower cells ) ]; metrics1[43] = mind_abs_hhll [ sum of distance weighted ( minimum difference magnitude of cells ) ]; metrics1[44] = maxd_abs_hhll [ sum of distance weighted ( maximum difference magnitude of cells ) ]; metrics1[45] = sumd_abs_hhll [ sum of distance weighted ( sum of difference magnitudes of cells ) ]; metrics1[46] = count_hhll [ count ]; metrics1[47] = w_hhll [ sum of distance weights ]; metrics1[48] = mind_lxlx_ai_lllh [ sum of distance weighted ( minimum difference of cells adjacent to higher cell ) ]; metrics1[49] = maxd_lxlx_ai_lllh [ sum of distance weighted ( maximum difference of cells adjacent to higher cell ) ]; metrics1[50] = sumd_lxlx_ai_lllh [ sum of distance weighted ( sum of differences of cells adjacent to higher cell ) ]; metrics1[51] = d_xlxx_ai_lllh [ sum of distance weighted ( difference of cell opposite higher cell ) ]; metrics1[52] = d_xxxh_ai_lllh [ sum of distance weighted ( difference of higher cell ) ]; metrics1[53] = sumd_xlxh_ai_lllh [ sum of distance weighted ( sum of differences of higher cell and cell opposite ) ]; metrics1[54] = mind_abs_xlxh_ai_lllh [ sum of distance weighted ( minimum difference magnitude of higher cell and cell opposite ) ]; metrics1[55] = maxd_abs_xlxh_ai_lllh [ sum of distance weighted ( maximum difference magnitude of higher cell and cell opposite ) ]; metrics1[56] = sumd_abs_xlxh_ai_lllh [ sum of distance weighted ( sum of difference magnitudes of higher cell and cell opposite ) ]; metrics1[57] = count_lllh [ count ]; metrics1[58] = w_lllh [ sum of distance weights ]; metrics1[59] = maxd_llll [ sum of distance weighted maximum height differences ]; metrics1[60] = mind_llll [ sum of distance weighted minimum height differences ]; metrics1[61] = sumd_llll [ sum of distance weighted height differences ]; metrics1[62] = aved_llll [ sum of distance weighted average height difference ]; metrics1[63] = count_llll [ count ]; metrics1[64] = w_llll [ sum of distance weights ]; |
Grid2DSquareCellDouble[] |
Grid2DSquareCellProcessorDEM.getMetrics1(Grid2DSquareCellDouble grid,
double distance,
double weightIntersect,
double weightFactor,
Grid2DSquareCellDoubleFactory gridFactory)
Returns an Grid2DSquareCellDouble[] metrics1 where: metrics1[0] = no data count; metrics1[1] = flatness; metrics1[2] = roughness; metrics1[3] = slopyness; metrics1[4] = levelness; metrics1[5] = totalDownness; metrics1[6] = averageDownness; metrics1[7] = totalUpness; metrics1[8] = averageUpness; metrics1[9] = maxd_hhhh [ sum of distance weighted maximum height differences ]; metrics1[10] = mind_hhhh [ sum of distance weighted minimum height differences ]; metrics1[11] = sumd_hhhh [ sum of distance weighted height differences ]; metrics1[12] = aved_hhhh [ sum of distance weighted average height difference ]; metrics1[13] = count_hhhh [ count ]; metrics1[14] = w_hhhh [ sum of distance weights ]; metrics1[15] = mind_hxhx_ai_hhhl [ sum of distance weighted ( minimum difference of cells adjacent to lower cell ) ]; metrics1[16] = maxd_hxhx_ai_hhhl [ sum of distance weighted ( maximum difference of cells adjacent to lower cell ) ]; metrics1[17] = sumd_hxhx_ai_hhhl [ sum of distance weighted ( sum of differences of cells adjacent to lower cell ) ]; metrics1[18] = d_xhxx_ai_hhhl [ sum of distance weighted ( difference of cell opposite lower cell ) ]; metrics1[19] = d_xxxl_ai_hhhl [ sum of distance weighted ( difference of lower cell ) ]; metrics1[20] = sumd_xhxl_ai_hhhl [ sum of distance weighted ( sum of differences of lower cell and cell opposite ) ]; metrics1[21] = mind_abs_xhxl_ai_hhhl [ sum of distance weighted ( minimum difference magnitude of lower cell and cell opposite ) ]; metrics1[22] = maxd_abs_xhxl_ai_hhhl [ sum of distance weighted ( maximum difference magnitude of lower cell and cell opposite ) ]; metrics1[23] = sumd_abs_xhxl_ai_hhhl [ sum of distance weighted ( sum of difference magnitudes of lower cell and cell opposite ) ]; metrics1[24] = count_hhhl [ count ]; metrics1[25] = w_hhhl [ sum of distance weights ]; metrics1[26] = mind_hxhx_ai_hlhl [ sum of distance weighted ( minimum difference of higher cells ) ]; metrics1[27] = maxd_hxhx_ai_hlhl [ sum of distance weighted ( maximum difference of higher cells ) ]; metrics1[28] = sumd_hxhx_ai_hlhl [ sum of distance weighted ( sum differences of higher cells ) ]; metrics1[29] = mind_xlxl_ai_hlhl [ sum of distance weighted ( minimum difference of lower cells ) ]; metrics1[30] = maxd_xlxl_ai_hlhl [ sum of distance weighted ( maximum difference of lower cells ) ]; metrics1[31] = sumd_xlxl_ai_hlhl [ sum of distance weighted ( sum of differences of lower cells ) ]; metrics1[32] = mind_abs_hlhl [ sum of distance weighted ( minimum difference magnitude of cells ) ]; metrics1[33] = maxd_abs_hlhl [ sum of distance weighted ( maximum difference magnitude of cells ) ]; metrics1[34] = sumd_abs_hlhl [ sum of distance weighted ( sum of difference magnitudes of cells ) ]; metrics1[35] = count_hlhl [ count ]; metrics1[36] = w_hlhl [ sum of distance weights ]; metrics1[37] = mind_hhxx_ai_hhll [ sum of distance weighted ( minimum difference of higher cells ) ]; metrics1[38] = maxd_hhxx_ai_hhll [ sum of distance weighted ( maximum difference of higher cells ) ]; metrics1[39] = sumd_hhxx_ai_hhll [ sum of distance weighted ( sum of differences of higher cells ) ]; metrics1[40] = mind_xxll_ai_hhll [ sum of distance weighted ( minimum difference of lower cells ) ]; metrics1[41] = maxd_xxll_ai_hhll [ sum of distance weighted ( maximum difference of lower cells ) ]; metrics1[42] = sumd_xxll_ai_hhll [ sum of distance weighted ( sum of differences of lower cells ) ]; metrics1[43] = mind_abs_hhll [ sum of distance weighted ( minimum difference magnitude of cells ) ]; metrics1[44] = maxd_abs_hhll [ sum of distance weighted ( maximum difference magnitude of cells ) ]; metrics1[45] = sumd_abs_hhll [ sum of distance weighted ( sum of difference magnitudes of cells ) ]; metrics1[46] = count_hhll [ count ]; metrics1[47] = w_hhll [ sum of distance weights ]; metrics1[48] = mind_lxlx_ai_lllh [ sum of distance weighted ( minimum difference of cells adjacent to higher cell ) ]; metrics1[49] = maxd_lxlx_ai_lllh [ sum of distance weighted ( maximum difference of cells adjacent to higher cell ) ]; metrics1[50] = sumd_lxlx_ai_lllh [ sum of distance weighted ( sum of differences of cells adjacent to higher cell ) ]; metrics1[51] = d_xlxx_ai_lllh [ sum of distance weighted ( difference of cell opposite higher cell ) ]; metrics1[52] = d_xxxh_ai_lllh [ sum of distance weighted ( difference of higher cell ) ]; metrics1[53] = sumd_xlxh_ai_lllh [ sum of distance weighted ( sum of differences of higher cell and cell opposite ) ]; metrics1[54] = mind_abs_xlxh_ai_lllh [ sum of distance weighted ( minimum difference magnitude of higher cell and cell opposite ) ]; metrics1[55] = maxd_abs_xlxh_ai_lllh [ sum of distance weighted ( maximum difference magnitude of higher cell and cell opposite ) ]; metrics1[56] = sumd_abs_xlxh_ai_lllh [ sum of distance weighted ( sum of difference magnitudes of higher cell and cell opposite ) ]; metrics1[57] = count_lllh [ count ]; metrics1[58] = w_lllh [ sum of distance weights ]; metrics1[59] = maxd_llll [ sum of distance weighted maximum height differences ]; metrics1[60] = mind_llll [ sum of distance weighted minimum height differences ]; metrics1[61] = sumd_llll [ sum of distance weighted height differences ]; metrics1[62] = aved_llll [ sum of distance weighted average height difference ]; metrics1[63] = count_llll [ count ]; metrics1[64] = w_llll [ sum of distance weights ]; |
Grid2DSquareCellDouble[] |
Grid2DSquareCellProcessorDEM.getMetrics2(Grid2DSquareCellDouble grid,
double distance,
double weightIntersect,
double weightFactor,
int samplingDensity,
Grid2DSquareCellDoubleFactory gridFactory)
Returns an Grid2DSquareCellDouble[] metrics2 where: TODO: metrics2 is a mess. |
Grid2DSquareCellDouble[] |
Grid2DSquareCellProcessorDEM.getSlopeAndAspect(Grid2DSquareCellDouble grid,
double distance,
double weightIntersect,
double weightFactor,
Grid2DSquareCellDouble slopeAndAspectDimensions,
Grid2DSquareCellDoubleFactory gridFactory)
Returns an Grid2DSquareCellDouble[] slopeAndAspect where: slopeAndAspect[0] is the aggregate slope over the region weighted by distance, weightIntersect and weightFactor; slopeAndAspect[1] is the aggregate aspect over the region weighted by distance, weightIntersect and weightFactor. |
Grid2DSquareCellDouble[] |
Grid2DSquareCellProcessorDEM.getSlopeAndAspect(Grid2DSquareCellDouble grid,
Grid2DSquareCellDoubleFactory gridFactory)
Returns an Grid2DSquareCellDouble[] slopeAndAspect where: slopeAndAspect[0] is the aggregate slope over the region weighted by distance, weightIntersect and weightFactor; slopeAndAspect[1] is the aggregate aspect over the region weighted by distance, weightIntersect and weightFactor. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessorDEM.getUpSlopeAreaMetrics(Grid2DSquareCellDouble grid,
double distance,
double weightFactor,
double weightIntersect,
Grid2DSquareCellDoubleFactory gridFactory)
Returns an Grid2DSquareCellDouble[] each element of which corresponds to a metrics of up slope cells of grid - a DEM The steeper the slope the higher the runoff? |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.linearRescale(Grid2DSquareCellDouble grid,
double min,
double max,
boolean handleOutOfMemoryError)
Returns grid with values linearly rescaled into the range [min,max]. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.linearRescale(Grid2DSquareCellDouble grid,
double min,
double max,
Grid2DSquareCellDoubleFactory gridFactory,
boolean handleOutOfMemoryError)
Returns a new Grid2DSquareCellDouble that is a copy of grid, but with values linearly rescaled into the range [min,max]. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.logRescale(Grid2DSquareCellDouble grid,
double min,
double max,
boolean handleOutOfMemoryError)
Returns grid with values linearly scaled to range [1.0d,1000000.0d] then logged using Math.log(double) and then linearly scaled into the range [min,max] |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.logRescale(Grid2DSquareCellDouble grid,
double min,
double max,
Grid2DSquareCellDoubleFactory gridFactory,
boolean handleOutOfMemoryError)
Returns a new Grid2DSquareCellDouble that is a copy of grid, but with values linearly scaled to range [1.0d,1000000.0d] then logged using Math.log(double) and then linearly scaled into the range [min,max] |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.mask(Grid2DSquareCellAbstract grid2DSquareCellToMask,
Grid2DSquareCellAbstract grid2DSquareCellMask,
boolean handleOutOfMemoryError)
Returns a Grid2DSquareCellAbstract identical to grid2DSquareCellToMask but with cells coincident with grid2DSquareCellMask if their centroids intersect a cell of mask that has a noDataValue. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.mask(Grid2DSquareCellDouble grid,
double min,
double max,
boolean handleOutOfMemoryError)
Returns grid with the values of cells in the range [min,max] set to its noDataValue. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.mask(Grid2DSquareCellDouble grid,
double xmin,
double ymin,
double xmax,
double ymax,
boolean handleOutOfMemoryError)
Returns grid with the value of cells that's centroids intersect the rectangle given by (xmin,ymin,xmax,ymax) set to its noDataValue. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.mask(Grid2DSquareCellDouble grid,
Grid2DSquareCellDouble mask,
Grid2DSquareCellDoubleFactory gridFactory,
boolean handleOutOfMemoryError)
Returns a new Grid2DSquareCellDouble that is a copy of grid, but masked using mask. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.mask(Grid2DSquareCellDouble grid,
long startRowIndex,
long startColIndex,
long endRowIndex,
long endColIndex,
boolean handleOutOfMemoryError)
Returns grid with the value of cells that intersect rectangle given by (startRowIndex,startColIndex,endRowIndex,endColIndex) set to its noDataValue. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.mask(Grid2DSquareCellDouble grid,
long startRowIndex,
long startColIndex,
long endRowIndex,
long endColIndex,
Grid2DSquareCellDoubleFactory gridFactory,
boolean handleOutOfMemoryError)
Returns a new Grid2DSquareCellDouble that is a copy of grid, but with the value of cells in grid that intersect rectangle given by (startRowIndex,startColIndex,endRowIndex,endColIndex) set to its noDataValue. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.minus(Grid2DSquareCellDouble grid0,
Grid2DSquareCellDouble grid1,
boolean data,
Grid2DSquareCellDoubleFactory gridFactory,
boolean handleOutOfMemoryError)
TODO: 1. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.multiply(Grid2DSquareCellDouble grid0,
Grid2DSquareCellDouble grid1,
Grid2DSquareCellDoubleFactory gridFactory,
boolean handleOutOfMemoryError)
|
Grid2DSquareCellDouble[] |
Grid2DSquareCellProcessorGWS.regionBivariateStatistics(Grid2DSquareCellDouble grid0,
Grid2DSquareCellDouble grid1,
java.util.Vector statistics,
double distance,
double weightIntersect,
double weightFactor,
Grid2DSquareCellDoubleFactory gridFactory)
Returns an Grid2DSquareCellDouble[] result with elements based on statistics and values based on bivariate comparison of grid0 and grid1, distance, weightIntersect and weightFactor. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.replace(Grid2DSquareCellDouble grid2DSquareCell,
long[] cellConstraints,
java.math.BigDecimal[] dimensionsConstraints,
double minValueInRangeToBeReplaced,
double maxValueInRangeToBeReplaced,
double valueToInsert,
boolean handleOutOfMemoryError)
Returns a Grid2DSquareCellDouble identical to grid2DSquareCell but with cells with values in range given by (minValueInRangeToBeReplaced, maxValueInRangeToBeReplaced) replaced with valueToInsert, boolean handleOutOfMemoryError ) { coincident with grid2DSquareCellMask if their centroids intersect a cell of mask that has a noDataValue. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.setValueALittleBitLarger(Grid2DSquareCellDouble grid,
java.util.HashSet cellIDs,
boolean handleOutOfMemoryError)
Returns grid with value of cells with keys in cellKeys set to a value a little bit larger. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.setValueALittleBitLarger(Grid2DSquareCellDouble grid,
java.util.HashSet cellIDs,
Grid2DSquareCellDoubleFactory gridFactory,
boolean handleOutOfMemoryError)
Returns a new Grid2DSquareCellDouble that is a copy of grid, but with value of cells with keys in cellKeys set to a value a little bit larger. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.setValueALittleBitSmaller(Grid2DSquareCellDouble grid,
java.util.HashSet cellIDKeys,
boolean handleOutOfMemoryError)
Returns grid with value of cells with keys in cellKeys set to a value a little bit smaller. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.setValueALittleBitSmaller(Grid2DSquareCellDouble grid,
java.util.HashSet cellIDs,
Grid2DSquareCellDoubleFactory gridFactory,
boolean handleOutOfMemoryError)
Returns a new Grid2DSquareCellDouble that is a copy of grid, but with value of cells with keys in cellKeys set to a value a little bit smaller. |
Methods in uk.ac.leeds.ccg.andyt.grids.process with parameters of type Grid2DSquareCellDouble | |
---|---|
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.add(Grid2DSquareCellDouble grid0,
Grid2DSquareCellDouble grid1,
boolean data,
Grid2DSquareCellDoubleFactory gridFactory,
boolean handleOutOfMemoryError)
TODO: 1. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.addToGrid(Grid2DSquareCellDouble grid,
double value,
boolean handleOutOfMemoryError)
Returns grid with value added to every cell via AbstractGrid2DSquareCellDouble.addToCell(value) |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.addToGrid(Grid2DSquareCellDouble grid,
double value,
Grid2DSquareCellDoubleFactory gridFactory,
boolean handleOutOfMemoryError)
Returns a copy of grid with value added to every cell via AbstractGrid2DSquareCellDouble.addToCell(value) |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.addToGrid(Grid2DSquareCellDouble grid,
java.io.File file,
java.lang.String type,
boolean handleOutOfMemoryError)
Returns grid with values added from a file. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.addToGrid(Grid2DSquareCellDouble grid,
Grid2DSquareCellAbstract.CellID[] cellIDs,
double value,
boolean handleOutOfMemoryError)
Returns grid with value added to every cell via Grid2DSquareCellDouble.addToCell(value) |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.addToGrid(Grid2DSquareCellDouble grid,
Grid2DSquareCellDouble gridToAdd,
boolean handleOutOfMemoryError)
Returns grid with values added from gridToAdd |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.addToGrid(Grid2DSquareCellDouble grid2DSquareCellDouble,
Grid2DSquareCellDouble grid2DSquareCellDoubleToAdd,
double weight,
boolean handleOutOfMemoryError)
Returns a Grid2DSquareCellDouble with values of grid2DSquareCellDouble added with values from grid2DSquareCellDoubleToAdd multiplied by weight. |
protected Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.addToGrid(Grid2DSquareCellDouble grid2DSquareCellDouble,
Grid2DSquareCellDouble grid2DSquareCellDoubleToAdd,
long startRowIndex,
long startColIndex,
long endRowIndex,
long endColIndex,
java.math.BigDecimal[] dimensionConstraints,
double weight,
boolean handleOutOfMemoryError)
Returns a Grid2DSquareCellDouble with values of grid2DSquareCellDouble added with values from grid2DSquareCellDoubleToAdd (with row index between startRowIndex, endRowIndex and column index between startColIndex, endColIndex) multiplied by weight. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.addToGrid(Grid2DSquareCellDouble grid2DSquareCellDouble,
Grid2DSquareCellDouble grid2DSquareCellDoubleToAdd,
long startRowIndex,
long startColIndex,
long endRowIndex,
long endColIndex,
double weight,
boolean handleOutOfMemoryError)
Returns a Grid2DSquareCellDouble with values of grid2DSquareCellDouble added with values from grid2DSquareCellDoubleToAdd (with row index between startRowIndex, endRowIndex and column index between startColIndex, endColIndex) multiplied by weight. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.addToGrid(Grid2DSquareCellDouble grid,
java.util.HashSet cellIDs,
double value,
boolean handleOutOfMemoryError)
Returns grid with value added to all cells with IDs as Integers in cellKeys. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.addToGrid(Grid2DSquareCellDouble grid,
java.util.HashSet cellIDs,
double value,
Grid2DSquareCellDoubleFactory gridFactory,
boolean handleOutOfMemoryError)
Returns a copy of grid with value added to all cells with IDs as Integer keys in cellIDKeys |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.aggregate(Grid2DSquareCellDouble grid,
int cellFactor,
java.lang.String statistic,
int rowOffset,
int colOffset,
Grid2DSquareCellDoubleFactory gridFactory,
boolean handleOutOfMemoryError)
Returns an Grid2DSquareCellDouble at a lower level of resolution than grid. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.aggregate(Grid2DSquareCellDouble grid,
java.lang.String statistic,
java.math.BigDecimal[] resultDimensions,
Grid2DSquareCellDoubleFactory gridFactory,
boolean handleOutOfMemoryError)
Returns an Grid2DSquareCellDouble at a lower level of resolution than grid. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.distanceToDataValue(Grid2DSquareCellDouble grid0,
Grid2DSquareCellDoubleFactory gridFactory,
boolean handleOutOfMemoryError)
Returns a new Grid2DSquareCellDouble the values of which are the distance to the nearest data value TODO: Optimise as it is currently very slow and inefficient!!! |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.divide(Grid2DSquareCellDouble grid0,
Grid2DSquareCellDouble grid1,
Grid2DSquareCellDoubleFactory gridFactory,
double defaultValue,
boolean handleOutOfMemoryError)
|
Grid2DSquareCellDouble |
Grid2DSquareCellProcessorDEM.doFlowAccumulation(Grid2DSquareCellDouble flowAccumulation,
Grid2DSquareCellDouble grid,
double precipitation,
java.util.HashSet outflowCellIDs,
Grid2DSquareCellDoubleFactory gridFactory)
TODO: docs frictionFactor = 75.0d; constant = 8.0d * 9.81d / frictionFactor; velocity = Math.sqrt( constant * waterDepth * changeInDepth / ChangeInLength ); discharge = velocity * waterDepth |
Grid2DSquareCellDouble[] |
Grid2DSquareCellProcessorGWS.geometricDensity(Grid2DSquareCellDouble grid,
double distance,
Grid2DSquareCellDoubleFactory gridFactory)
Returns an Grid2DSquareCellDouble[] containing geometric density surfaces at a range of scales: result[ 0 ] - is the result at the first scale ( double the cellsize of grid ) result[ 1 ] - if it exists is the result at the second scale ( double the cellsize of result[ 0 ] ) result[ n ] - if it exists is the result at the ( n + 1 )th scale ( double the cellsize of result[ n - 1 ] ) The algorithm used for generating a geometric density surface is described in: Turner A (2000) Density Data Generation for Spatial Data Mining Applications. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessorDEM.getFlowAccumulation(Grid2DSquareCellDouble grid,
int iterations,
double precipitation,
java.util.HashSet outflowCellIDs,
Grid2DSquareCellDoubleFactory gridFactory)
There are many estimates of flow that can be generated and many models developed in hydrology. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessorDEM.getHollowFilledDEM(Grid2DSquareCellDouble grid,
double outflowHeight,
int maxIterations,
java.util.HashSet outflowCellIDsSet,
Grid2DSquareCellDoubleFactory gridFactory)
Returns an Grid2DSquareCellDouble hollowFilledDEM which has cell values as in grid except with any hollows raised so that they are not hollows. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessorDEM.getInitialFlowAccumulation(Grid2DSquareCellDouble grid,
double precipitation,
java.util.HashSet outflowCellIDs,
Grid2DSquareCellDoubleFactory gridFactory)
TODO: docs frictionFactor = 75.0d; constant = 8.0d * 9.81d / frictionFactor; velocity = Math.sqrt( constant * waterDepth * changeInDepth / ChangeInLength ); discharge = velocity * waterDepth |
java.util.HashSet |
Grid2DSquareCellProcessorDEM.getInitialPeaksHashSetAndSetTheirValue(Grid2DSquareCellDouble grid,
Grid2DSquareCellDouble upSlopeAreaMetrics)
Returns a HashSet containing cellIDs which identifies cells for which neighbouring cells in the immediate 8 cell neighbourhood that are either the same value, lower or noDataValues |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessorDEM.getMaxFlowDirection(Grid2DSquareCellDouble grid,
Grid2DSquareCellDoubleFactory gridFactory)
Returns an Grid2DSquareCellDouble result containing values which indicate the direction of the maximum down slope for the immediate 8 cell neighbourhood. |
Grid2DSquareCellDouble[] |
Grid2DSquareCellProcessorDEM.getMetrics1(Grid2DSquareCellDouble[] metrics1,
Grid2DSquareCellDouble grid,
java.math.BigDecimal[] dimensions,
double distance,
double weightIntersect,
double weightFactor)
Returns an Grid2DSquareCellDouble[] metrics1 where: metrics1[0] = no data count; metrics1[1] = flatness; metrics1[2] = roughness; metrics1[3] = slopyness; metrics1[4] = levelness; metrics1[5] = totalDownness; metrics1[6] = averageDownness; metrics1[7] = totalUpness; metrics1[8] = averageUpness; metrics1[9] = maxd_hhhh [ sum of distance weighted maximum height differences ]; metrics1[10] = mind_hhhh [ sum of distance weighted minimum height differences ]; metrics1[11] = sumd_hhhh [ sum of distance weighted height differences ]; metrics1[12] = aved_hhhh [ sum of distance weighted average height difference ]; metrics1[13] = count_hhhh [ count ]; metrics1[14] = w_hhhh [ sum of distance weights ]; metrics1[15] = mind_hxhx_ai_hhhl [ sum of distance weighted ( minimum difference of cells adjacent to lower cell ) ]; metrics1[16] = maxd_hxhx_ai_hhhl [ sum of distance weighted ( maximum difference of cells adjacent to lower cell ) ]; metrics1[17] = sumd_hxhx_ai_hhhl [ sum of distance weighted ( sum of differences of cells adjacent to lower cell ) ]; metrics1[18] = d_xhxx_ai_hhhl [ sum of distance weighted ( difference of cell opposite lower cell ) ]; metrics1[19] = d_xxxl_ai_hhhl [ sum of distance weighted ( difference of lower cell ) ]; metrics1[20] = sumd_xhxl_ai_hhhl [ sum of distance weighted ( sum of differences of lower cell and cell opposite ) ]; metrics1[21] = mind_abs_xhxl_ai_hhhl [ sum of distance weighted ( minimum difference magnitude of lower cell and cell opposite ) ]; metrics1[22] = maxd_abs_xhxl_ai_hhhl [ sum of distance weighted ( maximum difference magnitude of lower cell and cell opposite ) ]; metrics1[23] = sumd_abs_xhxl_ai_hhhl [ sum of distance weighted ( sum of difference magnitudes of lower cell and cell opposite ) ]; metrics1[24] = count_hhhl [ count ]; metrics1[25] = w_hhhl [ sum of distance weights ]; metrics1[26] = mind_hxhx_ai_hlhl [ sum of distance weighted ( minimum difference of higher cells ) ]; metrics1[27] = maxd_hxhx_ai_hlhl [ sum of distance weighted ( maximum difference of higher cells ) ]; metrics1[28] = sumd_hxhx_ai_hlhl [ sum of distance weighted ( sum differences of higher cells ) ]; metrics1[29] = mind_xlxl_ai_hlhl [ sum of distance weighted ( minimum difference of lower cells ) ]; metrics1[30] = maxd_xlxl_ai_hlhl [ sum of distance weighted ( maximum difference of lower cells ) ]; metrics1[31] = sumd_xlxl_ai_hlhl [ sum of distance weighted ( sum of differences of lower cells ) ]; metrics1[32] = mind_abs_hlhl [ sum of distance weighted ( minimum difference magnitude of cells ) ]; metrics1[33] = maxd_abs_hlhl [ sum of distance weighted ( maximum difference magnitude of cells ) ]; metrics1[34] = sumd_abs_hlhl [ sum of distance weighted ( sum of difference magnitudes of cells ) ]; metrics1[35] = count_hlhl [ count ]; metrics1[36] = w_hlhl [ sum of distance weights ]; metrics1[37] = mind_hhxx_ai_hhll [ sum of distance weighted ( minimum difference of higher cells ) ]; metrics1[38] = maxd_hhxx_ai_hhll [ sum of distance weighted ( maximum difference of higher cells ) ]; metrics1[39] = sumd_hhxx_ai_hhll [ sum of distance weighted ( sum of differences of higher cells ) ]; metrics1[40] = mind_xxll_ai_hhll [ sum of distance weighted ( minimum difference of lower cells ) ]; metrics1[41] = maxd_xxll_ai_hhll [ sum of distance weighted ( maximum difference of lower cells ) ]; metrics1[42] = sumd_xxll_ai_hhll [ sum of distance weighted ( sum of differences of lower cells ) ]; metrics1[43] = mind_abs_hhll [ sum of distance weighted ( minimum difference magnitude of cells ) ]; metrics1[44] = maxd_abs_hhll [ sum of distance weighted ( maximum difference magnitude of cells ) ]; metrics1[45] = sumd_abs_hhll [ sum of distance weighted ( sum of difference magnitudes of cells ) ]; metrics1[46] = count_hhll [ count ]; metrics1[47] = w_hhll [ sum of distance weights ]; metrics1[48] = mind_lxlx_ai_lllh [ sum of distance weighted ( minimum difference of cells adjacent to higher cell ) ]; metrics1[49] = maxd_lxlx_ai_lllh [ sum of distance weighted ( maximum difference of cells adjacent to higher cell ) ]; metrics1[50] = sumd_lxlx_ai_lllh [ sum of distance weighted ( sum of differences of cells adjacent to higher cell ) ]; metrics1[51] = d_xlxx_ai_lllh [ sum of distance weighted ( difference of cell opposite higher cell ) ]; metrics1[52] = d_xxxh_ai_lllh [ sum of distance weighted ( difference of higher cell ) ]; metrics1[53] = sumd_xlxh_ai_lllh [ sum of distance weighted ( sum of differences of higher cell and cell opposite ) ]; metrics1[54] = mind_abs_xlxh_ai_lllh [ sum of distance weighted ( minimum difference magnitude of higher cell and cell opposite ) ]; metrics1[55] = maxd_abs_xlxh_ai_lllh [ sum of distance weighted ( maximum difference magnitude of higher cell and cell opposite ) ]; metrics1[56] = sumd_abs_xlxh_ai_lllh [ sum of distance weighted ( sum of difference magnitudes of higher cell and cell opposite ) ]; metrics1[57] = count_lllh [ count ]; metrics1[58] = w_lllh [ sum of distance weights ]; metrics1[59] = maxd_llll [ sum of distance weighted maximum height differences ]; metrics1[60] = mind_llll [ sum of distance weighted minimum height differences ]; metrics1[61] = sumd_llll [ sum of distance weighted height differences ]; metrics1[62] = aved_llll [ sum of distance weighted average height difference ]; metrics1[63] = count_llll [ count ]; metrics1[64] = w_llll [ sum of distance weights ]; |
Grid2DSquareCellDouble[] |
Grid2DSquareCellProcessorDEM.getMetrics1(Grid2DSquareCellDouble[] metrics1,
Grid2DSquareCellDouble grid,
java.math.BigDecimal[] dimensions,
double distance,
double weightIntersect,
double weightFactor)
Returns an Grid2DSquareCellDouble[] metrics1 where: metrics1[0] = no data count; metrics1[1] = flatness; metrics1[2] = roughness; metrics1[3] = slopyness; metrics1[4] = levelness; metrics1[5] = totalDownness; metrics1[6] = averageDownness; metrics1[7] = totalUpness; metrics1[8] = averageUpness; metrics1[9] = maxd_hhhh [ sum of distance weighted maximum height differences ]; metrics1[10] = mind_hhhh [ sum of distance weighted minimum height differences ]; metrics1[11] = sumd_hhhh [ sum of distance weighted height differences ]; metrics1[12] = aved_hhhh [ sum of distance weighted average height difference ]; metrics1[13] = count_hhhh [ count ]; metrics1[14] = w_hhhh [ sum of distance weights ]; metrics1[15] = mind_hxhx_ai_hhhl [ sum of distance weighted ( minimum difference of cells adjacent to lower cell ) ]; metrics1[16] = maxd_hxhx_ai_hhhl [ sum of distance weighted ( maximum difference of cells adjacent to lower cell ) ]; metrics1[17] = sumd_hxhx_ai_hhhl [ sum of distance weighted ( sum of differences of cells adjacent to lower cell ) ]; metrics1[18] = d_xhxx_ai_hhhl [ sum of distance weighted ( difference of cell opposite lower cell ) ]; metrics1[19] = d_xxxl_ai_hhhl [ sum of distance weighted ( difference of lower cell ) ]; metrics1[20] = sumd_xhxl_ai_hhhl [ sum of distance weighted ( sum of differences of lower cell and cell opposite ) ]; metrics1[21] = mind_abs_xhxl_ai_hhhl [ sum of distance weighted ( minimum difference magnitude of lower cell and cell opposite ) ]; metrics1[22] = maxd_abs_xhxl_ai_hhhl [ sum of distance weighted ( maximum difference magnitude of lower cell and cell opposite ) ]; metrics1[23] = sumd_abs_xhxl_ai_hhhl [ sum of distance weighted ( sum of difference magnitudes of lower cell and cell opposite ) ]; metrics1[24] = count_hhhl [ count ]; metrics1[25] = w_hhhl [ sum of distance weights ]; metrics1[26] = mind_hxhx_ai_hlhl [ sum of distance weighted ( minimum difference of higher cells ) ]; metrics1[27] = maxd_hxhx_ai_hlhl [ sum of distance weighted ( maximum difference of higher cells ) ]; metrics1[28] = sumd_hxhx_ai_hlhl [ sum of distance weighted ( sum differences of higher cells ) ]; metrics1[29] = mind_xlxl_ai_hlhl [ sum of distance weighted ( minimum difference of lower cells ) ]; metrics1[30] = maxd_xlxl_ai_hlhl [ sum of distance weighted ( maximum difference of lower cells ) ]; metrics1[31] = sumd_xlxl_ai_hlhl [ sum of distance weighted ( sum of differences of lower cells ) ]; metrics1[32] = mind_abs_hlhl [ sum of distance weighted ( minimum difference magnitude of cells ) ]; metrics1[33] = maxd_abs_hlhl [ sum of distance weighted ( maximum difference magnitude of cells ) ]; metrics1[34] = sumd_abs_hlhl [ sum of distance weighted ( sum of difference magnitudes of cells ) ]; metrics1[35] = count_hlhl [ count ]; metrics1[36] = w_hlhl [ sum of distance weights ]; metrics1[37] = mind_hhxx_ai_hhll [ sum of distance weighted ( minimum difference of higher cells ) ]; metrics1[38] = maxd_hhxx_ai_hhll [ sum of distance weighted ( maximum difference of higher cells ) ]; metrics1[39] = sumd_hhxx_ai_hhll [ sum of distance weighted ( sum of differences of higher cells ) ]; metrics1[40] = mind_xxll_ai_hhll [ sum of distance weighted ( minimum difference of lower cells ) ]; metrics1[41] = maxd_xxll_ai_hhll [ sum of distance weighted ( maximum difference of lower cells ) ]; metrics1[42] = sumd_xxll_ai_hhll [ sum of distance weighted ( sum of differences of lower cells ) ]; metrics1[43] = mind_abs_hhll [ sum of distance weighted ( minimum difference magnitude of cells ) ]; metrics1[44] = maxd_abs_hhll [ sum of distance weighted ( maximum difference magnitude of cells ) ]; metrics1[45] = sumd_abs_hhll [ sum of distance weighted ( sum of difference magnitudes of cells ) ]; metrics1[46] = count_hhll [ count ]; metrics1[47] = w_hhll [ sum of distance weights ]; metrics1[48] = mind_lxlx_ai_lllh [ sum of distance weighted ( minimum difference of cells adjacent to higher cell ) ]; metrics1[49] = maxd_lxlx_ai_lllh [ sum of distance weighted ( maximum difference of cells adjacent to higher cell ) ]; metrics1[50] = sumd_lxlx_ai_lllh [ sum of distance weighted ( sum of differences of cells adjacent to higher cell ) ]; metrics1[51] = d_xlxx_ai_lllh [ sum of distance weighted ( difference of cell opposite higher cell ) ]; metrics1[52] = d_xxxh_ai_lllh [ sum of distance weighted ( difference of higher cell ) ]; metrics1[53] = sumd_xlxh_ai_lllh [ sum of distance weighted ( sum of differences of higher cell and cell opposite ) ]; metrics1[54] = mind_abs_xlxh_ai_lllh [ sum of distance weighted ( minimum difference magnitude of higher cell and cell opposite ) ]; metrics1[55] = maxd_abs_xlxh_ai_lllh [ sum of distance weighted ( maximum difference magnitude of higher cell and cell opposite ) ]; metrics1[56] = sumd_abs_xlxh_ai_lllh [ sum of distance weighted ( sum of difference magnitudes of higher cell and cell opposite ) ]; metrics1[57] = count_lllh [ count ]; metrics1[58] = w_lllh [ sum of distance weights ]; metrics1[59] = maxd_llll [ sum of distance weighted maximum height differences ]; metrics1[60] = mind_llll [ sum of distance weighted minimum height differences ]; metrics1[61] = sumd_llll [ sum of distance weighted height differences ]; metrics1[62] = aved_llll [ sum of distance weighted average height difference ]; metrics1[63] = count_llll [ count ]; metrics1[64] = w_llll [ sum of distance weights ]; |
Grid2DSquareCellDouble[] |
Grid2DSquareCellProcessorDEM.getMetrics1(Grid2DSquareCellDouble grid,
double distance,
double weightIntersect,
double weightFactor,
Grid2DSquareCellDoubleFactory gridFactory)
Returns an Grid2DSquareCellDouble[] metrics1 where: metrics1[0] = no data count; metrics1[1] = flatness; metrics1[2] = roughness; metrics1[3] = slopyness; metrics1[4] = levelness; metrics1[5] = totalDownness; metrics1[6] = averageDownness; metrics1[7] = totalUpness; metrics1[8] = averageUpness; metrics1[9] = maxd_hhhh [ sum of distance weighted maximum height differences ]; metrics1[10] = mind_hhhh [ sum of distance weighted minimum height differences ]; metrics1[11] = sumd_hhhh [ sum of distance weighted height differences ]; metrics1[12] = aved_hhhh [ sum of distance weighted average height difference ]; metrics1[13] = count_hhhh [ count ]; metrics1[14] = w_hhhh [ sum of distance weights ]; metrics1[15] = mind_hxhx_ai_hhhl [ sum of distance weighted ( minimum difference of cells adjacent to lower cell ) ]; metrics1[16] = maxd_hxhx_ai_hhhl [ sum of distance weighted ( maximum difference of cells adjacent to lower cell ) ]; metrics1[17] = sumd_hxhx_ai_hhhl [ sum of distance weighted ( sum of differences of cells adjacent to lower cell ) ]; metrics1[18] = d_xhxx_ai_hhhl [ sum of distance weighted ( difference of cell opposite lower cell ) ]; metrics1[19] = d_xxxl_ai_hhhl [ sum of distance weighted ( difference of lower cell ) ]; metrics1[20] = sumd_xhxl_ai_hhhl [ sum of distance weighted ( sum of differences of lower cell and cell opposite ) ]; metrics1[21] = mind_abs_xhxl_ai_hhhl [ sum of distance weighted ( minimum difference magnitude of lower cell and cell opposite ) ]; metrics1[22] = maxd_abs_xhxl_ai_hhhl [ sum of distance weighted ( maximum difference magnitude of lower cell and cell opposite ) ]; metrics1[23] = sumd_abs_xhxl_ai_hhhl [ sum of distance weighted ( sum of difference magnitudes of lower cell and cell opposite ) ]; metrics1[24] = count_hhhl [ count ]; metrics1[25] = w_hhhl [ sum of distance weights ]; metrics1[26] = mind_hxhx_ai_hlhl [ sum of distance weighted ( minimum difference of higher cells ) ]; metrics1[27] = maxd_hxhx_ai_hlhl [ sum of distance weighted ( maximum difference of higher cells ) ]; metrics1[28] = sumd_hxhx_ai_hlhl [ sum of distance weighted ( sum differences of higher cells ) ]; metrics1[29] = mind_xlxl_ai_hlhl [ sum of distance weighted ( minimum difference of lower cells ) ]; metrics1[30] = maxd_xlxl_ai_hlhl [ sum of distance weighted ( maximum difference of lower cells ) ]; metrics1[31] = sumd_xlxl_ai_hlhl [ sum of distance weighted ( sum of differences of lower cells ) ]; metrics1[32] = mind_abs_hlhl [ sum of distance weighted ( minimum difference magnitude of cells ) ]; metrics1[33] = maxd_abs_hlhl [ sum of distance weighted ( maximum difference magnitude of cells ) ]; metrics1[34] = sumd_abs_hlhl [ sum of distance weighted ( sum of difference magnitudes of cells ) ]; metrics1[35] = count_hlhl [ count ]; metrics1[36] = w_hlhl [ sum of distance weights ]; metrics1[37] = mind_hhxx_ai_hhll [ sum of distance weighted ( minimum difference of higher cells ) ]; metrics1[38] = maxd_hhxx_ai_hhll [ sum of distance weighted ( maximum difference of higher cells ) ]; metrics1[39] = sumd_hhxx_ai_hhll [ sum of distance weighted ( sum of differences of higher cells ) ]; metrics1[40] = mind_xxll_ai_hhll [ sum of distance weighted ( minimum difference of lower cells ) ]; metrics1[41] = maxd_xxll_ai_hhll [ sum of distance weighted ( maximum difference of lower cells ) ]; metrics1[42] = sumd_xxll_ai_hhll [ sum of distance weighted ( sum of differences of lower cells ) ]; metrics1[43] = mind_abs_hhll [ sum of distance weighted ( minimum difference magnitude of cells ) ]; metrics1[44] = maxd_abs_hhll [ sum of distance weighted ( maximum difference magnitude of cells ) ]; metrics1[45] = sumd_abs_hhll [ sum of distance weighted ( sum of difference magnitudes of cells ) ]; metrics1[46] = count_hhll [ count ]; metrics1[47] = w_hhll [ sum of distance weights ]; metrics1[48] = mind_lxlx_ai_lllh [ sum of distance weighted ( minimum difference of cells adjacent to higher cell ) ]; metrics1[49] = maxd_lxlx_ai_lllh [ sum of distance weighted ( maximum difference of cells adjacent to higher cell ) ]; metrics1[50] = sumd_lxlx_ai_lllh [ sum of distance weighted ( sum of differences of cells adjacent to higher cell ) ]; metrics1[51] = d_xlxx_ai_lllh [ sum of distance weighted ( difference of cell opposite higher cell ) ]; metrics1[52] = d_xxxh_ai_lllh [ sum of distance weighted ( difference of higher cell ) ]; metrics1[53] = sumd_xlxh_ai_lllh [ sum of distance weighted ( sum of differences of higher cell and cell opposite ) ]; metrics1[54] = mind_abs_xlxh_ai_lllh [ sum of distance weighted ( minimum difference magnitude of higher cell and cell opposite ) ]; metrics1[55] = maxd_abs_xlxh_ai_lllh [ sum of distance weighted ( maximum difference magnitude of higher cell and cell opposite ) ]; metrics1[56] = sumd_abs_xlxh_ai_lllh [ sum of distance weighted ( sum of difference magnitudes of higher cell and cell opposite ) ]; metrics1[57] = count_lllh [ count ]; metrics1[58] = w_lllh [ sum of distance weights ]; metrics1[59] = maxd_llll [ sum of distance weighted maximum height differences ]; metrics1[60] = mind_llll [ sum of distance weighted minimum height differences ]; metrics1[61] = sumd_llll [ sum of distance weighted height differences ]; metrics1[62] = aved_llll [ sum of distance weighted average height difference ]; metrics1[63] = count_llll [ count ]; metrics1[64] = w_llll [ sum of distance weights ]; |
Grid2DSquareCellDouble[] |
Grid2DSquareCellProcessorDEM.getMetrics2(Grid2DSquareCellDouble grid,
double distance,
double weightIntersect,
double weightFactor,
int samplingDensity,
Grid2DSquareCellDoubleFactory gridFactory)
Returns an Grid2DSquareCellDouble[] metrics2 where: TODO: metrics2 is a mess. |
protected double[][] |
Grid2DSquareCellProcessor.getRowProcessData(Grid2DSquareCellDouble grid,
double[][] previous,
int cellDistance,
long row,
long col)
Returns a double[][] based on previous which has been shuffled |
protected double[][] |
Grid2DSquareCellProcessor.getRowProcessInitialData(Grid2DSquareCellDouble grid,
int cellDistance,
long row)
Returns a double[][] of grid values |
protected double[] |
Grid2DSquareCellProcessorDEM.getSlopeAndAspect(Grid2DSquareCellDouble grid,
double x,
double y,
double distance,
double weightIntersect,
double weightFactor)
Returns a double[] slopeAndAspect where: slopeAndAspect[0] is the aggregate slope over the region weighted by distance, weightIntersect and weightFactor; slopeAndAspect[1] is the aggregate aspect over the region weighted by distance, weightIntersect and weightFactor. |
Grid2DSquareCellDouble[] |
Grid2DSquareCellProcessorDEM.getSlopeAndAspect(Grid2DSquareCellDouble grid,
double distance,
double weightIntersect,
double weightFactor,
Grid2DSquareCellDouble slopeAndAspectDimensions,
Grid2DSquareCellDoubleFactory gridFactory)
Returns an Grid2DSquareCellDouble[] slopeAndAspect where: slopeAndAspect[0] is the aggregate slope over the region weighted by distance, weightIntersect and weightFactor; slopeAndAspect[1] is the aggregate aspect over the region weighted by distance, weightIntersect and weightFactor. |
Grid2DSquareCellDouble[] |
Grid2DSquareCellProcessorDEM.getSlopeAndAspect(Grid2DSquareCellDouble grid,
Grid2DSquareCellDoubleFactory gridFactory)
Returns an Grid2DSquareCellDouble[] slopeAndAspect where: slopeAndAspect[0] is the aggregate slope over the region weighted by distance, weightIntersect and weightFactor; slopeAndAspect[1] is the aggregate aspect over the region weighted by distance, weightIntersect and weightFactor. |
protected double[] |
Grid2DSquareCellProcessorDEM.getSlopeAndAspect(Grid2DSquareCellDouble grid,
long rowIndex,
long colIndex,
double distance,
double weightIntersect,
double weightFactor)
Returns a double[] slopeAndAspect where: slopeAndAspect[0] is the aggregate slope over the region weighted by distance, weightIntersect and weightFactor; slopeAndAspect[1] is the aggregate aspect over the region weighted by distance, weightIntersect and weightFactor. |
protected double[] |
Grid2DSquareCellProcessorDEM.getSlopeAndAspect(Grid2DSquareCellDouble grid,
long rowIndex,
long colIndex,
double x,
double y,
double distance,
double weightIntersect,
double weightFactor)
Returns a double[] slopeAndAspect where: slopeAndAspect[0] is the aggregate slope over the region weighted by distance, weightIntersect and weightFactor; slopeAndAspect[1] is the aggregate aspect over the region weighted by distance, weightIntersect and weightFactor. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessorDEM.getUpSlopeAreaMetrics(Grid2DSquareCellDouble grid,
double distance,
double weightFactor,
double weightIntersect,
Grid2DSquareCellDoubleFactory gridFactory)
Returns an Grid2DSquareCellDouble[] each element of which corresponds to a metrics of up slope cells of grid - a DEM The steeper the slope the higher the runoff? |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.linearRescale(Grid2DSquareCellDouble grid,
double min,
double max,
boolean handleOutOfMemoryError)
Returns grid with values linearly rescaled into the range [min,max]. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.linearRescale(Grid2DSquareCellDouble grid,
double min,
double max,
Grid2DSquareCellDoubleFactory gridFactory,
boolean handleOutOfMemoryError)
Returns a new Grid2DSquareCellDouble that is a copy of grid, but with values linearly rescaled into the range [min,max]. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.logRescale(Grid2DSquareCellDouble grid,
double min,
double max,
boolean handleOutOfMemoryError)
Returns grid with values linearly scaled to range [1.0d,1000000.0d] then logged using Math.log(double) and then linearly scaled into the range [min,max] |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.logRescale(Grid2DSquareCellDouble grid,
double min,
double max,
Grid2DSquareCellDoubleFactory gridFactory,
boolean handleOutOfMemoryError)
Returns a new Grid2DSquareCellDouble that is a copy of grid, but with values linearly scaled to range [1.0d,1000000.0d] then logged using Math.log(double) and then linearly scaled into the range [min,max] |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.mask(Grid2DSquareCellDouble grid,
double min,
double max,
boolean handleOutOfMemoryError)
Returns grid with the values of cells in the range [min,max] set to its noDataValue. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.mask(Grid2DSquareCellDouble grid,
double xmin,
double ymin,
double xmax,
double ymax,
boolean handleOutOfMemoryError)
Returns grid with the value of cells that's centroids intersect the rectangle given by (xmin,ymin,xmax,ymax) set to its noDataValue. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.mask(Grid2DSquareCellDouble grid,
Grid2DSquareCellDouble mask,
Grid2DSquareCellDoubleFactory gridFactory,
boolean handleOutOfMemoryError)
Returns a new Grid2DSquareCellDouble that is a copy of grid, but masked using mask. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.mask(Grid2DSquareCellDouble grid,
long startRowIndex,
long startColIndex,
long endRowIndex,
long endColIndex,
boolean handleOutOfMemoryError)
Returns grid with the value of cells that intersect rectangle given by (startRowIndex,startColIndex,endRowIndex,endColIndex) set to its noDataValue. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.mask(Grid2DSquareCellDouble grid,
long startRowIndex,
long startColIndex,
long endRowIndex,
long endColIndex,
Grid2DSquareCellDoubleFactory gridFactory,
boolean handleOutOfMemoryError)
Returns a new Grid2DSquareCellDouble that is a copy of grid, but with the value of cells in grid that intersect rectangle given by (startRowIndex,startColIndex,endRowIndex,endColIndex) set to its noDataValue. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.minus(Grid2DSquareCellDouble grid0,
Grid2DSquareCellDouble grid1,
boolean data,
Grid2DSquareCellDoubleFactory gridFactory,
boolean handleOutOfMemoryError)
TODO: 1. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.multiply(Grid2DSquareCellDouble grid0,
Grid2DSquareCellDouble grid1,
Grid2DSquareCellDoubleFactory gridFactory,
boolean handleOutOfMemoryError)
|
Grid2DSquareCellDouble[] |
Grid2DSquareCellProcessorGWS.regionBivariateStatistics(Grid2DSquareCellDouble grid0,
Grid2DSquareCellDouble grid1,
java.util.Vector statistics,
double distance,
double weightIntersect,
double weightFactor,
Grid2DSquareCellDoubleFactory gridFactory)
Returns an Grid2DSquareCellDouble[] result with elements based on statistics and values based on bivariate comparison of grid0 and grid1, distance, weightIntersect and weightFactor. |
double[] |
Grid2DSquareCellProcessorGWS.regionUnivariateStatistics(Grid2DSquareCellDouble grid,
int rowIndex,
int colIndex,
java.lang.String statistic,
double distance,
double weightIntersect,
double weightFactor)
TODO |
java.util.Vector |
Grid2DSquareCellProcessorGWS.regionUnivariateStatistics(Grid2DSquareCellDouble grid,
java.util.Vector statistics,
double distance,
double weightIntersect,
double weightFactor,
Grid2DSquareCellDoubleFactory gridFactory)
Returns a Vector containing Grid2DSquareCellDoubles. |
java.util.Vector |
Grid2DSquareCellProcessorGWS.regionUnivariateStatisticsCrossScale(Grid2DSquareCellDouble grid,
java.util.Vector statistics,
double distance,
double weightIntersept,
double weightFactor,
double scaleIntersept,
double scaleFactor,
Grid2DSquareCellDoubleFactory gridFactory)
TODO |
java.util.Vector |
Grid2DSquareCellProcessorGWS.regionUnivariateStatisticsSlow(Grid2DSquareCellDouble grid,
java.util.Vector statistics,
double distance,
double weightIntersect,
double weightFactor,
Grid2DSquareCellDoubleFactory gridFactory)
Returns a Vector containing Grid2DSquareCellDoubles |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.replace(Grid2DSquareCellDouble grid2DSquareCell,
long[] cellConstraints,
java.math.BigDecimal[] dimensionsConstraints,
double minValueInRangeToBeReplaced,
double maxValueInRangeToBeReplaced,
double valueToInsert,
boolean handleOutOfMemoryError)
Returns a Grid2DSquareCellDouble identical to grid2DSquareCell but with cells with values in range given by (minValueInRangeToBeReplaced, maxValueInRangeToBeReplaced) replaced with valueToInsert, boolean handleOutOfMemoryError ) { coincident with grid2DSquareCellMask if their centroids intersect a cell of mask that has a noDataValue. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.setValueALittleBitLarger(Grid2DSquareCellDouble grid,
java.util.HashSet cellIDs,
boolean handleOutOfMemoryError)
Returns grid with value of cells with keys in cellKeys set to a value a little bit larger. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.setValueALittleBitLarger(Grid2DSquareCellDouble grid,
java.util.HashSet cellIDs,
Grid2DSquareCellDoubleFactory gridFactory,
boolean handleOutOfMemoryError)
Returns a new Grid2DSquareCellDouble that is a copy of grid, but with value of cells with keys in cellKeys set to a value a little bit larger. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.setValueALittleBitSmaller(Grid2DSquareCellDouble grid,
java.util.HashSet cellIDKeys,
boolean handleOutOfMemoryError)
Returns grid with value of cells with keys in cellKeys set to a value a little bit smaller. |
Grid2DSquareCellDouble |
Grid2DSquareCellProcessor.setValueALittleBitSmaller(Grid2DSquareCellDouble grid,
java.util.HashSet cellIDs,
Grid2DSquareCellDoubleFactory gridFactory,
boolean handleOutOfMemoryError)
Returns a new Grid2DSquareCellDouble that is a copy of grid, but with value of cells with keys in cellKeys set to a value a little bit smaller. |
Uses of Grid2DSquareCellDouble in uk.ac.leeds.ccg.andyt.grids.utilities |
---|
Methods in uk.ac.leeds.ccg.andyt.grids.utilities with parameters of type Grid2DSquareCellDouble | |
---|---|
static double[] |
Kernel.getKernelParameters(Grid2DSquareCellDouble grid0,
int grid0CellDistance,
double distance,
double weightIntersect,
double weightFactor)
Returns double[] result: double[0] the total sum of all the weights for a given kernel double[1] the total number of cells thats centroids are within distance of an arbitrary cell centroid of grid0 |
static double[][] |
Kernel.getKernelWeights(Grid2DSquareCellDouble grid,
double distance,
double weightIntersect,
double weightFactor)
Returns a double[][] of values for a kernel |
static double[] |
Kernel.getKernelWeights(Grid2DSquareCellDouble grid,
long rowIndex,
long colIndex,
double distance,
double weightIntersect,
double weightFactor,
java.awt.geom.Point2D.Double[] points)
Returns a double[] of values for a kernel TODO: document |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |