摘要
抬高数字沙盘一定倾斜角有利于提升实体沙盘和投影内容的观赏体验,但沙盘倾斜后投影内容会偏移。针对该问题,本文提出了多倾斜角度数控沙盘自适应投影算法,根据投影内容和现场环境参数建立原始像素矩阵;对不同的投影位置建立相应的坐标纠正模型;遍历像素点后计算出倾斜后的新坐标;将每个点的颜色值赋给新坐标点,得到纠正像素矩阵,从而实现自适应投影。试验结果表明,该算法能有效地保证投影内容准确地投影到沙盘上。
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.
作者
王向飞
罗雅丹
罗琪斯
WANG Xiangfei;LUO Yadan;LUO Qisi(Map Institute of Guangxi,Nanning 530023,China)
出处
《测绘通报》
CSCD
北大核心
2023年第8期130-135,共6页
Bulletin of Surveying and Mapping
基金
广西自然资源沙盘综合展示系统建设项目(DTYZRZYT20191211)。