|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.AbstractGPTool com.esri.arcgis.geoprocessing.tools.spatialanalysttools.FocalStatistics
public class FocalStatistics
Calculates for each input cell location a statistic of the values within a specified neighborhood around it. The Focal Statistics tool is contained in the Spatial Analyst Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
FocalStatistics()
Creates the Focal Statistics tool with defaults. |
|
FocalStatistics(Object inRaster,
Object outRaster)
Creates the Focal Statistics tool with the required parameters. |
Method Summary | |
---|---|
String |
getIgnoreNodata()
Returns the Ignore NoData in calculations parameter of this tool . |
Object |
getInRaster()
Returns the Input raster parameter of this tool . |
Object |
getNeighborhood()
Returns the Neighborhood parameter of this tool . |
Object |
getOutRaster()
Returns the Output raster parameter of this tool . |
String |
getStatisticsType()
Returns the Statistics type parameter of this tool . |
String |
getToolboxAlias()
Returns the alias of the tool box containing this tool. |
String |
getToolboxName()
Returns the name of the tool box containing this tool. |
String |
getToolName()
Returns the name of this tool. |
void |
setIgnoreNodata(String ignoreNodata)
Sets the Ignore NoData in calculations parameter of this tool . |
void |
setInRaster(Object inRaster)
Sets the Input raster parameter of this tool . |
void |
setNeighborhood(Object neighborhood)
Sets the Neighborhood parameter of this tool . |
void |
setOutRaster(Object outRaster)
Sets the Output raster parameter of this tool . |
void |
setStatisticsType(String statisticsType)
Sets the Statistics type 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 |
---|
public FocalStatistics()
Initializes the array of tool parameters with the default values specified when the tool was created.
public FocalStatistics(Object inRaster, Object outRaster)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inRaster
- the raster to perform the Focal Statistics calculations on.outRaster
- the output focal statistics raster.Method Detail |
---|
public Object getInRaster()
public void setInRaster(Object inRaster)
inRaster
- the raster to perform the Focal Statistics calculations on.public Object getOutRaster()
public void setOutRaster(Object outRaster)
outRaster
- the output focal statistics raster.public Object getNeighborhood()
public void setNeighborhood(Object neighborhood)
neighborhood
- the Neighborhood class dictates the shape of the area around each cell used to calculate the statistic. the different types of neighborhood available are: NbrAnnulus, NbrCircle, NbrRectangle, NbrWedge, NbrIrregular, and NbrWeight. the following are the forms of the neighborhoods: the {CELL | MAP} parameter defines the distance units as either being Cell units or Map units. the default neighborhood is a square NbrRectangle with a width and height of 3 cells.public String getStatisticsType()
public void setStatisticsType(String statisticsType)
statisticsType
- the statistic type to be calculated. the default statistic type is MEAN.public String getIgnoreNodata()
public void setIgnoreNodata(String ignoreNodata)
ignoreNodata
- denotes whether NoData values are ignored by the statistic calculation.public String getToolName()
public String getToolboxName()
public String getToolboxAlias()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |