Study on Appearance Quality Nondestructive Inspection of Peanut Using Computer Vision
- Author
- ChenHong
- Advisor
- WuMouCheng
- School
- Huazhong Agricultural University
- Major
- Agricultural Products Processing and Storage
- Classification
- TP274.4 Centralized testing and roving detection system
- Degree
- Doctoral dissertation
- Year
- 2008
- Downloads
- 334
- Citations
- 1
Abstract
There are definite stipulations on the imperfect granularity, musty granularity, size, shape and other apparent quality of peanut in the export.But at present, there is only a kind of photoelectric device which can pick out the musty granularity based on the color in the market, and other apparent quality can only be identified manually, which can not satisfy the need of the market.Computer vision technology has the features of lossless and rapidness, and it can test several index of quality at a time, it is also convenient for designing and manufacturing production line which can classify agricultural products automatically. All of these show us a bright prospect of the technology on agricultural products auto identification. Using computer vision technology to research the apparent quality of peanut and realizing the apparent quality test of peanut automatically without losses make great sense on enhancing the competitiveness of our peanut. Against such a background, a method of apparent quality test of peanut is discussed in the paper, a designed system suitable for analyzing and testing the apparent quality of peanuts is also included. The main contents are as follows:1. Basing on the practical demand, several commonly used color models are analyzed, and the basic image processing algorithms of sound filtering, image enhancing, image dividing, and feature extracting are also analyzed and studied. Finally, a basic image processing algorithms suitable for the apparent quality is chosen.2. To realize the test of musty peanut, the change law of the parameter of feature of color and the parameter of feature of vein is studied in the process of the peanut becoming musty. The feature of color H,I,S and the feature of vein RW、GW、BW are extracted as the inputs of Neural Networks created by MATLAB, and the identification of normal peanut, stale peanut and musty peanut is realized, with the accuracy rate of 95%,90%,100% separately. To identify the musty extent of peanut, H and S Threshold is used to identify the area which is musty. By processing the area morphologically, calculating the area ratio of musty area by total pixels, the musty extent of peanut coat is identified, with the accuracy rate of 90%.3. To realize the test of imperfect peanut, the feature of color of the imperfect area is extracted, and the system of peanut imperfection test with the parameter of feature of R, G, and B color information is established based on the match of mode, and the identification of perfect and imperfect peanut is realized, with the accuracy rate of 88.56%.4. To realize the test of different shapes of peanut, Fourier Descriptor and inverse Fourier Descriptor is used to describe the shape of peanut, it is found that the feature of fist thirteen Harmonic Changes can represent the main shape of peanut in the Fourier Descriptor. The Fourier Descriptor and the Artificial Neural Network realize the test of the shape of peanut of oblong, simple, Trilateral, Elliptical and circular, with the accuracy rate of 90%, 93.3%, 96.7%, 100%, 93.3% separately.5. To realize the test of different sizes of peanut, the method of extracting the geometrical parameter of area, circumference, the length of major axis, the length of minor axis, roundness, eccentricity, equivalent diameter and the compactness of peanut is studied, and the correlation model of projected area and the weight of peanut are established. The result shows that there is a significant relativity between projected area and the weight of peanut. Based on the network system with the support of vector machine and geometrical feature parameter, the accuracy rate of the identification of the size of the peanut with five classes is 90%、95%,95%, 90%, 100% separately.6. To test the shelf life of peanut by the vision technology, the change law of the color of the coat, the vein and the shine of peanut is studied, and the Bays classifier is used to establish the model which describes the relation between the three parameter of feather of color of H, I, S as well as the vein of RW, GW, BW and the time of storage, and the accuracy rate is 88%.7. The design of the hardware and software system including machine, vision test, control and program provide the foundation of the rapid test of peanut without losses.
Table of contents
Abstract 8-10
ABSTRACT 10-12
Foreword 12-21
1 purpose and significance of 12-14 <br / > 1.1 peanut industry position 12
1.2 export peanut appearance quality requirements 12-13
1.3 export peanuts status 13
1.4 appearance quality Grading the necessity and importance 13-14
2 computer vision technology and international research profile 14-18
2.1 computer Vision in agricultural surface defect detection 14-15
2.2 computer Vision in farm size detection 15-16
2.3 computer Vision in agricultural shape detection 16
2.4 machine Vision in agricultural color detection 16-17
2.5 computer Vision in other agricultural products quality inspection application 17
2.6 computer Vision in peanut quality detection 17-18
3 main research 18-19
4 technical route 19-20
5 Summary 20-21
first chapter image acquisition and image processing algorithms 21-46
1 computer vision hardware system 21-22
2 color model 22 - 25
2.1 color Fundamentals 22
2.2 common color model 22
2.3 RGB color model 22-24
2.4 HSI color model 24-25
3 color image gray 25-26
4 image enhancement 26-29
4.1 gray transform 26-27
4.2 histogram equalization 27
4.3 image enhancement processing results and analysis 27-29
5 image filtering 29 -31
5.1 linear ( mean ) filter 29-30
5.2 median filtering 30
5.3 Wiener filtering 30-31 <br / > 5.4 filter processing results and analysis 31
6 image segmentation 31-34
6.1 thresholding 31-33
6.2 segmentation results and analysis 33-34
7 peanut boundary contour tracking 34-37
7.1 chain code 34-35
7.2 chain code contour tracking algorithm 35-36
7.3 edge contour tracking results and analysis 36-37
8 edge detection 37-41
8.1 edge Detection Operator 37-40
8.1.1 Robert operator 37-38
8.1.2 Prewitt operator 38
8.1.3 Sobel operator 38-39
8.1.4 Log (Laplacian of Gaussian) operator 39-40
8.1.5 Canny operator 40
8.2 the operator edge detection Compare 40-41
9 morphological operations 41-43
9.1 expansion 41-42
9.2 corrosion 42 <br / > 9.3 open computing 42
9.4 closing operation 42-43
10 area fills with Mark 43-44
11 image synthesis 44
12 Summary 44-46
Chapter moldy peanuts identification 46-78
1 moldy peanuts identification 46 - 70
1.1 peanut sample image obtaining 46-47
1.2 image preprocessing 47-49
1.2.1 image noise removal 47 < br /> 1.2.2 edge extraction 47-48
1.2.3 morphological filtering 48
1.2.4 image fills 48-49
1.2.5 image synthesis 49
1.3 feature information to select 49-59
1.3.1 color characteristic parameters 50-56
1.3.2 texture eigenvalue parameter 56-59
1.4 mildew identification system 59-69
1.4.1 BP neural network design 59-61
1.4. 2 BP neural network structure 61-62
1.4.3 BP neural network to generate and initialize 62-63
1.4.4 BP neural network training and simulation 63-64
1.4.5 moldy peanuts situation recognition system 64-66
1.4.6 network Training 66-69
1.5 system implementation and Experimental results verify 69-70
1.5.1 interface design 69-70
1.5.2 test results verify 70
2 moldy peanuts level detection 70-76
2.1 sample image obtaining 70-71
2.2 image processing 71-72
2.3 feature parameter selection 72-73
2.4 degree moldy peanuts identification 73-76
2.4.1 moldy peanuts region segmentation and identification 73-75
2.4.2 Experimental results verify 75-76
3 UV light peanut image characteristics 76-77
4 Summary 77-78
third Chapter damaged peanut identification 78-86
1 peanut specimen image acquisition and image processing 78-82
1.1 peanuts image acquisition 78-79 <br / > 1.2 kinds of peanuts image features 79-82
2 image processing and segmentation 82-83
3 damaged region color characteristic parameters extraction 83 < br /> 4 damaged peanuts automatic identification 83-85
4.1 breakage recognition criterion 83-85
4.2 test verification and discussion 85
5 Summary 85-86
Chapter peanut shape recognition 86-102
1 peanut image processing 87-90
1.1 peanuts image acquisition 87-88
1.2 color component extraction 88-89
1.3 image segmentation 89
1.4 image boundary contour tracking 89 -90
1.5 peanuts region centroid calculation 90
2 fourier transform-based peanut shape characterization 90-95
2.1 peanut shape characteristic parameters extraction 90-91
2.2 discrete Fourier series and discrete Fourier transform 91-92
2.3 boundary contour Fourier descriptors 92
2.4 discrete boundary curves 92-93
2.5 discrete sequence of size normalization 93
2.6 discrete Fourier Transform 93-95
3 peanut shape of the BP neural network recognition system 95-99
3.1 peanut shape recognition network to establish 96-99
3.1.1 build long-shaped peanut network 96-97
3.1.2 build ordinary peanut -shaped network 97
3.1.3 build triangle peanut network 97-99
4 peanut shape recognition system design 99-101
4.1 identification System program design 99-100
4.2 identification System interface Design 100-101
4.3 verify 101
5 Summary 101-102
Chapter peanut basic geometric characteristics and size identification 102-118
1 peanut basic geometric feature extraction 102-105
1.1 commonly used basic geometric characteristic quantity 102-104
1.2 geometrical feature extraction 104-105
2 peanuts regression weight and its projected area model 105-108
2.1 peanuts weight regression model with its projected area 105-107
2.2 regression model significance test 107
2.3 regression model verify 107-108
2.4 discussion 108
3 peanut size identification 108-117
3.1 peanuts image acquisition and geometrical feature extraction 108-109
3.2 SVM classification and identification of the basic theory 109-114
3.3 peanut size identification system design 114-115
3.4 peanut shape identification system interface design 115-116
3.5 model validation 116-117
4 Summary 117-118
Chapter peanuts shelves phase detection 118-126
1 peanut sample image acquisition and feature extraction 118-120
1.1 peanuts image acquisition 118-119
1.2 peanut feature extraction 119-120
2 color variation 120-122
2.1 color characteristics variation 120-121
2.2 texture variation 121
2.3 feature Selection 121-122
3 Mahalanobis distance -based peanut shelf discriminant 122-125
3.1 Ma Euclidean distance discriminant method 122-124
3.1.1 the basic principle of the Mahalanobis distance 122
3.1.2 classifier training principle 122-123 <br / > 3.1.3 classifier principle 123-124
3.2 peanuts shelf life detection system 124-125
3.2.1 detection system to achieve 124
3.2.2 verify the results and discussion 124-125
4 Summary 125-126
Chapter VII of the peanut -line detection and classification system design 126-132
1 overall design 126-131
1.1 hardware system design 126-129
1.1.1 mechanical System Design 127 -128
1.1.2 visual Inspection System 128
1.1.3 control Systems 128-129
1.2 software system design 129-131 <br / > 1.3 peanuts appearance quality inspection system test verification 131
2 Summary 131-132
Chapter Summary and Outlook 132-135 <br / > 1 summarizes 132
2 main innovations 132-133
3 Looking 133
4 discussion 133-135 <br / > References 135-141
Thanks 141-142
appendix relevant papers published during postgraduate 142
Related dissertations
- Study on Common Shellfish Feature Recognition Technology
- Jujube online grading based on computer vision system
- Statistical study of crop pests based on visual technology
- Research on Salient Region Detection Algorithm
- Empirical Study on Peanut Producers’Technology Adoption
- Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
- Remote Monitoring System Using in Smart Home
- The Research on Fire-fighting Based on Image Processing in Large Space
- Design of Circuit Testing System of Vehicle Fuse Box Based on LabVIEW
- 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
- High-precision Surface Defect Detection Based on Laser Triangulation Method
- The Flame Temperature Detection of Stirling Engine Combustor Based RAW Format Data
- The Design and Implementation of the Monitor System Software for Electrified Railway Section Insulator
- Research on the System of High Temperature Field Measurement of Melt Surface Based on CCD Image Sensor
- Design and Implementation of Information Acquisition System for Industry Field
- Design of Data Processing of2D Shape Detection Based on FPGA
- Design of Marine Toxin Analvsis System Based on ECIS and Image Detection