Specifying a string when using the Classify Pixel process
Legacy:
ArcGIS 10 is the last release of the stand-alone ArcGIS Image Server product. The image service definition (.ISDef) has been replaced by an improved geodatabase data model—the mosaic dataset—which can be published as an image service using the ArcGIS Server Image extension.
This example uses a string to show how you can select pixel values that may not be in a continuous range.
Steps:
- Open an image service definition.
-
Click the Image Service Properties button on the Image Service Definition Editor toolbar.
The Image Service Properties dialog box appears.
- Click the Service Processes node.
-
Click the Classify Pixel process and click the Add Process button .
The selected process is added to the Processes Selected list on the right.
- Click Classify Pixel in the Processes Selected list.
-
Click the Edit button .
The Classify Pixel Process Definition dialog box is displayed.
- Click the Include method drop-down arrow on the ClassifyPixel Process Definition dialog box and click And.
- Click the Exclude method drop-down arrow and click None.
- Type "0-20;30-40" in the Include range for band 1 text box.
- Type "0-60" in the Include range for band 2 text box.
-
Type "0-40" in the Include range for band 3 text box.
- Click OK.
-
Click the Extract Bands process and click the Add Process button .
The selected process gets added to the Processes Selected list on the right.
- Click OK.
- 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.
- Preview the image service definition.
Related Topics
4/19/2011