来源:http://blog.csdn.net/kupe87826/article/details/8125224
转自ENVI help
Fast Line-of-sight Atmospheric Analysis of Hypercubes (FLAASH™)
FLAASH™ is a first-principles atmospheric correction tool that corrects wavelengths in the visible through near-infrared and shortwave infrared regions, up to 3 µm. (For thermal regions, use the Toolbox optionRadiometric Correction > Thermal Atmospheric Correction.) FLAASH works with most hyperspectral and multispectral sensors. Water vapor andaerosol retrieval are only possible when the image contains bands in appropriate wavelength positions. FLAASH can correct images collected in either vertical (nadir) or slant-viewing geometries. SeeBackground on FLAASH for a scientific discussion of the methods used by FLAASH.
See the following sections:
Also see FLAASH Advanced Options.
When you are finished setting all of the options in the FLAASH Atmospheric Correction Module Input Parameters dialog, clickApply to run FLAASH.
The following is a summary of output files that FLAASH will create upon clicking Apply in the FLAASH Parameters dialog:
water.dat
is appended to your specified root name.cloudmask.dat
appended to your specified root name. The cloud determinations are used during FLAASH processing to refine the estimate ofre in equation (1) inBackground on FLAASH. This quantity defines the magnitude of the adjacency effect.journal.txt
is appended to your specified root name.template.txt
is appended to your specified root name. FLAASH requires input data to be floating-point values in units of µW/(cm2 * nm* sr). If the input radiance image is not already in floating-point format, you must know the scale factor(s) used to convert radiance data into these units.
If the scale factor is constant for all bands, select Use single scale factor for all bands. TheSingle scale factor text field appears. If the input image already has the correct units, then set the scale factors to 1 for all bands.
Suppose that the radiance values in your input dataset are in units of W/(m2 * sr * µm). What scale factor do you need to convert the pixel values to units of µW/(cm2 * nm* sr)? A simple proof follows:
W --> µW: factor of 106
m2 --> cm2: factor of 10-4 (because these units are in the denominator)
µm --> nm: factor of 10-3 (because these units are in the denominator)
scale factor = 106 * 10-4 * 10-3, or 10-1.
You would enter the denominator 10 in the Single scale factor field.
If the scale factor is not a constant for all bands, you must supply an ASCII file that specifies the scale factor for each band. In the Radiance Scale Factors dialog, selectRead array of scale factors (1 per band) from ASCII file, and select an ASCII file.
Note: An example of a scale factors file that is appropriate for 1995-2002 AVIRIS data isAVIRIS_1998_scale.txt
, which is included with the "Correcting Hyperspectral Data Using FLAASH" tutorial data files. You can download these files from theExelis website.
Be sure to specify the correct column for the scale factor. For convenience, you can apply a multiplication factor and/or inverse. If you specify both, the multiplication factor is applied before the inverse. You can also re-define the scale factors later using the FLAASH Advanced Settings dialog.
Scene and sensor details give FLAASH an approximation of the sun's position relative to the surface.
Note: For multispectral sensors, the sensor type is used to automatically assign the correct spectral response functions for the image bands. FLAASH usesENVI’s filter functions for the named multispectral sensors.
Use the Atmospheric Model drop-down list to choose one of the standard MODTRAN® model atmospheres.
For the best results, select a model whose standard column water vapor amount is similar to, or somewhat greater than, that expected for the scene. The standard column water vapor amounts (from sea level to space) for eachmodel atmosphere are given in the following table.
Model Atmosphere |
Water Vapor |
Water Vapor (g/cm2) |
Surface Air Temperature |
---|---|---|---|
Sub-Arctic Winter (SAW) |
518 |
0.42 |
-16° C (3° F) |
Mid-Latitude Winter (MLW) |
1060 |
0.85 |
-1° C (30° F) |
U.S. Standard (US) |
1762 |
1.42 |
15° C (59° F) |
Sub-Arctic Summer (SAS) |
2589 |
2.08 |
14° C (57° F) |
Mid-Latitude Summer (MLS) |
3636 |
2.92 |
21° C (70° F) |
Tropical (T) |
5119 |
4.11 |
27° C (80° F) |
If no water vapor information is available, select an atmosphere according to the known or expected surface air temperature, which tends to correlate with water vapor. If the temperature is unknown, select an atmosphere from the following table, which is based on a seasonal-latitude surface temperature model.
Latitude (°N) |
Jan |
March |
May |
July |
Sept |
Nov |
---|---|---|---|---|---|---|
80 |
SAW |
SAW |
SAW |
MLW |
MLW |
SAW |
70 |
SAW |
SAW |
MLW |
MLW |
MLW |
SAW |
60 |
MLW |
MLW |
MLW |
SAS |
SAS |
MLW |
50 |
MLW |
MLW |
SAS |
SAS |
SAS |
SAS |
40 |
SAS |
SAS |
SAS |
MLS |
MLS |
SAS |
30 |
MLS |
MLS |
MLS |
T |
T |
MLS |
20 |
T |
T |
T |
T |
T |
T |
10 |
T |
T |
T |
T |
T |
T |
0 |
T |
T |
T |
T |
T |
T |
-10 |
T |
T |
T |
T |
T |
T |
-20 |
T |
T |
T |
MLS |
MLS |
T |
-30 |
MLS |
MLS |
MLS |
MLS |
MLS |
MLS |
-40 |
SAS |
SAS |
SAS |
SAS |
SAS |
SAS |
-50 |
SAS |
SAS |
SAS |
MLW |
MLW |
SAS |
-60 |
MLW |
MLW |
MLW |
MLW |
MLW |
MLW |
-70 |
MLW |
MLW |
MLW |
MLW |
MLW |
MLW |
-80 |
MLW |
MLW |
MLW |
MLW |
MLW |
MLW |
The “atm-cm” unit is specific to the atmospheric science community, which typically uses one of two units to measure the total amount of a gas in the atmospheric column from the ground to the top of the atmosphere (where 200 to 300 km is generally a good number for the location of the top).
When you use units of “atm-cm,” think of it as bringing all the water molecules down to a thin layer of pure water vapor at the Earth's surface, at 1 atm of pressure and 0° C. That layer has a thickness measured in centimeters, so the water column is described in atmosphere-centimeters. If the pressure were doubled, then the thickness would be halved. Thus, the units of atm-cm (not just cm) are used to describe the amount of gas in the atmospheric column to emphasize that the height and pressure are interdependent.
Obviously it is not physically possible to bring these molecules into such a condensed layer. All of the molecules in the layer would condense into a liquid under these conditions, even if they could be gathered in such a way. The layer is imaginary.
The second set of units, gm/cm2, is more easily understood as the mass of water molecules in the atmospheric column over each cm2 of ground surface. Since liquid water has a 1 gm/cm2 density, this value is numerically equal to the number of centimeters of water on the ground if all the atmospheric water rained out at once.
To solve the radiative transfer equations that allow apparent surface reflectance to be computed, the column water vapor amount for each pixel in the image must be determined. FLAASH includes a method for retrieving the water amount for each pixel. This technique produces a more accurate correction than using a constant water amount for the entire scene. To use this water retrieval method, the image must have bands that span at least one of the following ranges at a spectral resolution of 15 nm or better:
For most of the multispectral sensor types, the Water Retrieval setting isNo because these sensors do not have the appropriate bands to perform the retrieval.
The Water Retrieval options are as follows:
Tip: When performing a water retrieval on multispectral image data, use theMultispectral Settings dialog to manually set the water bands.
Click the AerosolModel drop-down list and select one of the standard MODTRAN aerosol/haze types.
Note: The choice ofmodel is not critical if the visibility is high (for example, greater than 40 km).
The model choices are as follows:
For more details on MODTRAN aerosolmodels, see the following reference:
Abreu, L. W., and G. P. Anderson, Eds. 1996. The MODTRAN 2/3 report and LOWTRAN 7model. Phillips Laboratory, Geophysics Directorate, PL/GPOS, Hanscom AFB, MA. Contract F19628-91-C-0132.
FLAASH includes a method for retrieving the aerosol amount and estimating a scene average visibility using a dark pixel reflectance ratio method based on work by Kaufman et al. (1997). The dark-land pixel-retrieval method requires the presence of sensor channels around 660 nm and 2100 nm. A dark-land pixel is defined to be one with a 2100 nm reflectance of 0.1 or less and a 660:2100 reflectance ratio of approximately 0.45. If the input image contains bands near 800 nm and 420 nm, an additional check is performed, requiring the 800:420 radiance ratio to be 1 or less, which eliminates pixels likely to be shadows and water bodies.
Click the Aerosol Retrieval drop-down list: and select an option:
Tip: When performing anaerosol retrieval on multispectral image data, use theMultispectral Settings dialog to manually set the aerosol bands.
Note: You should not retrieveaerosols with ASTER data. While ASTER bands cover the region required for the dark-land pixel-retrieval method, the bandwidth for Band 2 is fairly wide (660 nm) and will likely include the vegetation red edge, which could significantly bias the visibility estimate.
In the Initial Visibility field, enter an estimate of the scene visibility in kilometers. The initial visibility value is assumed for atmospheric correction if theaerosol is not being retrieved.
The following table gives the approximate scene visibility values based on weather conditions:
Weather Condition |
Scene Visibility |
---|---|
Clear |
40 to 100 km |
Moderate Haze |
20 to 30 km |
Thick Haze |
15 km or less |
The visibility, V is defined as the 550 nm meteorological range and is related to extinction coefficient β (basee) by the equation V = 3.912/β. The extinction coefficient β is defined as the horizontal optical depth per km. A related value, theaerosol optical depth (AOD) is measured vertically (from the ground to space). To convert the AOD to β, divide AOD by the effectiveaerosol thickness layer, which typically has a value of around 2 km, but varies with the visibility, elevation, and other factors.
Note: Enter anInitial Visibility (tm) value even if you have set theAerosol Retrieval parameter to 2-Band (K-T), as FLAASH uses theInitial Visibility (tm) value if theaerosol cannot be retrieved.
Spectral polishing is a technique that reduces spectral artifacts in hyperspectral data. SeeBackground on FLAASH for details on how spectral polishing is applied.
FLAASH includes a method for identifying and correcting wavelength miscalibrations. SeeBackground on FLAASH for details.
Click the Wavelength Recalibration toggle button to select one of the following options:
AVIRIS, HYDICE, HyMap, HYPERION, CASI, and AISA sensors are automatically supported for wavelength recalibration. All other hyperspectral sensors require a spectrograph definition file.
The Hyperspectral Settings button appears at the bottom of the FLAASH Atmospheric CorrectionModel Input Parameters dialog when you select a hyperspectral sensor from the Sensor Type button menu. This option allows you to choose how bands are selected for water vapor and/oraerosol retrieval.
If the input data is from a named hyperspectral sensor (listed under the Sensor Type button menu), and you are not retrieving water or aerosol, you do not need to verify the hyperspectral settings before applying FLAASH.
Click Hyperspectral Settings. The Hyperspectral Settings dialog appears. Select one of the following options:
The channel definition file follows a simple format where each line contains one channel definition in the form:
channel_type = band_number
The valid channel_types
are listed below, and must be included in the file verbatim:
water channels reference water channels absorption cirrus channel KT upper channels KT lower channels alternate water channels absorption alternate water channels reference
The alternate water channels are used in case the selected water channels are saturated.
The first band in the file is referred to as band number 1. If more than one band is appropriate for achannel_type
, the bands should be enclosed in curly brackets{}
and separated with white space. Comments can be included as long as they are preceded with a semicolon. You only need to include channel definitions for those processing steps that are being requested.
The following text is an example channel definition file for the AVIRIS sensor:
; Standard AVIRIS channels ; Channels are counted starting at 1.
water channels reference = {73 74 75 87 88 89} ; wings must be ; symmetric on absorption center channel water channels absorption = {80 81 82} ; absorption band cirrus channel = 109 ; no {} needed for single number
; optional channels. Can leave these out, but will lose some ; functionality. KT is needed for automatic visibility ; determination. ; Kaufman-Tanre method channels KT upper channels = { 184 185 186 187 188 } KT lower channels = { 29 30 31 32 33 34 }
alternate water channels absorption = { 49 50 } ; 0.82 micron band alternate water channels reference = { 44 45 54 55 }
FLAASH produces a channel definition file for each processing run (both multispectral and hyperspectral). The file, namedrootname_channel_definition.txt
, is saved when theOutput Diagnostic Files option is set to Yes in the FLAASHAdvanced Settings dialog.
The Multispectral Settings button appears at the bottom of the FLAASH Atmospheric CorrectionModel Input Parameters dialog when you select a multispectral sensor from the Sensor Type button menu. It is critical to properly choose the bands that are used for water vapor and/oraerosol retrieval. In addition, if the input data is from an unknown multispectral sensor, you should define the sensor’s spectral response functions.
If the input data is from a named multispectral sensor and you are not retrieving water vapor oraerosols, you do not need to verify the multispectral settings before applying FLAASH.
If you do want to use aerosol retrieval, you must use the Multispectral Settings dialog, or noaerosol retrieval will be used.
Click the Multispectral Settings button. The Multispectral Settings dialog appears. Select from the following options:
Within each active retrieval category, use the drop-down lists to select the desired band.
In the Kaufman-Tanre Aerosol Retrieval tab, set theMaximum Upper Channel Reflectance and the Reflectance Ratio values. These settings identify dark pixels used for the visibility estimate. Recommended values are assigned automatically by choosing one of the options under theDefaults drop-down list. For more information about the aerosol retrieval method used in FLAASH, seeBackground on FLAASH.
Note: If you are using the Over-Water Retrieval default settings, the KT Upper and Lower bands are reversed. This is done by design. Applying a maximum reflectance threshold to the 880 nm band tends to better discriminate clear water from turbid or wet areas, leading to more accurate visibility retrievals.
You only need to define channels for the processing that is being requested. For example, if you are requesting anaerosol retrieval, but not a water retrieval, then you may leave the water channels undefined, but both the KT Upper and KT Lower channels have to be defined.
The recommended wavelength ranges for each channel are as follows:
Water Retrieval |
1135 nm |
absorption |
1117 - 1143 nm |
reference upper wing |
1184 - 1210 nm |
||
reference lower wing |
1050 - 1067 nm |
||
940 nm |
absorption |
935 - 955 nm |
|
reference upper wing |
870 - 890 nm |
||
reference lower wing |
995 - 1020 nm |
||
820 nm |
absorption |
810 - 830 nm |
|
reference upper wing |
850 - 870 nm |
||
reference lower wing |
770 - 790 nm |
||
Aerosol Retrieval |
2-Band (K-T) | KT upper |
2100 - 2250 nm |
KT lower |
640 - 680 nm |
||
2-Band Over Water | KT upper |
800 - 950 nm | |
KT lower |
2100 - 2250 nm | ||
Cloud Masking |
cirrus clouds |
1367 - 1383 nm |
If the input image is from an unknown multispectral sensor type, the sensor’s spectral response functions must be defined using a filter function file. ClickFilter Function File and select the multispectral sensor’s filter function file. The filter function file must be anENVI spectral library format file, and contain the sensor’s filter functions consecutively, one for each band in the sensor. However, the filter function for the sensor’s first band need not be the first function in the file.
In the Index to first band field, enter the index into the filter function file (beginning at zero) where the sensor’s filter functions begin.
When using a known multispectral sensor (i.e., one whose name is listed under theSensor Type button menu), the filter function file and index are automatically set to use the filter function files included in theENVI distribution.
The channel definitions file follows a simple format where each line contains one channel definition in the form:
channel_type = band_number
The valid channel_type
values are listed below, and must be included in the file verbatim:
water channels reference water channels absorption cirrus channel KT upper channels KT lower channels KT band cutoff KT band ratio
The first band in the file is referred to as band number 1. If more than one band is appropriate for achannel_type
, the bands should be enclosed in curly brackets {} and separated with white space. Comments can be included as long as they are preceded with a semicolon. You only need to include channel definitions for those processing steps that are being requested. For example, a channel definition file for applying FLAASH to Landsat TM withaerosol retrieval but a fixed water vapor amount could include the following text:
; FLAASH channel definition for Landsat TM KT upper channels = 6 KT lower channels = 3
FLAASH produces a channel definitions file for each processing run (both multispectral and hyperspectral). The file, namedrootname_channel_definition.txt
, is saved when theOutput Diagnostic Files option is set to Yes in the FLAASHAdvanced Settings dialog.
To save the FLAASH settings to a template file at any time, click Save in the lower-right corner of the FLAASH Parameters dialog.
If you set the Automatically Save Template File toggle button toYes in the FLAASH Advanced Settings dialog, a template file is automatically saved into the FLAASH output directory when you clickApply.
To restore a FLAASH template file, click Restore. The template file stores the full path names of the input and output files. If the input file is not already opened in the currentENVI session, it is automatically opened. If any of the files or directories cannot be located on the computer where FLAASH is running, the corresponding fields in the FLAASH dialogs will not be filled in, butENVI reads the rest of the parameters. This process allows template files to be shared between users working in different locations.