An Inspection Method of Rice Milling Degree Based on Machine Vision and Gray-gradient Co-occurrence Matrix

Similar documents
An Inspection Method of Rice Milling Degree Based on Machine Vision and Gray-Gradient Co-occurrence Matrix

The Rice Impurity Vision Inspection Method based OpenCV

Fast Grain Shape Determination Algorithm Based on Parallel Processing

Fabric Defect Detection Based on Computer Vision

An Adaptive Threshold LBP Algorithm for Face Recognition

Research of Traffic Flow Based on SVM Method. Deng-hong YIN, Jian WANG and Bo LI *

Research on Clearance of Aerial Remote Sensing Images Based on Image Fusion

This paper puts forward three evaluation functions: image difference method, gradient area method and color ratio method. We propose that estimating t

Research on the Shape of Wheat Kernels Based on Fourier Describer

Research on the Shape of Wheat Kernels Based on Fourier Describer

2 Proposed Methodology

High Resolution Remote Sensing Image Classification based on SVM and FCM Qin LI a, Wenxing BAO b, Xing LI c, Bin LI d

Flexible Calibration of a Portable Structured Light System through Surface Plane

The Design of Electronic Color Screen Based on Proteus Visual Designer Ting-Yu HOU 1,a, Hao LIU 2,b,*

Research on Design and Application of Computer Database Quality Evaluation Model

A QR code identification technology in package auto-sorting system

Application of Geometry Rectification to Deformed Characters Recognition Liqun Wang1, a * and Honghui Fan2

Study on Gear Chamfering Method based on Vision Measurement

Journal of Chemical and Pharmaceutical Research, 2015, 7(3): Research Article

Traffic Signs Recognition using HP and HOG Descriptors Combined to MLP and SVM Classifiers

Analysis of TFT-LCD Point Defect Detection System Based on Machine Vision

An algorithm of lips secondary positioning and feature extraction based on YCbCr color space SHEN Xian-geng 1, WU Wei 2

Sensor Modeling Realization Based on Fruit Fly Optimization Algorithm

Wavelength Estimation Method Based on Radon Transform and Image Texture

A Hand Gesture Recognition Method Based on Multi-Feature Fusion and Template Matching

CHAPTER 2 TEXTURE CLASSIFICATION METHODS GRAY LEVEL CO-OCCURRENCE MATRIX AND TEXTURE UNIT

The Population Density of Early Warning System Based On Video Image

A Method of weld Edge Extraction in the X-ray Linear Diode Arrays. Real-time imaging

The research of the accurate measure of static transfer function for the TDI CCD camera

Recognition of Human Body Movements Trajectory Based on the Three-dimensional Depth Data

Algorithms for Recognition of Low Quality Iris Images. Li Peng Xie University of Ottawa

The Research of Delay Characteristics in CAN Bus Networked Control System

A Real-time Detection for Traffic Surveillance Video Shaking

An Adaptive Histogram Equalization Algorithm on the Image Gray Level Mapping *

Face recognition based on improved BP neural network

Temperature Calculation of Pellet Rotary Kiln Based on Texture

Research on Heterogeneous Communication Network for Power Distribution Automation

A Data Classification Algorithm of Internet of Things Based on Neural Network

IMPROVED ARTIFICIAL FISH SWARM ALGORITHM AND ITS APPLICATION IN OPTIMAL DESIGN OF TRUSS STRUCTURE

Texture Sensitive Image Inpainting after Object Morphing

Numerical Recognition in the Verification Process of Mechanical and Electronic Coal Mine Anemometer

Pupil Localization Algorithm based on Hough Transform and Harris Corner Detection

Application of Improved Lzc Algorithm in the Discrimination of Photo and Text ChengJing Ye 1, a, Donghai Zeng 2,b

SOME stereo image-matching methods require a user-selected

A Survey on Feature Extraction Techniques for Palmprint Identification

Computer Vision. Image Segmentation. 10. Segmentation. Computer Engineering, Sejong University. Dongil Han

Study on Digitized Measuring Technique of Thrust Line for Rocket Nozzle

Subpixel Corner Detection Using Spatial Moment 1)

CHAOTIC ANT SYSTEM OPTIMIZATION FOR PATH PLANNING OF THE MOBILE ROBOTS

Location of air-borne SAR imagery without GCPs and error analysis

An Integrated Face Recognition Algorithm Based on Wavelet Subspace

Application of Run Length Encoding In Track Vision Inspection System KANG FEI

Finite Element Modeling and Failure Analysis of Roll Bending. Forming of GLARE Laminates

Research on QR Code Image Pre-processing Algorithm under Complex Background

Computer Aided Drafting, Design and Manufacturing Volume 24, Number 4, December 2014, Page 64

Based on correlation coefficient in image matching

Research Article. Three-dimensional modeling of simulation scene in campus navigation system

Face Recognition Based on LDA and Improved Pairwise-Constrained Multiple Metric Learning Method

An Approach for Real Time Moving Object Extraction based on Edge Region Determination

I accurate and reliable navigation of vision-based IV. The main purpose of image segmentation is to separate the

Optimization of Reconstruction of 2D Medical Images Based on Computer 3D Reconstruction Technology

Research on friction parameter identification under the influence of vibration and collision

Dynamic Obstacle Detection Based on Background Compensation in Robot s Movement Space

Improvement of SURF Feature Image Registration Algorithm Based on Cluster Analysis

FAST REGISTRATION OF TERRESTRIAL LIDAR POINT CLOUD AND SEQUENCE IMAGES

SAR change detection based on Generalized Gamma distribution. divergence and auto-threshold segmentation

Fault Diagnosis of Wind Turbine Based on ELMD and FCM

Finger Vein Biometric Approach for Personal Identification Using IRT Feature and Gabor Filter Implementation

Leaf Image Recognition Based on Wavelet and Fractal Dimension

Multi-Step Segmentation Method Based on Adaptive Thresholds for Chinese Calligraphy Characters

International Journal of Modern Engineering and Research Technology

Feature Point Extraction using 3D Separability Filter for Finger Shape Recognition

Cotton Texture Segmentation Based On Image Texture Analysis Using Gray Level Co-occurrence Matrix (GLCM) And Euclidean Distance

Research of Video Surveillance and Diagnosis System for Plant Diseases Based on DM6446 Wang Xiuqing 1, a Qie Xu 1, b Zhang Chunxia 1, c Zhao Na 1, d

Effects Of Shadow On Canny Edge Detection through a camera

CHAPTER 4 DETECTION OF DISEASES IN PLANT LEAF USING IMAGE SEGMENTATION

An Efficient Character Segmentation Algorithm for Printed Chinese Documents

A METHOD OF TOMATO IMAGE SEGMENTATION BASED ON MUTUAL INFORMATION AND THRESHOLD ITERATION

A New Evaluation Method of Node Importance in Directed Weighted Complex Networks

The Study of Identification Algorithm Weeds based on the Order Morphology

Implementation of RS-485 Communication between PLC and PC of Distributed Control System Based on VB

COLOR AND SHAPE BASED IMAGE RETRIEVAL

12/12 A Chinese Words Detection Method in Camera Based Images Qingmin Chen, Yi Zhou, Kai Chen, Li Song, Xiaokang Yang Institute of Image Communication

Object Tracking Algorithm based on Combination of Edge and Color Information

An efficient face recognition algorithm based on multi-kernel regularization learning

Fusion Segmentation Method Based on Fuzzy Theory for Color Images

High Capacity Reversible Watermarking Scheme for 2D Vector Maps

A Multipath AODV Reliable Data Transmission Routing Algorithm Based on LQI

A Growth Measuring Approach for Maize Based on Computer Vision

Traffic Flow Prediction Based on the location of Big Data. Xijun Zhang, Zhanting Yuan

Open Access Research on the Prediction Model of Material Cost Based on Data Mining

FACET SHIFT ALGORITHM BASED ON MINIMAL DISTANCE IN SIMPLIFICATION OF BUILDINGS WITH PARALLEL STRUCTURE

Two Algorithms of Image Segmentation and Measurement Method of Particle s Parameters

Architectural Design Virtual Simulation

Adaptive Zoom Distance Measuring System of Camera Based on the Ranging of Binocular Vision

Fusion of Infrared and Visible Light Images Based on Region Segmentation

Defect Inspection of Liquid-Crystal-Display (LCD) Panels in Repetitive Pattern Images Using 2D Fourier Image Reconstruction

Application of global thresholding in bread porosity evaluation

Towards the completion of assignment 1

A Novel Double Triangulation 3D Camera Design

Transcription:

