Skip to main content
PLOS ONE logoLink to PLOS ONE
. 2017 Jun 30;12(6):e0180649. doi: 10.1371/journal.pone.0180649

Potential using of infrared thermal imaging to detect volatile compounds released from decayed grapes

Luyu Ding 1, Daming Dong 1,*, Leizi Jiao 1, Wengang Zheng 1
Editor: Matthew Fidelibus2
PMCID: PMC5493428  PMID: 28665984

Abstract

Previous studies have demonstrated variations in volatile compound content during fruit spoilage. Infrared spectroscopy was proposed as an alternative method to discriminate the various states of decayed fruit through the makeup of their volatile compounds. Based on the infrared spectra of volatile compounds obtained from decayed grapes, this study simplified the extraction of their feature spectra and visualized their gas plumes by using a commercial infrared thermal camera equipped with a custom-made wavelength filter. As a function of volatilization gradients, accumulated gray value and imaging area were proposed as indicators for semi-quantitative analysis in a volatilization range similar to that of ethanol solutions ranging from 10% to 70%. Fresh, seriously decayed, and slightly or moderately decayed grapes were rapidly discriminated through their alcoholic volatiles by thermal images with correct classification ratings of 100%, 93.3%, and 90%, respectively.

Introduction

Table grapes deteriorate rapidly during postharvest storage. Loss of quality accompanied with berry decay of table grapes during storage reduces their shelf-life and compromises food safety in marketing [1]. Thus, a simple and rapid way to detect decayed grapes is essential for quality control and to minimize economic loss.

In general, fruits contain specific volatile compounds, and the types or ratios of the compounds vary during berry development and deterioration [24]. Thus, the specific type of volatile compounds from fruit was proposed as a potential indicator for rapid detection of spoilage [57]. To date, gas chromatography-mass spectrometer (GC-MS) has been the most widely adopted method for precision analysis of volatile compounds from fruits [810]. More recently, other methods such as electronic nose (E-nose) and infrared spectroscopy have been developed as alternative means for quick analysis and to assess fruit freshness with high sensitivity [4, 10, 11]. However, for GC-MS and E-nose analysis, both methods require gas sampling prior to quantitative analysis; this complicates the measurement procedure and restricts their use in mass storage. In our previous studies, we successfully used infrared spectroscopy for gas measurements during grape or strawberry storage and food fermentation. This technique has the significant advantages of being able to provide nonintrusive, rapid and continuous online monitoring [4, 10, 12, 13]. Feature spectra of alcohols and esters were achieved and applied to discriminate grape spoilage [10]. However, gases had to be sampled and pumped into a cell equipped with multiple reflection mirrors to increase the optical paths because of the measurement limitations of infrared spectroscopy.

In recent years, gas plume visualization has been achieved by using an imager paired with a filter based on the specific wavelength band of the gas of interest [1417]. This makes simple, rapid gas monitoring possible through the acquisition of infrared thermal images and lowers the determination costs related to infrared spectroscopy. This study examined the use of infrared thermal imaging using a wavelength filter to assess the freshness of table grapes based on their volatile compounds. Before applying the method to the assessment of grape freshness, preliminary tests were conducted to detect the vapors from ethanol solutions in different concentration gradients.

Material and methods

Experimental set-up

Fig 1B shows the experimental set-up used in this study. The main components include a standard blackbody, a sample container, a wavelength filter, and a commercial infrared thermal camera (IR camera). The standard blackbody (ISO-TECH R982, UK) operated at 78°C to serve as a constant imaging background. It was connected to a power supply (220V) and used its internal resistance for temperature control. Sample containers were placed in front of the blackbody to obtain thermal images before and after the sample container caps were removed. Thermal images were obtained by the IR camera (FLIR SC620, USA; resolution of 480×640 pixels) located opposite the blackbody. Prior to taking images, a radiance of 1.0 and a reflected background temperature of 78°C at a distance of 0.3 m were set as the target parameters for the IR camera. The lens of the IR camera was equipped with a custom-made wavelength filter (BP-9480-613, Spectrogon, Sweden) that permitted transmission in the range of 1000–1100 cm-1. Fig 1A shows the infrared spectra of volatile compounds released from decayed grapes as recorded in our previous study [10]. The wavelength band of the filter was chosen based on the feature spectra of the alcohols (marked as gray in Fig 1A) released from decayed grapes.

