389
Views
0
CrossRef citations to date
0
Altmetric
Research Article

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

, , , &
Pages 606-613 | Received 17 May 2023, Accepted 21 Sep 2023, Published online: 11 Oct 2023
 

ABSTRACT

This 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.

Disclosure statement

No potential conflict of interest was reported by the author(s).

Additional information

Funding

This work was supported by FAPERJ grant no. E-26/204.328/2021 to Davy W.H. CH.