Pansharpen

概要

Creates a higher-resolution multiband image by fusing a lower-resolution multispectral image and a higher-resolution panchromatic image.

ディスカッション

For more information about how this function works, see the Pansharpen raster function.

The referenced raster dataset for the raster object is temporary. To make it permanent, you can call the raster object's save method.

構文

Pansharpen (pan_raster, ms_raster, {ir_raster}, {fourth_band_of_ms_is_ir}, {weights}, {type}, {sensor})
パラメーター説明データ タイプ
pan_raster

The input panchromatic raster.

Raster
ms_raster

The input multispectral raster.

Raster
ir_raster

Specify the path to a single-band image containing the near-infrared band.

(デフォルト値は次のとおりです None)

Raster
fourth_band_of_ms_is_ir

Specify that the fourth band of the input multispectral raster (ms_raster) is an infrared band.

  • True—The fourth band of the input multispectral raster is an IR band.
  • False—The multispectral raster contains an IR band.

(デフォルト値は次のとおりです True)

Boolean
weights

Specify weights applied to Red, Green, Blue, Near-Infrared bands. Sum of the weights is 1. For example, the weights for QuickBird imagery are [0.166, 0.167, 0.167, 0.5].

(デフォルト値は次のとおりです [0.166, 0.167, 0.167, 0.5])

String
type
[type,...]

Specify the Pansharpening method.

  • IHSUses Intensity, Hue, and Saturation color space for data fusion.
  • BroveyUses the Brovey algorithm based on spectral modeling for data fusion.
  • ESRIUses the Esri algorithm based on spectral modeling for data fusion. This is the default.
  • SimpleMeanUses the averaged value between the red, green, and blue values and the panchromatic pixel value.
  • Gram-SchmidtUses the Gram-Schmidt spectral-sharpening algorithm to sharpen multispectral data.

(デフォルト値は次のとおりです ESRI)

String
sensor
[sensor,...]

Specify the sensor name of the input imagery when the pansharpening method is Gram-Schmidt. Supported raster data types include DubaiSat-2, GeoEye-1, GF-1 PMS, GF-2 PMS, IKONOS, Jilin-1, KOMPSAT-2, KOMPSAT-3, Landsat 1-5 MSS, Landsat 7 ETM+, Landsat 8, Pleiades-1, QuickBird, SkySat, SPOT 5, SPOT 6 SPOT 7, TH-01, UltraCam, WorldView-2, WorldView-3, WorldView-4, ZY1-02C PMS, ZY3-CRESDA, ZY3-SASMAC, and UNKNOWN.

(デフォルト値は次のとおりです None)

String
戻り値
データ タイプ説明
Raster

The output pansharpened raster.

コードのサンプル

Pansharpen example

Create a higher-resolution multiband image by fusing a lower-resolution multispectral image and a higher-resolution panchromatic image.

import arcpy

Pansharpen_raster = arcpy.sa.Pansharpen(imagePath1, imagePath2, None, True, [0.166, 0.167, 0.167, 0.5], "Gram-Schmidt", None

関連トピック