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 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:
AddParameter
Execute
Parameter
ParameterNames
RemoveParameter
Properties
This task inherits the following properties from ENVITask:
COMMUTE_ON_DOWNSAMPLE
COMMUTE_ON_SUBSET
DESCRIPTION
DISPLAY_NAME
NAME
REVISION
TAGS
This task also contains the following properties:
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.
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.3
See Also
ENVITask, ForwardICATransform Task, ForwardPCATransform Task, DimensionalityExpansionRaster Task