Next Article in Journal
Generation of Synthetic Rat Brain MRI Scans with a 3D Enhanced Alpha Generative Adversarial Network
Previous Article in Journal
A Novel RBFNN-CNN Model for Speaker Identification in Stressful Talking Environments
Previous Article in Special Issue
Dual-Gratings Imaging Spectrometer
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Hyperspectral Imaging for the Detection of Bitter Almonds in Sweet Almond Batches

by
Irina Torres-Rodríguez
1,*,
María-Teresa Sánchez
2,
José-Antonio Entrenas
1,
Miguel Vega-Castellote
2,
Ana Garrido-Varo
1 and
Dolores Pérez-Marín
1,*
1
Department of Animal Production, University of Cordoba, Rabanales Campus, 14071 Córdoba, Spain
2
Department of Bromatology and Food Technology, University of Cordoba, Campus of Rabanales, 14071 Córdoba, Spain
*
Authors to whom correspondence should be addressed.
Appl. Sci. 2022, 12(10), 4842; https://doi.org/10.3390/app12104842
Submission received: 29 March 2022 / Revised: 4 May 2022 / Accepted: 9 May 2022 / Published: 11 May 2022
(This article belongs to the Special Issue State-of-the-Art Technology and Application of Hyperspectral Imaging)

Abstract

:
A common fraud in the sweet almond industry is the presence of bitter almonds in commercial batches. The presence of bitter almonds not only causes unpleasant flavours but also problems in the commercialisation and toxicity for consumers. Hyperspectral Imaging (HSI) has been proved to be suitable for the rapid and non-destructive quality evaluation in foods as it integrates the spectral and spatial dimensions. Thus, we aimed to study the feasibility of using an HSI system to identify single bitter almond kernels in commercial sweet almond batches. For this purpose, sweet and bitter almond batches, as well as different mixtures, were analysed in bulk using an HSI system which works in the spectral range 946.6–1648.0 nm. Qualitative models were developed using Partial Least Squares-Discriminant Analysis (PLS-DA) to differentiate between sweet and bitter almonds, obtaining a classification success of over the 99%. Furthermore, data reduction, as a function of the most relevant wavelengths (VIP scores), was applied to evaluate its performance. Then, the pixel-by-pixel validation of the mixtures was carried out, identifying correctly between 61–85% of the adulterations, depending on the group of mixtures and the cultivar analysed. The results confirm that HSI, without VIP scores data reduction, can be considered a promising approach for classifying the bitterness of almonds analysed in bulk, enabling identifying individual bitter almonds inside sweet almond batches. However, a more complex mathematical analysis is necessary before its implementation in the processing lines.

1. Introduction

Almonds are one of the most important tree nuts, containing high amounts of vegetable proteins and fat—mainly monounsaturated and polyunsaturated fatty acids, as well as other nutrients such as dietary fibre, vitamins, minerals and other bioactive constituents [1,2,3]. These fruits have been included in guidelines of healthy eating due to their nutritional quality and the evidence of health benefits associated with their consumption have, in turn, increased their commercialisation. Nowadays, almonds have become the major nut consumed in the world, accounting nearly for one-third of all the tree nuts produced worldwide, being the USA, Spain and Australia the three main exporters [4].
The most common fraud that can be found in the sweet almond industry is the presence of bitter almonds in commercial batches. This presence not only causes unpleasant flavours but also problems in commercialisation; it is necessary to eradicate the bitter almonds from these commercial batches [5]. Moreover, bitter almonds are related to toxicity for the consumers due to their content in the cyanogenic compound amygdalin [6,7]. Therefore, it is a key aspect for the industry to ensure the integrity of this product along the entire supply chain. Currently, high-performance liquid chromatography (HPLC) is the analytical technique used to measure the amygdalin content in almonds. This technique is complex, destructive, highly expensive and time-consuming. It, therefore, does not allow real-time responses to be obtained for the almond processing industries.
Different studies in the literature have demonstrated the potential of Near Infrared Spectroscopy (NIRS) to assure the integrity of sweet almond batches by identifying the presence of bitter kernels in them. In this sense, Torres et al. [8] detected the presence of bitter almonds in commercial batches of sweet almonds using two portable NIRS devices, and Vega-Castellote et al. [9] used NIRS technology as a non-targeted control method to detect non-compliant or adulterated sweet almond batches. However, although hyperspectral imaging (HSI) has been proved to be suitable for quality estimation and fraud detection in the almond sector [10,11,12,13,14], there are no published articles related to the use of this technique for the detection of bitter almonds in commercial sweet almond batches. HSI presents a fundamental advantage for this purpose as it acquires both spatial and spectral information of each sample, combining them to provide a unique fingerprint for each pixel of the image [15], which is a key feature in dealing with the food heterogeneity. Thus, while NIRS technology provides a characteristic average spectrum of each sample or batch, HSI provides the spectrum of each individual pixel of the image. It would enable us to know the spatial distribution of the different physicochemical characteristics, favouring the individual identification of the different compounds in the sample. Because of that, HSI could be an optimal alternative analytical method as it not only enables to identify each individual bitter almond kernel but also because it allows to scan the greater surface of the sample, obtaining more representative information and, therefore, reducing the sampling error. This application is of great interest for detecting bitter almonds in sweet almond batches as the only presence of one bitter kernel is a problem for the industry.
Then, this study aimed to study the feasibility of using a HSI system to identify single bitter almond kernels in commercial sweet almond batches, including bitter almonds in different percentages (from 5 to 20%). Furthermore, to reduce the amount of data, the selection of the most relevant wavelengths for the discrimination between sweet and bitter almond kernels was carried out.

