|
|||||||||
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.datamanagementtools.GenerateExcludeArea
public class GenerateExcludeArea
Allows you to set the exclude area, based on color mask or histogram percentage. The output of this tool can then be used within the Color Balance Mosaic Dataset tool. The Generate Exclude Area tool is contained in the Data Management Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
GenerateExcludeArea()
Creates the Generate Exclude Area tool with defaults. |
|
GenerateExcludeArea(Object inRaster,
Object outRaster,
String pixelType,
String generateMethod)
Creates the Generate Exclude Area tool with the required parameters. |
Method Summary | |
---|---|
String |
getGenerateMethod()
Returns the Generate Method parameter of this tool . |
Object |
getInRaster()
Returns the Input Raster parameter of this tool . |
double |
getMaxBlack()
Returns the Maximum Black parameter of this tool . |
double |
getMaxBlue()
Returns the Maximum Blue parameter of this tool . |
double |
getMaxCyan()
Returns the Maximum Cyan parameter of this tool . |
double |
getMaxGreen()
Returns the Maximum Green parameter of this tool . |
double |
getMaxMagenta()
Returns the Maximum Magenta parameter of this tool . |
double |
getMaxRed()
Returns the Maximum Red parameter of this tool . |
double |
getMaxWhite()
Returns the Maximum White parameter of this tool . |
double |
getMaxYellow()
Returns the Maximum Yellow parameter of this tool . |
Object |
getOutRaster()
Returns the Output Raster Dataset parameter of this tool . |
double |
getPercentageHigh()
Returns the High Percentage parameter of this tool . |
double |
getPercentageLow()
Returns the Low Percentage parameter of this tool . |
String |
getPixelType()
Returns the Pixel 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 |
setGenerateMethod(String generateMethod)
Sets the Generate Method parameter of this tool . |
void |
setInRaster(Object inRaster)
Sets the Input Raster parameter of this tool . |
void |
setMaxBlack(double maxBlack)
Sets the Maximum Black parameter of this tool . |
void |
setMaxBlue(double maxBlue)
Sets the Maximum Blue parameter of this tool . |
void |
setMaxCyan(double maxCyan)
Sets the Maximum Cyan parameter of this tool . |
void |
setMaxGreen(double maxGreen)
Sets the Maximum Green parameter of this tool . |
void |
setMaxMagenta(double maxMagenta)
Sets the Maximum Magenta parameter of this tool . |
void |
setMaxRed(double maxRed)
Sets the Maximum Red parameter of this tool . |
void |
setMaxWhite(double maxWhite)
Sets the Maximum White parameter of this tool . |
void |
setMaxYellow(double maxYellow)
Sets the Maximum Yellow parameter of this tool . |
void |
setOutRaster(Object outRaster)
Sets the Output Raster Dataset parameter of this tool . |
void |
setPercentageHigh(double percentageHigh)
Sets the High Percentage parameter of this tool . |
void |
setPercentageLow(double percentageLow)
Sets the Low Percentage parameter of this tool . |
void |
setPixelType(String pixelType)
Sets the Pixel 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 GenerateExcludeArea()
Initializes the array of tool parameters with the default values specified when the tool was created.
public GenerateExcludeArea(Object inRaster, Object outRaster, String pixelType, String generateMethod)
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 file path and file name of the input raster. Valid inputs include raster layers and mosaic datasets layers.outRaster
- the file path and file name of the input raster. The output will be a raster dataset. the output can then be used as the Exclude Area Raster parameter within the Color Balance Mosaic Dataset tool.pixelType
- choose the pixel depth of your input raster dataset. This parameter is important, since any pixel depth above 8-bit will need to have the color mask and histogram values adjusted.generateMethod
- choose which method you would like to use, to exclude areas of your input.Method Detail |
---|
public Object getInRaster()
public void setInRaster(Object inRaster)
inRaster
- the file path and file name of the input raster. Valid inputs include raster layers and mosaic datasets layers.public Object getOutRaster()
public void setOutRaster(Object outRaster)
outRaster
- the file path and file name of the input raster. The output will be a raster dataset. the output can then be used as the Exclude Area Raster parameter within the Color Balance Mosaic Dataset tool.public String getPixelType()
public void setPixelType(String pixelType)
pixelType
- choose the pixel depth of your input raster dataset. This parameter is important, since any pixel depth above 8-bit will need to have the color mask and histogram values adjusted.public String getGenerateMethod()
public void setGenerateMethod(String generateMethod)
generateMethod
- choose which method you would like to use, to exclude areas of your input.public double getMaxRed()
public void setMaxRed(double maxRed)
maxRed
- this is the maximum red value to exclude. The default is 255.public double getMaxGreen()
public void setMaxGreen(double maxGreen)
maxGreen
- this is the maximum green value to exclude. The default is 255.public double getMaxBlue()
public void setMaxBlue(double maxBlue)
maxBlue
- this is the maximum blue value to exclude. The default is 255.public double getMaxWhite()
public void setMaxWhite(double maxWhite)
maxWhite
- this is the maximum white value to exclude. The default is 255.public double getMaxBlack()
public void setMaxBlack(double maxBlack)
maxBlack
- this is the maximum black value to exclude. The default is 0.public double getMaxMagenta()
public void setMaxMagenta(double maxMagenta)
maxMagenta
- this is the maximum magenta value to exclude. The default is 255.public double getMaxCyan()
public void setMaxCyan(double maxCyan)
maxCyan
- this is the maximum cyan value to exclude. The default is 255.public double getMaxYellow()
public void setMaxYellow(double maxYellow)
maxYellow
- this is the maximum yellow value to exclude. The default is 255.public double getPercentageLow()
public void setPercentageLow(double percentageLow)
percentageLow
- this is the minimum percentage of the histogram to exclude. The default is 0.public double getPercentageHigh()
public void setPercentageHigh(double percentageHigh)
percentageHigh
- this is the maximum percentage of the histogram to exclude. The default is 100public String getToolName()
public String getToolboxName()
public String getToolboxAlias()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |