CyTA - Journal of Food (Dec 2023)

Streamlined approaches for image classification using principal component analysis and hierarchical clustering of extrudates from coffee and sorghum blends

  • Davy William Hidalgo Chávez,
  • Felipe Leite Coelho Da Silva,
  • Renan Vicente Pinto,
  • Carlos Wanderley Piler De Carvalho,
  • Otniel Freitas-Silva

DOI
https://doi.org/10.1080/19476337.2023.2263513
Journal volume & issue
Vol. 21, no. 1
pp. 606 – 613

Abstract

Read online

ABSTRACTThis article describes simple methods to group images including principal component analysis (PCA) and hierarchical clustering of principal components (HCPC). Images of expanded and low expanded extrudates were processed using two optimization alternatives: a) image size reduction (from 2126 to 25 pixels); and b) grayscale conversion before size reduction. After applying PCA and HCPC, all tests yielded consistently similar results with the same PCA distribution and identical HCPC groups. Furthermore, expanded and low expanded extrudates formed groups with their respective peers. The RAM allocated to images and the time required to process them was reduced from 1727 Mb to less than 5 Mb and from ~ 2000s to just 0.1s, respectively. These results demonstrate the feasibility of using these two simple multivariate statistical techniques for image classification.

Keywords