测绘通报 ›› 2023, Vol. 0 ›› Issue (8): 130-135.doi: 10.13474/j.cnki.11-2246.2023.0245

• 技术交流 • 上一篇    下一篇

多倾斜角度数字沙盘自适应投影算法

王向飞, 罗雅丹, 罗琪斯   

  1. 广西壮族自治区地图院, 广西 南宁 530023
  • 收稿日期:2023-02-16 发布日期:2023-09-01
  • 通讯作者: 罗雅丹。E-mail:lydhhxx@qq.com
  • 作者简介:王向飞(1978-),男,高级工程师,主要研究方向为地图学与地理信息系统。E-mail:84671104@qq.com
  • 基金资助:
    广西自然资源沙盘综合展示系统建设项目(DTYZRZYT20191211)

Adaptive projection algorithm of multi-tilt angle digital sand table

WANG Xiangfei, LUO Yadan, LUO Qisi   

  1. Map Institute of Guangxi, Nanning 530023, China
  • Received:2023-02-16 Published:2023-09-01

摘要: 抬高数字沙盘一定倾斜角有利于提升实体沙盘和投影内容的观赏体验,但沙盘倾斜后投影内容会偏移。针对该问题,本文提出了多倾斜角度数控沙盘自适应投影算法,根据投影内容和现场环境参数建立原始像素矩阵;对不同的投影位置建立相应的坐标纠正模型;遍历像素点后计算出倾斜后的新坐标;将每个点的颜色值赋给新坐标点,得到纠正像素矩阵,从而实现自适应投影。试验结果表明,该算法能有效地保证投影内容准确地投影到沙盘上。

关键词: 倾斜角度, 自适应, 坐标纠正模型, 像素矩阵

Abstract: Raising the digital sand table at a certain tilt angle according to the site environment helps to enhance the viewing experience of the physical sand table and projection content. However, the projection content is prone to offset after the sand table is tilted, resulting in the original content can not be projected to the corresponding position. In order to address this problem, this paper proposes an adaptive projection algorithm. Firstly, the original pixel matrix is established by the projected content and the environment parameters. And coordinate corrected models are established for different projected positions. Then the new coordinate positions after tilting are calculated by traversing the pixel points. Finally, the corrected pixel matrix is obtained by assigning the color value of each point to the new point, achieving adaptive projection. The experimental results show that the algorithm can ensure that the original projection content is accurately projected onto the sand table.

Key words: tilt angle, adaptive, coordinate corrected model, pixel matrix

中图分类号: