随着分析区域的扩展及需求精度的提高,数据一计算密集型地形分析亟需通过并行化来满足用户的时间响应需求。局部型地形因子是以一定半径的分析窗口(通常为3×3)计算且具有单元计算结果独立性的地形信息,是数字地形分析的基本参数。本文在分析局部型地形因子串行算法特征的基础上,以坡度算法为样本,对局部型地形因子的并行计算方法进行了深入研究。从数据并行的角度,对并行计算环境下的数据划分粒度、方式及结果融合策略进行了分析,构建了局部型地形因子的并行计算方法。利用SRTM陆地表面地形DEM数据,设计了坡度并行计算的实验以验证其方法的正确性和实用性。实验结果表明,本文提出的并行计算方法顾及了任务、数据及计算环境,可快速对局部型地形因子串行算法进行并行化改造,提高算法的执行效率,具有较好的并行性能。
As the analysis region becomes wider and accuracy requirement becomes higher, the parallel method is necessary for digital terrain analysis (DTA) which is data--intensive to meet the time response requirement of customs. Local terrain factor, the fundamental parameter of digital terrain analysis, is u-sually calculated based on the analysis window with a certain radius (the usual value is 3 × 3). Its calcula-tion result of each pixel is independent and could reflect terrain information. After analyzing of serial algo-rithm features of local terrain parameter, extensive study on parallel method of local terrain factor is per-formed in this paper taking slope for example. From the aspect of data parallelism, the strategies of the way of data division, partition granularity model and data fusion of parallel calculation of local terrain fac-tor are analyzed, and the parallel method has been constructed. To verity the correctness and practicality of the parallel method for local terrain factor in this paper, the parallel experiment of slope algorithm is designed by using SRTM DEM with 16 3003〈17 ter system. The experiment results show that: 400 and it has been implemented and tested on a PC clus-(1) with the increase of process number, the execution time of parallel computing decreases significantly for different partition granularities. When the task num- ber equals to processing node number, the execution time is similar for the whole DEM could be read for computation task by parallel computing system at a time. (2) The parallel speedup of slope algorithm ri- ses gradually with the increase of partition granularity. When the granularity gets growth to a certain val- ue, the changes of speedup and efficiency are basically identical. (3) With the increase of processing node, the execution time of slope algorithm without I/O consumption decreases gradually, meanwhile the change for different granularity is consistent. (4) The main influence factor of execution time is caused by reading and