2. Materials and Methods

2.1. Sampling

A total of 158 samples of shelled almonds, consisting of 97 samples of sweet almonds (Prunus dulcis Mill., cv. ‘Antoñeta’, ‘Belona’, ‘Guara’, ‘Lauranne’, ‘Soleta’ and ‘Vairon’) and 61 samples of bitter almonds of non-specific cultivars were analysed.
From these samples, mixtures with different percentages of bitter almonds were prepared, using for this purpose sweet and bitter almond samples randomly selected. Each mixture had a final weight of 500 g and four types of mixtures were prepared, varying the proportion of bitter almonds from 5 to 20% in increments of 5% (M5%, M10%, M15% and M20%). Finally, a total of 84 mixtures (NM5% = 21, NM10% = 21, NM15% = 21, NM20% = 21) were prepared.
On arrival at the laboratory, the almonds were immediately placed in dark, refrigerated storage. Prior to measurement, each sample was left to stabilise at the laboratory temperature of 20 °C.
Furthermore, the amygdalin content of the sweet and bitter almond samples was determined by HPLC following the procedure described by Vega-Castellote et al. [7].

2.2. Hyperspectral Imaging Acquisition

Spectral images were acquired in reflectance mode using a laboratory-based push-broom NIR system. The system was made up of a charge-coupled device (CCD) camera with a spatial resolution of 320 × 256 pixels (Xeva-FPA-1.7-320, Xenics, Leuven, Belgium), a C-mount objective lens (F1.4 25-mm compact lens, Schneider Optics, Hauppauge, NY, USA), a line scan imaging spectrograph (Specim ImSpector V10E, Oulu, Finland) which covers the range of 946.6 to 1648.0 nm with 3.3 nm spectral resolution. The illumination was provided by two lamps of 250 W located at a 45° angle to the sample; and the line-by-line images were collected by a conveyor belt system (Velmex, Inc., Bloomfield, NY, USA) that moved the sample across the line field of view of the camera. To obtain the imaging of each sample, about 100 g of almonds were uniformly distributed on a black plastic plate of dimensions 12.5 × 17.5 cm. The number of lines was set at 450, with a distance between lines of 0.39 mm; a hypercube image with dimensions of 450 × 320 × 212 was obtained for each sample. However, due to the presence of noise, only the spectral range between 1006 and 1594 nm (179 spectral bands) was considered for data modelling.
Reflectance calibration was performed each hour by taking dark and white reference images. The dark reference was collected by covering the camera lens with a black cap and immediately after that, the white reference was collected using a 99% reflectance standard (SpectralonTM, SRS-99-10, Labsphere, Inc., North Sutton, NH, USA).

2.3. Hyperspectral Image Processing

Data analysis was performed using WinISI II software package version 1.50 (Infrasoft International LLC, Port Matilda, PA, USA) [16] and Matlab v. 2018a, equipped with the PLS and the Image Processing toolboxes (The Mathworks, Inc., Natick, MA, USA).
Initially, the reflectance value of each sample was calculated as the difference between the intensity of the sample and dark reference divided by the difference between the white and dark references [17].
After having corrected the images, the background of each sample was removed to extract the Region of Interest (ROI). For this aim, a binary mask image was generated; to achieve this, the difference between the images at wavelengths 1009.80 and 1541.60 nm was calculated. Then, the background was removed by using a simple threshold value of 0.55 to the resultant image, which was applied to each reflectance corrected image. Subsequently, the whole of the spectra extracted from the pixels non-identified as background were averaged to obtain a mean spectrum per sample, having a total of 158 spectra.

