Rot Corn Grain Classification by Color and Texture Analysis


  • Gustavo Viais de Brito Silva Universidade Estadual de Maringá (UEM)
  • Franklin César Flores Universidade Estadual de Maringa


Corn grain classification, Color analysis, Texture analysis, Image analysis


Due to the constant increase in corn production and exportation volume, it becomes necessary a digital transformation and tasks automatization in this scenario. The technological artifacts are an important tool for agribusiness companies, once they can improve the controls, agility, efficacy and safety of the procedures. Although automatic operations are frequently used, some activities are still executed manually, such as the rot corn grains classification process. The classification aims to analyze the quality and characteristics of the grains according to a predefined commercial pattern, which are established by the companies that commercialize this cereal. According to the identified characteristics, the negotiation might be affected by price reduction or rejection. Therefore, performing the classification properly is essential to increase the profitability and quality of the corn sold by the companies. Thus, this work aims to introduce a methodology for automatic estimation of percentual range of rot grains by global image analysis of corn grain samples. To be closer to the real process, we diversified the rot percentage inside the images samples by weighing the grains instead of counting it. In this methodology, the images were collected by following a capturing pattern. Next, histograms of color and texture descriptors were computed to characterize the input images. Such histograms were submitted to supervised classifiers to estimate the corn grains percentual range. Several classifiers were tested (minimum distance classifier, SVM, Naïve Bayes and Decision Tree) to categorize the corn grains percentual range. In these tests, SVM classifier improved by a boosting technique (AdaBoost) achieved an average accuracy up to 99.97%.


Download data is not yet available.

Author Biographies

Gustavo Viais de Brito Silva, Universidade Estadual de Maringá (UEM)

No bio is available

Franklin César Flores, Universidade Estadual de Maringa

Received his Bachelor in Computer Science from the State University of Maringa, Brazil, in 1998. He received his MSc degree from University of Sao Paulo, Brazil, in 2000, and his PhD degree from State University of Campinas, Brazil, in 2009. Postdoctoral position at University of Bath, UK, in 2014. He is currently an adjunct professor in the Department of Informatics at the State University of Maringa, Brazil. His interests include Digital Image Processing, Mathematical Morphology and Pattern Recognition.


CONAB - Companhia Nacional Abastecimento, “Acompanhamento da safra brasileira de grãos, safra 2020/21,” vol. 8, no. 7, 2021.

SENAR – Serviço Nacional de Aprendizagem Rural, “Grãos: Classificação de soja e milho,” no. 178, 2017.

A. Z. Zaccaron, C. P. Woloshuk, and B. H. Bluhm, “Comparative genomics of maize ear rot pathogens reveals expansion of carbohydrate-active enzymes and secondary metabolism backbone genes in stenocarpella maydis,” Fungal Biology, vol. 121, no. 11, pp. 966– 983, 2017. [Online]. Available: article/pii/S1878614617301095

M. A. G. Pimentel, “Qualidade e classificação de grãos de milho colhidos e armazenados nas safras 2014/2015, 2015/2016 e 2016/2017,” 2020.

O. Resende, R. Quirino, E. Rosa, T. Souza, and C. Queiroz, “Caladores e homogeneizadores utilizados na amostragem de grãos em unidades armazenadoras,” Agrarian, vol. 13, pp. 593–601, 11 2020.

J. H. N. de Aquino, Extração de características de imagens para classificação da qualidade de couro caprino usando padrão binário local. Dissertação (Mestrado em Ciência da Computação). Universidade Federal do Ceará, 2017.

M. Alsmadi, “Content-based image retrieval using color, shape and texture descriptors and features,” Arabian Journal for Science and Engineering, vol. 45, 02 2020.

S. Guo, T. Zhang, Y. Song, and F. Qian, “Color feature-based object tracking through particle swarm optimization with improved inertia weight,” Sensors, vol. 18, p. 1292, 04 2018.

A. Bhunia, A. Bhattacharyya, P. Banerjee, P. Roy, and S. Murala, “A novel feature descriptor for image retrieval by combining modified color histogram and diagonally symmetric co-occurrence texture pattern,” Pattern Analysis and Applications, vol. 23, 05 2020.

P. H. Gonc¸alves Dias Diniz, “Chemometrics-assisted color histogram-based analytical systems,” Journal of Chemometrics, 04 2020.

J.-x. Zhou, X.-d. Liu, T.-w. Xu, J.-h. Gan, and W.-q. Liu, “A new fusion approach for content-based image retrieval with color histogram and local directional pattern,” International Journal of Machine Learning and Cybernetics, vol. 9, 04 2018.

R. C. Gonzalez and R. E. Woods, Processamento de Imagens Digitais. Editora Person Education do Brasil, 2009.

P. Liu, G. Jing, K. Chamnongthai, and H. Prasetyo, “Fusion of color histogram and lbp-based features for texture image retrieval and classification,” Information Sciences, vol. 390, 01 2017.

A. Humeau-Heurtier, “Texture feature extraction methods: A survey,”. IEEE Access, vol. 7, pp. 8975–9000, 2019.

S. Ranganathan, K. Nakai, and C. Schonbach, Encyclopedia of Bioinformatics and Computational Biology: ABC of Bioinformatics, 01 2019.

E. Santucci, “Quantum minimum distance classifier,” Entropy, vol. 19, p. 659, 12 2017.

R. Abbaspour, M. Shaeri, and A. Chehreghan, “A method for similarity measurement in spatial trajectories,” Spatial Information Research, vol. 25, 05 2017.

P. Whigham, B. de Graaf, R. Srivastava, and P. Glue, “The importance of managing co-variate and distance biases in point-pattern clustering. geocomputation 2019,” Sep 2019.

E. Rodrigues, “Combining minkowski and chebyshev: New distance proposal and survey of distance metrics using k-nearest neighbours classifier,” Pattern Recognition Letters, vol. 110, pp. 66–71, 2018.

T. Strauss and M. von Maltitz, “Generalising ward’s method for use with manhattan distances,” PLOS ONE, vol. 12, p. e0168288, 01 2017.

Rizal, Fadlisyah, M. Muhathir, and A. Akfal, “Detection system tajwid al quran on image using bray curtis distance,” vol. 2, 08 2015.

F. C. A. Flores, A. M. Polido´rio, and R. d. A. Lotufo, “The weighted gradient: a color image gradient applied to morphological segmentation,” Journal of the Brazilian Computer Society, vol. 11, pp. 53 – 63, 04 2006.

H. Chen, B. Jiang, and N. Lu, “An improved incipient fault detection method based on kullback-leibler divergence,” ISA Transactions, vol. 79, pp. 127–136, 2018.

F. Harrou, Y. Sun, and M. Madakyaru, “Kullback-leibler distance-based enhanced detection of incipient anomalies,” Journal of Loss Prevention in the Process Industries, vol. 44, pp. 73–87, 11 2016.



How to Cite

Viais de Brito Silva, G., & César Flores, F. . (2021). Rot Corn Grain Classification by Color and Texture Analysis. IEEE Latin America Transactions, 20(2), 208–214. Retrieved from