Research on the Detection Method of Eggs’ Size Based on Machine Vision

Author
DengHaiXia
Advisor
WenYouXian
School
Huazhong Agricultural University
Major
Agricultural Mechanization Engineering
Classification
S818 Livestock electrification and automation
Degree
Master's thesis
Year
2006
Downloads
217
Citations
3

Request the full text

Abstract

Based on machine vision system, the main purpose of this study was to detect egg size by digital image processing and to establish correlation model. Eggs images were captured by CCD camera based on VFW (Video for Windows). The main contents and conclusions of the study are as follows:1) The hardware system based on machine vision was established, which was composed of computer, CCD camera, lamp-house and test worktable. The test software system designed by Visual C++6.0 provided a user-friendly enviroment for image capturing, processing and analyzing such as image enhancement, image segmentation, edge detection, region labeling etc.2) With regard to image preprocessing, captured eggs image was enhanced by means of gray-scale transformation. Comparing eggs image filtered by the methods of dilation and erosion with that did by neighborhood averaging and that did by media filtering, we found media filtering of 3*3 square window was the best choice.3) For image segmentation, image segmented by mode method and that segmented by reconstruction technique were almost identical. In addition, single egg was recognized by connected components labeling. The edge of eggs got respectively by five edge-detected operators including Robert operator, Sobel operator, Laplacian operaters and Prewitt operator were compared with each other. Thereinto, the edge of eggs detected by Robert operator was the best.4) Eggs were weighed by electronic balance and measured by vernier caliper. Five feature values of each egg including region area, perimeter, length, width and coefficient were got by test software. Then regarding five feature values as independent variables and eggs’s weight as dependent variable, we established eggs’ weight model by principles of statistics, which is as follow:Weight=-3.3775+0.0023*AreaIn addition, regarding the maximum length and width of egg measured by vernier caliper as dependent variables and two feature values that were length and width as independent variables, we got another two dimension models, which are as follows:

Table of contents

Abstract 5-6 ABSTRACT 6-8 Preface the background on 8-18 1.1 topics <br / > 1.2 Machine Vision Overview 8-9 1.3 Overview of digital image processing 9-12 1.3.1 digital image processing 9-10 1.3.2 digital image processing method 10-11 1.3.3 digital image processing features 11 1.3.4 the main content of the digital image processing -12 1.4 research status at home and abroad Summary 12-16 1.4.1 at home and abroad in the eggs external quality detection condition 12-13 1.4 .2 in the study of the eggs the internal quality testing conditions at home and abroad 13-14 1.4.3 research status at home and abroad in the quality inspection of agricultural products size 14-16 1.5 Research objectives and content overview 16-18 1.5.1 research goal 16 1.5.2 research content 16-17 <br / > 1.5.3 of research technology roadmap 17-18 2 eggs image acquisition 18-25 2.1 image acquisition VC achieve 18 <br / > 2.2 image acquisition method based on the Windows API Profile 18-22 2.2.1 capture window 19-20 the 2.2.2 AVICap callback function of 20 - 22 2.3 specific acquisition program to achieve 22-25 2.3.1 basic video capture process 22 2.3.2 program's key functions 22-25 image processing and analysis 25-43 3.1 image preprocessing the treatment 25-31 3.1.1 graying are found; 25 3.1.2 image enhancements the image smoothing 25-28 3.1.3 28-31 3.1.3.1 neighborhood average 28 < br /> 3.1.3.2 median filter the expansion 28-29 3.1.3.3 corrosion 29-30 3.1.3.4 conclusions of 30-31 the 3.2 groups eggs image segmentation 31-39 3.2.1 image segmentation are found; 31 3.2.2 threshold processing 31-33 3.2.2.1 minimum error method 32 3.2.2.2 iterative method 32-33 3.2.2.3 conclusions of 33 3.2.3 Edge Detection the operators 3.2.3.1 gradient, 33-38 sub the 33-34 3.2.3.2 Robert gradient 34 3.2.3.3 the Sobel operator 34-35 3.2.3.4 Laplace operator 35-36 3.2.3.5 Prewitt, operator 36 3.2.3.6 conclusions of 36-38 3.2.4 connected region marked 38-39 3.3 eggs image feature value extracted 39-43 3.3.1 egg area 40 3.3.2 eggs boundary perimeter 40-41 the 3.3.3 egg Regional central location 41 3.3.4 eggs long and short axes calculated 41-42 the 3.3.5 egg shape index 42-43 4 image processing and analysis software to achieve 43-50 4.1 object-oriented programming methods are found; 43-44 4.2 MFC programming 44 the 4.3 VC digital image processing the basis 44-46 4.3.1 bitmap file 44-45 4.3.2 BMP image file format to achieve 45-46 4.4 the eggs image processing design goal 46-50 4.4.1 basic functions of image processing 46-47 4.4.2 image processing overall flowchart 47-48 4.4.3 image processing class definition 48-50 5 experimental research, modeling and data analysis nbsp the egg section indicators 50-63 5.1; 50 5.1.1 egg weight 50 5.1.2 egg shape 50 5.2 Experimental Study 50-63 5.2.1 test device 50-51 5.2.2 test methods The 51 5.2.3 egg weight test results and analysis 51-54 the 5.2.4 Technical indicators Inspection 54 - 61 5.2.4.1 regression equation test 54-55 5.2.4.2 regression coefficient significance test 55-56 5.2.4.3 Analysis 56-58 5.2.4.4 the Path Analysis the 5.2.5 egg size 58-61 Test Results and Analysis 61-63 6 Conclusions and discussion the 63-65 6.1 model validation 63 6.2 Conclusion the 63-64 6.3 discuss 64-65 Reference 65-68 Acknowledgements 68-69 Appendix 69-74

