Video Surveillance Software Design Based on DSP for Obstacles on Railway Line

Author
LanPeiQiang
Advisor
ChenWeiRong
School
Southwest Jiaotong University
Major
Systems Engineering
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2007
Downloads
232
Citations
3

Request the full text

Abstract

The accidents that happened on the railway line bring more and more loss of lives and wealth. However, the traditional monitoring methods for these cases are not effective because of their shortages in getting dangerous information exactly and real-time.Our subject presents a new obstacles-detecting method which equipments a DSP system beside the railway to detect obstacles on the railway and to send an alarm to the coming train for emergency operation. The system comprises CCD vidicon and DSP board adopting a lot of video processing algorithms.Two-values and edge-abstract are adopted as pre-process. This paper adopts Hough transform to abstract the straight rail which is hard to be extracted under complex background. Connectedness detecting is used to abstract the curve rail. For moving obstacles, we adopt the method of difference between adjacent frames, then the illumination influence is reduced. Whether the alarm will be given is determined by the moving trend. For still obstacles, a simple strategy named background subtraction is adopted. Miss-alarm is reduced by a new adaptive background updating with supervisal. Then, whether the alarm will be given is determined by the size of the obstacle.The algorithms are realized in C language and validated on PC. Then the code replanting into the DSP system TMS320DM642EVM is researched by using CCS and DSP/BIOS which can configure the system visually. Six tasks are partitioned in this program: system initialization, software initialization, image capture, moving obstacles detecting, still obstacles detecting, and sending an alarm. Tasks scheduling is realized by synchronization information exchange. Moving obstacles detecting and still obstacles detecting are implemented alternatively and constantly.What’s more, several optimization methods are researched in some aspects to decrease the operation cost.

Table of contents

Abstract 4-5 Abstract 5-6 directory 6-9 Chapter 1 Introduction 9-14 <br / > 1.1 research significance 9 1.2 analysis domestic issues 9-12 1.2.1 video surveillance systems development at home and abroad before 10 - 11 1.2.2 moving target detection algorithm status 11 1.2.3 DSP application status in the field of video 11-12 1.3 the main contents 12-14 Chapter 2, image Processing and development platform introduces 14-32 2.1 video processing infrastructure 14-17 2.1.1 color Space 14-16 2.1.2 YUV sampling 16-17 2.2 various preprocessing algorithm 17-22 2.2.1 binarization 17-18 2.2.2 edge extraction 18-22 2.2.3 morphological processing 22 2.3 TMS320DM642 introduction 22 -28 2.3.1 TMS320DM642 CPU Unit 23-24 2.3.2 TMS320DM642 in Cache structure 24-25 2.3.3 TMS320DM642 video Interface 25-26 2.3.4 DM642 -EDMA controller 26 2.3.5 DM642 external memory interface EMIFA 26-27 2.3.6 DM642 other peripherals 27-28 2.4 CCS integrated development Environment 28-29 2.5 DSP / BIOS development platform introduces 29-32 Chapter 3 rail barricades detection method 32-43 3.1 straight rails detection algorithm 32-34 3.2 curve track detection algorithm 34-35 <br / > 3.3 motion detection algorithm roadblocks 35-38 3.3.1 classic moving target detection method 35-36 3.3.2 adjacent frame difference method 36-37 3.3.3 the method for determining the trend movement 37-38 3.4 still roadblocks detection algorithm 38-40 3.4.1 background subtraction 38 3.4.2 frame difference supervised adaptive background updating method 38-40 3.5 roadblocks size detection method 40-43 Chapter 4 DSP-based roadblocks detection software design and optimization 43-60 4.1 DSP software development of the general process 43-46 4.1.1 DSP system design general approach 43-44 < br /> 4.1.2 C6000 series DSP development process 44-46 4.2 roadblocks detection software process design 46-50 4.3 software porting 50-52 4.4 DSP / BIOS in design 52-53 4.4.1 BIOS development steps 52 4.4.2 DSP / BIOS configuration 52-53 4.5 Boot Loader 53-56 4.5.1 Boot Loader Introduction 53 4.5.2 Boot Loader execution 53 -55 4.5.3 programmer erase procedure 55-56 4.6 software optimization 56-60 4.6.1 C6000 series DSP software optimization process 56-57 4.6.2 algorithm level optimization 57-58 4.6.3 C language level optimization 58-59 4.6.4 for DSP / BIOS optimization 59-60 Chapter 5 experimental results and analysis 60-77 5.1 various pre- 60-65 5.1 .1 gray 60 5.1.2 binarization 60-64 5.1.3 edge extraction 64-65 5.2 using Hough transform to extract linear rails 65-71 5.3 curve track area detection 71-73 5.4 o- frame difference method detection of moving targets 73-75 <br / > 5.5 background subtraction method detects stationary target 75-77 Conclusion and Outlook 77-78 References 78-82 Thanks 82-83 papers published during the master's degree 83