This task opens a deep learning label raster given an input URI.

This task is part of ENVI Deep Learning, which requires a separate license and installation.

Examples


; Start the application
e = ENVI(/HEADLESS)
 
; Update the following line with the correct path
; to the tutorial data files
File = Filepath('LabelRasterContainers.dat', $
  Subdir=['data','deep_learning'], Root_Dir=e.Root_Dir)
 
; Get the task from the catalog of ENVITasks
Task = ENVITask('ExtractDeepLearningLabelRasterFromFile')
 
; Define inputs
Task.INPUT_URI = File
 
; Run the task
Task.Execute
Print, Task.OUTPUT_RASTER[0], /IMPLIED_PRINT

Syntax


Result = ENVITask('ExtractDeepLearningLabelRasterFromFile')

Input properties (Set, Get): INPUT_URI, MASK_BAND

Output properties (Get only): OUTPUT_RASTER

Properties marked as "Set" are those that you can set to specific values. You can also retrieve their current values any time. Properties marked as "Get" are those whose values you can retrieve but not set.

Methods


This task inherits the following methods from ENVITask. See the ENVITask topic in ENVI Help.

  • AddParameter
  • Execute
  • Parameter
  • ParameterNames
  • RemoveParameters

Properties


This task inherits the following properties from ENVITask:

COMMUTE_ON_DOWNSAMPLE

COMMUTE_ON_SUBSET

DESCRIPTION

DISPLAY_NAME

NAME

REVISION

See the ENVITask topic in ENVI Help for details.

This task also contains the following properties:

INPUT_URI (required)

Specify a fully qualified URI to an ENVIDeepLearningLabelRaster file.

MASK_BAND (optional)

Label rasters should have metadata that specifies which band is the mask band, but if they don't, this parameter will allow you to specify it.

OUTPUT_RASTER (required)

This is the ENVIDeepLearningLabelRaster extracted from the URI.

Version History


Deep Learning 1.0

Introduced

Deep Learning 1.1

Added MASK_BAND property

See Also


ENVIDeepLearningLabelRaster, BuildLabelRasterFromClassification Task, BuildLabelRasterFromROI Task