Skip to main content
Log in

Hyperspectral imaging-based unsupervised adulterated red chili content transformation for classification: Identification of red chili adulterants

  • Original Article
  • Published:
Neural Computing and Applications Aims and scope Submit manuscript

Abstract

Preserving red-chili quality is of utmost importance in which the authorities demand quality techniques to detect, classify, and prevent it from impurities. For example, salt, wheat flour, wheat bran, and rice bran contamination in grounded red chili, which though are food items, are a serious threat to the people who are allergic to such items. Therefore, this work presents the feasibility of utilizing Visible and Near Infrared (VNIR) Hyperspectral Imaging (HSI) to detect and classify such adulterants in grounded red chili. This study, for the very first time, proposes a novel approach to annotate the grounded red chili samples using a clustering mechanism at a 550 nm wavelength spectral response due to its dark appearance at a specified wavelength. Later the spectral samples are classified into pure or adulterated using one-class SVM. The classification performance achieves 99% in the case of pure adulterants and/or red chili whereas 85% for adulterated samples. We further investigate that the single classification model is enough to detect adulterants in red chili powder compared to cascading multiple PLS regression models.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15

Similar content being viewed by others

References

  1. Ahmad M, Khan A, Khan AM, Mazzara M, Distefano S, Sohaib A, Nibouche O (2019)“Spatial prior fuzziness pool-based interactive classification of hyperspectral images,” Remote Sensing, 11(9). [Online]. Available: https://www.mdpi.com/2072-4292/11/9/1136

  2. Ahmad M, Khan AM, Mazzara M, Distefano S, Ali M, Sarfraz Ms (2020) “A fast and compact 3-d cnn for hyperspectral image classification,” IEEE Geosci Remote Sens Lett , pp. 1–5

  3. Ahmad M (2021)“Ground truth labeling and samples selection for hyperspectral image classification,” Optik, vol. 230, p. 166267, [Online]. Available: https://www.sciencedirect.com/science/article/pii/S0030402621000103

  4. Ahmad M, Mazzara M, Distefano S (2021) 3D/2D regularized CNN feature hierarchy for Hyperspectral image classification. arXiv preprint arXiv:2104.12136

  5. Sun D-W (2009) Infrared spectroscopy for food quality analysis and control. Academic Press, Cambridge

    Google Scholar 

  6. Olumegbon IA, Oloyede A, Afara IO (2017) Near-infrared (nir) spectroscopic evaluation of articular cartilage: A review of current and future trends. Appl Spectrosc Rev 52(6):541–559

    Article  Google Scholar 

  7. Lammertyn J, Peirs A, Baerdemaeker JD, Nicolaïa B (2000) Light penetration properties of nir radiation in fruit with respect to non-destructive quality assessment. Postharvest Biol Technol 18(2):121–132. https://doi.org/10.1016/S0925-5214(99)00071-X

    Article  Google Scholar 

  8. Saleem Z, Khan MH, Ahmad M, Sohaib A, Ayaz H, Mazzara M (2020) Prediction of microbial spoilage and shelf-life of bakery products through hyperspectral imaging. IEEE Access 8:176986–176996

    Article  Google Scholar 

  9. Ayaz H, Ahmad M, Mazzara M, Sohaib A (2020) Hyperspectral imaging for minced meat classification using nonlinear deep features. Appl Sci 10(21):7783

    Article  Google Scholar 

  10. Ayaz H, Ahmad M, Sohaib A, Yasir MN, Zaidan MA, Ali M, Khan MH, Saleem Z (2020) Myoglobin-based classification of minced meat using hyperspectral imaging. Appl Sci 10(19):6862

    Article  Google Scholar 

  11. Ahmad M, Alqarni MA, Khan AM, Hussain R, Mazzara M, Distefano S (2019) “Segmented and non-segmented stacked denoising autoencoder for hyperspectral band reduction,” Optik-Int J Light Electron Optics, 180: 370–378. [Online]. Available: https://doi.org/10.1016/j.ijleo.2018.10.142

  12. Ahmad M, Bashir AK, and Khan AM (2017) “Metric similarity regularizer to enhance pixel similarity performance for hyperspectral unmixing,” Optik-Int J Light Electron Optics, 140C: 86–95. [Online]. Available: https://doi.org/10.1016/j.ijleo.2017.03.051

  13. Ahmad M, Khan AM, Mazzara M, and Distefano S (2019) “Multi-layer extreme learning machine-based autoencoder for hyperspectral image classification,” In: Proceedings of the 14th international joint conference on computer vision, imaging and computer graphics theory and applications - vol 4: VISAPP, INSTICC. SciTePress, pp. 75–82

  14. Lim J, Mo C, Kim G, Kang S, Lee K, Kim MS, Moon J (2014) Non-destructive and rapid prediction of moisture content in red pepper (capsicum annuum l.) powder using near-infrared spectroscopy and a partial least squares regression model. J Biosyst Eng 39(3):184–193

    Article  Google Scholar 

  15. Al-Sarayreh M, Reis MM, Qi Yan W, Klette R (2018) Detection of red-meat adulteration by deep spectral-spatial features in hyperspectral images. J Imaging 4(5):63

    Article  Google Scholar 

  16. Online, “Fast Detection of Paprika Adulteration Using FT-NIR Spectroscopy,” https://www.azom.com/article.aspx?ArticleID=13251, accessed: 2019-09-30

  17. Er SV, Eksi-Kocak H, Yetim H, Boyaci IH (2017) Novel spectroscopic method for determination and quantification of saffron adulteration. Food Anal Methods 10(5):1547–1555

    Article  Google Scholar 

  18. Lohumi S, Lee S, Lee W-H, Kim MS, Mo C, Bae H, Cho B-K (2014) Detection of starch adulteration in onion powder by ft-nir and ft-ir spectroscopy. J Agric Food Chem 62(38):9246–9251

    Article  Google Scholar 

  19. Haughey SA, Galvin-King P, Ho Y-C, Bell SE, Elliott CT (2015) The feasibility of using near infrared and raman spectroscopic techniques to detect fraudulent adulteration of chili powders with sudan dye. Food Control 48:75–83

    Article  Google Scholar 

  20. Nallappan K, Dash J, Ray S, and Pesala B (2013)“Identification of adulterants in turmeric powder using terahertz spectroscopy,” In: 2013 38th international conference on infrared, millimeter, and terahertz waves (IRMMW-THz). IEEE, pp. 1–2

  21. McGoverin CM, September DJ, Geladi P, Manley M (2012) Near infrared and mid-infrared spectroscopy for the quantification of adulterants in ground black pepper. J Near Infrared Spectrosc 20(5):521–528

    Article  Google Scholar 

  22. Association AST et al. (2012) “Spice adulteration–white paper,”

  23. Lim J, Kim G, Mo C, Kim M (2015) Design and fabrication of a real-time measurement system for the capsaicinoid content of korean red pepper (capsicum annuum l.) powder by visible and near-infrared spectroscopy. Sensors 15(11):27420–27435

    Article  Google Scholar 

  24. Lohumi S, Lee H, Kim MS, Qin J, Kandpal LM, Bae H, Rahman A, Cho B-K (2018) Calibration and testing of a raman hyperspectral imaging system to reveal powdered food adulteration. PLoS ONE 13(4):e0195253

    Article  Google Scholar 

  25. Botek P, PouStka J, Hajslova J (2007) Determination of banned dyes in spices by liquid chromatography-mass spectrometry. Czech J Food Sci 25(1):17–24

    Article  Google Scholar 

  26. Witjaksono G and Alva S (2019) “Applications of mass spectrometry to the analysis of adulterated food,” in Mass Spectrometry-Future Perceptions and Applications. IntechOpen

  27. Ellis DI, Brewster VL, Dunn WB, Allwood JW, Golovanov AP, Goodacre R (2012) Fingerprinting food: current technologies for the detection of food adulteration and contamination. Chem Soc Rev 41(17):5706–5727

    Article  Google Scholar 

  28. Pastor K, Ačanski M, Vujić D (2019) “Gas chromatography in food authentication,” in Gas Chromatography-Derivatization, Sample Preparation. Application, IntechOpen

  29. Moore JC, Spink J, Lipp M (2012) Development and application of a database of food ingredient fraud and economically motivated adulteration from 1980 to 2010. J Food Sci 77(4):R118–R126

    Article  Google Scholar 

  30. Osborne BG (2006) Near-infrared spectroscopy in food analysis. In: Encyclopedia of analytical chemistry: applications, theory and instrumentation

  31. Karunathilaka SR, Yakes BJ, He K, Chung JK, Mossoba M (2018) Non-targeted nir spectroscopy and simca classification for commercial milk powder authentication: A study using eleven potential adulterants. Heliyon 4(9):e00806

    Article  Google Scholar 

  32. Herrero AM (2008) Raman spectroscopy a promising technique for quality assessment of meat and fish: A review. Food Chem 107(4):1642–1651

    Article  Google Scholar 

  33. Drennen JK, Kraemer EG, Lodder RA (1991) Advances and perspectives in near-infrared spectrophotometry. Crit Rev Anal Chem 22(6):443–475

    Article  Google Scholar 

  34. Hwang SW, Oh U (2002) Hot channels in airways: pharmacology of the vanilloid receptor. Curr Opin Pharmacol 2(3):235–242

    Article  Google Scholar 

  35. Antonious GF (2018) “Capsaicinoids and vitamins in hot pepper and their role in disease therapy,” in Capsaicin and its human therapeutic development. IntechOpen

  36. Aydin A, Erkan ME, Başkaya R, Ciftcioglu G (2007) Determination of aflatoxin b1 levels in powdered red pepper. Food Control 18(9):1015–1018

    Article  Google Scholar 

  37. Gilbert J (1999) Overview of mycotoxin methods, present status and future needs. Nat Toxins 7(6):347–352

    Article  Google Scholar 

  38. Adegoke G, Allamu A, Akingbala J, Akanni A (1996) Influence of sundrying on the chemical composition, aflatoxin content and fungal counts of two pepper varieties–capsicum annum and capsicum frutescens. Plant Foods Hum Nutr 49(2):113–117

    Article  Google Scholar 

  39. Kalkan H, Beriat P, Yardimci Y, Pearson T (2011) Detection of contaminated hazelnuts and ground red chili pepper flakes by multispectral imaging. Comput Electron Agric 77(1):28–34

    Article  Google Scholar 

  40. Tripathi S, Mishra H (2009) A rapid ft-nir method for estimation of aflatoxin b1 in red chili powder. Food Control 20(9):840–846

    Article  Google Scholar 

  41. Hwang IM, Choi JY, Nho EY, Lee GH, Jamila N, Khan N, Jo CH, Kim KS (2017) Characterization of red peppers (capsicum annuum) by high-performance liquid chromatography and near-infrared spectroscopy. Anal Lett 50(13):2090–2104

    Article  Google Scholar 

  42. Tunde-Akintunde T (2011) Mathematical modeling of sun and solar drying of chilli pepper. Renewable Energy 36(8):2139–2145

    Article  Google Scholar 

  43. Wu X.-Y, Zhu S.-P, Huang H, and Xu D (2017) “Quantitative identification of adulterated sichuan pepper powder by near-infrared spectroscopy coupled with chemometrics. J Food Qual. https://doi.org/10.1155/2017/5019816

    Article  Google Scholar 

  44. Ahmad M (2011) A new statistical approach for band clustering and band selection using k-means clustering. Int J Eng Technol 3(6):606–614

    Google Scholar 

  45. Singh I, Juneja P, Kaur B, Kumar P (2013) Pharmaceutical applications of chemometric techniques. Int Schol Rese Notices. https://doi.org/10.1155/2013/795178

    Article  Google Scholar 

  46. Antonakis J, Bendahan S, Jacquart P, Lalive R (2010) On making causal claims: A review and recommendations. The Leadership Quarterly 21(6):1086–1120

    Article  Google Scholar 

  47. Rönkkö M, Evermann J (2013) A critical examination of common beliefs about partial least squares path modeling. Organ Res Methods 16(3):425–448

    Article  Google Scholar 

  48. Sarstedt M, Hair JF, Ringle CM, Thiele KO, Gudergan SP (2016) Estimation issues with pls and cbsem: Where the bias lies! J Bus Res 69(10):3998–4010

    Article  Google Scholar 

  49. Zulfiqar M, Ahmad M, Sohaib A, Mazzara M, Distefano S (2021) Hyperspectral imaging for bloodstain identification. Sensors 21(9):3045

    Article  Google Scholar 

  50. Van der Meer F (1994) Calibration of airborne visible/infrared imaging spectrometer data (aviris) to reflectance and mineral mapping in hydrothermal alteration zones: An example from the “cuprite mining district’’. Geocarto Int 9(3):23–37

    Article  Google Scholar 

  51. Kowalski BR (2013) Chemometrics: mathematics and statistics in chemistry, vol 138. Springer, Berlin

    Google Scholar 

  52. Rinnan Å, Van Den Berg F, Engelsen SB (2009) Review of the most common pre-processing techniques for near-infrared spectra. TrAC, Trends Anal Chem 28(10):1201–1222

    Article  Google Scholar 

  53. Monago-Maraña O, Eskildsen CE, Afseth NK, Galeano-Díaz T, de la Peña AM, Wold JP (2019) Non-destructive raman spectroscopy as a tool for measuring asta color values and sudan i content in paprika powder. Food Chem 274:187–193

    Article  Google Scholar 

  54. Kaur S, Sharma R (2015) A study on various color filter array based techniques. Int J Comput Appl 114:327–38. https://doi.org/10.5120/19969-1831

    Article  Google Scholar 

  55. Online:, “K-means Clustering: Algorithm, Applications, Evaluation Methods, and Drawbacks,” https://towardsdatascience.com/k-means-clustering-algorithm-applications-evaluation-methods-and-drawbacks-aa03e644b48a, accessed: 2019-09-30

  56. MacKay DJ, Mac Kay DJ (2003) Information theory, inference and learning algorithms. Cambridge University Press, Cambridge

    Google Scholar 

  57. Arthur D, Vassilvitskii S (2007) “k-means++: The advantages of careful seeding,” In: Proceedings of the eighteenth annual ACM-SIAM symposium on discrete algorithms. Society for Industrial and Applied Mathematics, pp. 1027–1035

  58. Rojas R (2015) The curse of dimensionality

  59. Ma W, Gong C, Hu Y, Meng P, Xu F (2013) “The hughes phenomenon in hyperspectral classification based on the ground spectrum of grasslands in the region around qinghai lake,” In: International symposium on photoelectronic detection and imaging 2013: imaging spectrometer technologies and applications, vol. 8910. International Society for Optics and Photonics, p. 89101G

  60. Thilagavathi K, Vasuki A (2018) Dimension reduction methods for hyperspectral image: A survey. Int J Eng Adv Technol 8:160–167

    Google Scholar 

  61. Balakrishnama S, Ganapathiraju A (1998) Linear discriminant analysis-a brief tutorial. Inst Signal Inf Process 18:1–8

    Google Scholar 

  62. Li W, Prasad S, Fowler JE, Bruce LM (2011) Locality-preserving dimensionality reduction and classification for hyperspectral image analysis. IEEE Trans Geosci Remote Sens 50(4):1185–1198

    Article  Google Scholar 

  63. Gupta MR and Jacobson NP (2006) “Wavelet principal component analysis and its application to hyperspectral images,” In: 2006 international conference on image processing. IEEE, pp. 1585–1588

  64. Yokoya N, Iwasaki A (2010) “A maximum noise fraction transform based on a sensor noise model for hyperspectral data,” In: Proceedings of 31th asian conference remote sensing

  65. Cortes C, Vapnik V (1995) Support-vector networks. Mach Learn 20(3):273–297

    MATH  Google Scholar 

  66. Boser BE, Guyon IM, Vapnik VN (2003) “A training algorithm for optimal margin classifiers,” In: Proceedings of the 5th annual ACM workshop on computational learning theory, pp. 144–152

  67. Tarigan A, Dewi Agushinta R, Suhendra A, Budiman F (2017) Determination of svm-rbf kernel space parameter to optimize accuracy value of indonesian batik images classification. JCS 13(11):590–599

    Google Scholar 

  68. Khan MH, Saleem Z, Ahmad M, Sohaib A, Ayaz H, Mazzara M (2020) Hyperspectral imaging for color adulteration detection in red chili. Appl Sci 10(17):5955

    Article  Google Scholar 

  69. Kingma DP, Ba J (2014) “Adam: A method for stochastic optimization,” arXiv preprint arXiv:1412.6980

  70. Douplik A, Saiko G, Schelkanova I, Tuchin V (2013) 3—The response of tissue to laser light. In: Jelínková H (ed) Lasers for medical applications. Woodhead Publishing Series in Electronic and Optical Materials. Woodhead Publishing, pp. 47–109. https://doi.org/10.1533/9780857097545.1.47

Download references

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Muhammad Ahmad or Rana Aamir Raza.

Ethics declarations

Conflict of interest

The authors declare no conflict of interest exists.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Khan, M.H., Saleem, Z., Ahmad, M. et al. Hyperspectral imaging-based unsupervised adulterated red chili content transformation for classification: Identification of red chili adulterants. Neural Comput & Applic 33, 14507–14521 (2021). https://doi.org/10.1007/s00521-021-06094-4

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00521-021-06094-4

Keywords

Navigation