The research and implementation of DSP rice quality detection based on machine vision

Author
QiXin
Advisor
ShaoHuaiZong
School
University of Electronic Science and Technology
Major
Communication and Information System
Classification
TP391.41 Image recognition device
Degree
Master's thesis
Year
2012
Downloads
107
Citations
0

Request the full text

Abstract

The measurement of exterior quality of rice in our country is still based on manualinspection nowadays, which is inefficient and lack of consistency. In response to theseshortcomings, this thesis developed a Rice-Quality-Detection system based on MachineVision. In this system, ARM board is used as the control kernel which in charge ofsystem control, communication between the boards, etc. The Texas Instruments (TI)DSP--DM642works as main processor for computing and operating the correspondingalgorithms. This system can receive real-time analog video signal from video port, andthrough processing can achieve the purpose of quality inspection of rice. The relevantindicators and data can be transmitted to PC&ARM board through the Serial port. Also,the user of the system can change parameters and view the real image processing resultdirectly.This thesis’s mainly works include two parts, which are the study&choice ofalgorithm and the DSP complement&optimization.(1) The study and choice of algorithm. Simulation of most commonly used digitalimage processing algorithms, including filter de-noising, edge detection, automaticthreshold segmentation etc, through comparative analysis, chose appropriate basicimage processing algorithm that fit our application; Using color space transformationand chromaticity histogram tools, studied the yellow rice detection method based onchrominance information. The simulation results shows that this method can distinguishyellow rice correctly; Considering the limitations of rectangular coordinates, study onpolar coordinates has been carried out. Using this method, we can easily get severalimportant methods of rice measurement: centroid detection, edge detection and long-short-axis detection etc. according to the standard we predetermined, simulation resultshows that different of rice types or broken rice can be found by these methods.(2) The DSP complement&optimization. Finished the whole software framedesign and write the function code with C language; Using series of board-leveloptimization methods, like Chip Support Library (CSL) DAT module, Video driver etc,accelerated the data transmission rate so that the whole system speed s up10times; Algorithm Optimization and CCS’s C-complier is used, which make the compilationand optimization of C-codes seamless and more efficient; C-code optimizing, such asdata type choice, loop unrolling, data table operation and so on, carried out so thatparameters of the system are further improved10times and achieved the projectrequirement.

Table of contents

Summary 4-5 ABSTRACT 5-13 first chapter 13-18 1.1 Background and Significance 13 - 14 1.2 research status at home and abroad , and this paper 14-16 1.2.1 machine vision research status 14-16 1.3 in this paper, 16 1.4 This paper studies the content and structure of arrangements digital image processing algorithms based on 16-18 the second chapter of rice research 18-34 2.1 related basics Overview 18-21 2.1.1 machine Vision basics 18-19 2.1.2 digital Image Processing basics 19-21 <br / > 2.2 image processing algorithms based on rice research 21-33 2.2.1 color images of gray 22-23 2.2.1.1 gray transformation formula 22 2.2.1.2 rice image simulation results 22-23 2.2.2 image filtering algorithm 23-26 2.2.2.1 image filtering algorithm 24-25 2.2.2.2 rice image simulation results 25-26 2.2.3 edge detection algorithm 26-28 2.2.3.1 edge detection operator 26-28 2.2.3.2 rice image simulation results 28 2.2.4 image segmentation algorithm 28-33 2.2.4.1 image segmentation algorithm 29-32 2.2.4.2 rice image simulation results 32-33 2.3 Summary 33-34 Chapter broken rice and yellow capsules m detection 34-52 3.1 based on polar coordinates broken detection 34-43 relations 3.1.1 polar and rectangular coordinates 35-37 3.1.1.1 polar introduced 35 3.1.1.2 polar coordinates and Cartesian coordinates relations 35-37 core 3.1.2 polar coordinate system calculate the 3.1.2.1 core calculation method 37-38 37-38 3.1.2.2 rice image simulation results 38 3.1.3 pole object boundary detection nbsp coordinate system ; 38-39 3.1.3.1 boundary detection algorithm 38-39 3.1.3.2 rice image simulation results 39 <br / > 3.1.4 broken detection based on polar coordinates 39-43 3.1.4.1 initial polar region to determine the direction 39-40 3.1.4.2 broken detection algorithm 40-42 3.1.4.3 rice image simulation results 42-43 3.1.5 broken detection summary 43 3.2 chromaticity histogram -based the yellow rice detection 43-51 3.2.1 common color models introduced 44-48 3.2.1.1 RGB color model 44-45 <br / > 3.2.1.2 HSI color model 45-46 3.2.1.3 XYZ color model 46-47 3.2.1.4 CMYK color model 47 3.2.1.5 YUV color model 47-48 3.2.2 chromaticity histogram -based detection of yellow rice 48-51 3.2.2.1 yellow rice detection algorithm 48-50 3.2.2.2 rice image simulation results 50-51 3.2.3 yellow rice detection summary 51 3.3 Summary 51-52 Chapter rice quality based on machine vision inspection system 52-79 4.1 DSP development Introduction 52-59 4.1.1 how select DSP processor 52-54 4.1.2 DSP development process introduced 54-55 4.1.3 CCS environment introduces 55-59 4.2 platform introduces 59-63 4.2.1 overall system architecture 59-61 4.2.2 image analysis platform introduces 61-63 achieve 4.3 image analysis system 63-70 4.3.1 image analysis system framework 64-65 4.3.2 image analysis system to achieve 65-70 4.3.2.1 video capture module 65-66 4.3.2.2 video driver module 66-69 4.3.2.3 image processing module 69-70 4.3.2.4 overall algorithm flow optimized 70 4.4 image analysis system 70-77 4.4.1 board -level optimization 71-72 4.4.2 algorithm -level optimization 72-74 4.4.3 program-level optimization 74-75 4.4.4 optimization results and analysis 75 - 77 4.5 image analysis system to achieve results 77-78 4.6 summary 78-79 Chapter summary and Outlook 79-81 5.1 summarizes 79-80 5.2 Prospects 80-81 Thanks 81-82 References 82-84 Profile 84-85

Related dissertations

  1. Research on Intelligent and Automatic Inspection Machine
    DuLei ·Donghua University ·2014 ·Master's thesis
  2. Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
    GuoJian ·Central South University ·2013 ·Master's thesis
  3. Intelligent Video Surveillance System Based on DSP
  4. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  5. The Design of Monitoring System for the Photovoltaic Plant Based on DSP
  6. 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
  7. The Construction Research of Surface Defects Inspecting System for Small Pipes
    HanWenQiang ·Tianjin University ·2012 ·Master's thesis
  8. Design and Implementation of Multi-channel Data Acquisition System
  9. Research on Measuring System of Mid-Infrared Photoelectric Autocollimator
  10. Wire Rope On-line Detection System Design Based on DSP
  11. Research on Surface Defects Visual Inspection System for Metal Components
    NieZhenYu ·Central South University ·2013 ·Master's thesis
  12. IMU Data Acquisition and Processing System Design and Realization Based on DSP
  13. Design of Marine Toxin Analvsis System Based on ECIS and Image Detection
    SuKaiZuo ·Zhejiang University ·2014 ·Master's thesis
  14. The Design of Multi-channel Optic-electronic Signal Acquisition and Processing System
    WangJianFei ·University of North ·2014 ·Master's thesis
  15. The Study Oh Fuzzy Controlin TIG Welding Prossess
    ZhangJun ·Shanghai Jiaotong University ·2008 ·Master's thesis
  16. Control Method Research and Controller Development of AGV Based on DSP
    SunXiaoMeng ·Harbin Institute of Technology ·2012 ·Master's thesis
  17. Research on Tension Control System of Fiber Placement Machine
    LiuJiCheng ·Harbin Institute of Technology ·2012 ·Master's thesis
  18. Research on Drive and Control Technology of Electromagnetic Traveling-wave for Automated Conveying System
  19. Research on the Slave Station for AC Servo Driver Based on DeviceNet Fieldbus
  20. Modeling and Implementation of Motor Function Module Based on PLCopen