Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


  >  Docs Center  >  ENVI API  >  ENVI Classic Data Control  >  ENVI_DELETE_ROIS

ENVI_DELETE_ROIS

ENVI_DELETE_ROIS

Use this procedure to delete ROIs from within ENVI Classic. The procedure accepts a list of ROIs to delete, or optionally deletes all ROIs.

Syntax


ENVI_DELETE_ROIS [, ROI_IDS] [, /ALL]

Arguments


ROI_IDS (optional)

This optional argument represents the individual ROI IDs to delete. This value is returned from ENVI_GET_ROI_IDS or ENVI_CREATE_ROI.

Keywords


ALL (optional)

Set this keyword to delete all ROIs, in which case you do not use the ROI_IDS argument.

Example


The following code retrieves a list of ROIs to delete.

roi_ids = envi_get_roi_ids()
envi_delete_rois, roi_ids

API Version


3.2



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