Real-Time System Research on Eggshell Crack Detection Based on DSP
- Author
- HeJing
- Advisor
- WangShuCai
- School
- Huazhong Agricultural University
- Major
- Agricultural Electrification and Automation
- Classification
- TP274 Data processing, data processing system
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 120
- Citations
- 4
Abstract
Compared with the intact eggs in storage, the broken ones are more likely to go bad. According to national food safety regulations, it’s necessary to remove broken eggs before the eggs are processed. In this thesis, on the basis of summarizing the worldwide research fruits of eggshell breakage identification, the image processing technology was used to segment the egg image real-timely and a simulated online monitoring experimental platform was set up to recognize broken eggs. The main content and conclusions of this research were as follows:(1) A simulated test platform for online detection was established. The test platform included a SEED-VPM642 experimental box (image processing system), an image acquisition system and a result display module. White LED light was chosen as the experimental light source, its intensity was adjusted by control circuit which was based on single chip computer 8051F330 PWM. The experiment result showed that it can provide a constant light intensity. A speed-adjustable device for egg rotation was designed, and coaxial illumination was adopted concerning on the light and camera, so that the system can inspect entire surface of the shell and acquire dynamic images.(2) According to the characteristics of the original image, two schemes including outer oval-cut rectangle and superposition algorithm were proposed to segment image in real time. The experiment proved that both methods can segment images in real time, but the stability and accuracy of latter was superior the former, so superposition algorithm was selected to segment images.(3) An innovative method of connected region labeling was proposed where the search area was extended to 5×5 regions, and a threshold T was setted to eliminate mendacious cracks. The optimal threshold T was selected through experiments, and it was found that when T was equaled 40, the best recognition can be obtained.(4) Some factors, such as narrowing the target area, reducing redundancy and simplifying the algorithm steps, etc., were taken into considerations, to optimize the code gradually. Finally, the average time to process an image was 0.7s.(5) TMS320DM642 chip doesn’t have standard serial port, so the system expanded RS232 serial circuit to receive and send data. Three images were captured from every egg. After comprehensive treatment, the final result was displayed synchronously in the result display module by data communications.(6) Experimental verification of the study revealed that the identification accuracy rate was proportional to the length of breakage. When the length was more than 8mm, the identification accuracy rate of cracked eggs reached 96%.65 white shell eggs were randomly selected to test the system, and the identification accuracy rate of intact eggs and cracked eggs were 86.57% and 93.3%, respectively.
Table of contents
Summary 6-7
ABSTRACT 7-9
first chapter 9-15
1.1 topics sources and significance 9 < br /> 1.2 domestic and foreign research status development 9-13
1.2.1 eggs broken NDT techniques 9-11
1.2.2 detection of machine vision technology in the agricultural applications 11-12
1.2.3 digital Signal Processor (DSP) applications in image detection system research objectives 12-13
1.3 topics , content and technology roadmap 13-15
1.3.1 research objectives 13
1.3.2 research 13-14
1.3.3 technology Roadmap 14-15
Chapter II DSP-based egg breakage detection system hardware platform overall 15-24
2.1 egg breakage detection system architecture 15
2.2 image acquisition system 15-21
2.2.1 light box and camera 15-16
2.2.2 irradiation source 16
2.2.3 rotating device 16-18
2.2.4 intensity control circuit 18-21
2.3 SEED-VPM642 hardware platforms 21-22
2.4 results display module 22-23
2.5 Summary extract 23-24
Chapter III image processing algorithm and system characteristic parameters 24-40
3.1 gray degree of 24-25
3.1.1 color space 24-25
3.1.2 gray transform 25
3.2 edge detection 25-27
3.2.1 Roberts edge detection operator 25-26
3.2.2 Sobel edge detection operator 26
3.2.3 Prewitt edge detection operator 26
3.2.4 Kirsch edge detection operator 26-27
3.2.5 operating results compare 27
3.3 binary and thresholding 27-30
3.3.1 fixed threshold method 28
3.3.2 adaptive threshold method 28-30
3.4 binary image centroid and boundary points 30-31
3.5 external rectangular overlay algorithms and algorithms 31-37
3.5.1 external rectangular image segmentation algorithm 31-32
3.5.2 superimposed image segmentation algorithm 32-36
3.5.3 image segmentation algorithm is relatively 36-37
extract nbsp 3.6 damaged area characteristic parameters ; 37-39
3.6.1 improved regional connectivity marking 37-38
3.6.2 target extraction 38-39
3.7 Summary 39-40
Chapter IV system software design 40-54
4.1 DSP integrated development environment CCS 40
4.2 program flowchart 40 - the main module 41
4.3 system functions implemented 41-50
4.3.1 system initialization module 41-42
4.3.2 intensity control module and achieve 42-44
4.3.3 image acquisition module and achieve 44
4.3.4 image pre-processing module and achieve 44-47
4.3.5 image analysis module and achieve 47-49
4.3.6 modules and achieve results 49-50
4.4 code optimization 50-53
4.5 Summary experimental verification and analysis 53-54
Chapter V system 54-57
5.1 intensity module test 54
5.2 serial circuit debugging 54-55
5.3 dynamic tests to verify the results of the analysis and 55-56
5.3.1 analysis 55-56
5.4 chapter Summary 56-57
Chapter VI summary and Outlook 57-59
6.1 summarizes 57
6.2 Prospects 57-59 <br / > References 59-63
Thanks 63-64
Appendix 64-73
Related dissertations
- Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
- Design of Marine Toxin Analvsis System Based on ECIS and Image Detection
- Research of Road Damage Identification and Degree Assessment Technology Based on Unmanned Vehicle
- The Research on the Ptical Mirror Reflector Single CCD Panoramic Imaging System
- Research on the TV Tracking System Technology
- Research on Vehicle Behavior Detection Based on Video Technology
- DSP-Based Network Camera Image Pre-processing Technology
- Intelligent Traffic Light Design Based on Sight
- Remote Monitoring System Using in Smart Home
- Intelligent Video Surveillance System Based on DSP
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- The Research on Fire-fighting Based on Image Processing in Large Space
- The Design of Monitoring System for the Photovoltaic Plant Based on DSP
- Surface Defect Detection Based on Laser Scanning Technology for Continuous Casting Slab
- Design and Research on Micro-displacement Measurement System for PZT Actuated HGA
- Measurement of Human Breath Based on Ordinary Camera
- The Construction Research of Surface Defects Inspecting System for Small Pipes
- Design and Implementation of Multi-channel Data Acquisition System
- High-precision Surface Defect Detection Based on Laser Triangulation Method
- Research on Measuring System of Mid-Infrared Photoelectric Autocollimator