com.esri.arcgis.geoprocessing.tools.spatialanalysttools
Class ClassProbability

java.lang.Object
  extended by com.esri.arcgis.geoprocessing.AbstractGPTool
      extended by com.esri.arcgis.geoprocessing.tools.spatialanalysttools.ClassProbability
All Implemented Interfaces:
GPTool

public class ClassProbability
extends AbstractGPTool

Creates a multiband raster of probability bands, with one band being created for each class represented in the input signature file. The Class Probability tool is contained in the Spatial Analyst Tools tool box.

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
ClassProbability()
          Creates the Class Probability tool with defaults.
ClassProbability(java.lang.Object inRasterBands, java.lang.Object inSignatureFile, java.lang.Object outMultibandRaster)
          Creates the Class Probability tool with the required parameters.
 
Method Summary
 java.lang.String getAPrioriProbabilities()
          Returns the A priori probability weighting parameter of this tool .
 java.lang.Object getInAPrioriFile()
          Returns the Input a priori probability file parameter of this tool .
 java.lang.Object getInRasterBands()
          Returns the Input raster bands parameter of this tool .
 java.lang.Object getInSignatureFile()
          Returns the Input signature file parameter of this tool .
 int getMaximumOutputValue()
          Returns the Maximum output value parameter of this tool .
 java.lang.Object getOutMultibandRaster()
          Returns the Output multiband raster parameter of this tool .
 java.lang.String getToolboxAlias()
          Returns the alias of the tool box containing this tool.
 java.lang.String getToolboxName()
          Returns the name of the tool box containing this tool.
 java.lang.String getToolName()
          Returns the name of this tool.
 void setAPrioriProbabilities(java.lang.String aPrioriProbabilities)
          Sets the A priori probability weighting parameter of this tool .
 void setInAPrioriFile(java.lang.Object inAPrioriFile)
          Sets the Input a priori probability file parameter of this tool .
 void setInRasterBands(java.lang.Object inRasterBands)
          Sets the Input raster bands parameter of this tool .
 void setInSignatureFile(java.lang.Object inSignatureFile)
          Sets the Input signature file parameter of this tool .
 void setMaximumOutputValue(int maximumOutputValue)
          Sets the Maximum output value parameter of this tool .
 void setOutMultibandRaster(java.lang.Object outMultibandRaster)
          Sets the Output multiband raster parameter of this tool .
 
Methods inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
getParameterValues, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassProbability

public ClassProbability()
Creates the Class Probability tool with defaults.

Initializes the array of tool parameters with the default values specified when the tool was created.


ClassProbability

public ClassProbability(java.lang.Object inRasterBands,
                        java.lang.Object inSignatureFile,
                        java.lang.Object outMultibandRaster)
Creates the Class Probability tool with the required parameters.

Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.

Parameters:
inRasterBands - the input raster bands. raster bands can be integer or floating point.
inSignatureFile - input signature file whose class signatures are used to generate the a priori probability bands.l a .gsg extension is required.
outMultibandRaster - the output multiband raster dataset. the dataset filename cannot have more than 9 characters.
Method Detail

getInRasterBands

public java.lang.Object getInRasterBands()
Returns the Input raster bands parameter of this tool . This parameter is the input raster bands. raster bands can be integer or floating point. This is a required parameter.

Returns:
the Input raster bands

setInRasterBands

public void setInRasterBands(java.lang.Object inRasterBands)
Sets the Input raster bands parameter of this tool . This parameter is the input raster bands. raster bands can be integer or floating point. This is a required parameter.

Parameters:
inRasterBands - the input raster bands. raster bands can be integer or floating point.

getInSignatureFile

public java.lang.Object getInSignatureFile()
Returns the Input signature file parameter of this tool . This parameter is input signature file whose class signatures are used to generate the a priori probability bands.l a .gsg extension is required. This is a required parameter.

Returns:
the Input signature file

setInSignatureFile

public void setInSignatureFile(java.lang.Object inSignatureFile)
Sets the Input signature file parameter of this tool . This parameter is input signature file whose class signatures are used to generate the a priori probability bands.l a .gsg extension is required. This is a required parameter.

Parameters:
inSignatureFile - input signature file whose class signatures are used to generate the a priori probability bands.l a .gsg extension is required.

getOutMultibandRaster

public java.lang.Object getOutMultibandRaster()
Returns the Output multiband raster parameter of this tool . This parameter is the output multiband raster dataset. the dataset filename cannot have more than 9 characters. This is a required parameter.

Returns:
the Output multiband raster

setOutMultibandRaster

public void setOutMultibandRaster(java.lang.Object outMultibandRaster)
Sets the Output multiband raster parameter of this tool . This parameter is the output multiband raster dataset. the dataset filename cannot have more than 9 characters. This is a required parameter.

Parameters:
outMultibandRaster - the output multiband raster dataset. the dataset filename cannot have more than 9 characters.

getMaximumOutputValue

public int getMaximumOutputValue()
Returns the Maximum output value parameter of this tool . This parameter is factor for scaling the range of values in the output probability bands. by default, the values range from 0 to 100. This is an optional parameter.

Returns:
the Maximum output value

setMaximumOutputValue

public void setMaximumOutputValue(int maximumOutputValue)
Sets the Maximum output value parameter of this tool . This parameter is factor for scaling the range of values in the output probability bands. by default, the values range from 0 to 100. This is an optional parameter.

Parameters:
maximumOutputValue - factor for scaling the range of values in the output probability bands. by default, the values range from 0 to 100.

getAPrioriProbabilities

public java.lang.String getAPrioriProbabilities()
Returns the A priori probability weighting parameter of this tool . This parameter is specifies how a priori probabilities will be determined. This is an optional parameter.

Returns:
the A priori probability weighting

setAPrioriProbabilities

public void setAPrioriProbabilities(java.lang.String aPrioriProbabilities)
Sets the A priori probability weighting parameter of this tool . This parameter is specifies how a priori probabilities will be determined. This is an optional parameter.

Parameters:
aPrioriProbabilities - specifies how a priori probabilities will be determined.

getInAPrioriFile

public java.lang.Object getInAPrioriFile()
Returns the Input a priori probability file parameter of this tool . This parameter is a text file containing a priori probabilities for the input signature classes. an input for the a priori probability file is only required when the FILE option is used. the extension for the a priori file can be .txt or .asc. This is an optional parameter.

Returns:
the Input a priori probability file

setInAPrioriFile

public void setInAPrioriFile(java.lang.Object inAPrioriFile)
Sets the Input a priori probability file parameter of this tool . This parameter is a text file containing a priori probabilities for the input signature classes. an input for the a priori probability file is only required when the FILE option is used. the extension for the a priori file can be .txt or .asc. This is an optional parameter.

Parameters:
inAPrioriFile - a text file containing a priori probabilities for the input signature classes. an input for the a priori probability file is only required when the FILE option is used. the extension for the a priori file can be .txt or .asc.

getToolName

public java.lang.String getToolName()
Returns the name of this tool.

Returns:
the tool name

getToolboxName

public java.lang.String getToolboxName()
Returns the name of the tool box containing this tool.

Returns:
the tool box name

getToolboxAlias

public java.lang.String getToolboxAlias()
Returns the alias of the tool box containing this tool.

Returns:
the tool box alias