|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
jwo.landserf.process.LSThread
jwo.landserf.process.ScaleParamThread
public class ScaleParamThread
Calculates a given surface parameter over a range of window sizes and places the result back in the given GIS frame.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
Thread.State, Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
ScaleParamThread(GISFrame gisFrame,
ScaleSurfParam ssp)
Calculates a given surface parameter over a range of scales. |
Method Summary | |
---|---|
void |
doProcessing()
Performs the multiscale processing. |
RasterMap |
getParamAverage()
Deprecated. Use getSummarySurf1() instead. This performs an identical function
but its new name reflects the fact that it can return either a surface of
averages or minimum values. |
RasterMap |
getParamVariation()
Deprecated. Use getSummarySurf2() instead. This performs an identical function
but its new name reflects the fact that it can return either a surface of
variation or maximum values. |
RasterMap |
getSummarySurf1()
Retrieves the newly created surface of either averages or minimum values over a range of window sizes depending on the the type of ScaleSurfParam provided in the constructor. |
RasterMap |
getSummarySurf2()
Retrieves the newly created surface of either variation or maximum values over a range of window sizes depending on the the type of ScaleSurfParam provided in the constructor. |
Methods inherited from class jwo.landserf.process.LSThread |
---|
checkStoppedThread, interruptionRequested, resetTimer, run, setErrorMessage, setFinalMessage, setMessage |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ScaleParamThread(GISFrame gisFrame, ScaleSurfParam ssp)
gisFrame
- GIS frame containing raster to process.ssp
- Multiscale surface parameter to calculate.Method Detail |
---|
public void doProcessing()
GISFrame
provided to the constructor. The average parameter
surface can be retrieved directly via this class's getParamAverage()
method, or by calling gisFrame.getRaster2();
. The raster map
containing the variation in parameter values can be retrieved via
getParamVariation()
or by calling gisFrame.getRasters()
and selecting the last raster map added.
doProcessing
in class LSThread
GISFrame
public RasterMap getParamAverage()
getSummarySurf1()
instead. This performs an identical function
but its new name reflects the fact that it can return either a surface of
averages or minimum values.
ScaleSurfParam
provided in the constructor.
public RasterMap getSummarySurf1()
ScaleSurfParam
provided in the constructor. The measure of
average will depend on whether the original surface is measurement scale (in which case, the mean is
returned) or categorical (in which case, the mode is returned).
public RasterMap getParamVariation()
getSummarySurf2()
instead. This performs an identical function
but its new name reflects the fact that it can return either a surface of
variation or maximum values.
ScaleSurfParam
provided in the constructor.
public RasterMap getSummarySurf2()
ScaleSurfParam
provided in the constructor. The measure of
variation will depend on whether the original surface is measurement scale (in which case, the standard
deviation is returned) or categorical (in which case, entropy is returned).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |