Font Size: a A A

A Graphic Programming Tool Of Smart Cameras For Industry Machine Vision

Posted on:2017-04-23Degree:MasterType:Thesis
Country:ChinaCandidate:Z G LiuFull Text:PDF
GTID:2348330503968734Subject:Mechanical and electrical engineering
Abstract/Summary:PDF Full Text Request
“Industry 4.0” enables a new round of technical revolution for manufacturing industry. Similarly, “Made in China 2025” aims to optimize industrial structure of manufacturing and facilitate the shift of China from a great manufacturing nation to a powerful one. Therefore, intelligent manufacturing is expected to become a main direction of industry. With compact structure, low power consumed, good real-time capability and high dependability, smart camera conforms well to the requirements of intelligent manufacturing. Thus, smart camera is likely to replace manual inspection and traditional machine vision system as a mainstream detection method. However, domestic smart cameras have some drawbacks when compared with foreign ones, especially in terms of usability and functions of the configuration tool. Against the problem, a graphic programming tool of smart cameras for industry machine vision is developed.The main work is as follows:Firstly, design goals and characteristics are clarified. Functional demands are analyzed through activity diagram and use cases are extracted. Moreover, non-functional demands are discussed. Based on these, development system's structure is analyzed. Then design and implementation of the programming tool are discussed and an overall design scheme is proposed.Secondly, graphic objects with object-oriented technology are designed, CImage is adopted as general image data structure, composite pattern is employed in program management, iterator pattern is employed in program traversal, system operation mechanism is discussed, and then data structure for general data link are listed. OpenCV and dynamic link library are used to design the predefined function set. For better extension, an interface layer between algorithm tools and algorithm library is added.Thirdly, programming tool interface elements are refined. In addition, an overall layout is designed, a drawer-shaped toolbox and a general image control are presented, and interface design is optimized with reuse technology. Interactive operations like importing image, adding tree node, setting data link, etc. are implemented. Strategy pattern is employed to reconstruct task tree, and serialization mechanism is used to save and load projects. In addition, auxiliary functions like configuration-display zone navigation are implemented?Fourthly, a blueprint of ideal tool library is provided. Algorithm tools like “Blob Label”, “Edge Point” are implemented with OPenCV, “search” and “shape search” with HALCON. Dynamic compiling is employed to calculate arithmetic expression. Then auxiliary tools like “Calculator”, etc. are realized.Finally, the software is tested with test cases and an application case to verify its feasibility.
Keywords/Search Tags:Smart Camera, Graphics Programming, Component Technology, Image Processing
PDF Full Text Request
Related items