Use the Build Object Detection Raster from Vector tool to build an object detection raster that can be used for classification by a deep learning model. It accepts an input raster and vector file consisting of polygon features of interest.

An object detection raster is the same as a deep learning raster, except that it contains additional GeoJSON information about vectors, stored in the raster metadata.

You can also write a script to build an object detection raster using the BuildObjectDetectionRasterFromVector task.

Follow these steps:

  1. In the ENVI Toolbox, select Deep Learning > Object Detection > Build Object Detection Raster from Vector. The Build Object Detection Raster from Vector dialog appears.

  2. In the Input Raster field, specify a training raster that will be used for training an object detection model.

  3. In the Input Vector field, specify vector indicating labeled regions of interest for each class in the input raster. Only polygon records are supported.

  4. In the Output Raster field, select a location and filename for the object detection raster.

  5. Enable the Display result check box to display the output in the view when processing is complete.

  6. To reuse these task settings in future ENVI sessions, save them to a file. Click the down arrow next to the OK button and select Save Parameter Values, then specify the location and filename to save to. Note that some parameter types, such as rasters, vectors, and ROIs, will not be saved with the file. To apply the saved task settings, click the down arrow and select Restore Parameter Values, then select the file where you previously stored your settings.

  7. To run the process in the background, click the down arrow and select Run Task in the Background. If an ENVI Server has been set up on the network, the Run Task on remote ENVI Server name is also available. The ENVI Server Job Console will show the progress of the job and will provide a link to display the result when processing is complete. See the ENVI Servers topic in ENVI Help for more information.

  8. Click OK. ENVI adds the resulting output to the Data Manager and Layer Manager.

See Also

Build Object Detection Raster From Annotation, Build Object Detection Raster From ROI, Object Detection, View Object Detection Raster Labels