|
|||||||||
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.CreatePansharpenedRasterDataset
public class CreatePansharpenedRasterDataset
Fuses a high-resolution panchromatic raster dataset with a lower-resolution multiband raster dataset to create a red-green-blue (RGB) raster with the resolution of the panchromatic raster. The Create Pan-sharpened Raster Dataset tool is contained in the Data Management Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
CreatePansharpenedRasterDataset()
Creates the Create Pan-sharpened Raster Dataset tool with defaults. |
|
CreatePansharpenedRasterDataset(Object inRaster,
int redChannel,
int greenChannel,
int blueChannel,
Object outRasterDataset,
Object inPanchromaticImage,
String pansharpeningType)
Creates the Create Pan-sharpened Raster Dataset tool with the required parameters. |
Method Summary | |
---|---|
int |
getBlueChannel()
Returns the Blue Channel parameter of this tool . |
double |
getBlueWeight()
Returns the Blue Weight parameter of this tool . |
int |
getGreenChannel()
Returns the Green Channel parameter of this tool . |
double |
getGreenWeight()
Returns the Green Weight parameter of this tool . |
int |
getInfraredChannel()
Returns the Infrared Channel parameter of this tool . |
double |
getInfraredWeight()
Returns the Infrared Weight parameter of this tool . |
Object |
getInPanchromaticImage()
Returns the Panchromatic Image parameter of this tool . |
Object |
getInRaster()
Returns the Input Raster parameter of this tool . |
Object |
getOutRasterDataset()
Returns the Output Raster Dataset parameter of this tool . |
String |
getPansharpeningType()
Returns the Pan-sharpening Type parameter of this tool . |
int |
getRedChannel()
Returns the Red Channel parameter of this tool . |
double |
getRedWeight()
Returns the Red Weight 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 |
setBlueChannel(int blueChannel)
Sets the Blue Channel parameter of this tool . |
void |
setBlueWeight(double blueWeight)
Sets the Blue Weight parameter of this tool . |
void |
setGreenChannel(int greenChannel)
Sets the Green Channel parameter of this tool . |
void |
setGreenWeight(double greenWeight)
Sets the Green Weight parameter of this tool . |
void |
setInfraredChannel(int infraredChannel)
Sets the Infrared Channel parameter of this tool . |
void |
setInfraredWeight(double infraredWeight)
Sets the Infrared Weight parameter of this tool . |
void |
setInPanchromaticImage(Object inPanchromaticImage)
Sets the Panchromatic Image parameter of this tool . |
void |
setInRaster(Object inRaster)
Sets the Input Raster parameter of this tool . |
void |
setOutRasterDataset(Object outRasterDataset)
Sets the Output Raster Dataset parameter of this tool . |
void |
setPansharpeningType(String pansharpeningType)
Sets the Pan-sharpening Type parameter of this tool . |
void |
setRedChannel(int redChannel)
Sets the Red Channel parameter of this tool . |
void |
setRedWeight(double redWeight)
Sets the Red Weight 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 CreatePansharpenedRasterDataset()
Initializes the array of tool parameters with the default values specified when the tool was created.
public CreatePansharpenedRasterDataset(Object inRaster, int redChannel, int greenChannel, int blueChannel, Object outRasterDataset, Object inPanchromaticImage, String pansharpeningType)
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 input raster dataset that you want to pan-sharpen. typically, this is a low-resolution multiband raster dataset.redChannel
- the input raster band that you want to display with the red color gun.greenChannel
- the input raster band that you want to display with the green color gun.blueChannel
- the input raster band that you want to display with the blue color gun.outRasterDataset
- the output raster dataset. when storing the raster dataset in a file format, you need to specify the file extension: when storing a raster dataset in a geodatabase, no file extension should be added to the name of the raster dataset. when storing your raster dataset to a JPEG file, a JPEG 2000 file, a TIFF file, or a geodatabase, you can specify a compression type and compression quality.inPanchromaticImage
- the panchromatic raster dataset. Typically, this is a high-resolution grayscale image.pansharpeningType
- the pan-sharpening method: older scripts and models may use still the old keyword. With the ArcGIS 10.0 release, this keyword was replaced with "Simple_Mean". Both keywords will continue to work, but for clarity it may be worthwhile to update it to the new keyword.Method Detail |
---|
public Object getInRaster()
public void setInRaster(Object inRaster)
inRaster
- the input raster dataset that you want to pan-sharpen. typically, this is a low-resolution multiband raster dataset.public int getRedChannel()
public void setRedChannel(int redChannel)
redChannel
- the input raster band that you want to display with the red color gun.public int getGreenChannel()
public void setGreenChannel(int greenChannel)
greenChannel
- the input raster band that you want to display with the green color gun.public int getBlueChannel()
public void setBlueChannel(int blueChannel)
blueChannel
- the input raster band that you want to display with the blue color gun.public int getInfraredChannel()
public void setInfraredChannel(int infraredChannel)
infraredChannel
- the input infrared raster band. An infrared band does not exist for every raster dataset.public Object getOutRasterDataset()
public void setOutRasterDataset(Object outRasterDataset)
outRasterDataset
- the output raster dataset. when storing the raster dataset in a file format, you need to specify the file extension: when storing a raster dataset in a geodatabase, no file extension should be added to the name of the raster dataset. when storing your raster dataset to a JPEG file, a JPEG 2000 file, a TIFF file, or a geodatabase, you can specify a compression type and compression quality.public Object getInPanchromaticImage()
public void setInPanchromaticImage(Object inPanchromaticImage)
inPanchromaticImage
- the panchromatic raster dataset. Typically, this is a high-resolution grayscale image.public String getPansharpeningType()
public void setPansharpeningType(String pansharpeningType)
pansharpeningType
- the pan-sharpening method: older scripts and models may use still the old keyword. With the ArcGIS 10.0 release, this keyword was replaced with "Simple_Mean". Both keywords will continue to work, but for clarity it may be worthwhile to update it to the new keyword.public double getRedWeight()
public void setRedWeight(double redWeight)
redWeight
- the weight value for the red band. all the weight values (red, green, blue, and infrared) should equal a sum of one.public double getGreenWeight()
public void setGreenWeight(double greenWeight)
greenWeight
- the weight value for the green band. all the weight values (red, green, blue, and infrared) should equal a sum of one.public double getBlueWeight()
public void setBlueWeight(double blueWeight)
blueWeight
- the weight value for the blue band. all the weight values (red, green, blue, and infrared) should equal a sum of one.public double getInfraredWeight()
public void setInfraredWeight(double infraredWeight)
infraredWeight
- the weight value for the infrared band. This parameter is only valid if an infrared band exists and the infrared option is used. all the weight values (red, green, blue, and infrared) should equal a sum of one.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 |