An Inspection Method of Rice Milling Degree Based on Machine Vision and Gray-gradient Co-occurrence Matrix Peng Wan 1,2, Changjiang Long 1 1 College of Engineering, Huazhong Agricultural University, Wuhan, P. R. China 2 College of Biological and Agricultural Engineering, Jilin University, Changchun, P. R. China wanpeng09@mail.hzau.edu.cn, longchj@mail.hzau.edu.cn(corresponding author) Abstract. A detection method of the rice milling degree was proposed based on machine vision with gray-gradient co-occurrence matrix. Using an experimental mill machine, different milling degree samples of rice were prepared. The rice kernel image of the different milling degree was get by a machine vision detecting system, then the texture features of the rice image were obtained by using gray-gradient co-occurrence matrix, at last the Fisher discriminate functions constructed using stepwise discriminate analysis were used to detect the milling degree of the rice samples. The testing results show that the average accuracy rate of the different milling degree detected using the method of 4 rice samples is 94.00%. Keywords: Milling degree, Machine vision, Gray-gradient co-occurrence matrix, Fisher discriminance, Rice 1 Introduction The rice process precision is the embryo extent of the processed rice, for the other saying is how much the embryo of the brown rice have been removed, referring to brown rice is milled to the extent of the cortex, at the same time that is the appearance quality of rice and the main indicator advantages and disadvantages of the performance evaluation of rice quality. According to the rules of "GB 1354-2009 rice," the process precision of rice by machining accuracy can be divided into one, two, three and four levels. There are several means to evaluate the processing, the national standard to provide for the direct comparison method or staining for detection, were evaluated through artificial sense of concept, but these methods are affected by light conditions, subjective feelings or many other factors and the accuracy is not high. The complicated operation process, low detection efficiency, and low accuracy can not meet the rapid, objective, accurate detection needs [1]. Detected by image analysis of rice processing is a very popular research direction [2-4]. Different levels of precision processing make the surface texture of the rice different. This paper uses machine vision technology to study the surface texture analysis and explore the relationship between precision of rice correspondence and

characteristics of surface texture, in order to achieve accuracy by processing rice through testing the surface texture of rice. There are several means of image texture analysis [5-6], this paper use gray-gradient co-occurrence matrix to analysis the surface texture characteristics of rice. 2 Gray-gradient co-occurrence matrix detection method Gray-gradient co-occurrence matrix embodies the relationship between gray and gradient of each pixel. Gray of each pixel constitute the basis of an image, and gradient constitute the elements edges of the image which provide the main image information [7]. Therefore, the gray-gradient co-occurrence matrix considers the Joint Statistical Distribution of the gray and the size of the edge gradient of each pixel. The operational processes of how to extract the gray-gradient co-occurrence matrix from the image is shown in Figure 1 Rice image f(i,j) Obtain the gradient image g(i,j) by the 3x3 sobel operator processing Obtain the gray matrix F(i,j) by the regularization processing f ( i, j) L F( i, j) g 1 f max Obtain the gradient matrix G(i,j) by the regularization processing g( i, j) L G( i, j) s 1 g max Obtain the gray-gradient co-occurrence matrix H(i,j) Obtain the gray-gradient co-occurrence matrix H ˆ i, j by the regularization processing to the matrix H(i,j) ˆ H ( i, j) H ( i, j ) Lx Ly Fig. 1. The operational processes of how to extract the gray-gradient co-occurrence matrix from the image Gray-gradient co-occurrence matrix describes the distribution for the gray and gradient of each pixel in an image and the spatial relations between pixels. It is the complex of the gray information and the gradient information, for the reason that we can extract the characteristic parameters of each image from the gray-gradient cooccurrence matrix. This paper differently collects 15 texture index from the images of the rice grains, such as small gradient strengths(r1), large gradient strengths (R2), gray uneven representation(r3), gradient uneven representation(r4), energy(r5), gray mean(r6),

gradient mean(r7), gray mean square(r8), gradient mean square(r9), relevance(r10), gray entropy(r11), gradient entropy(r12), mixing entropy(r13), inertia(r14), inverse gap(r15). 3 The detection of rice processing accuracy 3.1 Preparation of the samples We selected the Wan Chang Rice which was produced in Jilin Province as the samples for the rules research of detection accuracy of the rice. Three rice samples were weight, each 200g. First, the experimental husker was used to shell the paddy into brown rice; then, the brown rice was milled by the milling machine, and collected the rice samples with different precision. As the milling process, the longer you milled, the more brown rice to be grinded, and the different precision you could get. We set three different milling time as 30s, 60s, 90s to milling the paddy, and get three different brown rice as S1, S2, S3. At the same time, we put the Supermarket Wan Chang rice as S4 for the detection accuracy for rice processing test. 3.2 The acquisition of rice image In order to obtain rice samples images, we designed a vision inspection system for rice precision. 1 10 11 2 4 9 12 3 5 7 8 6 Fig. 2. Rice precision machine vision inspection system. 1.hopper 2.V-groove 3.electric motors 4.drop tank 5.count sensor 6.conveyor 7.Ring light source 8.shot 9.stereomicroscope 10.ccd camera 11.image acquisition card 12.computer software When detecting, put the rice samples into the hopper, then the V-groove vibrated after the motor driven and made the rice samples fall into the V-groove and ranked to move forward, when the rice grain in V-groove fallen into the drop tank it would accelerate the decline. The transmission worked when the count sensor fallen on the conveyor belt, and the count sensor put the information into the computer; When the

