org.gvsig.raster.principalcomponents.algorithm
Class PCAStatisticsProcess

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.PCAStatisticsProcess
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 PCAStatisticsProcess
extends org.gvsig.raster.algorithm.process.DataProcess

This Process computes a PCStatsDataStructure Object from bands of two images in a study zone. PCStatsDataStructure is a object that contains the needed statistics to Principal Components decomposition of images.

Author:
Nacho Brodin (nachobrodin@gmail.com)

Field Summary
static java.lang.String BANDS
           
static java.lang.String LAYER_ZONA_ESTUDIO
           
static java.lang.String PATH
           
static java.lang.String RASTER_STORE
           
static java.lang.String ROI_EPSG
           
static java.lang.String STATS_RESULT
           
static java.lang.String WINDOW
           
 
Fields inherited from class org.gvsig.raster.algorithm.process.DataProcess
blinker, externalActions, incrementableTask, 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, TIME
 
Fields inherited from class org.gvsig.raster.algorithm.process.ProcessUtils
doubleNODATA
 
Constructor Summary
PCAStatisticsProcess()
           
 
Method Summary
 double[] getAutoValors()
           
 Jama.Matrix getAutoVectorMatrix()
           
 Jama.Matrix getcoVarMatrix()
           
 java.lang.String getTitle()
           
 void init()
           
 boolean isInsideOfROI(int x, int y, java.util.List<org.gvsig.raster.roi.ROI> rois, org.gvsig.fmap.dal.coverage.datastruct.Extent extentResult)
           
 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, 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 java.lang.String BANDS

LAYER_ZONA_ESTUDIO

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

PATH

public static java.lang.String PATH

RASTER_STORE

public static java.lang.String RASTER_STORE

ROI_EPSG

public static java.lang.String ROI_EPSG

STATS_RESULT

public static java.lang.String STATS_RESULT

WINDOW

public static java.lang.String WINDOW
Constructor Detail

PCAStatisticsProcess

public PCAStatisticsProcess()
Method Detail

getAutoValors

public double[] getAutoValors()

getAutoVectorMatrix

public Jama.Matrix getAutoVectorMatrix()
Returns:
Autovectors Matrix

getcoVarMatrix

public Jama.Matrix getcoVarMatrix()
Returns:
Varianze-covarianze Matrix

getTitle

public java.lang.String getTitle()

init

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

isInsideOfROI

public boolean isInsideOfROI(int x,
                             int y,
                             java.util.List<org.gvsig.raster.roi.ROI> rois,
                             org.gvsig.fmap.dal.coverage.datastruct.Extent extentResult)
Overrides:
isInsideOfROI in class org.gvsig.raster.algorithm.process.ProcessUtils

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.