Classification of peeled pistachio kernels using computer vision and color features

In this study, an algorithm based on combined image processing and machine learning techniques including artificial neural networks (ANN) and support vector machine (SVM) were implemented for grading peeled pistachio kernels (PPK) into five classes: green, yellowish green, yellow, mixed color and unwanted materials. Initially, the B-component of the images in L*a*b* color space and Otsu thresholding were used for segmentation of the images. Altogether, 72 chromatic and four shape features were extracted from the samples. After carrying out sensitivity analysis, the input vector was reduced to 26. Principal component analysis (PCA) was applied to further compress the size of the input vector to 7. The best ANN classifier had a 7-8-5 structure with correct classification rate (CCR) of 99.4%. The best kernel function for SVM algorithm was radial basis with CCR, C, sigma and the number of support vectors of 99.88, 10, 3.5 and 266, respectively.

[1]  Meng Wang,et al.  Image-based rapid phenotyping of chickpeas seed size , 2016 .

[2]  S. Nashat,et al.  Original paper: Support vector machine approach to real-time inspection of biscuits on moving conveyor belt , 2011 .

[3]  N. Otsu A threshold selection method from gray level histograms , 1979 .

[4]  Irwin R. Donis-González,et al.  Assessment of chestnut (Castanea spp.) slice quality using color images , 2013 .

[5]  Chih-Jen Lin,et al.  A comparison of methods for multiclass support vector machines , 2002, IEEE Trans. Neural Networks.

[6]  Rafael C. González,et al.  Digital image processing using MATLAB , 2006 .

[7]  Renfu Lu,et al.  An image segmentation method for apple sorting and grading using support vector machine and Otsu's method , 2013 .

[8]  Mahmoud Omid,et al.  An Artificial Neural Network‐Based Method to Identify Five Classes of Almond According to Visual Features , 2016 .

[9]  Daniel E. Guyer,et al.  Evaluation of different pattern recognition techniques for apple sorting , 2008 .

[10]  Mahmoud Omid,et al.  Comparing data mining classifiers for grading raisins based on visual features , 2012 .

[11]  J. Suykens,et al.  A tutorial on support vector machine-based methods for classification problems in chemometrics. , 2010, Analytica chimica acta.

[12]  A. Peirs,et al.  Nondestructive measurement of fruit and vegetable quality by means of NIR spectroscopy: A review , 2007 .

[13]  Da-Wen Sun,et al.  Improving quality inspection of food products by computer vision: a review , 2004 .

[14]  José Blasco,et al.  Development of a machine for the automatic sorting of pomegranate (Punica granatum) arils based on computer vision , 2009 .

[15]  Shyam Narayan Jha,et al.  Nondestructive Evaluation of Food Quality , 2010 .

[16]  Aasima Rafiq,et al.  Artificial Neural Network-Based Image Analysis for Evaluation of Quality Attributes of Agricultural Produce , 2016 .

[17]  Vladimir N. Vapnik,et al.  The Nature of Statistical Learning Theory , 2000, Statistics for Engineering and Information Science.

[18]  D. Jayas,et al.  Classification of cereal grains using wavelet, morphological, colour, and textural features of non-touching kernel images , 2008 .

[19]  Sankar K. Pal,et al.  Segmentation of multispectral remote sensing images using active support vector machines , 2004, Pattern Recognit. Lett..

[20]  Shiv O. Prasher,et al.  ARTIFICIAL NEURAL NETWORK MODELING OF HYPERSPECTRAL RADIOMETRIC DATA FOR QUALITY CHANGES ASSOCIATED WITH AVOCADOS DURING STORAGE , 2011 .

[21]  Mahmoud Omid,et al.  Development of pistachio sorting system using principal component analysis (PCA) assisted artificial neural network (ANN) of impact acoustics , 2010, Expert Syst. Appl..

[22]  Mahmoud Omid,et al.  An intelligent system for sorting pistachio nut varieties , 2009, Expert Syst. Appl..

[23]  Chuanqi Zhang,et al.  Artificial neural network modeling of dissolved oxygen in the Heihe River, Northwestern China , 2013, Environmental Monitoring and Assessment.

[24]  Xiaochan Wang,et al.  Nondestructive measurement method for greenhouse cucumber parameters based on machine vision , 2016 .