ENVI Program Generator是一个免费的工具,可以自动生成ENVI的批处理。您可以将一个或多个处理应用到若干个文件上,同时还可以生成相应的IDL代码。
工具下载地址:
http://pan.baidu.com/s/1hquvFy0
安装方法:把ENVIProgramGenerator.sav 文件拷贝到…\Exelis\ENVI50\extensions\文件夹下,重启动ENVI。
注:此工具只支持ENVI5版本
ENVI Program Generator目前版本支持的处理功能包括:
- Unsupervised classification
- Anomaly detection
- Change interleave (BSQ, BIL, BIP)
- FX segmentation (requires additional module license)
- FX rule based classification (requires additional module license)
- Band Math (with the bands of a single file only)
- Image reprojection
- NDVI
- Vegetation indices
- Resize image
- QUAC atmospheric correction module (requires additional module license)
- Topographic modeling (slope, aspect, shaded relief, etc.)
- Filtering (convolution and morphological)
- Image fusion (pan-sharpening using either Gram-Schmidt, principal components, HSV, or color-normalized)
- Orthorectification (requires the free C3PO plugin)
- Save images in a variety of formats, including to an ArcGIS Geodatabase
- Edit metadata (data ignore value, default stretch, and sensor type)
- Visualize any number of images in up to 4 views.
启动ENVI5,在Toolbox-> extensions中双击启动ENVI Program Generator工具,选择View->Advanced Interface,如下图:
左边部分是文件和处理功能选择界面,右边是对应的IDL代码。下面我们简单试用下这个工具。
(一) 单机Add Multiple Files按钮,选择几个文件。
(二) 单机Add Process下拉框,选择Anomaly Detection(异常检测)功能。
(三) 在Layout中选择一种视图类型,这里默认选择One View
注:Add Layer按钮可以添加整个处理流程的任意文件在视窗中显示。
(四) 在右边单机执行按钮,可以在ENVI5中看到处理的结果
可以看到处理的结果保存在默认的临时目录里面,可以通过Preference菜单设置Temp的目录路径。也可以通过File->Data Manager菜单查看文件的具体存放目录。
文章来源:http://blog.sina.com.cn/s/blog_764b1e9d01010h63.html