今天忙了一下午,终于将Hyperion数据的FLAASH大气校正搞定了,下面是FLAASH User's GUIDE 的一个例子的步骤,共享一下
Start FLAASH and Set the Input and Output Parameters
1. From the main ENVI menu select Spectral → FLAASH or Basic Tools →Calibration Utilities → FLAASH.
2. Click on the Input Radiance Image button and select
theJasperRidge98av.img file from ENVI’s tandard Input File dialog and click OK.
3. In the Radiance Scale Factors dialog, click the Read array of scale factors(one per band) from ASCII file button, then click OK.
4. When the file selection dialog appears, navigate to
theenvidata/flaash/hyperspectral/input_files/ directory on Tutoral Data CD #3 and select the AVIRIS_1998_scale.txt file.
5. In the Input ASCII File dialog, accept all of the default values and click OK.Recall that the input radiance image has been scaled into two-byte signed integers. In order for FLAASH to compute the atmospheric correction, these data must be converted into floating-point radiance values in units of
. The 1998 AVIRIS scale factors (which are valid for all AVIRIS data collected
between 1995 and 2003) are 500 for the first 160 bands and 1000 for the remainder.in the FLAASH Atmospheric Correction Model Input Parameters dialog, the default path and output reflectance file name for the FLAASH-corrected
reflectance result are displayed in the Output Reflectance File text box.
6. Change the output path to one on a writable drive by typing in the text box, or by clicking on the Output Reflectance File button to navigate to the desired output directory and define the output file name.
7. In the Output Directory for FLAASH Files text box, enter the full path of the directory where you want to have all other output FLAASH files written. You may also click on the Output Directory for FLAASH Files button to the left of the text box to navigate to the desired directory.
8. In the Rootname for FLAASH Files text box, enter the name you want to use as a prefix for the FLAASH Output Files.ENVI will automatically add an underscore character to the rootname that you
enter.
Restore a Template and Review the Model Parameters
1. In the bottom right-hand corner of the FLAASH Atmospheric Model Input Parameters dialog, click the Restore button.The FLAASH run parameters for the
sample Jasper Ridge AVIRIS image have
been provided in a template file on the Tutorial Data CD #3.
2. Navigate to the envidata/flaash/hyperspectral/input_files/directory on Tutorial
Data
CD
#3
in
the
file
selection
dialog,
select
the
JasperRidge98av_template.txt file, and click Open.The FLAASH Atmospheric Correction Model Input Parameters dialog fills in automatically and looks like Figure 4-2 (except for the file input and outputfields, which will be specific to your machine).
Note
If a message appears, warning you that the paths don’t exist, click OK to dismiss it.
3. Review the scene collection details and model parameters for the Jasper Ridge scene.
4. Click the Advanced Settings button at the bottom of the dialog window.The parameters in the Advanced Settings dialog allow you to adjust additional controls for the FLAASH model. Note that the default setting for Automatically Save Template File is Yes and Output Diagnostic Files is No.While you may find it excessive to save a template file for each FLAASH run,this file is often the only way to determine the model parameters that were used to atmospherically correct an
image after the run is complete, and access to it can be quite important. The ability to output diagnostic files is offered solely as an aid for RSI Technical Support engineers to help diagnose problems. For more details about Advanced Settings see “FLAASH Advanced Settings” on page 39.
5. Click Cancel in the Advanced Settings dialog to return to the input parameters dialog.
Start the Processing and View the Corrected Image
1. In the FLAASH Atmospheric Model Input Parameters dialog, click Apply to begin the FLAASH processing. A standard ENVI status report dialog will be displayed.
• You may cancel the processing at any point, but be aware that there are some FLAASH processing steps that can’t be interrupted, so the response to the Cancel button may not be immediate.
2. When FLAASH completes, the output reflectance image, as well as the column water vapor image and the cloud classification map, will be entered into the Available Bands List. You should also find the journal file and the template file in the FLAASH output directory.
3. Using standard ENVI procedures, display the reflectance result into a new image display.
4. In the Main Image window, right-click and select Z Profile from the shortcut menu.
5. Move the cursor in the Main Image window and observe the reflectance spectra in the Spectral Profile window.
Verify the Model Results
The results you produce with the Jasper Ridge files should be identical to the data found in the envidata/flaash/hyperspectral/flaash_results/ directory on Tutorial Data CD #3.
Compare Images by Linking
1. From the ENVI main menu, select File → Open Image File and open the perRidge98av_flaash_refl.img
file
from
the
envidata/flaash/hyperspectral/flaash_results/ directory on Tutorial Data CD #3.
The image bands are listed in the Available Bands List.
2. In the Available Bands List, highlight one of the image bands, then right-click and select Load True Color to 3. Display the same RGB combination from your FLAASH reflectance result into another image window. 4. Right-click in one of the image display windows and choose Link Displays from the shortcut menu. In the Link Displays dialog, set the Dynamic Overlay to Off and click OK. 5. Double-click in one of the Main Image display windows to display the Cursor Location/Value window. 6. Roam around one of the images using your mouse and note the data values int he Cursor Location/Value window. You should see that the data values are identical for corresponding bands in both images. Compute a Difference Image Using Band Math For a more quantitative verification of the reflectance results, compute a difference image using Band Math. 1. From the ENVI main menu, select Basic Tools → Band Math. The Band Math dialog appears. 2. In the Enter an Expression text box, enter the following expression: float(b1) – b2 3. Click OK. 4. In the Variables to Band Pairings dialog, click on B1 to highlight it and click the Map Variable to Input File button. 5. When the input file selection dialog appears, click on the JasperRidge98av_flaash_refl.img file and click OK. 6. Use the same procedure to assign B2 to your FLAASH reflectance image. 7. Enter or choose an output file name for the result and click OK. Note The file size for this difference image will be twice as large as the FLAASH reflectance image file, so be sure you have sufficient disk space for this Band Math result. 8. Every value in the difference image should be zero. To ensure that the results are identical, select Basic Tools → Statistics → Compute Statistics from the ENVI main menu to calculate the basic statistics for the difference image.Note the Max and Min columns in the statistics report window. Note Due to differences in computer machine precision, your FLAASH reflectance image result may differ from those in the verification directory by approximately 1-5 DNs, or 0.0001 to 0.0005 reflectance units 因篇幅问题不能全部显示,请点此查看更多更全内容