Create Segmentation Images
Use Segmentation Image to create a segmentation image from a classified image. Segmentation partitions a classified image into regions of connected pixels or blobs of pixels that are contained in the same class. Each connected region is given a unique DN value. You can specify the minimum number of pixels that must be contained in a region and you can select whether eight or four neighbors are considered for the connectivity.
- From the Toolbox, select Feature Extraction > Segmentation Image. The Segmentation Image Input File dialog appears.
- Select the input classification file and any optional spatial subsetting, then click OK. The Segmentation Image Parameters dialog appears.
- In the Min Thresh Value field, select the minimum pixel value. In the Max Thresh Value field, select the maximum pixel value.
- In the Population Minimum field, enter the minimum number of pixels that must be contained in a region for it to become a segment.
- Use the toggle button to designate whether to consider eight or four neighboring pixels for the connectivity.
- Select output to File or Memory.
- Click OK. ENVI adds the resulting output to the Layer Manager, with each segment having a unique DN value.