Using the Classify Pixel process Include method

In this example, the pixels are selected in such a way that all conditions need to be met for a pixel. The R, G, and B values of pixels should be within 0–40, 0–60, 0–40, respectively.

Schritte:
  1. Open an image service definition.
  2. Click the Image Service Properties button Image-Service-Eigenschaften on the Image Service Definition Editor toolbar.

    The Image Service Properties dialog box appears.

  3. Click the Service Processes node.
  4. Click the Classify Pixel process and click the Add Process button Prozess hinzufügen.

    The selected process is added to the Processes Selected list on the right.

  5. Click Classify Pixel in the Processes Selected list.
  6. Click the Edit button Bearbeiten.

    The Classify Pixel Process Definition dialog box is displayed.

  7. Click the Include method drop-down arrow on the Classify Pixel Process Definition dialog box and click Or.
  8. Click the Exclude method drop-down arrow and click None.
  9. Type "0-40" in the Include range for band 1 text box.
  10. Type "0-60" in the Include range for band 2 text box.
  11. Type "0-40" in the Include range for band 3 text box.

    Include Method I

  12. Click OK.
  13. Click the Extract Bands process and click the Add Process button Prozess hinzufügen.

    The selected process is added to the Processes Selected list on the right.

  14. Click OK.
  15. Build the image service definition with the Compute Output Properties options checked, as the output image properties will change to one band from the three-band input.
  16. Preview the image service definition.

Verwandte Themen


7/10/2012