rice grains through the camera lens, the corn grain shape detection software collected all the images and sent these images to the computer for detection. This paper used a microscope to MOTIC stereomicroscope; camera produced in Japan SONY DXC-390P 3 CCD Color camera; image acquisition card produced by the Canadian CronosPlus image acquisition card; conveyor belt for the light blue canvas belt; circular fluorescent light tubes with 5W; major rice-shaped detection software written using Visual C + +6.0. 3.3 Rice images process The operation process of the obtained rice images was shown in Figure 3. Rice image acquisition Graying image Save the rice images Threshold segmentation Noise Cancellation Image contour extraction Seed filling Segment rice image from the background Gray processing of rice object image Gray-gradient co-occurrence matrix extraction Fig. 3. Rice image preprocess procedure 4 Results and discussion 4.1 The extraction for the rice samples of different precision texture feature

From the 4 different rice samples, each sample was selected 300 full grain rice, to get 1200 different images, and preprocess those images to get the original image of rice with different precision. (1) (2) (3) (4) Fig. 4. The original image of rice samples of different precision. (1) Rice sample S1; (2) Rice sample S2; (3) Rice sample S3; (4) Rice sample S4 From the images, the rice of different precision, its surface texture patterns significantly different. There-fore, we could use the gray-gradient co-occurrence matrix to test the precision of rice. Preprocess to the original image of the rice samples, we get gray-gradient co-occurrence matrix of the rice image, then use the image to collect the texture data, each sample get 300 sets of data. 200 sets of data were selected from each texture feature data of rice samples as the test samples, and the other 100 sets data as the testing samples. 1,2,3,4 were used as the numerical classification number of rice samples of S1, S2, S3, and S4. Table 1. The parameter mean of the rice samples texture Texture parameters Number of rice samples S1 S2 S3 S4 R1 0.2398 0.2407 0.2411 0.2346 R2 6.4022 6.1596 6.0700 6.0915 R3 0.3990 0.3947 0.3876 0.3509 R4 0.8339 0.8434 0.8484 0.7790 R5 0.3365 0.3371 0.3323 0.2813 R6 10.6028 11.0306 11.0789 11.1660 R7 1.6924 1.6712 1.6668 1.7152 R8 4.1985 4.2574 4.1795 3.9872 R9 2.2332 2.1884 2.1677 2.1366 R10 0.0582 0.0406 0.0474 0.0369

R11 1.3577 1.3289 1.3317 1.4491 R12 0.5907 0.5714 0.5643 0.6856 R13 1.8796 1.8288 1.8238 2.0411 R14 103.5886 112.5006 112.7364 112.1271 R15 0.0219 0.0210 0.0210 0.0207 Category values 1 2 3 4 4.2 Detection by stepwise discriminant analysis of rice processing accuracy Discriminant analysis [8] is based on the known samples to build a discriminant function group, To make the Makes the minimum rate of wrongful convictions in the identification of the sample classification. Analysis variables by the contribution of independent variable, and Introduction and removing variables one by one, until no new significant effects of independent variables could be neither introduced, nor no significant effect of the independent variables are removed from the equation so far. Adopt the discriminant analysis of group F by the smallest value than the maximum choice of variables. Select when the F value is greater than 7.68 will join the variable into the discriminant function and when the F value is less than 1.355 will remove the variable from the discriminant function as the criterion, Using SPSS software testing 800 samples to analyze the data set of texture features, Calculation the Fisher discriminant function which can be used for identification and classification for unknown samples, Fisher discriminant function is available as Table 2 shows the coefficient Table 2. The coefficients of the Fisher discriminant function Texture parameters Classification S1 S2 S3 S4 R1 26456.25 26448.55 26467.79 26506.75 R3 526.18 517.53 514.82 519.44 R5-425.70-420.82-420.89-423.64 R6 11.07 11.20 11.32 11.37 R7 1173.44 1174.01 1176.92 1179.87 R8 3.27 2.95 2.67 2.63 R9-269.99-270.05-270.69-271.51 R11 520.78 517.03 517.03 522.35 R12 1260.50 1259.41 1259.93 1264.28 R13-425.09-423.56-424.55-428.64 constant -3965.38-3960.24-3965.50-3980.36 We can see from table 3, F satisfy the stepwise discriminant analysis into the discriminant function value greater than 7.68 and F value is less than 1.355, when the variables for the discriminant function to remove a small gradient strengths(r1), representation of uneven gray(r3), energy(r5), mean of gray(r6), mean of gradient(r7), MES of gray(r8), MES of gradient(r10), gray entropy(r11), gradient