Related dissertations

  1. Research and Application of Subpixel Edge Detection in Machine Vision
    FangHangHang ·Northeastern University ·2011 ·Master's thesis
  2. Research on Technology of Machine Vision Inspection and Locating for IC Manufacturing Equipment
  3. Strain Measurement Technology Based on Machine Vision
    LuBingQi ·University of Jinan ·2013 ·Master's thesis
  4. Study on Pitch Measurement System for Transmitting Signal Plate Based on Machine Vision
    JiangTao ·Hubei University of Technology ·2013 ·Master's thesis
  5. Research on Recognition of Strip Surface Defects Based on Image Processing Method
    LinWenZuo ·East China Jiaotong University ·2013 ·Master's thesis
  6. The Detection of Battery Size Based on Machine Vision
  7. Study on Driving Assistant System Based on Machine Vision
  8. The Design and Implementation of Portable Overlapping Leaf Area Measurement Instrument
    XuCaiHong ·Beijing Jiaotong University ·2012 ·Master's thesis
  9. Three-dimensional Reconstruction Based on Binocular Stereo Vision Theory
    ZhangXu ·Jilin University ·2012 ·Master's thesis
  10. Research on Detection of the End Point of Flame in Waste Incineration Based on Machine Vision
  11. The Study and Application of Measurement Instrument Image Detection Technology
    LiangHongXi ·Guangdong University of Technology ·2013 ·Master's thesis
  12. Research on Capsule Defect Inspection and Sorting Technology Based on Machine Vision
    HouHaiFei ·Zhejiang University ·2013 ·Master's thesis
  13. Detecting Technology of Fracture Splitting Groove of Car Connecting Rod Based on Computer Vision
    LiJiZhi ·Jilin University ·2013 ·Master's thesis
  14. Research on Machine Vision-base Detection of the of Rubber Sealing Rings
    JiangWeiRong ·Hefei University of Technology ·2012 ·Master's thesis
  15. Image Segmentation of Touching Rice Based on Machine Vision
    YuJianNing ·Henan University of Technology ·2012 ·Master's thesis
  16. Eggs Broken Detection System Based on Machine Vision
    HuiBin ·Central South University ·2012 ·Master's thesis
  17. Research on Target Recognition and Measurement Algorithm Based on Machine Vision
    ZhangXingHua ·Shandong University ·2012 ·Master's thesis
  18. Research on Remote Sensing Image Processing Applications Based on Complex Wavelet Transform
  19. Research of Algorithm and Design of Hardware System for Driver Fatigue Detection
    LiuMeng ·Northeastern University ·2011 ·Master's thesis
  20. Design and Implementation of Terminal for Snowflakes Beef Carcass Quality Measurement System Based on Embedded and Machine Vision
    LiuChaoChao ·Nanjing Agricultural College ·2011 ·Master's thesis