Determination of Effective and Specific Physical Features of Rice Varieties by Computer Vision In Exterior Quality Inspection

Ilkay Cinar, Murat Koklu


In this study, feature extraction processes were performed based on the image processing techniques using morphological, shape and color features for five different rice varieties of the same brand. A total of 75 thousand pieces of rice grain were obtained, including 15 thousand pieces of each variety of rice. Pre-processing operations were applied to the images and made available for feature extraction. A total of 106 features were inferred from the images; 12 morphological features and 4 shape features obtained using morphological features and 90 color features obtained from five different color spaces (RGB, HSV, L*a*b*, YCbCr, XYZ). In addition, for the 106 features obtained, features were selected by ANOVA, X2 and Gain Ratio tests and useful features were determined. In all tests, out of 106 features, the 5 most effective and specific features were obtained roundness, compactness, shape factor 3, aspect ratio and eccentricity. The color features were listed in different order following these features.


Color spaces; Feature extraction; Feature selection; Image processing; Quality control

Full Text:



Aggarwal AK and Mohan R (2010). "Aspect ratio analysis using image processing for rice grain quali-ty." International Journal of Food Engineering 6(5).DOI: 10.2202/1556-3758.1788.

Arefi A, Motlagh AM and Teimourlou RF (2011). "Wheat class identification using computer vision system and artificial neural networks." Internation-al Agrophysics 25(4): 319-325.

Beyaz A. and Ozturk R (2016). "Identification of olive cultivars using image processing techniques." Turk-ish Journal of Agriculture and Forestry 40(5): 671-683.DOI: 10.3906/tar-1504-95.

Beyaz A, Ozturk R and Turker U (2010). "Assessment of mechanical damage on apples with image anal-ysis." Journal: Food, Agriculture & Environment (JFAE) 8(3&4): 476-480.

Buksh R, Routh S, Mitra P, Banik S, Mallik A and Gupta SD (2014). "MATLAB based image editing and color detection." International Journal of Sci-entific Research Publications 4(1): 1-6.

Chaudhary P, Chaudhari AK, Cheeran A and Godara S (2012). "Color transform based approach for dis-ease spot detection on plant leaf." International journal of computer science telecommunications 3(6): 65-70.

Cinar I. (2019). Classification of rice varieties using artificial intelligence techniques. Master Master Sel-cuk University.

Demirbas H and Dursun I (2007). "Determination of some physical properties of wheat grains by using image analysis." Journal of Agricultural Sciences.

Farahani L (2012). "Discrimination of some cultivars of durum wheat (Triticum durum Desf.) using im-age analysis." International Research Journal of Applied Basic Sciences 3(7): 1375-1380.

Forman G (2003). "An extensive empirical study of feature selection metrics for text classification." Journal of machine learning research 3(Mar): 1289-1305.

García-Mateos G, Hernández-Hernández J, Escaraba-jal-Henarejos D, Jaén-Terrones S band Molina-Martínez J (2015). "Study and comparison of color models for automatic image analysis in irrigation management applications." Agricultural Water Management 151: 158-166.DOI: 10.1016/j.agwat.2014.08.010.

Gelman A (2006). "Prior distributions for variance parameters in hierarchical models (comment on ar-ticle by Browne and Draper)." Bayesian analysis 1(3): 515-534.

Hua S, Xu M, Xu Z and Ye H (2021). "Quantitative Evaluation of Leaf Morphology with Different Rice Genotypes Based on Image Processing." Mathe-matical Problems in Engineering 2021.DOI: 10.1155/2021/6620636.

Ibraheem NA, Hasan MM, Khan RZ and Mishra PK (2012). "Understanding color models: a review." ARPN Journal of science technology 2(3): 265-275.

Ikegami (2019). Retrieved 14 March 2019, from

Juliano BO (1993). Rice in human nutrition, Int. Rice Res. Inst.

Kaur S and Singh D (2015). "Geometric feature extrac-tion of selected rice grains using image processing techniques." International Journal of Computer Applications 124(8).

