>  Docs Center  >  Using ENVI  >  Calculate Buffer Zone Images

Calculate Buffer Zone Images

Buffer Zone Images

Use Buffer Zone Image to create a buffer zone image from a classified image. In the buffer zone image every pixel has a floating-point or integer value that is defined as the distance from that pixel to the nearest pixel of the selected class or classes in units of pixels. You designate a maximum distance value and the result is that any pixels with a distance larger than that value will be set to the maximum distance value.

You can also write a script to create buffer zone images using ENVIBufferZoneTask.

  1. From the Toolbox, select Classification > Post Classification > Buffer Zone Image. The Classification Input File dialog appears.
  2. Select the input classification file and any optional spatial subsetting, then click OK. The Buffer Zone dialog appears.
  3. From the Class Names list, select the classs to measure the distance to. If more than one class is selected, the distance will be from the pixel to the nearest class.
  4. From the Output Data Type drop-down list, select Integer or Float.
  5. Click the Maximum Distance increase/decrease buttons to set the maximum distance to measure, or type the value (in pixels) into the corresponding field. Any pixels with a distance larger than this value will be set to the maximum distance value.
  6. Select an output filename and folder.
  7. Enable the Preview check box to see a preview of the settings before you click OK to process the data. The preview is calculated only on the area in the Image window and uses the resolution level at which you are viewing the image. See Preview for details on the results.
  8. Enable the Display result check box to display the pan sharpened raster in the Image window when processing is complete. Otherwise, if the check box is disabled, the pan sharpened raster can be loaded from the Data Manager.
  9. Click OK. ENVI adds the resulting output to the Data Manager and, if the Display Result check box was enabled, adds the layer to the Layer Manager and displays the output in the Image window.

© 2020 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us