欢迎访问中国科学院大学学报,今天是

中国科学院大学学报 ›› 2015, Vol. 32 ›› Issue (4): 549-555.DOI: 10.7523/j.issn.2095-6134.2015.04.018

• 信息与电子科学 • 上一篇    下一篇

一种面向iOS系统的双缓冲改进算法及其应用

石锐1, 杨崇俊1, 张建兵2, 王锋1   

  1. 1. 中国科学院遥感与数字地球研究所 遥感科学国家重点实验室, 北京 100101;
    2. 中国石油大学(北京)信息学院, 北京 102249
  • 收稿日期:2014-07-07 修回日期:2015-01-05 发布日期:2015-07-15
  • 通讯作者: 石锐
  • 基金资助:
    国家863计划项目(2012AA12A401,2013AA12A403)资助

A modified double-buffering algorithm oriented to iOS and its application

SHI Rui1, YANG Chongjun1, ZHANG Jianbing2, WANG Feng1   

  1. 1. State Key Laboratory of Remote Sensing Information Sciences, Institute of Remote Sensing and Digital Earth, Chinese Academy of Sciences, Beijing 100101, China;
    2. China University of Petroleum (Beijing), Beijing 102249, China
  • Received:2014-07-07 Revised:2015-01-05 Published:2015-07-15

摘要: 为提高面向iOS(iPhone operating system)系统的矢量地图数据渲染效率,研究针对小尺寸屏幕的移动设备的矢量数据简化算法,以传统的Douglas-Peucker矢量简化算法和切分重组压缩法为基础,讨论结合屏幕像素、容忍时间等因素确定简化限值的方法.另外,基于对Quartz 2D引擎的渲染流程及双缓冲技术使用的效率问题的研究,提出改进的双缓冲渲染算法.实验结果显示,改进后的算法与传统算法相比,渲染效率有所提高.

关键词: iOS, 双缓冲, 矢量数据简化, Quartz 2D

Abstract: In order to improve the rendering efficiency of iOS-oriented (iPhone operating system) vector map, a method for determining the simplification limit for small-screen mobile devices is proposed through the thorough analysis of the simplification algorithm of vector data. On the basis of Douglas-Peucker algorithm we use this method to quantitatively calculate simplification limit, considering the factors of screen pixels and time tolerance. In addition, a modified algorithm is proposed for improving the efficiency of double buffering skill, on the basis of the study on rendering procedure and double buffering skill with Quartz 2D. The experimental results show that the modified alg orithm is more efficient than the traditional one.

Key words: iOS, double buffering, vector data simplification, Quartz 2D

中图分类号: