USB-based still image transmission and control system
- Author
- WangZhiJun
- Advisor
- ZhaoFeng , Jeffrey Cao
- School
- Shanghai Jiaotong University
- Major
- Software Engineering
- Classification
- TP391.41 Image recognition device
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 134
- Citations
- 1
Abstract
The design of this module is based on AT91SAM9263 hardware platform , in one second of time required for image acquisition and image data compressed JPEG encoding is passed to the host computer via the USB interface . In the actual design , because AT91SAM9263 itself has an image sensor interface (ISI) can be connected to a variety of CMOS image sensors . Used in this article OV9650 image sensor requires proprietary SCCB bus control , so there must be AT91SAM9263 use common IO software to simulate the bus protocol to configure OV9650. Collected through OV9650 RGB565 format of image data is too large , need to adopt appropriate JPEG encoding to compress . In this system, the standard library for JPEG conducted a transplant, and used for JPEG encoding discrete cosine (DCT) extensive use of floating-point calculations , and AT91SAM9263 no coprocessor for floating-point calculations , the direct use of compiler floating-point libraries efficiency efficiency is not high , the use of fixed-point floating-point data , shift - addition and subtraction multiplication and other full advantage of replacing the ARM core 32-bit integer data processing capacity optimization methods to improve program execution speed. In the USB firmware design process, providing full use ATMEL library implements the communication protocol and control processes . Through the various optimization methods , for the most expensive system resources JPEG encoding module execution efficiency by nearly 90 %, so that the entire system image acquisition time to meet the design requirements of the documentation requirements .
Table of contents
Abstract 2-3
ABSTRACT 3-10
1 Introduction 10-14
1.1 Overview 10-11
1.2 System technical points 11-12
1.3 modular design 12-14
2 image acquisition module 14-22
2.1 Overview 14
2.2 hardware design 14-16
2.3 image acquisition module of the software design 16-22
2.3.1 software modules to achieve SCCB bus design 16-20
2.3.2 image acquisition module of the software design 20-22
3 image processing software module design 22-58
3.1 JPEG image compression technology based on research 22-24
3.1.1 JPEG image compression Profile 22-23
3.1.2 JPEG image compression technology 23-24 < br /> 3.2 JPEG image compression related algorithms 24-29
3.2.1 image compression coding method 24-25
3.2.2 JPEG image compression profiles 25 -29
3.2.2.1 removes redundant visual information 25-27
3.2.2.2 removes redundant data itself information - Huffman coding principle 27-29
3.3 JPEG image compression principle analysis 29-39
3.3.1 color space color space 29-32
3.3.2 color depth color depth 32 - 33
3.3.3 discrete cosine transform DCT 33-35
3.3.4 Quantitative 35-36
3.3.5 \36-37
3.3.6 Length Coding 37-38
3.3.7 Paradigm Huffman coding 38-39
3.4 JPEG file storage format 39-47
3.4.1 Photo identification information 42-43
3.4.2 quantization table instance 43-44
3.4.3 paragraph nbsp image information ; 44-45
3.4.4 Huffman table instance 45-47
3.4.5 Examples of image data segment analysis 47
3.5 AT91SAM9263 platform JPEG Code optimization approach 47-58
3.5.1 General optimization for the ARM platform approach 48-51
3.5.1.1 General Method 48
3.5.1.2 processor-related optimization methods 48-50
3.5.1.3 instruction set optimization methods 50-51
3.5.1.4 memory optimization methods related 51
3.5.1.5 compiler optimization methods related 51
3.5.2 AT91SAM9263 platform optimized for JPEG encoding 51-57
3.5.2.1 Discrete cosine transform optimization 51-52
3.5.2.2 floating-point calculations to optimize 52-57
3.5.3 AT91SAM9263 platform optimization summary 57-58
4 USB transmission and control module 58-64
4.1 USB Module Overview 58
4.2 AT91SAM9263 USB module hardware structure analysis 58-59
4.3 USB firmware design and implementation 59-64
4.3.1 Initial Configuration 59-60
4.3.2 transmission realization 60-62
4.3.3 device firmware stack 62-64
5 tests and experimental results 64-68
5.1 code testing environment 64-65 <br / > 5.2 variable type to optimize test 65-66
5.3 floating-point data after fixed-point calculations faster 66-67
5.4 using \multiply instruction optimization 67
5.5 JPEG module optimized overall running time of the test 67
5.6 Conclusion 67-68
6 summarizes 68-69
References 69-71
Appendix 71-75
Thanks 75-76
published during the study for a degree academic papers 76
Related dissertations
- A Radiation-tolerant CMOS Image Acquisition System
- The Design and Implementation of USB Image Transmission System Base on Android
- Study on System of Image Acquisiton and Transmission Based on Sopc
- The Portable System Development of the Image Sampling Based on USB and Object Recognition
- Research of Image Acquisition and Long-distance Transmission System Based on FPGA and DSP
- Implement of the Terminal of Multi-spots Wireless Image Monitoring System for Harbor Usage
- DSP Based Image Acquisition, Processing and Wireless Transmission
- Static Image Acquisition and Compression Based on TMS320VC5402
- Research of Wireless Image Transmission System
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- Design of Image Acquisition System Based on ARM
- Based on the Psd and the Size of Ccd Laser Detection System Design
- Usb Without Invasive Data Collection Technology Research
- Hardware Design for Circuit Fault Diagnosis System Based on JTAG Interface
- Research on the System of High Temperature Field Measurement of Melt Surface Based on CCD Image Sensor
- Based on AMBA3.0Bus Image Acquisition System Design and Implementation
- Implementation of FPGA electron multiplying CCD image acquisition and transmission system based on
- Study on FPGA Research and Implementation of Multi-Channel Image Acquistion System
- Research on Data Capture and Processing Method of Optics Interferogram
- Grating Data Acquisition and Error Correction Technology