Koschan A and Abidi M (2008). Color spaces and color distances. Digital Color Image Processing, Wiley. 1: 37-44.

Kwan AK, Mora C and Chan H (1999). "Particle shape analysis of coarse aggregate using digital image processing." Cement Concrete Research 29(9): 1403-1410.DOI: 10.1016/S0008-8846(99)00105-2.

Liu H and Setiono R (1995). Chi2: Feature selection and discretization of numeric attributes. Proceed-ings of 7th IEEE International Conference on Tools with Artificial Intelligence, IEEE.DOI: 10.1109/TAI.1995.479783.

Maheshwari CV, Jain KR and Modi CK (2012). "Non-destructive quality analysis of Indian Gujarat-17 Oryza sativa SSP Indica (Rice) using image pro-cessing." International Journal of Computational Engineering Science 2: 48-54.

Martínez SS, Gila DM, Beyaz A, Ortega JG and García JG (2018). "A computer vision approach based on endocarp features for the identification of olive cul-tivars." Computers Electronics in Agriculture 154: 341-346. DOI: 10.1016/j.compag.2018.09.017.

McGrath JR, Beck M and Hill Jr ME (2017). "Replicat-ing Red: Analysis of ceramic slip color with CIELAB color data." Journal of Archaeological Science: Reports 14: 432-438.DOI: 10.1016/j.jasrep.2017.06.020.

Mendoza F, Dejmek P and Aguilera JM (2006). "Cali-brated color measurements of agricultural foods us-ing image analysis." Postharvest Biology Technolo-gy 41(3): 285-295. DOI: 10.1016/j.postharvbio.2006.04.004.

Otsu N (1979). "A threshold selection method from gray-level histograms." IEEE transactions on sys-tems, man, cybernetics 9(1): 62-66.

Pazoki A, Farokhi F and Pazoki Z (2014). "Classifica-tion of rice grain varieties using two Artificial Neural Networks (MLP and Neuro-Fuzzy)." The Journal of Animal Plant Sciences 24(1): 336-343.

Peralta D, Del Río S, Ramírez-Gallego S, Triguero I, Benitez JM and Herrera F (2015). "Evolutionary feature selection for big data classification: A mapreduce approach." Mathematical Problems in Engineering 2015.DOI: 10.1155/2015/246139.

Pratt WK (2001). "Digital Image Processing: PIKS In-side, John Wiley and Sons." Inc., New York.

Quinlan JR (1986). "Induction of decision trees." Ma-chine learning 1(1): 81-106.DOI: 10.1007/BF00116251.

Shree NV and Kumar T (2018). "Identification and classification of brain tumor MRI images with fea-ture extraction using DWT and probabilistic neural network." Brain informatics 5(1): 23-30.DOI: 10.1007/s40708-017-0075-5.

Szczypiński PM, Klepaczko A and Zapotoczny P (2015). "Identifying barley varieties by computer vision." Computers Electronics in Agriculture 110: 1-8.DOI: 10.1016/j.compag.2014.09.016.

Tin MM, Mon KL, Win EP and Hlaing SS (2018). My-anmar Rice Grain Classification Using Image Pro-cessing Techniques. International Conference on Big Data Analysis and Deep Learning Applications, Springer.DOI: 10.1007/978-981-13-0869-7_36.

Webb B (1991). Rice quality and grades. Rice, Spring-er: 508-538.DOI: 10.1007/978-1-4899-3754-4_16.

Wu D and Sun DW (2013). "Colour measurements by computer vision for food quality control–A review." Trends in Food Science & Technology 29(1): 5-20.DOI: 10.1016/j.tifs.2012.08.004.

Zhang X and Zhang F (2008). Images features extrac-tion of tobacco leaves. 2008 Congress on Image and Signal Processing, IEEE.DOI: 10.1109/CISP.2008.88.



  • There are currently no refbacks.

Creative Commons Lisansı
Bu eser Creative Commons Alıntı-GayriTicari-Türetilemez 4.0 Uluslararası Lisansı ile lisanslanmıştır.