org.gvsig.raster.principalcomponents.algorithm
Class PrincipalComponentsProcess

java.lang.Object
  extended by org.gvsig.raster.algorithm.process.ProcessUtils
      extended by org.gvsig.raster.algorithm.process.ProcessParamsManagement
          extended by org.gvsig.raster.algorithm.process.DataProcess
              extended by org.gvsig.raster.principalcomponents.algorithm.PrincipalComponentsProcess
All Implemented Interfaces:
java.lang.Runnable, java.util.EventListener, org.gvsig.raster.algorithm.gui.IIncrementable, org.gvsig.raster.algorithm.gui.IncrementableListener, org.gvsig.tools.dispose.Disposable

public class PrincipalComponentsProcess
extends org.gvsig.raster.algorithm.process.DataProcess

PCA Process

Author:
Nacho Brodin (nachobrodin@gmail.com)

Field Summary
static java.lang.String BANDS
           
static java.lang.String BUFFERS
           
static java.lang.String FILENAME
           
static java.lang.String GRAPHIC_DATA
           
static java.lang.String PATH
           
static java.lang.String PCSTATISTICS
           
static java.lang.String RASTER_STORE
           
static java.lang.String SELECTEDPCS
           
 
Fields inherited from class org.gvsig.raster.algorithm.process.DataProcess
blinker, externalActions, incrementableTask, logger, taskEventManager, taskParams
 
Fields inherited from class org.gvsig.raster.algorithm.process.ProcessParamsManagement
inputParameters, OUTPUT_HEIGHT, OUTPUT_WIDTH, outputParameters, PREVIEW, PROCESS, PROCESS_NAME, REGISTER_INPUT_PARAMETERS_LABEL, REGISTER_OUTPUT_PARAMETERS_LABEL, ROI_EPSG, TIME, WINDOW
 
Fields inherited from class org.gvsig.raster.algorithm.process.ProcessUtils
doubleNODATA
 
Constructor Summary
PrincipalComponentsProcess()
           
 
Method Summary
 double getScaleFactor(org.gvsig.fmap.dal.coverage.dataset.Buffer buffer, int sizePreview)
           
 java.lang.String getTitle()
           
 void init()
           
 void process()
           
static void registerParameters()
           
 
Methods inherited from class org.gvsig.raster.algorithm.process.DataProcess
actionCanceled, actionResumed, actionSuspended, addOutputValue, dispose, execute, finalize, getActions, getIncrementableTask, getLabel, getLog, getName, getPercent, getResult, getTime, getUniqueProcessActions, insertLineLog, isCancelable, isPausable, run, setActions, setCancelable, setName, setProgressActive, setUniqueProcessActions, showIncrementableWindow, start, updatePercent
 
Methods inherited from class org.gvsig.raster.algorithm.process.ProcessParamsManagement
addParam, getBooleanParam, getByteParam, getDoubleArrayParam, getDoubleParam, getExtentParam, getFloatParam, getIntArrayParam, getIntParam, getOutputHeight, getOutputWidth, getOutputWindow, getParam, getParameterClassList, getParameterTypeByProcess, getRasterTaskInputParameters, getRasterTaskOutputParameters, getROIEPSG, getStringParam, isForPreviews, isOutputRescaled, loadGlobalParameters, registerGlobalInputParameters, registerGlobalOutputParameters, registerInputParameter, registerOutputParameter, removeParam
 
Methods inherited from class org.gvsig.raster.algorithm.process.ProcessUtils
createOutputBuffer, createOutputBuffer, createSourceBuffer, debug, exportRaster, exportRaster, exportRaster, exportRaster, getData, getExtentResult, getIntersectionInPxCoords, getSourcePxBox, isAnalizedEntireLayer, isInsideOfROI, messageBoxError, messageBoxError, messageBoxError
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BANDS

public static final java.lang.String BANDS
See Also:
Constant Field Values

BUFFERS

public static final java.lang.String BUFFERS
See Also:
Constant Field Values

FILENAME

public static java.lang.String FILENAME

GRAPHIC_DATA

public static final java.lang.String GRAPHIC_DATA
See Also:
Constant Field Values

PATH

public static java.lang.String PATH

PCSTATISTICS

public static final java.lang.String PCSTATISTICS
See Also:
Constant Field Values

RASTER_STORE

public static java.lang.String RASTER_STORE

SELECTEDPCS

public static final java.lang.String SELECTEDPCS
See Also:
Constant Field Values
Constructor Detail

PrincipalComponentsProcess

public PrincipalComponentsProcess()
Method Detail

getScaleFactor

public double getScaleFactor(org.gvsig.fmap.dal.coverage.dataset.Buffer buffer,
                             int sizePreview)

getTitle

public java.lang.String getTitle()

init

public void init()
Specified by:
init in class org.gvsig.raster.algorithm.process.DataProcess

process

public void process()
             throws org.gvsig.fmap.dal.coverage.exception.ProcessInterruptedException,
                    org.gvsig.raster.algorithm.process.ProcessException
Specified by:
process in class org.gvsig.raster.algorithm.process.DataProcess
Throws:
org.gvsig.fmap.dal.coverage.exception.ProcessInterruptedException
org.gvsig.raster.algorithm.process.ProcessException

registerParameters

public static void registerParameters()


Copyright © 2011-2014 gvSIG Association. All Rights Reserved.