基于Android平台多功能特效相机的设计与实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
智能手机与3G技术的结合实现了对图像、音乐、视频流等多媒体技术支持和随地上网、电子商务、电子邮件等互联网技术,极大的丰富了人们的生活。作为智能手机的代表,由Google与开放手机联盟合作开发的Android手机平台,具有开放性好、软硬件功能扩展性强、无需任何版权费,受到越来越多的手机厂商的青睐和占去越来越多的市场份额。Android系统内置的相机应用程序仅仅提供了简单的拍照、录像功能,其操作界面和查看照片的界面设计单调,为了充分提高市场竞争力和满足用户对相机功能的需求,在软件程度上对相机进行二次开发,提高其功能,美化其界面,是非常必要的。
     本文的主要工作是Android手机操作平台下设计与实现一个多功能特效相机的系统。相机多功能指的是如何在Android平台上采用三维图形接口OpenGL ES实现对菜单界面渲染和照片的特效显示的多功能相机。相机特效指的是如何在Android平台上设计相机的特效模式,使其可以根据用户的需要,拍摄出具有倒影特效、水彩特效和鱼眼特效的照片。通过这两步工作,设计和实现界面绚丽,功能强大,用户体验强烈的相机系统。本文首先从Android系统内置相机的特点和第三方相机应用程序的开发现状,分析了如何提高相机的功能和完善相机界面。然后介绍了Android平台系统架构,应用程序组件、应用程序生命周期,进程之间的通信方式、线程通信、系统安全以及Android界面设计模式等基础知识。论文对如何使用OpenGL ES实现对菜单界面渲染和照片的特效显示都给予详细的阐述和效果显示。阐述了如何在Android平台下采用图像算法制作出Android第三方应用程序中的常见的倒影、水彩、鱼眼等特效的相片,并对采用OpenCV对相机的特效的实现给予设计方案,最后对论文研究工作的总结,同时提出可以改进和扩展的地方,并对下一步工作进行展望。
Intelligent mobile phone combining with 3G technology realizes the support of images, music, video and other multimedia technical, and internet technology such as getting online everywhere, electronic commerce, sending and receiving e-mail, bringing people great convenience. Android mobile phone platform, as the representative of intelligent mobile phone developed by Google and open mobile phone alliance, has good openness, software and hardware function expansibility, without any royalties, getting more and more mobile phone manufacturer favor and occupying more and more market share. Android system has a built-in camera application providing only a simple picture-viewing, video recording function, with a monotone operation and menu interface. Therefore, in order to enhance market competitiveness and meet user demand of the camera function, it is necessary for us to make two times the development in the software on the camera, improve its function and beautify the menu interface.
     The main work of this paper is realizing of multi-function and multi-effect camera on Android platform. Camera multi-function refers to how the Android platform use 3D graphics interface OpenGL ES to implement on the menu interface rendering and photographs to show effects of multifunctional camera. Camera effects refer to how to design effectual model of camera in the Android platform, shooting out pictures with reflection effects, watercolor effects and fisheye effects, so that it can meet the needs of users. After these two steps, we will design and implement the camera with the camera interface beautiful, function powerful, and user experience strong. First, considered in the Android system built-in feature of camera application and the third side of the camera application development status, we analysis on how to increase the camera function and improve the camera users' interface. And then introduce the Android platform system architecture, application components and life cycle, communication of process and thread, system security, Android interface design pattern and so on. The paper gives a detailed elaboration and picture display on the studies on how to use OpenGL ES to achieve the menu interface rendering and photographs effects. We also describe how to use image algorithm to produce refection, watercolor, fisheye effects of photographs like Android third side application in the Android platform, and give a design scheme on the specific implementation to the camera effects using Open CV. Finally, we give the thesis work summary, put forward where to improve and extend, and prospect the next step in the paper.
