ForwardMNFTransform Task
This task performs a minimum noise fraction (MNF) transform to determine the inherent dimensionality of image data, to segregate noise in the data, and to reduce the computational requirements for subsequent processing.
Example
; Start the application
e = ENVI()
; Open an input file
File = Filepath('qb_boulder_msi', Subdir=['data'], $
Root_Dir=e.Root_Dir)
Raster = e.OpenRaster(File)
; Get the task from the catalog of ENVITasks
Task = ENVITask('ForwardMNFTransform')
; Define inputs
Task.INPUT_RASTER = Raster
; Run the task
Task.Execute
; Add the output to the Data Manager
e.Data.Add, Task.OUTPUT_RASTER
Syntax
Result = ENVITask('ForwardMNFTransform')
Input properties (Set, Get): DIFF_SUBRECT, INPUT_NOISE_FILE, INPUT_RASTER, OUTPUT_NBANDS, OUTPUT_NOISE_FILE, OUTPUT_RASTER_URI, OUTPUT_STATS_FILE
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:
Properties
This task inherits the following properties from ENVITask:
This task also contains the following properties:
DIFF_SUBRECT (optional)
Select a spatial subset on which to calculate shift difference. This is then used to determine noise statistics that are applied to the entire image.
INPUT_NOISE_FILE (optional)
Specify an input .sta file from previous a Forward MNF to use in this MNF transform.
INPUT_RASTER (required)
Specify a raster on which to perform a MNF transform.
OUTPUT_NBANDS (optional)
Provide the desired number of output bands. If left blank, all bands will be used.
OUTPUT_NOISE_FILE (optional)
Specify a string with a fully qualified filename and path of the associated OUTPUT_NOISE_FILE. This file is then used on future Forward MNF Transforms to correlate data. If you do not specify this property, or set it to an exclamation symbol (!), a temporary file will be created.
OUTPUT_STATS_FILE (optional)
Specify a string with a fully qualified filename and path of the associated OUTPUT_STATS_FILE. This file is then used on future Inverse MNF Transforms. If you do not specify this property, or set it to an exclamation symbol (!), a temporary file will be created.
OUTPUT_RASTER
This is a reference to the output raster of filetype ENVI.
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 property, or set it to an exclamation symbol (!), a temporary file will be created.
Version History
ENVI 5.2 |
Introduced |
ENVI 6.0 | Added DIFF_SUBRECT, INPUT_NOISE_FILE, OUTPUT_NBANDS, OUTPUT_NOISE_FILE, OUTPUT_STATS_FILE properties. |
API Version
4.2
See Also
ENVITask, ForwardICATransform Task, ForwardPCATransform Task, DimensionalityExpansionRaster Task