- 1、本文档共3页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
ArcGis中栅格相关系数的计算
计算多个栅格的相关系数ARCGIS中,如果要计算两个栅格层的相关系数,在arctool box中,spatial analyst tools-multivariate-band collection statistcs也可以实现统计功能,当然了多个栅格图层需要采用Data Management Tools-Raster-composite bands把多个栅格图层复合成一个文件,类似与grid中的MAKESTACK命令。# CORRELATION MATRIX
# Layer 1 2
# --------------------------------------------------------------------------
1 1.00000 0.99383
2 0.99383 1.00000
# ===================================================================
如果有安装worstation也可以实现上述功能:情况一:
ARCGIS中,如果要计算两个栅格层的相关系数,可以采用ARC下的CORRELATION命令,其具体的使用方式如下:
CORRELATION grid1 {grid2} {xoffset} {yoffset}
Arguments
grid1 - an input integer or floating-point grid.
{grid2} -? an input integer or floating-point grid.? If no second input grid is specified, the cross correlation will be performed on the first grid shifted on itself by the specified offset.
{xoffset} -? the number of cells in the x-axis or direction to offset the second input grid from the first input grid.? The default x-offset is zero cells.
{yoffset} -? the number of cells in the y-axis or direction to offset the second input grid from the first input grid.? The default y-offset is zero cells.
情况二:
ARCGIS中,如果要计算多于两个栅格层的相关系数,可以采用ATC下的STACKSTATS命令,其具体使用方式如下:
STACKSTATS stack {out_data_file} {BRIEF | DETAIL}
Arguments
stack - name of the stack for which the statistics will be calculated.
{out_data_file} - name of the file where the results will be stored. By default, the results will be presented in tabular form on screen without saving them to an output file.
{BRIEF | DETAIL} - keywords specifying whether covariance and correlation matrices will be presented.
BRIEF - only the basic statistical measures: minimum, maximum, mean, and standard deviation will be calculated for every layer.
DETAIL - in addition to the standard statistics calculated with BRIEF, the covariance and correlation matrices will also be determined.
为了实现上述的功能,还需要把所有的栅格图层通过MAKESTACK命令生成一个S
文档评论(0)