首页> 中文期刊> 《计算机应用》 >基于多核计算环境的地貌晕渲并行算法

基于多核计算环境的地貌晕渲并行算法

         

摘要

针对现有地貌晕渲算法多是基于单核单线程编程模式从而导致计算效率较低的问题,提出利用多核并行计算模式对现有地貌晕渲算法进行并行化改进.首先,通过格网分割方式对原始数字高程模型(DEM)数据进行分割从而实现数据分块;其次,利用.NET环境下的Parallel类对分块数据进行并行晕渲处理,得到各个分块数据的晕渲结果;最后,对各个分块数据的晕渲图像进行拼接,从而得到完整的地貌晕渲图像.实验结果表明:并行化改进算法的计算效率明显高于现有单核单线程地貌晕渲算法,且参与计算核数与晕渲效率基本上呈线性增长关系;同时,分析发现地貌晕渲的立体真实感与光源参数的设置极其相关.%Most of the exiting hillshading algorithms are implemented based on single-core single-thread programming model,which makes them have lower computational efficiency.To solve this problem,an improved algorithm for parallelizing the existing hillshading algorithms based on multi-core programming model was proposed.Firstly,the original Digital Elevation Model (DEM) data were divided into several data blocks by grid segmentation.Secondly,these data blocks were shaded in parallel using the class Parallel under the.Net environment to generate shaded image of each block.Finally,the shaded images were spliced into a complete hillshading image.The experimental results show that the calculation efficiency of the improved parallelized algorithm is obviously higher than that of the existing shading algorithms based on single-core singlethread programming,and there is an approximate linear growth relation between the number of the involved cores and the shading efficiency.Additionally,it is also found that the three dimensional and realistic effect of the hillshading image is extremely relevant to the parameter setting of the light source.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号