2.4. Study of the Variability and Development of Classification Models

Firstly, the structure and variability of the population were studied using the CENTER algorithm [18]. This algorithm performs a principal component analysis (PCA) and calculates the global Mahalanobis distance (GH) of each sample to the centre of the population in a new n-dimensional space, which enables the sorting of the samples according to their GH distance. This algorithm was applied using Standard Normal Variate (SNV) and De-trending (DT) as mathematical pre-treatments for scatter correction [19], together with the 1,5,5,1 Norris derivative treatment [20]. The CENTER algorithm was individually applied to the sets of sweet, bitter almonds and mixtures; those samples that displayed a GH > 4 were studied as potential outliers.
In the case of the sweet and bitter almonds datasets, after removing the spectral outliers, the structured selection of the training and validation sets was carried out following the procedure proposed by Shenk and Westerhaus [21]. The training set was made up of 70% of the samples and the remaining 30% constituted the validation set.
Partial least squares-discriminant analysis (PLS-DA) was used to develop classification models of almonds by bitterness, differentiating between sweet and bitter almonds. Venetian blinds for cross-validation (10 splits) were applied and a maximum number of 16 PLS terms was considered. Normalisation and detrend were used as spectral pre-processing treatments for scatter correction [19] and the first and second derivatives treatments were also tested.
The performance of the discriminant models was assessed in terms of the sensitivity, specificity and non-error rate (NER). To maximise the success of the models, the optimal threshold value obtained from the ROC curves was considered. To test the robustness of the model, it was externally validated using the validation set.
Next, global classification models were developed using the totality of the sweet and bitter samples available. For this purpose, the training and validation sets for the sweet and bitter almonds were merged and new models were developed following the procedure mentioned above. Once the best global classification model was selected, the total of mixtures (N = 84) was used to validate the model using the mean spectrum of each sample extracted from the ROI.
To determine which wavelengths were the main responsibles of the discrimination between sweet and bitter almonds, VIP scores obtained from the global PLS-DA model were used to select the most representative bands. Then, new models were developed to differentiate between sweet and bitter almonds, following the same procedure and using only the selected bands.

2.5. Pixel-by-Pixel Classification

Previous to the pixel-by-pixel validation, to carry out an exploratory analysis of the images, PCA was applied to the images of the mixtures obtained after having removed the background. This algorithm reduces spectral dimensionality by converting the huge amount of data from the hypercube into a limited set of scores and loadings. The PC images and the loading vectors for the first three principal components (PC1, PC2, PC3) were analysed for their interpretation. For this goal, the mean centre was performed as a pre-processing method [22].
Then, once the PCA was carried out and the global model for the classification between sweet and bitter almonds was developed, to simulate the actual situation in the industry, where the identification of each individual bitter almond included in the processed batches is necessary, the pixel-by-pixel prediction of the mixtures was carried out. To test whether the bitter almonds had been correctly identified, 2 almonds for each category (sweet and bitter) were used as a control in each mixture. Finally, the accuracy of the models was calculated as the percentage of correctly classified mixtures.

3. Results and Discussion

3.1. Spectral Analysis

Mean absorbance and second derivative spectra of the ROI extracted for the three groups of almonds (sweet, bitter and mixtures) analysed using HSI are shown in Figure 1, and as can be seen in this figure, the different groups of samples displayed similar spectral features. The main absorbance band region can be seen at around 1150–1200 nm, related to the second overtone of -CH stretching, associated with unsaturated fatty acids [23]. Furthermore, near to 1430 nm, it can be seen another important band, which corresponds to the first overtone of the -NH stretching [24].
Moreover, in the second derivative spectra (Figure 1b), it can also be appreciated another peak at around 1128 nm that might be attributed to C–H links of aromatic compounds [23]. Although the spectral pattern is similar for the three groups, the wavelengths that appeared to have the greatest weight to differentiate between the sweet and non-sweet almonds are those around 1128, 1200 and 1350–1400 nm.

3.2. Classification Models of Almonds by Bitterness

