Font Size: a A A

The Module Research And Design Of Image Information Processing About Traffic Monitoring Velocimeter

Posted on:2018-02-23Degree:MasterType:Thesis
Country:ChinaCandidate:R F XuFull Text:PDF
GTID:2348330512979933Subject:Integrated circuit engineering
Abstract/Summary:PDF Full Text Request
With the rapid and steady development of China's economy, driving or riding motor vehicleshas become an indispensable travel mode. However, the road traffic accidents oftenoccur because of the motor vehicle speeding, which undoubtedly pose a serious threat to people's lives and property, especially the complexity and diversity of current path.How to accurately detect and monitor the speeding vehicles become a major problem that traffic law enforcement departmentshave to contend with.However, traffic monitoring tachometer as the representative of the wide range of applicationscan effectively solve the current problems.The main work of this paper is as follows:(1) Research and construction of the picture format conversion module, disk scanning and picture copy module.Bayer format to BMP process,use std::ifstream to read data from the bayer image file to the bayer cache,call interface function IMG_BgrBufToBmpBuf performs image data conversion anduse the std::ofstream to write the BMP image cache to the BMP file. And then using the open source library to achieve BMP format images converted to conventional and easy to store JPEG format images.Achieve disk scanning and image reproduction process use multi-threaded technology,create a thread to monitor the local folder path whether there is a new picture file to add, real-time scan the local disk firstly,another thread is responsible for copying the image file under the target disk file and the code uses the sleep function to wait for the file copy to complete.(2) Implement the red-black tree index of the SQLite database. Code to achieve red-black tree query, insert and insert the node to repair the operation, delete and delete the node repair operation,use the C++ standard template library STL inside the vector container,Iterator iterator,Algorithm algorithm and other components.Then, the prepared red-black tree code files rbtree.c and rbtee.h replace the open source SQLite database btree.c and btree.h filerespectively,and modify the calling interface to achieve the SQLite database red and black tree index. Finally, testing the efficiency of the red-black tree index and the B-tree index when processing the same amount of data.(3) The optimized SQLite database is ported to the traffic monitoring system and tested for practical use.Compile the red-black tree optimized SQLite code,deploy the generated SQLite library files to the system,then debug and test it.First to improve the stability of the system test,by exporting the system log to determine whether the system during the test crash, restart and other fault information, and then test the efficiency of the system to improve the processing of picture data The test results shown that theoptimized traffic monitoring tachometer is 40% more efficient than original equipment handling picture datawhile processing the same amount of data and the same image.After the above-mentioned optimized traffic monitoring tachometer project application, used discovery that solve the original system problems in dealing with large picture data,efficiency reduced,even the system crashes.
Keywords/Search Tags:Intelligent Transportation, Radar speed-measure, SQLite database, B-tree, red-black tree
PDF Full Text Request
Related items