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

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 parameters (Set, Get): INPUT_URI, MASK_BAND

Output parameters (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.

Input Parameters


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 Parameters


OUTPUT_RASTER

This is the ENVIDeepLearningLabelRaster extracted from the URI.

Methods


Execute

Parameter

ParameterNames

See ENVI Help for details on these ENVITask methods.

Properties


DESCRIPTION

DISPLAY_NAME

NAME

REVISION

TAGS

See the ENVITask topic in ENVI Help for details.

Version History


Deep Learning 1.0

Introduced

Deep Learning 1.1

Added MASK_BAND parameter

See Also


ENVIDeepLearningLabelRaster, BuildLabelRasterFromClassification Task, BuildLabelRasterFromROI Task