栅格数据处理篇

来源:互联网 发布:javascript 跳出循环 编辑:程序博客网 时间:2024/06/08 19:03

栅格数据处理经常会遇到各种各样的问题、现就arcgis和fme软件针对问题的一系列解决办法

一:影像坏点:

    ARCGIS:

1、mask
用原始数据做mask。
2、处理数据

图片

3、nibble

图片

FME

用RasterCellValueReplacer函数就可以处理

图片

二:黑边处理

什么是NoData? 我们在桌面的帮助中找到关于Nodata的这样一段定义。Cells can also have a NoData value to represent the absence of data. Sometimes there are homogeneous areas in a raster dataset that the user does not want to display. These can include borders, backgrounds, or other data considered to not have valid values. Sometimes these are expressed as NoData values, although other times they may have real values. 即NoData是代表栅格图像中没有值的那部分数据。

ArcGIS 提供了很多工具可以将指定值设定为NoData,最直接的就是SetNull还有COPY Raster和Mosaic to new raster等在生成的过程中都可以将指定值置为NULL。

arcgis

方法一:

选择Toolbox中的COPYRaster工具,然后右击选择Batch,即批处理,对话框如下:特别需要注意的是将No data value的值设为0

图片

然后选择Composite Band,将新生成的波段合成在一起,如图

图片


方法二:

显示设置
图片

导出设置
图片

FME

用clip或Rasterbandnodatasetter函数处理即可

图片

图片


 

 

原创粉丝点击