Using the Extract Bands process

The Extract Bands process extracts one or more bands from a multiband raster dataset. This process is used if only a few specific bands from a multiband raster dataset (typically multispectral or hyperspectral imagery) are required for processing the image service definition or for display. For example, you could use Extract Bands if you needed a process that requires some of the bands in the image service definition raster datasets, such as Convert Pixel Type. By extracting only the bands required for processing, you can speed up the processing and reduce the data transferred. Also, if you've added a multiband dataset such as QuickBird data, to your image service definition, you can create a four-band service, but only the first three are used for display. You can use Extract Bands to change the combination so that you can display 4,3,2, instead of 3,2,1.

The input for this process can be one to seven bands at any bit depth, pixel type, or color space. The output will be the same as the input.

步骤:
  1. Click the Layer drop-down arrow on the Image Service Definition Editor toolbar, and choose the image service definition you want to work with (if there are more than one).
  2. Click the Image Service Properties button 影像服务属性.
  3. Click Service Processes in the list on the left side of the Image Service Properties dialog box.
  4. Click Extract Bands in the Processes Available list and click the Add Process button 添加进程.

    This adds the selected process to the Processes Selected list. Each time the same process is added to the Processes Selected list, a number is appended to the alias; this number increases incrementally starting with 0. This number will not be added if you have changed the alias of the process prior to adding the second, same process.

  5. Click Extract Bands [0] in the Processes Selected list and click the Edit button 编辑.

    This opens the Extract Bands Process Definition dialog box.

  6. Optionally, type a new name in the Alias text box.
  7. Click the Output Number of Bands drop-down arrow and click the number of bands you want extracted.

    For example, type 1 for a grayscale output or 3 for an RGB output.

  8. Click the Band Source tab.
  9. Type the band numbers that will be used as the source for each output band.

    For example, if you loaded a Landsat image and specified Band 1 as Input 1, Band 2 as Input 2, Band 3 as Input 3, and Band 4 as Input 4, you could create a false color output image by typing 4 for Band Source-1, 3 for Band Source-2, and 2 for Band Source-3.

  10. Click OK.
  11. Check the process in the Processes Selected list.
  12. Click OK to close the dialog box.

相关主题


7/10/2012