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
e = ENVI()
File = Filepath('qb_boulder_msi', Subdir=['data'], $
Root_Dir=e.Root_Dir)
Raster = e.OpenRaster(File)
Task = ENVITask('ForwardMNFTransform')
Task.INPUT_RASTER = Raster
Task.Execute
e.Data.Add, Task.OUTPUT_RASTER
Syntax
Result = ENVITask('ForwardMNFTransform')
Input parameters (Set, Get): DIFF_SUBRECT, INPUT_NOISE_FILE, INPUT_RASTER, OUT_NBANDS, OUTPUT_NOISE_FILE, OUTPUT_RASTER_URI, OUTPUT_STATS_FILE
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
DIFF_SUBRECT (optional)
Specify a four-element array expressing the spatial subset on which to calculate shift difference. This is then used to determine noise statistics that are applied to the entire image. The array is of the form: [columnMin, rowMin, columnMax, rowMax].
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.
OUT_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 parameter, 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 parameter, or set it to an exclamation symbol (!), a temporary file will be created.
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 5.2 |
Introduced |
ENVI 6.0 |
Added DIFF_SUBRECT,
INPUT_NOISE_FILE, OUT_NBANDS, OUTPUT_NOISE_FILE, OUTPUT_STATS_FILE parameters.
|
See Also
ENVITask, ForwardICATransform Task, ForwardPCATransform Task, DimensionalityExpansionRaster Task, Masking Support in ENVITasks