Âé¶¹ÒùÔº


Vibrational spectroscopy optimized for accurate coffee origin classification

Vibrational spectroscopy optimized for accurate coffee origin classification
Raw spectra from instruments before pre-processing data treatment: (a) DG-NIR, (b) HSI-NIR, (c) ATR-FTIR, (d) Raman. Credit: Food Innovation and Advances (2024). DOI: 10.48130/fia-0024-0004

Vibrational spectroscopy has long been valued in the pharmaceutical and forensic sectors, and its application is expanding into agriculture, particularly for quality and origin verification of biological materials.

Techniques such as near-infrared (NIR), mid-infrared (FTIR), Raman, and hyperspectral imaging (HSI) spectroscopy enable rapid, non-invasive analysis of food products. However, variability in sample characteristics, such as and density, can introduce noise in spectral data, hindering accuracy.

To address these issues, preprocessing of spectral data is crucial for removing physical artifacts and enhancing model performance.

A study in Food Innovation and Advances is particularly important for the coffee industry, where verifying geographic origin is crucial for ensuring product authenticity and quality.

The study compared four vibrational spectroscopy tools—dispersive near-infrared (DG-NIR), near-infrared hyperspectral imaging (HSI-NIR), attenuated total reflectance Fourier transform infrared (ATR-FTIR), and Raman spectroscopy—using different preprocessing techniques to classify coffee samples from Indonesia, Ethiopia, Brazil, and Rwanda.

This initial exploration aimed to identify the necessary preprocessing methods and detect potential outliers. The main challenges identified included three issues: offsets, slopes, and curvature, which affect signal accuracy.

Offsets, typically caused by instrumental drift or inconsistent particle grinding, were not found in the data. However, slopes, particularly in the Raman spectra due to fluorescence interference, and curvature in DG-NIR and HSI-NIR, caused by light scattering, were observed. These nonlinearities, arising from varying sample surface characteristics, were mitigated through specific preprocessing techniques.

Vibrational spectroscopy optimized for accurate coffee origin classification
(a) Pre-processed HSI-NIR spectra measured in reflectance, (b) scores, (c) first loading of (i) Normalization with MNCN, (ii) SG (1st der, 2nd poly, 15 pts) with MNCN, (iii) Normalization, SG (1st der, 2nd poly, 15 pts) with MNCN pre-processed HSI-NIR spectra. Credit: Food Innovation and Advances (2024). DOI: 10.48130/fia-0024-0004

To address these challenges, the spectra underwent mean-centering before further analysis. No outliers were identified in any of the datasets, as confirmed by the high KNN distances and reduced Hotelling's T2 and Q residuals tests, which were within the 95% confidence interval.

The study highlights that preprocessing methods such as normalization, scatter corrections, and spectral derivations are essential to remove physical artifacts. Additionally, Matthew's Correlation Coefficient (MCC) was used as a key decision parameter to address data imbalances, providing a more comprehensive assessment of model performance than accuracy or F1 scores.

This allowed the identification of the best preprocessing treatments for each instrument, optimizing the classification of coffee origin across different countries.

According to the study's first author, Dr. Joy Sim, "Our study introduces a systematic approach to selecting the best preprocessing method, addressing a critical challenge in vibrational spectroscopy. This work not only enhances classification accuracy but also provides a robust framework for future applications in food traceability."

This study paves the way for more sustainable and efficient methods of verifying the origin of coffee and other biological materials, highlighting the potential of as a powerful tool for ensuring food safety and quality, with wide-ranging applications across agriculture and beyond.

More information: Joy Sim et al, Optimisation of vibrational spectroscopy instruments and pre-processing for classification problems across various decision parameters, Food Innovation and Advances (2024).

Citation: Vibrational spectroscopy optimized for accurate coffee origin classification (2024, November 4) retrieved 17 June 2025 from /news/2024-11-vibrational-spectroscopy-optimized-accurate-coffee.html
This document is subject to copyright. Apart from any fair dealing for the purpose of private study or research, no part may be reproduced without the written permission. The content is provided for information purposes only.

Explore further

Enhancing rapeseed maturity classification with hyperspectral imaging and machine learning

0 shares

Feedback to editors