Fig 1. Schematic diagram of the experimental set-up and the wavelength band chosen for the filter.

Fig 1

(A) Infrared feature spectra of alcohols released from decayed grapes, as recorded in our previous study. The marked area shows the wavelength band chosen in this study (redrawn from Dong et al. [10]). (B) Non-dimensional diagram of the experimental set-up.

Solution preparation

A series of nine ethanol solutions (10–90% v/v) were prepared by dilution of 75% or 95% ethanol solution with deionized water. A 100-ml portion of each diluted ethanol solution was transferred into a 150-ml transparent plastic container for measurements.

Grape preparation and classification

Experiments in this study used the Jufeng grape cultivar. It is commercially available and was obtained from a fruit chain store (Guo Xiang Si Ye) located close to the Beijing Academy of Agriculture and Forestry Sciences (BAAFS), Beijing, China. Fresh grape berries (108.6±6.0 g) with short stems (about 0.5 cm) were stored in 150-ml plastic containers (as used for ethanol solutions) at 18°C for days to reach different spoilage stages classified as: 1) fresh (FR), stored for 1–3 days; 2) slightly decayed (SL), stored for 4–6 days, visually intact except for stem browning; 3) moderately decayed (MO), stored for 7–9 days, visually softened, some with mildew stains at stem joints; 4) seriously decayed (SR), stored for 10–12 days, berries were visually juicy and some were cracked. Normally, grapes without any treatment will be seriously decayed within 7 days at room temperature [10]. According to information obtained as part of our investigation, commercial grapes are immersed in and cleaned with Kemeiling (a mold inhibitor) and then fumigated with fresh-keeping agents for 20 min before packaging. Because of the preservative treatment of commercial grapes, the duration of storage required to reach seriously decayed condition was lengthened in this study.

Images of the grape samples at different spoilage stages are shown in Fig 2. During storage, the plastic containers were not sealed (caps off) to allow normal air exchange with the atmosphere. The humidity of the air during storage was around 40%.

Fig 2. Grape samples at different spoilage stages.

Fig 2

(A) Fresh, (B) slightly decayed, (C) moderately decayed, and (D) seriously decayed.

Image acquisition and processing

Vapors from ethanol solutions were monitored by an IR camera as a feasibility analysis prior to the measurements of table grapes. Sample containers containing ethanol solutions or grape berries were placed in front of the blackbody to obtain thermal images before and after the container caps were removed. Prior to the recording of images, samples were shaken (caps on) to improve gas diffusion. The measurement of each spoilage stage of grapes used 15 replicates, while each concentration of ethanol solutions used 5 replicates. During the measurements, the air temperature was 19.8 ± 1.8°C and the humidity was 39 ± 5%.

Thermal images taken before and after the container caps were removed (cap-on and cap-off) were adjusted to the same background in a temperature span of 2°C by FLIR QuickReport (version 1.2) software. Because of the absorption of cold gases, radiation from the blackbody was expected to be attenuated when the caps were removed [18]. Thus, visualization of gas plumes was achieved by subtracting cap-off images from the cap-on images in grayscale through Matlab software (version 7.0). To enhance the imaging signals, images of gas plumes were amplified five times. Histogram equalization and a 3×3 median filter was applied to the amplified images to remove signal noise. To demonstrate gaseous volatilization from sample containers more vividly, gas plume images were overlaid on the corresponding cap-on images and displayed in false color.

Statistical analysis

