Applying the pan-sharpening process to an image service definition

This process describes using two image services—one containing the panchromatic images and one containing multispectral images (such as a three-band TIFF).

步骤:
  1. Create a panchromatic image service definition and a multispectral (color) image service definition. Optimize and compile these services and publish them on a service provider.
  2. Add these image service definitions to ArcMap as a client.
  3. Right-click each layer and click Save As .ISRef File to save each layer as an image service reference file.
  4. Create a new image service definition by clicking the Image Service drop-down arrow, pointing to Advanced, then clicking New Service Definition.

    This image service definition should be created using the same parameters as the multispectral image service definition. For example, the color space will likely be RGB and the number of bands will likely be 3. This image service definition will be used to combine the panchromatic image service definition and the multispectral image service definition.

  5. If you have more than one image service definition open, click the Layer drop-down arrow on the Image Service Definition Editor toolbar and choose the image service definition you just created.
  6. Click the Image Service drop-down menu, point to Advanced, then click Add Raster Dataset.
  7. Double-click the Georeferenced Imagery folder.
  8. Click Image Service and click OK.
  9. Click the Select Folder browse button, navigate to the location of the two .ISRef files, then click OK.
  10. Click the Open Service Table button 服务表.
  11. Copy the number in the RasterID column corresponding to the multispectral image service definition.
  12. Click the Raster Properties button 栅格属性.
  13. Click the Rasters node to view a table and three additional tabs.

    You need to identify the correct ID value if there is more than one. Often there will only be one with a value of 0 or 1. However, if there is more than one, you need to click each to determine which row represents the primary raster. The Primary value is displayed on the General tab for the Derivation method parameter.

  14. Click Cancel to close the Raster Properties dialog box and click No to be sure not to save any changes.
  15. In the service table, click the gray button next to the row corresponding to the panchromatic image service definition to select the row.
  16. Close the service table.
  17. Click the Raster Properties button 栅格属性.
  18. Click the Processes node.
  19. Uncheck Validator—ExtractBands in the Processes Selected list.

    This process was automatically added to adjust the pixel type of the panchromatic raster dataset to the pixel type of the service definition. You don't need this anymore because you will be using the pan-sharpening process to achieve the same result.

  20. Click the Rasters node.
  21. Click the Process tab.
  22. Click Pan-sharpen in the Processes Available list and click the Add Process button 添加进程.
  23. Click Pan-sharpen in the Processes Selected list and click the Edit button 编辑.
  24. Type or paste the <RasterID>.<RasterIDinRPDef> value in the Multispectral Image ID text box.

    This is the multispectral rasterID number (from step 11). Type .1 (or the ID number found in step 13) after the raster ID string to indicate that the primary raster from this dataset is to be used.

  25. Click the Method drop-down arrow and choose a pan-sharpening method.
  26. Optionally, edit the band weights.
  27. Click OK.
  28. Click OK to close the Raster Properties dialog box.
  29. Click Selection on the Main menu and click Clear Selected Features.
  30. You can now build, optimize, compile, and publish this image service definition.

相关主题


7/10/2012