赞
踩
ERDAS中正射影像制作步骤:
1. VirtuoZo导出GeoTiff格式的影像,在ERDAS中用DataPrep->Mosaic->Mosaic Tool拼接,在Edit->Set Overlap Function中选中Minimum以乎略白色背景。
2. ACAD边界转成shape文件再到AOI(Viewer->AOI->Copy Selection to AOI)。AOI一定要用白色填充,别的颜色会使切出来的图像偏色,无颜色填充则不切割。
3. 在DataPrep->Subset Image中用AOI切割影像。(Mask也可以,但边界不光滑且不能切割空洞)
4. Session->Open Batch Command File,用bcf批处理做分幅处理。bcf文件内容如下:
**分幅切割
modeler -nq subset.pmdl -meter -state "d:/dom/cut_white.img" Integer 1:3 "d:/dom/01.img" Unsigned_8_bit Integer 626000 3464000 628500 3461500 Map ignore 'Thematic bin direct default' "Thematic" "Continuous" "None" '' '' '(3)'
**黑色背景换成白色
mosaicprocess -addimg "d:/dom/01.img" entire -resamplemethod nearestneighbor -ignore "0" -background 255 -tiffjpgquality 75 -tiffworldfile no -excludeempty 0 -o "d:/d/01.img" -meter "Mosaic Direct"
**输出PCX以便插入CAD图中
exportpcx -inputfilename d:/d/01.img -outputfilename d:/dom/01.pcx -bands 1 2 3
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。