Considering the central 160 × 190 region in the gas plume images, the accumulated gray value (AGV) and the actual imaging area (AIA) in the region were defined and calculated for data analyzing. AGV was defined as the sum of the gray value in each pixel before image amplification. AIA was defined as the total number of pixels with a gray value over zero. Based on AGV and AIA in the gas plume images, analysis of variance (ANOVA) and T-test were used for statistical analysis by the Matlab software (version 7.0). Classification of grapes in different spoilage stages was performed by Euler Clustering using Unscrambler software (version 9.7). Error bars in this study represent the standard errors.

Results and discussion

Ethanol vapors monitored by infrared thermal imaging

Alcohols make up a large proportion in the volatile compounds released from decayed grapes [10, 19] and most of them can be characterized in the wavelength band of infrared spectroscopy used in this study (Fig 1A). Hence, initial trials monitored vapors from ethanol solutions of known concentration using the experimental set-up.

False color images of the ethanol vapors released from the different solutions are shown in Fig 3. By using the wavelength filter, gas plumes could be visualized even though the ethanol concentration was as low as 10% (Fig 3I). According to our unpublished data, gas plumes could be visualized only when the ethanol concentration was higher than 50% if no filter was used. In addition, the imaging area without a filter was quite small, which made the images of gas plumes rather vague and difficult to recognized. Therefore, we consider that use of a wavelength filter greatly enhance the quality and sensitivity of infrared thermal imaging in monitoring gaseous volatilization.

Fig 3. Images of vapors released from ethanol solutions of different concentrations.

Fig 3

An example of false color images of visualized gas plumes when the ethanol concentration ranges from 90% to 10% (from A to I).

Fig 4A shows the averaged AGVs of gas plume images obtained from the series of ethanol solutions. Based on the results of ANOVA, the concentration gradient had a significant impact on the AGV in the images (P < 0.05).

Fig 4. Averaged AGV and AIA of vapor images of volatiles released from ethanol solutions of different concentrations.

Fig 4

The accumulated gray value (A) and actual imaging area (B) obtained from the images of gas plumes prior to being overlaid on the corresponding cap-on images when ethanol solution concentration ranged from 90% to 10% (error bars represent the standard errors, similarly hereinafter).

According to Raoult's law [20, 21], a higher solution concentration gives rise to a higher saturated vapor pressure. This makes the solution more volatile at a higher concentration. In general, the AGV of the gas image was positively related to the concentration of ethanol solution (Fig 4A). This relationship is analogous to the trend described by Raoult's law, and suggests that the AGV in infrared thermal images could be employed as a semi-quantitative indicator within a specific volatilization range. However, measured AGVs tended to be saturated when the ethanol concentration was over 70% or under 30% (Fig 4A) on the basis of curve fitting (P < 0.05). This indicates that the effective detection range of thermal imaging used in this study may cover the volatilization range of ethanol solutions from 30% to 70%.

Curve fitting of averaged AIA in gas plume images is shown in Fig 4. Differing from AGV, AIA decreased rapidly for ethanol concentrations below 40%, but remain relatively stable for concentrations above 40% (Fig 4B). Thus, taking AIA as an additional indication, semi-quantitative analysis of gaseous volatilization through infrared thermal images can be extended to lower concentrations to give a combined analytical scale for ethanol solutions ranging from 10% to 70%.

In summary, alcohol vapors, particularly that of the ethanol, can be effectively monitored and semi-quantitatively analyzed by thermal imaging. Base on AGVs and AIAs in the images of gas plumes, the upper and lower detecting limitations were similar to the volatilization of ethanol solutions ranging from 70% down to 10%.

Volatile compounds from decayed grapes monitored by infrared thermal imaging

After acquiring gas plume images from ethanol solution, volatile compounds from grapes at different spoilage stages were monitored by the same experimental set-up. Data obtained from the gas plumes of ethanol solutions provided crucial criteria for monitoring and analyzing the volatiles from grapes by thermal imaging.

Fig 5 shows an example of false color images of volatile compounds during grape spoilage. Gas plumes from decayed grapes can be clearly seen (Fig 5A–5C), while that from refresh grapes is barely visible (Fig 5D). In addition, the brightest image and the largest imaging area were observed when the grapes were seriously decayed. This is consistent with the results obtain by Fourier-transform-infrared spectroscopy (FTIR) [10], which showed higher ethanol evaporation from grapes during longer storage. Based on our unpublished results, gas plumes were very difficult to visualize without using the filter even when the grapes were seriously decayed. Hence, infrared thermal imaging through a wavelength filter is an effective way to monitor volatile compounds from grapes during spoilage.

Fig 5. Images of volatile compounds released during grape spoilage.

Fig 5

False color images of visualized gas plumes from grapes that were seriously decayed (A), moderately decayed (B), slightly decayed (C) and fresh (D).

Fig 6A shows the averaged AGV of imaged grape volatiles. Notably, AGV positively related to grape spoilage, as did AIA (Fig 6). Fresh grapes had a significantly lower AGV (P < 0.05), which was less than 1.0 × 103 (Fig 6A). When the grape was slightly or moderately decayed, gas plumes were visible in the images (Fig 5B and 5C) and the averaged AGV or AIA was close to that of the vapors released from ethanol solutions in the concentration range of 10–20%. In this range, the AGV was generally less than 2.0 × 104 (Figs 4 and 6). However, statistics analysis did not show a significant difference of AGV between fresh and slightly decayed grapes or between slightly and moderately decayed grapes because of their large variances (P > 0.05). When compared with slightly or moderately decayed grapes, seriously decayed grapes had a much higher AGV (P < 0.05). The averaged AGV for seriously decayed grapes was 4.9 × 104, which is close to that observed for 30% and 40% ethanol solution (Figs 4A and 6A).

Fig 6. Averaged AGV and AIA of thermal images during grape spoilage.

Fig 6

The accumulated gray value (A) and actual imaging area (B) obtained from the images of gas plumes prior to being overlaid on the corresponding cap-on images when grapes were fresh (FR), slightly decayed (SL), moderately decayed (MO), or seriously decayed (SR).

AGVs in the thermal images of volatile from grapes were close to those from ethanol solutions under 40%, suggesting that AIA may be essential information for images from different spoilage stages. Statistics analysis showed similar results between AIA and AGV. This suggests that infrared thermal imaging may have difficulty in discriminating between slightly decayed and moderately grapes.

Identification of grape spoilage through infrared thermal imaging

Based on the release of volatile compounds from grapes, Euler Clustering was applied to the logarithm of AGV and AIA in their thermal images to classify grapes into different spoilage stages. Grapes were classified into three clusters according to the statistical analysis (Fig 7). Table 1 shows the results of clustering to discriminate grapes during spoilage. Fresh grapes were accurately identified with a 100% correct classification (Fig 7, Table 1). Mistakes occurred when identifying the decayed grapes. Slightly or moderately decayed grapes were most likely to be misidentified and had a 6.7% error rate to be clustered as fresh grapes or a 3.3% error rate to be clustered as seriously decayed grapes (Fig 7, Table 1). Despite the misidentification of decayed grapes, the correct classification of grape spoilage was generally over 90%. Hence, fresh, seriously decayed, as well as slightly and moderately decayed grapes can be identified simply and quickly through their volatile compounds by infrared thermal imaging with a specific wavelength filter.

Fig 7. Clustering of grapes during spoilage.

Fig 7

Grapes were classified into three clusters through Euclidean distance by taking the logarithm of AGV and AIA in the thermal images of volatile compounds released from different spoilage stages of grapes.

Table 1. Results of clustering to identify the spoilage stage of grapes.

Category Sample size Clustered as FR Clustered as SL&MO Clustered as SR Error, %
FR 15 15 0 0 0.0
SL&MO 30 2 27 1 10.0
SR 15 0 1 14 6.7

Conclusions

Infrared thermal imaging through a specific wavelength filter was developed as a rapid, flexible, nonintrusive method to monitor volatile compounds directly from decayed table grapes. Using a wavelength filter of 1000–1100 cm-1, gas plumes from decayed grapes were monitored by thermal imaging with relatively high sensitivity with similar volatilization shown by ethanol solutions in the range of 10–70%. The results suggest that the method could be used to discriminate the spoilage of fruit or other foods based on their volatile compounds. Based on the AGVs and AIAs in the gas plume images, slightly decayed or seriously decayed grapes were rapidly discriminated from fresh grapes, but moderately decayed grapes were difficult to distinguish from slightly decayed grapes.

