scieee AI-readable full text Open interactive document viewer

Research Progress in Imaging Technology for Assessing Quality in Wine Grapes and Seeds

Rodríguez Pulido, Francisco José; Mora Garrido, Ana Belén; González-Miret Martín, María Lourdes; Heredia Mira, Francisco José

Abstract

The chemical composition of wine grapes changes qualitatively and quantitatively during the ripening process. In addition to the sugar content, which determines the alcohol content of the wine, it is necessary to consider the phenolic composition of the grape skins and seeds to obtain quality red wines. In this work, some imaging techniques have been used for the comprehensive characterisation of the chemical composition of red grapes (cv. Tempranillo and cv. Syrah) grown in a warm-climate region during two seasons. In addition, and for the first time, mathematical models trained with laboratory images have been extrapolated for using in field images, obtaining interesting results. Determination coefficients of 0.90 for sugars, 0.73 for total phenols, and 0.73 for individual anthocyanins in grape skins have been achieved with a portable hyperspectral camera between 400 and 1000 nm, and 0.83 for total and individual phenols in grape seeds with a desktop hyperspectral camera between 900 and 1700 nm.

Full text

  Citation: Rodríguez-Pulido, F.J.; Mora-Garrido, A.B.; González-Miret, M.L.; Heredia, F.J. Research Progress in Imaging Technology for Assessing Quality in Wine Grapes and Seeds. Foods 2022,11, 254. https://doi.org/ 10.3390/foods11030254 Academic Editor: Liguang Xu Received: 20 December 2021 Accepted: 13 January 2022 Published: 18 January 2022 Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. Copyright: © 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https:// creativecommons.org/licenses/by/ 4.0/). foods Article Research Progress in Imaging Technology for Assessing Quality in Wine Grapes and Seeds Francisco J. Rodríguez-Pulido , Ana Belén Mora-Garrido , María Lourdes González-Miret * and Francisco J. Heredia Food Colour and Quality Laboratory, Facultad de Farmacia, Universidad de Sevilla, 41012 Sevilla, Spain; [email protected] (F.J.R.-P.); [email protected] (A.B.M.-G.); [email protected] (F.J.H.) *Correspondence: mir[email protected]; Tel.: +34-955420938 Abstract: The chemical composition of wine grapes changes qualitatively and quantitatively during the ripening process. In addition to the sugar content, which determines the alcohol content of the wine, it is necessary to consider the phenolic composition of the grape skins and seeds to obtain quality red wines. In this work, some imaging techniques have been used for the comprehensive characterisation of the chemical composition of red grapes (cv. Tempranillo and cv. Syrah) grown in a warm-climate region during two seasons. In addition, and for the first time, mathematical models trained with laboratory images have been extrapolated for using in field images, obtaining interesting results. Determination coefficients of 0.90 for sugars, 0.73 for total phenols, and 0.73 for individual anthocyanins in grape skins have been achieved with a portable hyperspectral camera between 400 and 1000 nm, and 0.83 for total and individual phenols in grape seeds with a desktop hyperspectral camera between 900 and 1700 nm. Keywords: grape bunches; grape seeds; hyperspectral imaging; chemical imaging; chemometrics 1. Introduction 1.1. Wine Phenolics The quality of wine depends on the state of different components of the grape at harvest. However, at the same time, these components also vary qualitatively and quantitatively throughout the maturation of the berries. During this maturation, the phenomenon of veraison occurs, which leads to the loss of chlorophyll and the appearance of anthocyanin pigments in the skin. These anthocyanins will give the characteristic colour of red wine. Meanwhile, both in the skin and seeds, other uncoloured phenols are synthesised and develop through polymerisation reactions that modulate the astringency of tannins in the berries and improve the taste quality of grapes. These uncoloured polyphenols also play an essential role in the stabilisation of the colour of red wine, as they interact with anthocyanins and protect their structure through the phenomenon known as co-pigmentation [ 1 ]. This interaction is a non-covalent bond resulting in the formation of a charge-transfer complex, π – π , which occurs when two dissolved substances have aromatic rings with very different electronic densities [ 2 ]. Modification of wine colour by this phenomenon produces abnormalities in the Lambert–Beer law and has been thoroughly studied, not only with specific absorbance measurements at fixed wavelengths but also considering the entire visible spectrum and evaluating the colour holistically [ 3 ]. All factors that depend on the phenolic maturity of the grapes are influenced by agronomic conditions such as climate, soil, water availability, fertilisation, and variety. [ 4 , 5 ]. In areas with warm climates, such as southern Spain, vine growing and the production of quality wines face problems related to high temperatures. In dry springs and hot summers, the gap between the synthesis of sugars in the pulp and the maturity of the solid parts increases. This decoupling makes it difficult to reach the correct aromatic and phenolic maturity in grapes, which eventually Foods 2022,11, 254. https://doi.org/10.3390/foods11030254 https://www.mdpi.com/journal/foods Foods 2022,11, 254 2 of 17 leads to poor and irregular colours [ 6 ]. Chemical analyses are the most widely accepted reference methods for evaluating seeds. However, these methods are frequently destructive, require lengthy preparation procedures, and involve a large number of samples. Sensory analysis is another approach to assess the condition of the seeds. However, this technique is time consuming and difficult to perform objectively [ 7 ]. Optical techniques solve all these disadvantages, offer a rapid and accurate way to evaluate products in the wine industry, and allow winemakers to make quick decisions on harvesting or ageing. 1.2. Spectroscopic Techniques for Inspection in the Wine Industry The use of molecular absorption spectrophotometry is the simplest way to use spectroscopic techniques in the wine industry. For example, a direct measurement of absorbance at 280 nm can estimate the total phenol content, or a measurement at 360 nm can help to analyse the flavonol content. Total pigments can be measured at 520 nm in the visible region of the spectrum. However, a very large number of compounds may be present sharing the same chromophore, so more advanced analytical techniques such as high-performance liquid chromatography (HPLC) are necessary, which again have the disadvantages of chemical analyses. Advances in both instrumentation and computing power to apply chemometrics to large amounts of data have led to the development of vibrational spectroscopic techniques for the analysis of wine as well as different parts of the wine grape. In wine, there are two main absorption bands at 1450 and 1950 nm related to the molecule of the vibrational response of the O–H bond present in water and ethanol. However, these bands do not offer significant information on phenolic composition. All phenolic compounds that have multiple bonds in common have a simultaneous impact on a small region of the spectrum. By selecting the suitable wavelengths in multivariate chemometric techniques, it was possible to predict some families of compounds in wine [ 8 ]. Other studies using infrared spectroscopy could analyse wines from different varieties and having different times of skin-contact maceration [ 9 ]. In fact, it can also be used to monitor the winemaking process [10]. Regarding grapes, a vis–NIR spectrophotometer has been used for quantifying condensed tannins in homogenates [ 11 ] and for identifying the variety and the origin [ 12 ]. In another study, the authors used multivariate regressions to predict flavanols, flavonols, phenolic acids, anthocyanins, and total phenolics on Graciano grape skins [ 13 ]. Using ATR-FTIR, Nogales-Bueno et al. analysed the extraction ability of phenolic compounds in grape skins [14]. Grape seeds, as an essential source of flavanols, have also been studied by spectroscopic techniques [ 15 ]. As in other cases where indirect analytical techniques are developed, reference analyses are necessary to build the prediction models and to evaluate the goodness of these models. In this case, HPLC was used as a reference method. NMR spectroscopy has also been successfully used in the wine industry. This way, the biochemical changes during grape ripening [ 16 ], the vintage effects [ 17 ] or geographical features in wine [ 18 ], or even the metabolite fingerprinting in wine-derived products such as vinegar or pomace [19] could be studied. 1.3. Imaging Techniques The wine industry was also revolutionised when imaging techniques arose. Making a machine capable of seeing has always been one of the great challenges of electronics. A camera can record a scene, but it can also understand what it is seeing. Depending on the kind of information they receive, we can differentiate between RGB cameras and hyperspectral cameras [20]. 1.3.1. Standard RGB Cameras The preliminary studies focused on the colorimetric effects of grape and seed maturation and, as common in the agri-food industry, CIELAB colour space was used for this purpose. The chromatic characteristics, the heterogeneity of the colour, and the morpho- Foods 2022,11, 254 3 of 17 logical parameters were useful for discriminating the variety and the kind of soil of these cultivars and for monitoring the maturation process and establishing critical points along this maturation [ 21 ]. Another study, using the same method, could discriminate grape seeds when an early leaf removal was applied to the vineyard [ 22 ]. When the chemical composition was added to the colorimetric information, it was possible to predict the concentration of hydroxybenzoic acids, flavanol monomers, procyanidin dimers, procyanidin trimers, and galloylated flavanols [23]. Artificial intelligence has also changed the way of evaluating vines with RGB cameras. From images of bunches acquired with the camera of a smartphone and with a homogeneous black background, it has been possible to estimate the number of berries in bunches of grapes successfully [ 24 ]. Through neural networks and support vector machines, they were able to make reliable models for multiple varieties of white and red grapes. The methodology developed by the authors has been implemented in the vitisBerry app [ 25 ], which works on Android devices. This algorithm has been improved by the same authors, who have recently created a system consisting of a camera mounted on an off-road vehicle that acquires images directly in the vineyard [ 26 ]. Images obtained at night were easier to segment, since there was no parasitic radiation and only the nearest objects were illuminated. When estimating the yield of the vines by this system, a correlation coefficient of 0.98 was obtained when comparing the number of predicted berries with the actual value. In another study and with special cameras, it was possible to perform a 3D reconstruction of the morphology of the bunches (enabling the discernment of the internal stems) and to study their phenotype [27]. 1.3.2. Hyperspectral Cameras Imaging techniques have successfully adapted spectroscopy with the rise of hyperspectral imaging, making it possible to evaluate both the chemical composition and its distribution on the surface of a sample [ 28 ]. The concept of hyperspectral imaging is far removed from everyday life, but its applications are very beneficial in the fields where it has been applied, such as agriculture, medicine, mineralogy, astronomy, or fine arts. To improve its comprehension, it can be compared with a conventional colour image. A common image has three bands, red, green, and blue, and the combination of these produces the rest of the colours. Similarly, a hyperspectral image has a high number of bands, each corresponding to a unique region of the electromagnetic spectrum. These bands do not have to belong to the visible region, so a hyperspectral image can also include the near infrared, where the relationship between spectral characteristics and chemical composition is even closer. Thus, the information obtained with these cameras goes beyond what a conventional digital camera can achieve. This way, we could define a hyperspectral image or hypercube as a stack of images of the same scene, where each represents, in greyscale, the reflectance at a single wavelength. Each pixel of the image contains a full spectrum of that position, which is stored as a fingerprint. This arrangement makes the hypercube have three-dimensional information, where two of the dimensions correspond to spatial coordinates (x,y) and the third dimension corresponds to the spectral dimension ( λ ), which will be related to the chemical composition [29,30]. Hyperspectral images have also been used successfully for the characterisation of solid parts in the wine industry. In an initial study, it was possible to differentiate between red and white grape seeds, different red grape varieties, and even agronomic factors such as soil type within the same white grape variety could be distinguished [ 31 ]. It has also been possible to study the concentration of flavanols in grape seeds and their extractability using the same technology [ 32 ]. Another study evaluated the NIR spectrum of more than a thousand seeds individually, grouped them according to their spectral similarity, and analysed their flavanolic profile, demonstrating that seed maturation does not occur at the same time but that seeds evolve to a different degree, causing a certain chemical heterogeneity at each moment of maturation [ 33 ]. The technique has also been effective for the characterisation of red grapes, where, in addition to the anthocyanin profile of Foods 2022,11, 254 4 of 17 the skin [ 34 ], other characteristics related to the technological maturity of the pulp were analysed [ 35 , 36 ]. Regarding the obtention of chemical images, Agati et al. used a CCD camera equipped with a motorised filter wheel to obtain chlorophyll fluorescence images from whole grape bunches [37]. Whenever hyperspectral cameras were used to evaluate chemical composition, the studies were carried out in the laboratory and under controlled lighting [ 38 ]. To our knowledge, there are no studies in which hyperspectral technology has been used in the field for chemical analysis. Therefore, the main objective of this article has been to improve the chemical analysis of the different parts of the grape using imaging techniques and, on the other hand, to extrapolate the multivariate statistical models developed in the laboratory to images acquired in the vineyards. 2. Materials and Methods 2.1. Sampling Grapes (Vitis vinifera L.) from the two vineyards sampled are included under the “Condado de Huelva” Designation of Origin, in Southwestern Spain, harvested in 2020 and 2021. The fields in Condado de Huelva are flat or weakly undulated, and their medium fertility and neutral or lightly basic characteristics make them an ideal place to grow grapes. The first vineyard belonged to the Tempranillo variety (37 ◦ 19 0 09 00 N 6 ◦ 35 0 56 00 W) and another belonged to Syrah (37 ◦ 17 0 51 00 N 6 ◦ 36 0 59 00 W). These were taken twice a week from early July to harvest (which occurred approximately mid-August depending on the variety and the state of maturation). Sampling consisted of the acquisition of hyperspectral images of whole bunches throughout the vineyards. In two of these bunches, the sugar content of five different grapes per bunch was measured and labelled on the images to ensure traceability of the results. Furthermore, from each vineyard, two other bunches were carefully cut from the stem and transferred to the laboratory under refrigeration. Once in the laboratory, images were acquired again, and skins and seeds were separated and stored frozen until chemical analyses were performed. 2.2. Images Acquisition 2.2.1. DigiEye Imaging System This apparatus includes an illumination box specially designed to illuminate the samples consistently to measure colour and a digital camera connected to a computer [ 39 ]. The cabinet is equipped with two fluorescent tubes that emulate the standard illuminant D65 and offer stable lighting conditions. Lamps were switched on at least 10 minutes before being used, according to manufacturer indications, to stabilise them. This equipment was used in the laboratory to acquire images of entire bunches of grapes and their manually separated seeds. 2.2.2. Hyperspectral Measurements NIR hyperspectral images were acquired with equipment that comprise the following parts: Xenics ® XEVA-USB InGaAs camera (Xenics Infrared Solutions, Inc., Leuven, Belgium); Specim ImSpector N17E Enhanced spectrograph, which covers the range between 884 and 1717 nm (Spectral Imaging Ltd., Oulu, Finland); and a computer system to run SpectralDAQ 3.62 acquisition software (Spectral Imaging Ltd., Oulu, Finland). As illumination, two 70 W tungsten iodine halogen lamps at 45 ◦ were used. A “white reference” image (W, 100% reflectance) was acquired from a white ceramic tile (Labsphere Inc., North Sutton, NH, USA), and a “dark reference” image (B, 0% reflectance) was obtained with the light source off and the camera covered with its opaque cap. The white and dark “reference” images were used to correct the raw images (R 0 ) to obtain a relative reflectance image (R) according to the equation R = (R 0− B)/(W − B). Further description, as well as a scheme of this equipment, is available in Nogales-Bueno et al. [ 40 ]. This camera was used in the laboratory to acquire images of entire bunches of grapes and their extracted seeds. Foods 2022,11, 254 5 of 17 The Specim IQ hyperspectral camera (Spectral Imaging Ltd., Oulu, Finland) is also a linear camera based on the push-broom principle that includes in one body all parts necessary to acquire images with a resolution of 512 × 512 pixels and 204 bands in the range 400–1000 nm. The main advantage is that it works with rechargeable batteries and can be used as a portable device. For the images acquired in the laboratory, the same lamps as those used for the NIR camera were used. In the case of the field images, the images were acquired in direct sunlight during the early hours of the morning. This camera has a certified reflectance device to perform the calibrations, so different white measurements were made throughout the sessions in order to correct daylight changes. In all cases, the integration time was adjusted to obtain a good spectral sensitivity in all the images. A very detailed description can be found in Behmann et al. [ 41 ]. This camera was used in both the laboratory and the field to acquire images of entire bunches of grapes. 2.3. Chemical Analyses 2.3.1. Sugar Content in Must The concentration of sugars in grape must is usually measured by densitometry, as the density changes according to its concentration. In our study, we needed to measure the sugar content of individual grapes, so it was impossible to use this technique. Therefore, the sugar concentration was measured with a portable Abbe refractometer from some drops of must extracted manually from individual grapes [ 42 ]. This analysis led to a one-to-one correspondence between the grape spectrum and its technological maturity. 2.3.2. Extraction and Analysis of Phenolics in Grape Seeds and Skins For these chemical analyses, it was necessary to perform a previous extraction of grape seeds and grape skins in wine-like medium (12% (v/v) ethanol, 5 g/L tartaric acid, 11.48 g/L sodium chloride, and pH 3.6). The extractions were performed on the model wine so that the results would be comparable with the actual extractable content of seeds and skin in the wine during the winemaking process. A ratio of 25 mL of model wine per gram of seed was used. Skin extraction was carried out in a 20 mL proportion of model wine for each gram of skin. These macerations were carried out at room temperature for 72 h and without external agitation. These extractions were performed in triplicate, and the supernatants were analysed to determine the extractable content. The extractable total phenolic content was determined using the Folin–Ciocalteu method [ 43 ]. Briefly, 100 µ L of model wine supernatants were mixed with 1.5 mL of sodium carbonate (20% w/v) and 500 µ L of Folin reagent (Panreac Química S.L.U., Barcelona, Spain) and made up to the volume with deionised water in a 10 mL volumetric flask. After 2 h of incubation at room temperature, the solutions were measured at 765 nm using an Agilent UV–vis HP8453 spectrophotometer (Palo Alto, CA, USA). Gallic acid was used as the standard, and the results were expressed as gallic acid equivalents (mg GAE/g of grape seed or skin). To measure the extractable total flavanol content, a modification of the method of Vivas et al. [ 44 ] was applied. The DMACA (4-dimethylaminocinnamaldehyde) reagent (Sigma-Aldrich, Madrid, Spain) was prepared immediately before use, containing 0.1% (w/v) DMACA in a mixture of hydrochloric acid and methanol (1:10 v/v, respectively). Subsequently, 10 or 20 µ L (depending on the concentration) of model wine supernatants were mixed with 190 or 180 µ L of methanol, respectively, and 1 mL of DMACA reagent. The absorbance of the mixtures was measured at 765 nm on an Agilent 8453 UV–visible spectrophotometer (Palo Alto, CA, USA), using a calibration curve of (+)-catechin for its quantification. The results were expressed as mg of catechin equivalents per gram of grape seed or skin. In both the Folin–Ciocalteu and DMACA analyses, dilutions were carried out when the concentration was outside the linear range of the calibration curve. HPLC separation, identification, and quantification of phenolic compounds from model wine supernatants were carried out on an Agilent 1200 chromatographic system Foods 2022,11, 254 6 of 17 equipped with a quaternary pump, a UV–vis diode array detector, an automatic injector, and ChemStation software (Palo Alto, CA, USA). Samples were filtered through 0.45 µ m pore size filters and injected directly into the chromatographic system. Individual extractable phenolic compounds (flavan-3-ols, flavonols, hydroxycinnamic acid derivatives, and other low-molecular-weight phenolic compounds) were identified in model wine supernatants from grape seeds and grape skins by a modification of the method described by Castillo-Muñoz et al. [ 45 ]. These were separated by injecting a volume of 50 µL , of each sample, into a Zorbax C18 column (250 × 4.6 mm, 5 µ m particle size) at 40 ◦ C. Solvent A consisting of acetonitrile–formic acid–water (3:10:87) and solvent B of acetonitrile–formic acid–water (50:10:40) were used. The elution profile was as follows: 0–5 min 94%A–6%B ; 5–10 min 89%A–11%B; 10–15 min 89%A–11%B; 15–20 min 80%A–20%B ; 20–25 min 77%A–23%B; 25–30 min 74%A–26%B; 30–35 min 60%A–40%B; 35–38 min 50%A–50%B; 38–46 min 40%A–60%B; and 46 min 94%A–6%B. The flow rate was 0.63 mL/min. UV–vis spectra were recorded from 200 to 800 nm with a bandwidth of 2.0 nm. Quantification was performed at 280 nm (flavanols and benzoic acids), 320 nm (phenolic acids), and 360 nm (flavonols) by comparing the areas and retention times with the standards of gallic acid, (+)-catechin, caffeic acid, and quercetin, respectively (Sigma-Aldrich, Madrid, Spain). The concentration of extractable phenolic compounds was expressed as mg/g of grape seed or skin. The identification of extractable anthocyanins in model wine supernatants from grape skins was carried out following the method proposed by Heredia et al. [ 46 ]. The injecting volume, the column, and the solvents employed were the same as those used for the identification of individual phenols. The working temperature was 38 ◦ C, and the elution profile was as follows: 0–10 min 94%A–6%B; 10–15 min 70%A–30%B; 15–25 min 60%A–40%B ; 25–35 min 55%A–45%B; 35–40 min 50%A–50%B; 40–42 min 40%A–60%B; and 42–43 min 94%A–6%B. The flow rate was 0.8 mL/min. UV–vis spectra were recorded from 200 to 800 nm with a bandwidth of 2.0 nm. Quantification was carried out at 525 nm by comparing the areas and retention times with the malvidin 3-glucoside standard (Extrasynthese, Genay, France). The concentration of extractable anthocyanins was expressed as mg/g of grape skin. 2.4. Image Processing and Statistics All image processing, including segmentation, data extraction, data processing, construction of prediction models, evaluation of these models, as well as the generation of the chemical imaging images, were done with MATLAB R2020a [47]. 3. Results 3.1. Chemical Analyses The sugar content of 151 individual Tempranillo grapes was analysed and ranged between 8.5 and 21.4 ◦ Brix. For Syrah grapes, the sugar of 182 individual grapes ranged between 4.2 and 20.7 ◦ Brix (data not shown). During the 2020 vintage, Syrah grapes increased their sugar concentration at a constant rate until the end of ripening. On the other hand, Tempranillo grapes increased rapidly in sugar concentration in the early stages, decreasing this rate three weeks before harvest. During the last week and a half of ripening, the grapes of the two varieties did not show statistically significant differences (p< 0.05) in sugar concentration. Although the dates did not coincide exactly, the general behaviour of the grapes of the two varieties was similar in the 2021 vintage. Tables 1–3show the main statistical descriptors for the reference parameters of the grape seeds and grape skin samples. Note that the high standard deviations obtained were not due to measurement errors but to the evolution of the samples during maturation. On the one hand, in the grape seeds of the Syrah variety, a clear decrease in extractable phenolic and flavanolic compounds (total or individual) was observed throughout the maturation process. On the other hand, the seed samples of the Tempranillo variety did not show a continuous decrease or increase trend in their extractable phenolic and flavanolic Foods 2022,11, 254 7 of 17 compounds during the maturity period. In this case, the concentrations of the extractable compounds studied were more variable throughout this process. Regardless of the variety, the concentration of total phenolic compounds extracted in the model wine ranged from 0.45 to 23.18 mg/g of grape seed, and the concentration of total flavanols ranged between 0.01 and 6.61 mg/g of grape seed (Table 1). These values are similar to those reported in other research articles [32,48]. Among the phenolic compounds extractable in model wine from seeds, several types of compounds have been identified, such as benzoic acids (gallic acid) or flavan-3-ols ((+)-catechin and ( − )-epicatechin). Table 1shows the concentration ranges in which these phenolic compounds were obtained. These chemical compounds extracted in model wine are normally present in wine and are well known [ 49 ]. When the two varieties were compared, a higher concentration of total or individual extractable flavanols was obtained in Syrah than in Tempranillo. In the rest of the parameters, both varieties were similar. Tables 2and 3show the data obtained in the skin extraction in model wine. Regardless of the variety, the concentration of total phenolic compounds, extracted in model wine, ranged from 4.62 to 20.73 mg/g of grape skin, and the concentration of total flavanols ranged between 0.53 and 2.87 mg/g of grape skin. These values were similar to those obtained in other studies [ 50 ]. Among the extractable phenolic compounds identified, benzoic acid, flavan-3-ols, hydroxycinnamic acids and their derivatives, and flavonols were found. These compounds are commonly found in wine, as shown in previous research [45,51] . The five expected native grape anthocyanins (delphinidin-3-glucoside, cyanidin-3-glucoside, petunidin-3-glucoside, peonidin-3-glucoside, and malvidin-3-glucoside) and their acetylated and p-coumaroyl derivatives were detected in grape skin extraction supernatants [ 52 , 53 ]. These monomeric anthocyanins were extracted at concentrations ranging from 0.00 to 1.86 mg/g of grape skin, with malvidin-3-glucoside being the majority and cyanidin-3-glucoside the minority. These anthocyanins correspond to the majority and minority anthocyanins present in wine as reported by other studies [54]. Table 1. Summary of chemical analysis of grape seeds (mg/g of grape seed). Compound N Mean Minimum Maximum SD Syrah Total phenolic content 57 3.76 0.79 23.18 5.4 Total flavanol content 57 1.23 0.18 6.61 1.73 Benzoic acids: Gallic acid 57 0.08 0.04 0.25 0.05 Flavan-3-ols: (+)-Catechin 57 0.27 0.03 1.42 0.36 (−)-Epicatechin 57 0.37 0.06 1.57 0.40 Tempranillo Total phenolic content 51 2.43 0.45 6.31 1.68 Total flavanol content 51 0.67 0.01 3.36 0.74 Benzoic acids: Gallic acid 51 0.07 0.04 0.11 0.02 Flavan-3-ols: (+)-Catechin 51 0.14 0.02 0.91 0.18 (−)-Epicatechin 51 0.1 0.01 0.41 0.10 Foods 2022,11, 254 8 of 17 Table 2. Summary of chemical analyses performed for Syrah grape skins (mg/g of grape skin). Compound N Mean Minimum Maximum SD Total phenolic content 57 11.67 4.62 20.73 4.58 Total flavanol content 57 0.92 0.53 1.46 0.22 Benzoic acids: Gallic acid 57 0.29 0.14 0.57 0.10 Flavan-3-ols: (+)-Catechin 57 0.03 0 0.09 0.02 Hydroxycinnamic acid derivatives: t-Caftaric acid 57 0.01 0 0.1 0.01 p-Coumaric acid 57 0.01 0 0.02 0.01 Flavonols: Myricetin-3-glucuronide 57 0.04 0 0.18 0.04 Myricetin-3-glucoside 57 0.04 0 0.09 0.03 Quercetin-3-glucuronide 57 0.09 0.01 0.27 0.08 Quercetin-3-glucoside 57 0.16 0.01 0.49 0.13 Laricitrin-3-glucoside 57 0.01 0 0.02 0.01 Isorhamnetin-3-glucoside 57 0.07 0 0.23 0.06 Syringetin-3-glucoside 57 0.03 0 0.13 0.03 Monomeric anthocyanins: Delphinidin-3-glucoside 57 0.21 0 0.43 0.07 Cyanidin-3-glucoside 57 0.05 0 0.06 0.01 Petunidin-3-glucoside 57 0.34 0 0.77 0.17 Peonidin-3-glucoside 57 0.4 0 0.77 0.17 Malvidin-3-glucoside 57 1.86 0 4.96 1.30 Petunidin-3-acetyl-glucoside 57 0.22 0 0.35 0.07 Peonidin-3-acetyl-glucoside 57 0.31 0 0.46 0.10 Malvidin-3-acetyl-glucoside 57 1.18 0 2.7 0.75 Petunidin-3-p-coumaroyl- glucoside 57 0.3 0 0.59 0.17 Peonidin-3-p-coumaroyl-glucoside 57 0.26 0 0.35 0.08 Malvidin-3-p-coumaroyl-glucoside 57 0.73 0 1.47 0.40 Neither of the two varieties showed a clear behaviour of the extractable chemical compounds studied throughout the maturation process. However, significant differences were observed between Syrah and Tempranillo. The Syrah variety showed higher concentrations of some phenolic compounds such as quercetin-3-glucoside, isorhamnetin-3-glucoside , and syringetin-3-glucoside. The same was true for some anthocyanins, such as peonidin-3-glucoside and the acetylated and p-coumaroyl derivatives of peonidin, petunidin, and malvidin. However, the Tempranillo variety showed higher concentrations for total flavanols, in some anthocyanins ( delphinidin-3-glucoside , cyanidin-3-glucoside , and petunidin-3-glucoside ) and in some other phenolic compounds such as gallic acid, catechin, t-caftaric acid, t-coutaric acid, and c-coutaric acid. For the rest of the extractable compounds studied, no differences were found between the varieties. Foods 2022,11, 254 9 of 17 Table 3. Summary of chemical analyses performed for Tempranillo grape skins (mg/g of grape skin). Compound N Mean Minimum Maximum SD Total phenolic content 51 12.84 7.25 20.62 3.39 Total flavanol content 51 1.65 0.64 2.87 0.45 Benzoic acids: Gallic acid 51 0.48 0.2 1.08 0.20 Flavan-3-ols: (+)-Catechin 51 0.05 0 0.16 0.04 Hydroxycinnamic acid derivatives: t-Caftaric acid 51 0.04 0 0.13 0.03 t-Coutaric acid 51 0.01 0 0.06 0.01 c-Coutaric acid 51 0.02 0 0.06 0.01 p-Coumaric acid 51 0.01 0 0.03 0.01 Flavonols: Myricetin-3-glucuronide 51 0.04 0 0.11 0.03 Myricetin-3-glucoside 51 0.04 0.01 0.07 0.01 Quercetin-3-glucuronide 51 0.09 0.02 0.41 0.07 Quercetin-3-glucoside 51 0.06 0.01 0.24 0.05 Laricitrin-3-glucoside 51 0.01 0 0.03 0.01 Isorhamnetin-3-glucoside 51 0.01 0 0.02 0.01 Syringetin-3-glucoside 51 0.01 0 0.02 0.01 Monomeric anthocyanins: Delphinidin-3-glucoside 51 0.33 0.17 0.66 0.10 Cyanidin-3-glucoside 51 0.06 0.04 0.08 0.01 Petunidin-3-glucoside 51 0.47 0.19 0.85 0.15 Peonidin-3-glucoside 51 0.29 0.19 0.43 0.06 Malvidin-3-glucoside 51 1.75 0.54 3.14 0.57 Petunidin-3-acetyl-glucoside 51 0.19 0.16 0.23 0.01 Peonidin-3-acetyl-glucoside 51 0.17 0.16 0.18 0.00 Malvidin-3-acetyl-glucoside 51 0.35 0.18 0.46 0.07 Petunidin-3-p-coumaroyl- glucoside 51 0.24 0.16 0.35 0.05 Peonidin-3-p-coumaroyl-glucoside 51 0.18 0.16 0.21 0.01 Malvidin-3-p-coumaroyl-glucoside 51 0.49 0.18 0.77 0.16 3.2. Image Processing Only in the NIR, a hyperspectral desktop camera was necessary to carry out an image calibration as image preprocessing. The portable hyperspectral camera automatically performed the calibration before each session using a certified reflectance device. For the images acquired in the DigiEye equipment, a calibration was also performed in each session using a certified colour chart, thus obtaining the CIELAB coordinates directly in each pixel. Those hyperspectral images obtained in the laboratory had a homogeneous white surface made of polyethylene as a background, and it was easy to identify the samples in them. However, it was a computational challenge to automatically identify the grapes in the hyperspectral field images. In these images, there were branches, leaves, soil, sky, and other elements present. In addition, the solar illumination caused many shadows, which Foods 2022,11, 254 16 of 17 15. Ferrer-Gallego, R.; Hernández-Hierro, J.M.; Rivas-Gonzalo, J.C.; Escribano-Bailón, M.T. Feasibility Study on the Use of near Infrared Spectroscopy to Determine Flavanols in Grape Seeds. Talanta 2010,82, 1778–1783. [CrossRef] 16. Ali, K.; Maltese, F.; Fortes, A.M.; Pais, M.S.; Choi, Y.H.; Verpoorte, R. Monitoring Biochemical Changes during Grape Berry Development in Portuguese Cultivars by NMR Spectroscopy. Food Chem. 2011,124, 1760–1769. [CrossRef] 17. Lee, J.-E.; Hwang, G.-S.; Van Den Berg, F.; Lee, C.-H.; Hong, Y.-S. Evidence of Vintage Effects on Grape Wines Using 1H NMR-Based Metabolomic Study. Anal. Chim. Acta 2009,648, 71–76. [CrossRef] [PubMed] 18. Son, H.-S.; Hwang, G.-S.; Kim, K.M.; Ahn, H.-J.; Park, W.-M.; Van Den Berg, F.; Hong, Y.-S.; Lee, C.-H. Metabolomic Studies on Geographical Grapes and Their Wines Using 1H NMR Analysis Coupled with Multivariate Statistics. J. Agric. Food Chem. 2009 , 57, 1481–1490. [CrossRef] 19. Fotakis, C.; Kokkotou, K.; Zoumpoulakis, P.; Zervou, M. NMR Metabolite Fingerprinting in Grape Derived Products: An Overview. Food Res. Int. 2013,54, 1184–1194. [CrossRef] 20. Rodríguez-Pulido, F.J.; Gordillo, B.; Heredia, F.J.; González-Miret, M.L. CIELAB—Spectral Image MATCHING: An App for Merging Colorimetric and Spectral Images for Grapes and Derivatives. Food Control 2021,125, 108038. [CrossRef] 21. Rodríguez-Pulido, F.J.; Gómez-Robledo, L.; Melgosa, M.; Gordillo, B.; González-Miret, M.L.; Heredia, F.J. Ripeness Estimation of Grape Berries and Seeds by Image Analysis. Comput. Electron. Agric. 2012,82, 128–133. [CrossRef] 22. Talaverano, M.I.; Moreno, D.; Rodríguez-Pulido, F.J.; Valdés, M.E.; Gamero, E.; Jara-Palacios, M.J.; Heredia, F.J. Effect of Early Leaf Removal on Vitis Vinifera, L. Cv. Tempranillo Seeds during Ripening Based on Chemical and Image Analysis. Sci. Hortic. 2016,209, 148–155. [CrossRef] 23. Rodríguez-Pulido, F.J.; Ferrer-Gallego, R.; Lourdes González-Miret, M.; Rivas-Gonzalo, J.C.; Escribano-Bailón, M.T.; Heredia, F.J. Preliminary Study to Determine the Phenolic Maturity Stage of Grape Seeds by Computer Vision. Anal. Chim. Acta 2012 ,732, 78–82. [CrossRef] 24. Aquino, A.; Diago, M.P.; Millán, B.; Tardáguila, J. A New Methodology for Estimating the Grapevine-Berry Number per Cluster Using Image Analysis. Biosyst. Eng. 2017,156, 80–95. [CrossRef] 25. Aquino, A.; Barrio, I.; Diago, M.-P.; Millan, B.; Tardaguila, J. VitisBerry: An Android-Smartphone Application to Early Evaluate the Number of Grapevine Berries by Means of Image Analysis. Comput. Electron. Agric. 2018,148, 19–28. [CrossRef] 26. Aquino, A.; Millan, B.; Diago, M.-P.; Tardaguila, J. Automated Early Yield Prediction in Vineyards from On-the-Go Image Acquisition. Comput. Electron. Agric. 2018,144, 26–36. [CrossRef] 27. Schöler, F.; Steinhage, V. Automated 3D Reconstruction of Grape Cluster Architecture from Sensor Data for Efficient Phenotyping. Comput. Electron. Agric. 2015,114, 163–177. [CrossRef] 28. ElMasry, G.; Sun, D.-W. Principles of Hyperspectral Imaging Technology. In Hyperspectral Imaging for Food Quality Analysis and Control; Sun, D.-W., Ed.; Academic Press: San Diego, CA, USA, 2010; pp. 3–43, ISBN 978-0-12-374753-2. 29. Koehler IV, F.W.; Lee, E.; Kidder, L.H.; Lewis, N.E. Near Infrared Spectroscopy: The Practical Chemical Imaging Solution. Spectrosc. Eur. 2002,14, 12–19. 30. Gowen, A.A.; O’Donnell, C.P.; Cullen, P.J.; Downey, G.; Frias, J.M. Hyperspectral Imaging—An Emerging Process Analytical Tool for Food Quality and Safety Control. Trends Food Sci. Technol. 2007,18, 590–598. [CrossRef] 31. Rodríguez-Pulido, F.J.; Barbin, D.F.; Sun, D.-W.; Gordillo, B.; González-Miret, M.L.; Heredia, F.J. Grape Seed Characterization by NIR Hyperspectral Imaging. Postharvest Biol. Technol. 2013,76, 74–82. [CrossRef] 32. Rodríguez-Pulido, F.J.; Hernández-Hierro, J.M.; Nogales-Bueno, J.; Gordillo, B.; González-Miret, M.L.; Heredia, F.J. A Novel Method for Evaluating Flavanols in Grape Seeds by near Infrared Hyperspectral Imaging. Talanta 2014 ,122, 145–150. [CrossRef] 33. Quijada-Morín, N.; García-Estévez, I.; Nogales-Bueno, J.; Rodríguez-Pulido, F.J.; Heredia, F.J.; Rivas-Gonzalo, J.C.; Escribano- Bailón, M.T.; Hernández-Hierro, J.M. Trying to Set up the Flavanolic Phases during Grape Seed Ripening: A Spectral and Chemical Approach. Talanta 2016,160, 556–561. [CrossRef] 34. Martínez-Sandoval, J.R.; Nogales-Bueno, J.; Rodríguez-Pulido, F.J.; Hernández-Hierro, J.M.; Segovia-Quintero, M.A.; Martínez- Rosas, M.E.; Heredia, F.J. Screening of Anthocyanins in Single Red Grapes Using a Non-Destructive Method Based on the near Infrared Hyperspectral Technology and Chemometrics. J. Sci. Food Agric. 2016,96, 1643–1647. [CrossRef] [PubMed] 35. Nogales-Bueno, J.; Ayala, F.; Hernández-Hierro, J.M.; Rodríguez-Pulido, F.J.; Echávarri, J.F.; Heredia, F.J. Simplified Method for the Screening of Technological Maturity of Red Grape and Total Phenolic Compounds of Red Grape Skin: Application of the Characteristic Vector Method to Near-Infrared Spectra. J. Agric. Food Chem. 2015,63, 4284–4290. [CrossRef] [PubMed] 36. Fernandes, A.M.; Franco, C.; Mendes-Ferreira, A.; Mendes-Faia, A.; da Costa, P.L.; Melo-Pinto, P. Brix, PH and Anthocyanin Content Determination in Whole Port Wine Grape Berries by Hyperspectral Imaging and Neural Networks. Comput. Electron. Agric. 2015,115, 88–96. [CrossRef] 37. Agati, G.; Traversi, M.L.; Cerovic, Z.G. Chlorophyll Fluorescence Imaging for the Noninvasive Assessment of Anthocyanins in Whole Grape (Vitis vinifera L.) Bunches†. Photochem. Photobiol. 2008,84, 1431–1434. [CrossRef] 38. Baiano, A.; Terracone, C.; Peri, G.; Romaniello, R. Application of Hyperspectral Imaging for Prediction of Physico-Chemical and Sensory Characteristics of Table Grapes. Comput. Electron. Agric. 2012,87, 142–151. [CrossRef] 39. Rodríguez-Pulido, F.J.; Gordillo, B.; Lourdes González-Miret, M.; Heredia, F.J. Analysis of Food Appearance Properties by Computer Vision Applying Ellipsoids to Colour Data. Comput. Electron. Agric. 2013,99, 108–115. [CrossRef] Foods 2022,11, 254 17 of 17 40. Nogales-Bueno, J.; Hernández-Hierro, J.M.; Rodríguez-Pulido, F.J.; Heredia, F.J. Determination of Technological Maturity of Grapes and Total Phenolic Compounds of Grape Skins in Red and White Cultivars during Ripening by near Infrared Hyperspectral Image: A Preliminary Approach. Food Chem. 2014,152, 586–591. [CrossRef] 41. Behmann, J.; Acebron, K.; Emin, D.; Bennertz, S.; Matsubara, S.; Thomas, S.; Bohnenkamp, D.; Kuska, M.T.; Jussila, J.; Salo, H.; et al. Specim IQ: Evaluation of a New, Miniaturized Handheld Hyperspectral Camera and Its Application for Plant Phenotyping and Disease Detection. Sensors 2018,18, 441. [CrossRef] 42. OIV. Compendium of International Methods of Wine and Must Analysis; The International Organisation of Vine and Wine: Paris, France, 2013; ISBN 979-10-91799-06-5. 43. Singleton, V.L.; Rossi, J.A. Colorimetry of Total Phenolics with Phosphomolybdic-Phosphotungstic Acid Reagents. Am. J. Enol. Vitic. 1965,16, 144–158. 44. Vivas, N.; Glories, Y.; Lagune, L.; Saucier, C.; Augustin, M. Estimation Du Degréde Polymérization Des Procyanidines Du Raisin et Du Vin Par La Méthode Au P-Dimethylaminocinnamaldéhyde. J. Int. Des Sci. De La Vigne Et Du Vin 1994,28, 319–336. 45. Castillo-Muñoz, N.; Gómez-Alonso, S.; García-Romero, E.; Hermosín-Gutiérrez, I. Flavonol Profiles of Vitis Vinifera Red Grapes and Their Single-Cultivar Wines. J. Agric. Food Chem. 2007,55, 992–1002. [CrossRef] [PubMed] 46. Heredia, F.J.; Escudero-Gilete, M.L.; Hernanz, D.; Gordillo, B.; Meléndez-Martínez, A.J.; Vicario, I.M.; González-Miret, M.L. Influence of the Refrigeration Technique on the Colour and Phenolic Composition of Syrah Red Wines Obtained by Pre- Fermentative Cold Maceration. Food Chem. 2010,118, 377–383. [CrossRef] 47. The Mathworks. MATLAB; The Mathworks Inc.: Natick, MA, USA, 2020. 48. Baca-Bocanegra, B.; Nogales-Bueno, J.; Heredia, F.J.; Hernández-Hierro, J.M. Estimation of Total Phenols, Flavanols and Extractability of Phenolic Compounds in Grape Seeds Using Vibrational Spectroscopy and Chemometric Tools. Sensors 2018 , 18, 2426. [CrossRef] 49. Gómez-Alonso, S.; García-Romero, E.; Hermosín-Gutiérrez, I. HPLC Analysis of Diverse Grape and Wine Phenolics Using Direct Injection and Multidetection by DAD and Fluorescence. J. Food Compos. Anal. 2007,20, 618–626. [CrossRef] 50. Nogales-Bueno, J.; Baca-Bocanegra, B.; Rodríguez-Pulido, F.J.; Heredia, F.J.; Hernández-Hierro, J.M. Use of near Infrared Hyperspectral Tools for the Screening of Extractable Polyphenols in Red Grape Skins. Food Chem. 2015 ,172, 559–564. [CrossRef] 51. Castillo-Muñoz, N.; Gómez-Alonso, S.; García-Romero, E.; Gómez, M.V.; Velders, A.H.; Hermosín-Gutiérrez, I. Flavonol 3-O- Glycosides Series of Vitis Vinifera Cv. Petit Verdot Red Wine Grapes. J. Agric. Food Chem. 2009,57, 209–219. [CrossRef] 52. Cejudo-Bastante, M.J.; Pérez-Coello, M.S.; Hermosín-Gutiérrez, I. Effect of Wine Micro-Oxygenation Treatment and Storage Period on Colour-Related Phenolics, Volatile Composition and Sensory Characteristics. LWT Food Sci. Technol. 2011 ,44, 866–874. [CrossRef] 53. Gordillo, B.; López-Infante, M.I.; Ramírez-Pérez, P.; González-Miret, M.L.; Heredia, F.J. Influence of Prefermentative Cold Maceration on the Color and Anthocyanic Copigmentation of Organic Tempranillo Wines Elaborated in a Warm Climate. J. Agric. Food Chem. 2010,58, 6797–6803. [CrossRef] 54. Gordillo, B.; Cejudo-Bastante, M.J.; Rodríguez-Pulido, F.J.; González-Miret, M.L.; Heredia, F.J. Application of the Differential Colorimetry and Polyphenolic Profile to the Evaluation of the Chromatic Quality of Tempranillo Red Wines Elaborated in Warm Climate. Influence of the Presence of Oak Wood Chips during Fermentation. Food Chem. 2013,141, 2184–2190. [CrossRef]