A atmospheric correction tool大气校正工具

S2 surface reflectance images, cloud free selected, were down loaded from the THEIA-LAND site and orthorectified and corrected for atmosphericeffects using the MAJA processor for cloud detection and atmospheric correction ( https://www.theia-land.fr , accessed on 31 March 2021).

### ENVI 软件中的大气校正模型及其使用方法 ENVI 提供了多种用于遥感数据处理的大气校正功能,其中 FLAASH 是一种常用的大气校正模型。以下是关于如何在 ENVI 中使用这些模型的具体说明。 #### 1. 启动 FLAASH 大气校正模块 在 Toolbox 工具箱中,通过路径 `Radiometric Correction >>> Atmospheric Correction Module >>> FLAASH Atmospheric Correction` 可以启动 FLAASH 模块[^3]。这一步会打开一个名为 **FLAASH Atmospheric Correction Model Input Parameters** 的界面[^1]。 #### 2. 输入参数配置 FLAASH 模型的输入参数主要分为以下几个部分: - **文件输入输出信息**: 需要指定待校正的原始影像以及保存校正后结果的位置。 - **传感器设置**: 用户需提供与所使用的卫星传感器相关的详细信息,例如波段范围、光谱响应函数等。 - **大气模型选择**: 根据研究区域的实际条件,可以选择不同的大气模型(如 Mid-Latitude Summer 或 Tropical)。这一选项会影响最终的结果精度[^2]。 - **气溶胶模型设定**: 这一环节允许用户定义气溶胶光学厚度 (AOT),或者让程序自动估算 AOT 值。 #### 3. 图像平均高程获取 为了提高大气校正的效果,通常还需要考虑地形因素的影响。可以通过以下方式获得图像覆盖区内的平均海拔高度: - 在 Toolbox 中搜索 Compute Statistics 功能; - 打开对应对话框后加载目标影像,并确保勾选 Histogram 计算选项; - 完成统计分析之后,在 MEAN 字段读取到的就是整个场景的平均高程数值。 #### 4. 实现过程总结 完成上述准备工作以后,执行 FLAASH 处理流程即可得到经过大气校准后的反射率产品。此过程中涉及到了多个重要步骤和技术细节,均已在前面有所提及。 ```python # 示例 Python 调用代码片段展示自动化运行逻辑 import envi def run_flaash_correction(input_image, output_path): """ Automates the execution of FLAASH atmospheric correction within ENVI. Args: input_image (str): Path to raw satellite image file. output_path (str): Directory where corrected data will be saved. Returns: str: Filepath pointing towards generated reflectance product. """ # Initialize parameters dictionary based on user inputs and defaults params = { 'input_file': input_image, 'output_dir': output_path, 'sensor_type': 'Landsat8', # Example sensor type specification 'elevation_model': compute_average_elevation(input_image), ... } result_filepath = envi.execute_tool('flaash_atmospheric_correction', params) return result_filepath def compute_average_elevation(image_filename): """Helper function calculating mean elevation from DEM statistics.""" stats_data = calculate_statistics_for_dataset(image_filename) avg_height = stats_data['mean'] return avg_height ```
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值