Show Navigation | Hide Navigation
You are here:
Geoprocessing tool reference > Data Management toolbox > Raster toolset > Tools

Create Pan-Sharpened Raster Dataset (Data Management)

Release 9.2
Last modified November 29, 2010
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Tools"


Related Topics

Fuses a high-resolution panchromatic raster dataset with a lower-resolution multiband raster dataset to create an RGB raster with the resolution of the panchromatic raster.

Learn more about panchromatic sharpening


Usage tips

Command line syntax
An overview of the Command Line window
CreatePansharpenedRasterDataset_management <in_raster> {red_channel} {green_channel} {blue_channel} {infrared_channel} <out_raster_dataset> <in_panchromatic_image> <IHS | Brovey | ESRI | Simple Mean> {red_weight} {green_weight} {blue_weight} {infrared_weight}

Parameter Explanation Data Type
<in_raster>

The input raster dataset that you want to pan-sharpen. Typically this is a low-resolution multi-band raster dataset.

Raster Layer
{red_channel}

The input raster band that you want to display with the red color gun.

Long
{green_channel}

The input raster band that you want to display with the green color gun.

Long
{blue_channel}

The input raster band that you want to display with the blue color gun.

Long
{infrared_channel}

The input infrared raster band. An infrared band does not exist for every raster dataset.

Long
<out_raster_dataset>

The output raster dataset.

When storing the raster dataset in a file format, you need to specify the file extension: .bmp for BMP, .gif for GIF, .img for an ERDAS IMAGINE file, .jpg for JPEG, .jp2 for JPEG 2000, .png for PNG, .tif for TIFF, or no extension for GRID.

When storing a raster dataset in a geodatabase, no file extension should be added to the name of the raster dataset. A raster dataset stored in a geodatabase can be compressed; you can specify a compression type and compression quality.

Raster Dataset
<in_panchromatic_image>

The panchromatic raster dataset. Typically this is a high-resolution grayscale image.

Raster Dataset
<IHS | Brovey | ESRI | Simple Mean>

The pan-sharpening method:

  • IHS — Uses Intensity, Hue, and Saturation color space for data fusion.
  • Brovey — Uses the Brovey algorithm based on spectral modeling for data fusion.
  • ESRI — Uses the ESRI algorithm based on spectral modeling for data fusion.
  • Simple Mean — Uses the averaged value between the red, green, and blue values and the panchromatic pixel value.

String
{red_weight}

The weight value for the red band.

All the weight values (red, green, blue, and infrared) should equal a sum of one.

Double
{green_weight}

The weight value for the green band.

All the weight values (red, green, blue, and infrared) should equal a sum of one.

Double
{blue_weight}

The weight value for the blue band.

All the weight values (red, green, blue, and infrared) should equal a sum of one.

Double
{infrared_weight}

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.

Double
Data types for geoprocessing tool parameters


Command line example

CreatePansharpenedRasterDataset c:/Redlands_data/Redlands.tif 1 2 3 1 c:/Redlands_data/Redlands_pansharp.img c:/Redlands_data/Redlands_pan.tif ESRI 0.1666 0.167 0.167 0.5

Scripting syntax
About getting started with writing geoprocessing scripts
CreatePansharpenedRasterDataset_management (in_raster, red_channel, green_channel, blue_channel, infrared_channel, out_raster_dataset, in_panchromatic_image, pansharpening_type, red_weight, green_weight, blue_weight, infrared_weight)

Parameter Explanation Data Type
in_raster (Required)

The input raster dataset that you want to pan-sharpen. Typically this is a low-resolution multi-band raster dataset.

Raster Layer
red_channel (Optional)

The input raster band that you want to display with the red color gun.

Long
green_channel (Optional)

The input raster band that you want to display with the green color gun.

Long
blue_channel (Optional)

The input raster band that you want to display with the blue color gun.

Long
infrared_channel (Optional)

The input infrared raster band. An infrared band does not exist for every raster dataset.

Long
out_raster_dataset (Required)

The output raster dataset.

When storing the raster dataset in a file format, you need to specify the file extension: .bmp for BMP, .gif for GIF, .img for an ERDAS IMAGINE file, .jpg for JPEG, .jp2 for JPEG 2000, .png for PNG, .tif for TIFF, or no extension for GRID.

When storing a raster dataset in a geodatabase, no file extension should be added to the name of the raster dataset. A raster dataset stored in a geodatabase can be compressed; you can specify a compression type and compression quality.

Raster Dataset
in_panchromatic_image (Required)

The panchromatic raster dataset. Typically this is a high-resolution grayscale image.

Raster Dataset
pansharpening_type (Required)

The pan-sharpening method:

  • IHS — Uses Intensity, Hue, and Saturation color space for data fusion.
  • Brovey — Uses the Brovey algorithm based on spectral modeling for data fusion.
  • ESRI — Uses the ESRI algorithm based on spectral modeling for data fusion.
  • Simple Mean — Uses the averaged value between the red, green, and blue values and the panchromatic pixel value.

String
red_weight (Optional)

The weight value for the red band.

All the weight values (red, green, blue, and infrared) should equal a sum of one.

Double
green_weight (Optional)

The weight value for the green band.

All the weight values (red, green, blue, and infrared) should equal a sum of one.

Double
blue_weight (Optional)

The weight value for the blue band.

All the weight values (red, green, blue, and infrared) should equal a sum of one.

Double
infrared_weight (Optional)

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.

Double

Data types for geoprocessing tool parameters


Script example

# Create the geoprocessing object
import arcgisscripting
gp = arcgisscripting.create()

gp.workspace = "c:/Redlands_data"
gp.CreatePansharpenedRasterDataset_management("Redlands.tif","1","2","3","1","Redlands_pansharp.img",  "Redlands_pan.tif", 'ESRI','0.166','0.167','0.167','0.5')

Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.