jwo.landserf.process
Class FocalD

java.lang.Object
  extended by jwo.landserf.process.FocalD

public class FocalD
extends Object

Allows a focal fractal dimension to be calculated from a window of attribute values. Uses the variogram method and random sampling within the window to calculate D.

Version:
2.3, 14th May, 2006.
Author:
Jo Wood

Field Summary
static int MIN_SIZE
          Minimum window size allowed for calculating fractal dimension.
 
Constructor Summary
FocalD(int winSize)
          Initialises the focal D calculator by creating the samples to take for a given window size.
 
Method Summary
 float getFocalD(float[][] win)
          Determines the focal fractal dimension of the cells in the given local window.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MIN_SIZE

public static final int MIN_SIZE
Minimum window size allowed for calculating fractal dimension.

See Also:
Constant Field Values
Constructor Detail

FocalD

public FocalD(int winSize)
Initialises the focal D calculator by creating the samples to take for a given window size.

Parameters:
winSize - Window size to use.
Method Detail

getFocalD

public float getFocalD(float[][] win)
Determines the focal fractal dimension of the cells in the given local window.

Parameters:
win - Focal window of cells to process.
Returns:
Fractal dimension of the given cells.


Copyright Jo Wood, 1996-2009, last modified, 17th April, 2009