After applying the CENTER algorithm, one sweet sample was identified as a spectral outlier. Then, the training and validation sets for the sweet and bitter categories were selected, which were constituted by 117 samples (72 sweet and 45 bitter) and 40 samples (24 sweet and 16 bitter), respectively.
Table 1 shows the results of the best PLS-DA models obtained to distinguish between sweet and bitter almonds analysed in bulk using the HSI system. The first derivative—together with normalisation and detrend as scatter correction—was the math treatment that yielded the best results in cross-validation. These results were obtained considering a threshold value of 0.66 provided by the ROC curve, which maximises the specificity and sensitivity, enabling to obtain a higher NER value.
As shown in Table 1, the 99% (71/72) of the samples of sweet almonds were correctly classified in cross-validation, whereas for the bitter category, the percentage of correctly classified samples was 100% (45/45). As regards the external validation, for both categories, 100% of the samples were correctly classified.
Once it was demonstrated the viability of using the HSI technology to discriminate almonds according to their bitterness. In order to increase the variability covered by the model, new global models were developed by merging the training and validation sets. The best classification model was obtained using the first derivative math treatment and a threshold value of 0.64 and the classification success obtained was 99.4% (99% in the sweet category and 100% in the bitter category).
Although there are no published articles based on the use of the HSI technology for the classification of almonds by bitterness, similar works have been carried out using NIR spectroscopy. Cortes et al. [5], analysing individual kernels, and Vega-Castellote et al. [7], analysing samples in bulk, used different NIRS instruments and reported similar results to those obtained in this work with NER of 100% for both categories in external validation.

3.3. Identification of Bitter Almonds in Adulterated Sweet Almond Batches

The results obtained demonstrate the feasibility of using HSI for the discrimination between sweet and bitter almond batches. However, it is important to test the applicability of this technology in the actual situation in the industry, where the aim is not to differentiate between batches of sweet and bitter almonds but to detect the presence of random individual bitter almonds in the processed sweet batches.
To identify the presence of bitter almonds in sweet almond batches, the first approach was carried out the validation of the mixtures using for this aim the mean spectrum obtained from each ROI [Data not shown]. The predictive capability obtained using this validation strategy was not enough high as only the 40.5% (34/84) of the mixtures (6 M5%, 13 M10%, 8 M15% and 7 M20%) were detected. It makes sense as, by using the average spectra, some information might be lost due to the heterogeneity of the sample, which is reflected in the individual pixels but not in the mean spectrum calculated.
Although it could be expected that the M20% group had had the highest percentage of samples identified as adulterated, it is important to note that, from the total amount of mixture (500 g), only a fraction of approximately 100 g was analysed. Therefore, the percentage of bitter almonds present in the portion analysed may not be equivalent to the percentage included in the whole mixture, even when the sample was homogenised. It highlights the importance of the sampling procedure to acquire representative information of the sample that is going to be analysed [25]. Therefore, to avoid that the sampling process could affect the results obtained and taking into account that the main advantage of the HSI technology is the proportion of information provided from each pixel, it was proceeded to analyse each of the mixtures, not only at a spectral level but also at a spatial level.
Firstly, PCA was developed to study the structure of the population. The first three PCs, which accounted for 99.97% of the explained variance, were analysed. Figure 2 shows the scores and the loading plot corresponding to the PC2 (0.21%) as it exhibits the greatest distinction between sweet and bitter almonds that are present in the mixture. The remaining PC images represent other features, but they are not useful for identifying bitter almonds. The image corresponding to PC1 stands out as the almonds with respect to the background and PC3 highlights the features related to the shape and size of the kernels.
The graphical representation of the loadings corresponding to the PC2 was analysed to study the dominant wavelengths, which appear to have higher discrimination power. As can be seen in Figure 2b, again, the most prominent peaks are shown at around 1200 nm, associated with lipids (C-H second overtone) and at 1400 nm, which corresponds not only to the first overtone of the O–H functional groups but also to the R-C N stretching [23].
Once it was studied the structure of the population and the most influential bands in the differentiation between sweet and bitter almonds to identify each individual bitter almond present in the sweet almond batches, the pixel-by-pixel validation—or mapping —of the mixtures was carried out. Figure 3 shows four mixtures—one of each percentage of bitter almonds—used for the validation to visualise the classification of each kernel. Some of the mixtures did not have the control almonds to test their correct classification, so they were not validated; therefore, 75 samples (17 M5, 20 M10, 20 M15 and 18 M20) from the 84 available were validated.
The number of mixtures in which the bitter almonds were correctly identified was 56 (75%). The detailed study of the bitter almond identification success for each of the groups M5%, M10%, M15% and M20% ranged between 61–85%. In the case of the mixtures, M5%, 70.6% (12/17) of the samples were correctly classified. Three of the five misclassified samples were prepared with Belona cultivar almonds; this coincides with the results reported in previous NIR works by Torres et al. [8] and Vega-Castellote et al. [9], who found greater difficulty in identifying as non-compliant products those mixtures prepared using Belona, possibly due to the shape of these kernels. In other mixture, it was detected that it had been prepared with a sweet sample from the Vairon cultivar whose amygdalin content was 0.13 mg/g, higher than the range of this parameter for the remaining samples of this cultivar (0.03–0.09 mg/g); then, it could be considered that this sample was underrepresented in the training set. Finally, in the case of the other misclassified M5% sample, it had been prepared using a bitter sample with a low amygdalin content (0.07 mg/g).
With regard to the mixtures, M10%, 85% (17/20) of these samples were correctly classified. The samples wrongly classified corresponded to mixtures prepared with samples belonging to Belona (n = 1) and Laureanne (N = 2) cultivars. Furthermore, one of these samples had been prepared with the previously mentioned bitter sample, whose amygdalin content was low. Related to the mixtures M15%, the 80% (16/20) of the samples were correctly classified, corresponding again to three of the four samples wrongly classified to mixtures prepared using Belona and Laureanne.
Finally, in the case of the M20%, the percentage of correctly classified samples was lower, about 61% (11/18). As in the previous cases, the seven misclassified samples included mixtures that included sweet samples from the Belona (N = 2) and Laureanne (N = 2) cultivars, which would confirm the greater complexity for the identification of bitter samples in batches of sweet almonds of these cultivars. Another of the misclassified samples had been prepared using as sweet samples almonds of Guara cultivar, which is considered a slightly bitter cultivar according to its genotype [26].
These results obtained are of great interest to the almond processing industry as they enable to identify the presence of each individual bitter almond mixed with sweet almonds, so it would not be necessary to eliminate the total processed batch. It is also important to note that as individual validation of each pixel in the image is being carried out, the percentage of correctly classified samples is not influenced by the proportion of bitter almonds included in the mixture, but there are other key factors, such as the characteristics associated with each cultivar and the representativeness of each cultivar within the training set. In this sense, due to the great heterogeneity that almond samples present, the model would require periodic readjustments with samples from new seasons, different cultivars, or other changes in environmental conditions that affect the almonds’ characteristics.
Once the viability of the pixel-by-pixel validation was demonstrated, it was tested the object-wise segmentation approach [Data not shown] in order to simulate the procedure required for the implementation of this system in the processing lines. For this purpose, the kernels were separated by applying different masks, and each individual kernel was identified as sweet or bitter depending on the class of most of its pixels. Although the results obtained allowed the identification of bitter almonds, more studies and the refining of the methodology is required for the improvement of this approach before its recommendation and adoption. Thus, in those cases where the number of kernels in contact or the overlap between them was high, the separation between the almonds was not successful, and this affected the accuracy of the method. These results agreed with those reported by Barbedo et al. [27], who developed an algorithm based on morphological mathematical operations able to discriminate between clusters composed of up to three kernels of wheat. These authors arranged the wheat grains in an orderly manner, having a minimal contact surface between them. Obviously, for their implementation in the processing lines, this is not a realistic situation for the almond industry.
It should be noted that the present work is only the first approach to study the feasibility of using the HIS technology for the identification of bitter almonds within processed batches, and further research is in progress. Although the validation carried out in this work allows a fairly accurate identification of individual bitter almonds, in the almond industry, large flows of the product are processed, so more complex mathematical approaches are required previously to its real implementation in the processing lines.

3.4. Data Reduction

To incorporate HSI technology in the industrial almond processing lines, it is important to select the most relevant wavelengths as it reduces the computational time. Therefore, the wavelengths of the greatest importance for classifying almonds according to their bitterness were selected using the VIP scores obtained from the global model (Table 1). Figure 4 shows the graphical representation of the VIP scores together with the most relevant wavelengths.
As can be seen in the figure, the most relevant wavelengths for the discrimination between sweet and bitter almonds are at around 1112–1161, 1191, 1395 and 1428 nm.
Table 2 shows the cross-validation results for the best classification model obtained using the wavelength range selected.
The new classification models showed similar results to those obtained using the complete spectral range, with a classification success of 99 and 100% for the categories sweet and bitter, respectively. This is of great interest because although the number of wavelengths has been reduced by 86% (from 179 bands to 25), the classification capability of the model was not affected.
Next, pixel-by-pixel validation of the mixtures was carried out to test the robustness of the model [Data not shown]. In this case, the new model obtained did not enable the correct identification of the bitter almonds present in the mixtures, indicating that the selection of wavelengths is not feasible for this specific objective. It is important to note that each spectrum is a detailed profile or unique fingerprint, so reducing the number of bands could eliminate essential information.

4. Conclusions

The results obtained demonstrated the feasibility of using HSI as a non-destructive technology to classify the bitterness of almonds analysed in bulk. The potential application of HSI technology at a single-pixel level would enable us to identify each individual bitter almond present in the sweet almond batches. This approach could be extremely useful at an industrial level as it could eliminate each bitter almond included in the processed sweet product, reducing the cost and increasing the commercial value. However, further studies are needed, in particular, related to the use of other mathematical approaches to achieve the object-wise segmentation that enables the isolation of the bitter fruits.
It must also be considered that the percentage of correctly classified samples is influenced by key factors such as the characteristics associated with each cultivar (genotype, amygdalin content and physical features) and the representativeness of each cultivar within the training set.
Based on the results obtained, data selection using VIP scores enables to differentiate between sweet and bitter almond batches, but it is not an appropriate method to identify single bitter almonds in mixtures.

Author Contributions

Conceptualisation, D.P.-M., A.G.-V. and M.-T.S.; Data acquisition, I.T.-R., J.-A.E. and M.V.-C.; Methodology, I.T.-R. and D.P.-M.; Formal analysis, I.T.-R., J.-A.E. and M.V.-C.; Research, I.T.-R., M.-T.S., M.V.-C. and D.P.-M.; Resources, D.P.-M., A.G.-V. and M.-T.S.; Data curation, I.T.-R.; Validation, I.T.-R., M.-T.S. and D.P.-M.; Writing—Original draft preparation, I.T.-R., M.-T.S., J.-A.E., M.V.-C. and D.P.-M.; Writing—review & editing, I.T.-R., M.-T.S. and D.P.-M.; Visualisation, I.T.-R., J.-A.E., M.-T.S., M.V.-C. and D.P.-M.; Supervision, M.-T.S., A.G.-V. and D.P.-M.; Project administration, M.-T.S., A.G.-V. and D.P.-M.; Funding acquisition, M.-T.S., A.G.-V. and D.P.-M. All authors have read and agreed to the published version of the manuscript.

Funding

This research was carried out as part of the research project P-12018024 ‘Measuring the quality of almonds grown in the Guadalquivir Valley (Cordoba)’, funded by Desarrollo y Aplicaciones Fitotécnicas, DAFISA.

Acknowledgments

The authors are grateful to María Carmen Fernández from the Animal Production Department for her technical assistance.

Conflicts of Interest

The authors declare that they have no known competing financial interest or personal relationships that could have influenced the work reported in this paper in any way.

References

  1. Ros, E. Review: Health benefits of nut consumption. Nutrients 2010, 2, 652–682. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  2. Yildirim, A.N.; Yildirim, F.; Şan, B.; Polat, M.; Sesli, Y. Variability of phenolic composition and tocopherol content of some commercial almond cultivars. J. Appl. Bot. Food Qual. 2016, 89, 163–170. [Google Scholar] [CrossRef]
  3. U.S. Department of Agriculture, Agriculture Research Service. FoodData Central. 2019. Available online: https://fdc.nal.usda.gov/fdc-app.html#/food-details/170567/nutrients (accessed on 23 March 2022).
  4. International Nut and Dried Fruit Council Foundation (INC). Nuts & Dried Fruits Statistical Yearbook 2019/2020; Technical Report INC; 2020; pp. 6–7. Available online: https://www.iranpistachio.org/fa/images/INC/INC_Statistical_Yearbook_2019-2020.pdf?msclkid=89309733d05511ec99551a66d22f0de1 (accessed on 8 May 2022).
  5. Cortés, V.; Talens, P.; Barat, J.M.; Lerma-García, M.J. Potential of NIR spectroscopy to predict amygdalin content established by HPLC in intact almonds and classification based on almond bitterness. Food Control 2018, 91, 68–75. [Google Scholar] [CrossRef]
  6. Mouaffak, Y.; Zegzouti, F.; Boutbaoucht, M.; Najib, M.; El Adib, A.G.; Sbihi, M.; Younous, S. Cyanide poisoning after bitter almond ingestion. Ann. Trop. Med. Public Health 2013, 6, 679–681. [Google Scholar] [CrossRef]
  7. Vega-Castellote, M.; Pérez-Marín, D.; Torres, I.; Moreno-Rojas, J.M.; Sánchez, M.T. Exploring the potential of NIRS technology for the in situ prediction of amygdalin content and classification by bitterness of in-shell and shelled intact almonds. J. Food Eng. 2021, 294, 110406. [Google Scholar] [CrossRef]
  8. Torres, I.; Sánchez, M.T.; Vega-Castellote, M.; Pérez-Marín, D. Fraud detection in batches of sweet almonds by portable near infrared spectral sensors. Foods 2021, 10, 1221. [Google Scholar] [CrossRef] [PubMed]
  9. Vega-Castellote, M.; Sánchez, M.T.; Torres, I.; Pérez-Marín, D. An innovative non-targeted control system based on NIR spectral information for detecting non-compliant batches of sweet almonds. Spectrochim. Acta A Mol. Biomol. Spectrosc. 2021, 250, 119407. [Google Scholar] [CrossRef] [PubMed]
  10. Nakariyakul, S.; Casasent, D. Classification of internally damaged almond nuts using hyperspectral imagery. J. Food Eng. 2011, 103, 62–67. [Google Scholar] [CrossRef]
  11. Faqeerzada, M.A.; Perez, M.; Lohumi, S.; Lee, H.; Kim, G.; Wakholi, C.; Joshi, R.; Cho, B.K. Online application of a hyperspectral imaging system for the sorting of adulterated almonds. Appl. Sci. 2020, 10, 6569. [Google Scholar] [CrossRef]
  12. Torres, I.; Pérez-Marín, D.; Vega-Castellote, M.; Sánchez, M.T. Mapping of fatty acids composition in shelled almonds analysed in bulk using a Hyperspectral Imaging system. LWT—Food Sci. Technol. 2021, 138, 110678. [Google Scholar] [CrossRef]
  13. Mishra, G.; Panda, B.K.; Ramirez, W.A.; Jung, H.; Singh, C.B.; Lee, S.H.; Lee, I. Application of SWIR hyperspectral imaging coupled with chemometrics for rapid and non-destructive prediction of Aflatoxin B1 in single kernel almonds. LWT—Food Sci. Technol. 2022, 155, 112954. [Google Scholar] [CrossRef]
  14. Panda, B.K.; Mishra, G.; Ramirez, W.A.; Jung, H.; Singh, C.B.; Lee, S.H.; Lee, I. Rancidity and moisture estimation in shelled almond kernels using NIR hyperspectral imaging and chemometric analysis. J. Food Eng. 2022, 318, 110889. [Google Scholar] [CrossRef]
  15. Elmasry, G.; Kamruzzaman, M.; Sun, D.W.; Allen, P. Principles and applications of hyperspectral imaging in quality evaluation of agro-food products: A Review. Crit. Rev. Food Sci. Nutr. 2012, 52, 999–1023. [Google Scholar] [CrossRef] [PubMed]
  16. ISI. The Complete Software Solution Using a Single Screen for Routine Analysis, Robust Calibrations, and Networking; Manual, FOSS NIRSystems/TECATOR; Infrasoft International: Silver Spring, MD, USA, 2000. [Google Scholar]
  17. Kim, M.S.; Chen, Y.R.; Mehl, P.M. Hyperspectral reflectance and fluorescence imaging system for food quality and safety. Trans. Am. Soc. Agric. Eng. 2011, 44, 721–729. [Google Scholar] [CrossRef]
  18. Shenk, J.S.; Westerhaus, M.O. Analysis of Agriculture and Food Products by Near Infrared Reflectance Spectroscopy; Monograph, NIRSystems, Inc.: Silver Spring, MD, USA, 1995. [Google Scholar]
  19. Barnes, R.J.; Dhanoa, M.S.; Lister, S.J. Standard Normal Variate Transformation and De-trending of near infrared diffuse reflectance spectra. Appl. Spectrosc. 1989, 43, 772–777. [Google Scholar] [CrossRef]
  20. Shenk, J.S.; Westerhaus, M.O. Routine Operation, Calibration, Development and Network System Management Manual; NIRSystems, Inc.: Silver Spring, MD, USA, 1995. [Google Scholar]
  21. Shenk, J.S.; Westerhaus, M.O. Population structuring of near infrared spectra and modified partial least squares regression. Crop Sci. 1991, 31, 1548–1555. [Google Scholar] [CrossRef]
  22. Wise, B.M.; Gallagher, N.B.; Bro, R.; Shaver, J.M.; Windig, W.; Koch, R.S. PLS-ToolBox 4.0. Manual for Use with MATLAB™ [Computer Software]; Eigenvector Research, Inc.: Wenatchee, WA, USA, 2006. [Google Scholar]
  23. Shenk, J.S.; Workman, J.; Westerhaus, M. Application of NIR spectroscopy to agricultural products. In Handbook of Near Infrared Analysis, 3rd ed.; Burns, D.A., Ciurczac, E.W., Eds.; Marcel Dekker: New York, NY, USA, 2008; pp. 347–386. [Google Scholar]
  24. Workman, J.; Weyer, L. Practical Guide to Interpretive Near-Infrared Spectroscopy; CRC/Taylor & Francis: Boca Raton, FL, USA, 2008. [Google Scholar]
  25. Kuiper, H.A.; Paoletti, C. Food and feed safety assessment: The importance of proper sampling. J. AOAC Int. 2015, 98, 252–258. [Google Scholar] [CrossRef] [PubMed]
  26. Vichi, S.; Mayer, M.N.; León-Cárdenas, M.G.; Quintanilla-Casas, B.; Tres, A.; Guardiola, F.; Batlle, I.; Romero, A. Chemical markers to distinguish the homo- and heterozygous bitter genotype in sweet almond kernels. Foods 2020, 9, 747. [Google Scholar] [CrossRef] [PubMed]
  27. Barbedo, J.G.A.; Tibola, C.S.; Fernandes, J.M.C. Detecting Fusarium head blight in wheat kernels using hyperspectral imaging. Biosyst. Eng. 2015, 131, 65–76. [Google Scholar] [CrossRef]
Figure 1. Absorbance (a) and second derivative spectra (b) of the different groups of samples analysed (sweet, bitter and mixtures).
Figure 1. Absorbance (a) and second derivative spectra (b) of the different groups of samples analysed (sweet, bitter and mixtures).
Applsci 12 04842 g001
Figure 2. Score image (a) and loading plot (b) for the second principal component of the mixtures.
Figure 2. Score image (a) and loading plot (b) for the second principal component of the mixtures.
Applsci 12 04842 g002
Figure 3. Pixel-by-pixel validation for the identification of bitter almonds in the mixtures.
Figure 3. Pixel-by-pixel validation for the identification of bitter almonds in the mixtures.
Applsci 12 04842 g003
Figure 4. VIP scores for the discrimination of almonds by bitterness.
Figure 4. VIP scores for the discrimination of almonds by bitterness.
Applsci 12 04842 g004
Table 1. Discriminant models for classifying sweet almond batches by bitterness using the mean spectrum.
Table 1. Discriminant models for classifying sweet almond batches by bitterness using the mean spectrum.
SetCategorySensibilitySpecificityNER
SweetBitterGlobal
Training71/7245/45116/1170.991.000.99
Validation24/2416/1640/401.001.001.00
Global95/9661/61156/1570.991.000.99
Table 2. Discriminant models for classifying almond batches by bitterness using the most significant wavelengths selected by VIP scores.
Table 2. Discriminant models for classifying almond batches by bitterness using the most significant wavelengths selected by VIP scores.
Actual CategoryClassified asSamples Correctly Classified
SweetBitter
Sweet95199%
Bitter061100%
Sensitivity = 0.99Specificity = 1.00NER = 0.994
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Torres-Rodríguez, I.; Sánchez, M.-T.; Entrenas, J.-A.; Vega-Castellote, M.; Garrido-Varo, A.; Pérez-Marín, D. Hyperspectral Imaging for the Detection of Bitter Almonds in Sweet Almond Batches. Appl. Sci. 2022, 12, 4842. https://doi.org/10.3390/app12104842

AMA Style

Torres-Rodríguez I, Sánchez M-T, Entrenas J-A, Vega-Castellote M, Garrido-Varo A, Pérez-Marín D. Hyperspectral Imaging for the Detection of Bitter Almonds in Sweet Almond Batches. Applied Sciences. 2022; 12(10):4842. https://doi.org/10.3390/app12104842

Chicago/Turabian Style

Torres-Rodríguez, Irina, María-Teresa Sánchez, José-Antonio Entrenas, Miguel Vega-Castellote, Ana Garrido-Varo, and Dolores Pérez-Marín. 2022. "Hyperspectral Imaging for the Detection of Bitter Almonds in Sweet Almond Batches" Applied Sciences 12, no. 10: 4842. https://doi.org/10.3390/app12104842

APA Style

Torres-Rodríguez, I., Sánchez, M. -T., Entrenas, J. -A., Vega-Castellote, M., Garrido-Varo, A., & Pérez-Marín, D. (2022). Hyperspectral Imaging for the Detection of Bitter Almonds in Sweet Almond Batches. Applied Sciences, 12(10), 4842. https://doi.org/10.3390/app12104842

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop