基于嵌入式Linux视频采集平台的开发
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
图像视频采集技术在工农业生产、军事、医学、消费电子以及安全监控等领域有着极广泛的应用。传统的图像视频采集系统是由CCD摄像头,采集卡和计算机组成,一般功能较为齐全,但体积较大,价格高。随着嵌入式设备的出现和发展,该系统朝着微型化、网络化和智能化的方向发展。嵌入式图像视频采集系统一般是由微型摄像头、图像处理与微处理器芯片和存储器等构成的专用电路系统,具有体积小,功能强,接口丰富等特点,并且方便携带,与传统的大型图像采集器相比,嵌入式图像采集系统因体积小,便于移动,可以用于复杂环境下的图像采集。
     本文提出了一种基于ARM处理器的嵌入式图像视频采集传输系统的解决方案。该方案使用三星系列嵌入式处理器S3C2410 (ARM920T)为CPU,USB摄像头和LCD;系统软件平台使用嵌入式Linux2.6.14操作系统。与传统的采用Windows操作系统在PC上运行采集程序的方案相比,本系统体积小,便于携带,并且占用内存低。在软件算法上,与现有的单帧采集相比,本系统通过mmap函数将LCD显示缓冲区映射到用户空间的内存区,而直接对内存区进行读写来提高显示速度,并且在采集的时候使用了双缓冲设计,可以达到采集图像的同时显示在LCD上,故系统具有处理响应速度快,体积小,功耗低等优点。为了能适应网络的传输,本文的最后对嵌入式小波零树压缩(EZW)进行了改进,实验结果表明,在相同的压缩比下,改进算法要比EZW算法效果好。
     系统采用模块化设计,各部分相互协调、形成了一个完整的图像视频采集系统,并且有很强的可扩展性。由于使用ARM处理器,平台功耗较低,并且采用开源的Linux操作系统,并未使用商用的软件包,完全从底层开发,使整个平台软件部分开发成本较低,具有广阔的推广前景。
Video images collecting in the industrial and agricultural production, military, medical, consumer electronics and safety monitoring, and other fields has a very wide range of applications. The traditional image collecting system is collected by the CCD camera, collecting cards and computer components, the general function is more complete, but the larger, higher prices. With the emergence of embedded devices and development in the miniaturization of the system, network and intelligent direction. Embedded image collecting system is composed of the miniature camera, image processing and memory chips and microprocessors, such as a dedicated circuit system, a small, functional strong, rich interface features, and portable, and compared to the traditional image acquisition, embedded image acquisition system is small, portable, and can be used for complex environment of image acquisition.
     This paper introduces a method of embedded collecting system based on ARM processor, The programme series of embedded processors using the Samsung S3C2410 (ARM920T) for the CPU, USB camera and LCD; System software platform is embedded Linux2.6.14 operating system. With the traditional use of the Windows operating system on a PC running the programme, the system has smaller size and portability, and low memory. The software algorithms compared to the acquisition of existing algorithms .it is through the mmap function and LCD display buffer will be mapped to the user memory space, and directly to the memory areas to improve the literacy rate shows, and in the acquisition of the Two-time use of the buffer design, image collecting can be achieved at the real time displayed on the LCD, the system has dealt with so fast response, small size, low power consumption advantages. It is able to adapt to the network transmission.and it the last of this paper,it impoves the EZW algorithm the experimental results show that in the same compression ratio, this algorithm is better than EZW algorithm.
     System is moduled in design. and become a complete video image collecting system.and has a strong scalability. As the use of ARM processors, it is low consumption platform. this scheme adopts open source linux system.and doesn’t use commercial software package,and develops form bottom completely,so the development cost of whole platform’s software is low,and it has wide market foreground.
引文
[1] Linux Framebuffer Driver Writing HOWTO. ht tp://linuxconsole. sourceforge. net.
    [2] 周立功. ARM嵌入式Linux系统构建与驱动程序开发范例[M].北京航空航天大学出版社,2006
    [3] Alessandro Rubini. Linux设备驱动程序开发[M]. 中国电力出版社,2002
    [4] 于明俭. Linux程序设计权威指南[M] .机械工业出版社,2005
    [5] 王田苗. 嵌入式系统设计与实例开发[M]. 清华大学出版社,2006
    [6] 邹思轶. 嵌入式Linux 设计与应用[M]. 清华大学出版社,2002
    [7] 李善平等. Linux与嵌入式系统[M]. 清华大学出版社,2006
    [8] 陈赜等. ARM9 嵌入式技术及Linux 高级实践教程[M]. 北京航空航天大学出版社, 2005
    [9] 李驹光,聂学媛,江泽明等. ARM应用系统开发详解[M]. 清华大学出版社,2003
    [10] 代少升,袁祥辉. DMA 技术在实时图像处理中的应用[J]. 重庆大学学报,2003
    [11] 夏正良. 数据图像处理[M]. 东南大学出版社,1998
    [12] 周立功等. ARM 微控制器基础与实践[M]. 北京航空航天大学出版社,2003
    [13] 周立功等. ARM微控制器基础与实践[M]. 北京航空航天大学出版社,2005
    [14] 朱珂等译. Linux编程白皮书[M], 机械工业出版社,2000
    [15] 徐雪松等.基于嵌入式Linux的DiskOnChip设备的驱动开发实现[J]. 电子设计应用, 2007
    [16] 陈福,马莉等. 基于嵌入式系统的视频图像捕获研究与实现[J]. 微计算机信息, 2005
    [17] 辛华峰,于枫,谭健,王文丽.嵌入式USB主从机应用模块.吉林大学学报(工学 版).2005,35(2):18.21
    [18] 陈秀玲,周欣,陈黎平.基于USB接口的数据采集系统的设计与实现.自动化仪表 . 2004,9:34-37
    [19] Compag,Microsoft,National. Open host Controller Interface Specification for USB Release 1.0a[S].2005,6
    [20] Intel Corporation.Universal Host Controler Interface(UHCI) Design Guide Revision 1.1[S],2006
    [21] 李英伟,王成儒.USB2.0原理与工程开发[M].北京:国防工业出版社. 2004
    [22] 箫世文.USB2.0 硬件设计[M].北京:清华大学出版社. 2002
    [23] Microsoft Corp.. USB Bus Architecture in the WinCE.Net.www.microsoft.com/china/ Windows/embedded
    [24] Microsoft Corp.. USB Functions.www.microsoft.com/MSDN/library
    [25] 周立功.编著.PDIUSBD12 USB固件编程与驱动开发[M].北京:北京航空航天大学出版社. 2003.
    [26] Microsoft Corp.. USB Registry Format.WinCE.Net Help Online
    [27] USB Mass Storage Device Class Specification.http://www.usb.org
    [28] USB Video Example 1.0.http://www.usb.org
    [29] 周毓林,宁杨,陆贵强,付林林.WindowsCE.net内核定制及应用开发.北京:电子工业出版社, 2005.
    [30] Purcell,A .Quickly and easily automate test systems with USB. Electronic Design.2007,50 (23):6 7-70
    [31] Axelson,J.USB debug tips Embedded Systems Programming.2002,15(4):36 -8, 40.41
    [32] 吴秀清,周荷琴.微型计算机原理与接口技术.合肥:中国科学技术大学出版
    [33] 苏东.主流ARM嵌入式系统设计技术与实例精解[M].北京:电子工业出版社,2007
    [34] 王田苗.嵌入式系统设计与实例开发[M].北京:清华大学出版社,2003
    [35] 张冬泉,谭南林,王雪梅.Windows CE使用开发技术[M].北京:电子工业出版社,2006
    [36] 周立功.简明嵌入式系统基础教程[M].北京:北京航空航天大学出版社,2005
    [37] 马忠梅,马广云,徐英慧,田泽编著.ARM嵌入式处理器结构与应用基础[M]. 北京:北京航空航天大学出版社,2003
    [38] 孙天泽.嵌入式设计及Linux驱动开发指南—基于ARM9处理器[M]. 北京:电子工业出版社,2005
    [39] 杜春雷. ARM体系结构与编程[M]. 北京:北京清华大学出版社, 2003
    [40] 陈向群,王雷,马洪兵. Windows CE.Net系统分析及实验教程[M]. 北京:机械工业出版社,2003
    [41] Patel S , Srinivasan S.Modified embedded zerotree wavelet algorithm for fast implementation of wavelet image codec[J].Electronics Letters, 2006,36(20):1713-1714
    [42] Ouafi A,Ahmed A T,Baarir Z,et al.Color image coding by modi-fied Embedded Zerotree Wavelet(EZW)Algorithm 2006,1:1451-1456.
    [43] Sergio R M Penedo,Rui Seam.An improved EZW algorithm basedon set partitioning in hierarchical trees using wavelet regularity[C] 2004 International Conference on Image Processing,Singapore,2004. Piscataway,N J:Institute of Electrical and Electronics Engineers, 2004,5:3169-3172.
    [44] A Said and W A Pearlman.A new.fast.and efficient imagecodec based on set partitioningin hierarchical treea[J].IEEE Trans.Circuits Syst.VideoTeehno1.2006.6:243—250

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

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

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