Supporting information

S1 Table. Raw data of the sum of the gray value in each pixel in the images of ethanol vapors collected from different concentrations of ethanol solution by infrared thermal imaging.

(DOC)

S2 Table. Raw data of the total number of pixels with a gray value over zero in the images of ethanol vapors collected from different concentration of ethanol solutions by infrared thermal imaging.

(DOC)

S3 Table. Raw data of accumulated gray values (AGV) and actual imaging area (AIA) in the images of volatile compounds from grapes in different spoilage stages by infrared thermal imaging.

FR, SL, MO and SR in the table represent fresh grapes, slightly decayed grapes, moderately decayed grapes and seriously decayed grapes, respectively.

(DOC)

Acknowledgments

The authors thank the Remote Sensing Group at the National Engineering Research Center for Information Technology of BAAFS.

Data Availability

All relevant data are within the paper and its Supporting Information files.

Funding Statement

This study was funded by NSFC (31622040). The funder had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

References

  • 1.Castillo S, Navarro D, Zapata PJ, Guillén F, Valero D, Serrano M, et al. Antifungal efficacy of aloe vera in vitro and its use as a preharvest treatment to maintain postharvest table grape quality. Postharvest Biology & Technology. 2010; 57:183–188. [Google Scholar]
  • 2.Kalua CM, Boss PK. Evolution of volatile compounds during the development of cabernet sauvignon grapes (vitis vinifera l.). Journal of Agricultural & Food Chemistry. 2009; 57: 3818–3830. [DOI] [PubMed] [Google Scholar]
  • 3.Yang C, Wang Y, Wu B, Fang J, Li S. Volatile compounds evolution of three table grapes with different flavour during and after maturation. Food Chemistry. 2011;128: 823–830. [Google Scholar]
  • 4.Dong D, Zhao C, Zheng W, Wang W, Zhao X, Jiao L. Analyzing strawberry spoilage via its volatile compounds using longpath fourier transform infrared spectroscopy. Scientific Reports. 2013; 3:2585 doi: 10.1038/srep02585 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Schnürer J, Olsson J, Börjesson T. Fungal volatiles as indicators of food and feeds spoilage. Fungal Genetics & Biology. 1999; 27:209–217. [DOI] [PubMed] [Google Scholar]
  • 6.Polychroniadou E, Kanellaki M, Iconomopoulou M, Koutinas AA, Marchant R, Banat IM. Grape and apple wines volatile fermentation products and possible relation to spoilage. Bioresource Technology. 2003; 87:337–339. [DOI] [PubMed] [Google Scholar]
  • 7.Saraiva C, Oliveira I, Silva JA, Martins C, Ventanas J, García C. Implementation of multivariate techniques for the selection of volatile compounds as indicators of sensory quality of raw beef. Journal of Food Science and Technology. 2015; 52:3887–3898 doi: 10.1007/s13197-014-1447-y [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Sánchez-Palomo E, Díaz-Maroto MC, Pérez-Coello MS. Rapid determination of volatile compounds in grapes by hs-spme coupled with GC–MS. Talanta. 2005; 66:1152–1157. doi: 10.1016/j.talanta.2005.01.015 [DOI] [PubMed] [Google Scholar]
  • 9.Li C, Schmidt NE, Gitaitis R. Detection of onion postharvest diseases by analyses of headspace volatiles using a gas sensor array and GC-MS. LWT—Food Science and Technology. 2011; 44:1019–1025. [Google Scholar]
  • 10.Dong D, Zheng W, Wang W, Zhao X, Jiao L, Zhao C. Analysis and discrimination of grape spoilage via volatiles: a comparison between long optical path fourier-transform-infrared spectroscopy and sensor arrays. Analyst. 2014; 139:5028–34. doi: 10.1039/c4an00586d [DOI] [PubMed] [Google Scholar]
  • 11.Hui G, Wu Y, Ye D, Ding W, Zhu L, Wang L. Study of peach freshness predictive method based on electronic nose. Food Control. 2012; 28:25–32. [Google Scholar]
  • 12.Dong D, Zheng W, Wang W, Zhao X, Jiao L, Zhao C. A new volatiles-based differentiation method of chinese spirits using longpath gas-phase infrared spectroscopy. Food Chemistry. 2014; 155:45–49. doi: 10.1016/j.foodchem.2014.01.025 [DOI] [PubMed] [Google Scholar]
  • 13.Dong D, Zheng W, Jiao L, Lang Y, Zhao X. Chinese vinegar classification via volatiles using long-optical-path infrared spectroscopy and chemometrics. Food Chemistry. 2016; 194: 95–100. doi: 10.1016/j.foodchem.2015.08.005 [DOI] [PubMed] [Google Scholar]
  • 14.Furry D, Richard A, Lucier R, Madding R. Detection of Volatile Organic Compounds (VOC's) with a Spectrally Filtered Cooled Mid-Wave Infrared Camera. In: InfraMation 2005 Proceedings. October 17–21, 2005. The Orleans Hotel, Las Vegas, NV USA. Available from: http://infraredsolutions.co.nz/wp-content/uploads/2013/09/VOC-detection.pdf.
  • 15.Ligerbelair G, Bourget M, Pron H, Polidori G, Cilindre C. Monitoring gaseous CO2 and ethanol above champagne glasses: flute versus coupe, and the role of temperature. Plos One. 2011; 7: e30628. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Love SP, Graff DL. Full-frame programmable spectral filters based on micro-mirror arrays. Journal of Micro/Nanolithography, MEMS, and MOEMS. 2013; 8618:1214–1225. [Google Scholar]
  • 17.Graff DL, Love SP, Real-time video imaging of gas plumes using a dmd-enabled full-frame programmable spectral filter In: The International Society for Optical Engineering, 9761. 2016. Availabe from: https://www.researchgate.net/publication/298644782. [Google Scholar]
  • 18.Vollmer M, Möllmann KP. Industrial Application: Detection of Gases In: Infrared Thermal Imaging: Fundamentals, Research And Applications. Germany: Wiley-VCH Verlag GmbH & Co. KGaA; 2010. pp. 397–443 [Google Scholar]
  • 19.Yang C, Wang Y, Liang Z., Fan P, Wu B, Yang L, et al. Volatiles of grape berries evaluated at the germplasm level by headspace-SPME with GC-MS. Food Chemistry. 2009; 114: 1106–1114. [Google Scholar]
  • 20.Ueno H, Yamazawa M, Shikakume K, Kin-Ichi T. Influence of the air-space volumes in preparation vessels on the accuracy of concentration for volatile organic compound standard solution. Bunseki Kagaku. 2010; 59, 293–300. [Google Scholar]
  • 21.Agogo H, Semenov S, Ortega F, Rubio RG, Starov VM, Velarde MG. Spreading and evaporation of surfactant solution droplets. Progress in Colloid & Polymer Science. 2012; 139:1–6. [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

S1 Table. Raw data of the sum of the gray value in each pixel in the images of ethanol vapors collected from different concentrations of ethanol solution by infrared thermal imaging.

(DOC)

S2 Table. Raw data of the total number of pixels with a gray value over zero in the images of ethanol vapors collected from different concentration of ethanol solutions by infrared thermal imaging.

(DOC)

S3 Table. Raw data of accumulated gray values (AGV) and actual imaging area (AIA) in the images of volatile compounds from grapes in different spoilage stages by infrared thermal imaging.

FR, SL, MO and SR in the table represent fresh grapes, slightly decayed grapes, moderately decayed grapes and seriously decayed grapes, respectively.

(DOC)

Data Availability Statement

All relevant data are within the paper and its Supporting Information files.


Articles from PLoS ONE are provided here courtesy of PLOS

RESOURCES