引文
[1]智能手机[EB/OL]. http:/baike.baidu.com/view/535.html.2011
    [2]What is android?[EB/OL]. http://sdk.androidin.com/what-is-android.html.2007
    [3]Android SDK version2.2[EB/OL]. http://www.developer.android.com.2008
    [4]刘琪,迟贤书OpenGL与OpenGL ES在开发过程中的异同[J].自然科学报,2008,27(2):261-262.
    [5]方荣国.电影特效蓝/绿拍摄解析[J].现代电影技术,2011,01:25-30.
    [6]唐俊.鱼眼图像轮廓提取算法研究[J].微机发展,2004,14(10):9-11.
    [7]冯娜,矫苏平.波普艺术与波普化的建筑[J].安徽建筑,2009,01(10):16-17.
    [8]胡倩,杨子华,曹鼓.智能手机软件平台的研究和开发[J].通讯技术,2007,11:30-36.
    [9]Palm from Wikipedia, the free encyclopedia[EB/OL]. http://en.wikipedia.org/wiki/Palm.2011
    [10]Windows Mobile from Wikipedia, the free encyclopedia[EB/OL]. http://en.wikipedia.org/wiki/Windows_Mobile.2011
    [11]Symbian from Wikipedia, the free encyclopedia[EB/OL]. http://en.wikipedia.org/wiki/Symbian.2011
    [12]iPhone from Wikipedia, the free encyclopedia[EB/OL]. http://en.wikipedia.org/wiki/iPhone.2011
    [13]姚显昊,刘卫国Android的架构和应用开发研究[J].计算机应用,2008,11:78-81.
    [14]Burnette,张波译Android基础教程[M].北京:人民邮电出版社,2009.
    [15]Reto M. Professional Android Application Development[M]. Wrox Programme to Programmer,2008.
    [16]李森OPhone平台Native开发与JNI机制详解[J].程序员,2010,05:31-33.
    [17]Dave Shreiner, The Khronos OpenGL ARB Working Group,李军徐波译OpenGL编程指南[M].北京:机械工业出版社,2009,10.
    [18]Nadalutti D, Chittaro L, Buttussi F. Rendering of X3D content on mobile devices with OpenGL ES[J].Web3D 06 Proceding of the eleventh international conference on 3D web technology,2006.
    [19]盖索林Google Android开发入门指南[M].北京:人民邮电出版社,2009.
    [20]陈憬,陈平华,李文亮Android内核分析[J].现代计算机2009,11.
    [21]赵炯Linux内核完全注释[M].北京:机械工业出版社,2002.
    [22]Tomas K, A first look at Google Android, Free University of Bolzano [J]. Internet Technologies,2008,2:12-26.
    [23]马越Android的架构与应用[D].北京:中国地质大学计算机学院,2008.
    [24]党李成.基于Google Android智能手机平台的研究与应用[D].合肥:安徽大学计算机与信息技术院,2010.
    [25]宋杰,党李成,郭振朝,等Android OS手机平台的安全机制分析和应用研究[J].计算机技术与发展,2010,20(6):152-155.
    [26]张亮,张维.基于Android技术的界面设计与研究[J].电脑知识与技术,2009,5(29):8183-8185.
    [27]刘艳峰.MVC设计模式的分析与应用[J].应用技术,2010,31:152-153.
    [28]苗忠良,宛斌,等Android多媒体编程从初学到精通[M].北京:电子工业出版社,2010.
    [29]韩超,梁泉Android系统原理及开发要点详解[M].北京:电子工业出版社,2010.
    [30]李杨,冯刚,李亮,罗拥华,等.基于Android的多媒体应用开发与研究[J].计算机与现代化,2011,4:149-152.
    [31]李瑞花.基于Android的XML解析技术的分析[J].计算机时代,2010,12:31-33.
    [32]牛军伟.基于Android手机系统的摄像头图像高动态范围增强[D].景德镇:中国陶瓷大学计算机与信息技术院,2010.
    [33]Jeff Molofee(NeNe),OpenGL教程[EB/OL].http://www.lihuasoft.net/book/show.php?id=284,2005-03-21
    [34]陈建伟.基于Android的三维物体的触摸控制[J].信息科学,2009,33(10):91.
    [35]胡顾飞,汤文兵.基于Android平台的纹理映射分析与实现[J].信息技术,2011,11:33.
    [36]时亦芃,王利明,陈章龙,等.嵌入式Java的Mobile 3D实现[J].计算机工程,2007,33(10):184-186.
    [37]伍泽辉Android人脸检测系统的研究与实现[D].深圳:哈尔滨工业大学深圳研究生院,2010.
    [38]Reinhard E, Stark M, Shirley M,et al. Photograhpic tone reproduction for digital images[J]. ACM Transactions on Graphics,2002,21(3):267-276.
    [39]李晓林.实现湖光倒影的网页特效[J].电脑技术,2001,08:54-56.
    [40]徐志波.实现真彩图的浮雕与水彩特效[J].图形图像处理,2001,07:80-86.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700