entropy (R12), gray entropy(r13) 10 texture parameters, etc.. Other variables did not meet the criteria for variable tick was removed from discriminant function. According to Table 3, construction of Fisher discriminant function groups were as follows: Q 26456.25R 526.18R 425.70R 11.07R 1 1 3 5 6 1173.44R 3.27R 269.99R 520.78R 7 8 9 11 1260.50R 425.09R 3965.38 12 13 (1) Q 26448.55R 517.53R 420.82R 11.20R 2 1 3 5 6 1174.01R 2.95R 270.05R 517.03R 7 8 9 11 1259.41R 423.56R 3960.24 12 13 Q 26467.79R 514.82R 420.89R 11.32R 3 1 3 5 6 1176.92R 2.67R 270.69R 517.03R 7 8 9 11 1259.93R 424.55R 3965.50 12 13 (2) (3) Q 26506.75R 519.44R 423.64R 11.37R 4 1 3 5 6 1179.87R 2.63R 271.51R 522.35R 7 8 9 11 1264.28R 428.64R 3980.36 12 13 (4) Formula(1), (2), (3), (4) form fisher discriminant function group, the discriminant function groups were used in the category test for the precision of the unknown rice samples, put the data of the rice texture characteristics into the 4 discriminant function, and get the 4 discriminant function value, which one got the largest discriminant function value it is the most precision one According to 4 different rice precision test sample images, use gray-gradient cooccurrence matrix to collect texture parameters of rice and use Fisher discriminant function to test classification accuracy of the precision of rice sample, accuracy as shown in Table 3. Table 3. Classification of the test samples of rice processing precision samples the forecast of rice sample precision S1 S2 S3 S4 total S1 93 7 0 0 100 S2 3 95 2 0 100 S3 0 5 92 3 100 S4 0 0 4 96 100 correct rate/% 93.00 95.00 92.00 96.00 average correct rate/% 94.00% Prompt: The data underlined detect the correct samples of rice grains

From the table 3, using Fisher discriminant function to test the 4 different precision of rice samples, for class S1, the accuracy of detection for rice samples was 93.00%, and 95.00% for class S2, 92.00% for class S3, the class S4 get the highest accuracy of 96.00%. The average accuracy rate of the 4 different precision process is 94.00%. 5 Conclusions This paper designed a vision inspection system for rice precision testing to get the image of rice sample, and the texture feature parameters of the different precision rice samples were collected by using gray-gradient co-occurrence matrix, and then constructed Fisher discriminant groups to detect the rice precision. The results show that 400 rice samples of 4 different process precision can reach the average correct to 94.00%; The accuracy of rice samples for processing 30S (the S1 class) was 93.00%, for processing 60S (the S2 class) was 95.00%, for processing 90S (the S3 class) was 92.00%, the milled rice (the S4 class) could get the highest rate of 96.00%. So, this method can be used to detect the rice process precision. References 1. Huang Xingyi, Fang Ruming, Wu Shouyi. Progress in research of detection method for degree of rice milling[j]. Journal of JiangSu University of science and technology, 1998, 9(3):6-9 2. Tian Qingguo. Application of the computer image processing technique in discerning the degree of rice whiteness[j]. Cereal and Feed Industry, 1997, (10):10-11 3. Xu Li, Qian Minjuan, Fang Ruming. Image process technique to cognize the external qualities and mil-ling degree of rice[j]. Transactions of the chinese society of agricultural Engineering, 1996, 12(3):176-179 4. Zhang Hao, Meng Yongcheng, Zhou Zhanming.Compounds, quantitative analyzing rice milling degree based on digital image technology[j]. Journal of the Chinese Cereals and Oils Association, 2006, 21(4):187-190 5. Li Boyu. Study of image texture analysis and classification method[d]. Shanghai: Fudan University, 2007 6. Sheng Wen, Liu Jian. Image texture analysis methods and recent advances[j]. Radio Engine-ering, 1998, 28(5):8-13 7. Hong Jiguang. Gray level-gradient co-occurrence matrix texture snalysis method[j]. Acta Automatica Sinica, 1984, 10(1):22-25 8. Zhong Chong, Guo Qiang. Fisher discrimination method and its application[j]. Journal of Southwest Jiaotong University, 2008, 43(1):136-141