GBDX

ENVI® Linear Percent Stretch Raster

This task accepts a source raster and returns a raster with a linear percent stretch applied. A linear percent stretch allows you to trim extreme values from both ends of the histogram using a specified percentage.

GBDX Registered Name: ENVI_LinearPercentStretchRaster
Provider: Harris Geospatial Solutions

Inputs

The following table lists all ENVI_LinearPercentStretchRaster inputs.
Mandatory (optional) settings are listed as Required = True (Required = False).

Name Required Default Valid Values Description
file_types False N/A string GBDX Option. Comma seperated list of permitted file type extensions. Use this to filter input files -- Value Type: STRING[*]
input_raster True N/A See ENVIRASTER input type Specify a raster on which to apply linear percent stretch. -- Value Type: ENVIRASTER
input_raster_format False N/A See ENVIRASTER input type Provide the format of the image, for example: landsat-8. -- Value Type: STRING
input_raster_band_grouping False N/A See ENVIRASTER input type Provide the name of the band grouping to be used in the task, ie - panchromatic. -- Value Type: STRING
input_raster_filename False N/A See ENVIRASTER input type Provide the explicit relative raster filename that ENVI will open. This overrides any file lookup in the task runner. -- Value Type: STRING
input_raster_raw_output False False See ENVIRASTER input type Provide True to output an ENVI Binary instead of a tif. -- Value Type: STRING
output_raster_uri_filename False N/A string Specify a string with the fully-qualified path and filename for OUTPUT_RASTER. -- Value Type: STRING
percent False [2.0] string Specify a double-precision floating point value, or array of values, indicating the percentage of pixel values in the beginning and end of the histogram that will be clipped out when applying the stretch. Arrays must have the same number of elements as the number of bands in the source raster. The valid range of values is 0 to 50. -- Value Type: DOUBLEARRAY -- Default Value: [2.0]
brightness False N/A string Specify an integer value from 0 to 100, indicating the brightness level to display. You can also set this value to a scalar or an array with the same number of elements as the raster has bands. -- Value Type: DOUBLEARRAY

Outputs

The following table lists all ENVI_LinearPercentStretchRaster outputs.
Mandatory (optional) settings are listed as Required = True (Required = False).

Name Required Default Valid Values Description
task_meta_data False N/A directory GBDX Option. Output location for task meta data such as execution log and output JSON
output_raster_uri True N/A directory Output for OUTPUT_RASTER. -- Value Type: ENVIURI

Output structure

The output_raster_uri file will be written to the specified S3 Customer Account Location.

Background

For additional background information on this task please refer to the Harris Geospatial ENVI documentation and
ENVI® Linear Percent Stretch Raster.

Contact

If you have any questions or issues with this task, please contact gbdx-support@digitalglobe.com.