Using the Classify Pixel Process Exclude method
This example shows how you can apply the Exclude method to get the same output.
Schritte:
- 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 Classify Pixel Process Definition dialog box and click All.
- Click the Exclude method drop-down arrow and click And.
- Type "40-255" in the Exclude range for band 1 text box.
- Type "60-255" in the Exclude range for band 2 text box.
-
Type "40-255" in the Exclude 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.
Verwandte Themen
7/10/2012