Each ENVITask is defined by a set of parameters. Each has constraints on data type, values, etc. The ENVIParameterENVIDeepLearningLabelRasterArray object is used when an ENVITask has a parameter defined as an array of ENVIDeepLearningLabelRasters.
This routine is part of ENVI Deep Learning, which requires a separate license and installation.
Result = ENVIParameterENVIDeepLearningLabelRasterArray( [, Properties=value])
Properties can be set as keywords to the function during creation, or retrieved using the "." notation after creation. The NAME property is required on initialization. The VALUE property is the only property that can be updated after creation.
ALLOW_NULL, DATA_TYPE, DEFAULT, DESCRIPTION, DIRECTION, DISPLAY_NAME, FORMATS, NAME, REQUIRED, TYPE, VALUE
The result is a reference to a newly created object.
A Boolean value that indicates whether NullObject values are allowed or not. The default is 0, which causes NullObject values to fail validation. In the task template, this is defined with the allow_null key.
A string that indicates what data type the ENVIDeepLearningLabelRaster pixels must have. The default is !NULL, which means any data type is allowed. In the task template this is defined with the “data_type” key.
The value returned by the VALUE property if the user does not explicitly set VALUE. The default is !NULL. The values of this property must adhere to the TYPE property. In the task template this is defined with the default key.
A string describing the purpose of the parameter with respect to the task. In the task template, described in ENVI Help, this is defined with the description key.
A string that indicates whether the parameter acts as "INPUT" or "OUTPUT". The default is "INPUT". In the task template this is defined with the direction key.
A string for the display name of the parameter that could be used to build a user interface. It can contain spaces and special characters. In the task template this is defined with the display_name key. If not set, the value will default to the NAME property's value.
A string array of allowed raster formats for the ENVIDeepLearningLabelRaster. The default is !NULL, which means any raster format is allowed. In the task template this is defined with the “formats” key.
The name of the parameter which is required on initialization. The parameter’s value can be set and retrieved from the ENVITask with the "." dot notation using this name. The name can also be used in the ENVITask::Parameter method to retrieve the parameter object. NAME must be a valid IDL variable name. In the task template this is defined with the name key. Use DISPLAY_NAME for a better user interface label.
A Boolean value that indicates whether the parameter is required or not. The default is 0, which allows the parameter to be optional. In the task template this is defined with the required key.
When the type key is defined as ENVIDeepLearningLabelRasterArray in the task template, the ENVIParameterENVIDeepLearningLabelRasterArray object is created and populated with the key/value pairs defined in the template. The TYPE property returned is ENVIDeepLearningLabelRasterArray.
The current value of the parameter. The parameter's VALUE can be set at any time through ENVITask using "." dot notation using the NAME of the parameter, or directly on the parameter object. The value of this property must adhere to the TYPE property. Setting this property will internally invoke the Validate() method, and will throw an error if the new value is invalid. If you set VALUE to a one-element array, it will be converted to a scalar during validation.
Deep Learning 1.0