This task transforms the bands from a previous Forward Minimum Noise Fraction to their original data space.

Example


; Start the application
e = ENVI()
 
; Open an input file from a previously-run ForwardMNFTransform. $
; Replace the filename and path below with your file.
File = Filepath('my_file.sta', Subdir=['mydir']
Raster = e.OpenRaster(File)
 
; Retrieve a statistics file from a previously-run ForwardMNFTransform $
; task of the above file. Replace the filename and path below with your $
; file.
StatsFile = Filepath('my_statsfile.sta', Subdir=['mydir'])
 
; Get the task from the catalog of ENVITasks
Task = ENVITask('InversMNFTransform')
 
; Define inputs
Task.INPUT_RASTER = Raster
Task.INPUT_STATS_FILE = StatsFile.sta
 
; Run the task
Task.Execute
 
; Get the data collection
dataColl = e.Data
 
; Add the output to the data collection
dataColl.Add, Task.OUTPUT_RASTER
 
; Display the result
View = e.GetView()
Layer = View.CreateLayer(Task.OUTPUT_RASTER)

Syntax


Result = ENVITask('InverseMNFTransform')

Input parameters (Set, Get): INPUT_RASTER, INPUT_STATS_FILE, OUT_NCOMPONENTS, OUTPUT_RASTER_URI

Output parameters (Get only): OUTPUT_RASTER

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

Input Parameters


INPUT_RASTER (required)

Specify a raster on which to perform an MNF transform.

INPUT_STATS_FILE (optional)

Specify an input .sta file from a previous Forward MNF Transform.

OUT_NCOMPONENTS (optional)

Provide the number of forward MNF components to use for the inverse transform. If left blank, all components are used.

OUTPUT_RASTER_URI (optional)

Specify a string with the fully qualified filename and path of the associated OUTPUT_RASTER.

  • If you do not specify this parameter, or set it to an exclamation symbol (!), ENVI creates a temporary file.
  • If you set it to the hash symbol (#), ENVI creates a file in the temporary directory, but this file will not be deleted when ENVI closes.

Output Parameters


OUTPUT_RASTER

This is a reference to the output raster of filetype ENVI.

Methods


Execute

Parameter

ParameterNames

Properties


DESCRIPTION

DISPLAY_NAME

NAME

REVISION

TAGS

Version History


ENVI 6.0

Introduced

See Also


ENVITask, InverseMNFTransform Task