|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread jwo.landserf.process.LSThread jwo.landserf.process.FuzzyFeatureThread
public class FuzzyFeatureThread
Performs a fuzzy feature classification of a DEM. Feature membership is based on the degree
to which any given location is classified as a particular feature over a range of window
sizes. For example, a location that is classified as a peak using windows of size 3x3, 5x5,
7x7 and 9x9 would have a peak membership of 1 and pit, channel, pass, ridge and planar
membership of 0. A location classified as a peak at 3x3, and 5x5, but a ridge at 7x7 and
planar at 9x9 would have a peak membership of 2/4=0.5, a ridge membership of 1/4=0.25 and
planar membership of 1/4=0.25.
This class produces 6 new rasters, one for each feature membership type (PIT, CHANNEL,
PASS, RIDGE, PEAK and PLANAR).
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 | |
---|---|
FuzzyFeatureThread(GISFrame gisFrame)
Calculates the fuzzy feature classification. |
Method Summary | |
---|---|
void |
doProcessing()
Performs the fuzzy feature classification on the DEM stored as the primary raster stored in GISFrame provided to the constructor. |
RasterMap |
getChannelMembershipMap()
Retrieves the channel membership raster map. |
RasterMap |
getPassMembershipMap()
Retrieves the pass membership raster map. |
RasterMap |
getPeakMembershipMap()
Retrieves the peak membership raster map. |
RasterMap |
getPitMembershipMap()
Retrieves the pit membership raster map. |
RasterMap |
getPlanarMembershipMap()
Retrieves the planar membership raster map. |
RasterMap |
getRidgeMembershipMap()
Retrieves the ridge membership raster map. |
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 FuzzyFeatureThread(GISFrame gisFrame)
gisFrame
- GIS frame containing raster to process.Method Detail |
---|
public void doProcessing()
GISFrame
provided to the constructor. The newly
created raster maps, one each for the 6 feature types, are added to the
GISFrame
provided to the constructor. They can be retrieved directly
via this class's accessor methods (getPeakMembershipMap()
etc.), or
by calling gisFrame.getRasterMaps();
and selecting the last 6 maps
from the list.
doProcessing
in class LSThread
GISFrame
public RasterMap getPitMembershipMap()
public RasterMap getChannelMembershipMap()
public RasterMap getPassMembershipMap()
public RasterMap getRidgeMembershipMap()
public RasterMap getPeakMembershipMap()
public RasterMap getPlanarMembershipMap()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |