<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Plant Sci.</journal-id>
<journal-title>Frontiers in Plant Science</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Plant Sci.</abbrev-journal-title>
<issn pub-type="epub">1664-462X</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fpls.2022.860656</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Plant Science</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Deep Learning and Hyperspectral Images Based Tomato Soluble Solids Content and Firmness Estimation</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name><surname>Xiang</surname> <given-names>Yun</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
</contrib>
<contrib contrib-type="author">
<name><surname>Chen</surname> <given-names>Qijun</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/1614835/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Su</surname> <given-names>Zhongjing</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
</contrib>
<contrib contrib-type="author">
<name><surname>Zhang</surname> <given-names>Lu</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
</contrib>
<contrib contrib-type="author">
<name><surname>Chen</surname> <given-names>Zuohui</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
</contrib>
<contrib contrib-type="author">
<name><surname>Zhou</surname> <given-names>Guozhi</given-names></name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
</contrib>
<contrib contrib-type="author">
<name><surname>Yao</surname> <given-names>Zhuping</given-names></name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
</contrib>
<contrib contrib-type="author">
<name><surname>Xuan</surname> <given-names>Qi</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name><surname>Cheng</surname> <given-names>Yuan</given-names></name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<xref ref-type="corresp" rid="c001"><sup>&#x0002A;</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/445854/overview"/>
</contrib>
</contrib-group>
<aff id="aff1"><sup>1</sup><institution>Institute of Cyberspace Security, Zhejiang University of Technology</institution>, <addr-line>Hangzhou</addr-line>, <country>China</country></aff>
<aff id="aff2"><sup>2</sup><institution>Institute of Vegetables, Zhejiang Academy of Agricultural Sciences</institution>, <addr-line>Hangzhou</addr-line>, <country>China</country></aff>
<author-notes>
<fn fn-type="edited-by"><p>Edited by: Pei Xu, China Jiliang University, China</p></fn>
<fn fn-type="edited-by"><p>Reviewed by: Ting Sun, China Jiliang University, China; Wen-Feng Nie, Yangzhou University, China</p></fn>
<corresp id="c001">&#x0002A;Correspondence: Yuan Cheng <email>chengyuan1005&#x00040;126.com</email></corresp>
<fn fn-type="other" id="fn001"><p>This article was submitted to Crop and Product Physiology, a section of the journal Frontiers in Plant Science</p></fn></author-notes>
<pub-date pub-type="epub">
<day>02</day>
<month>05</month>
<year>2022</year>
</pub-date>
<pub-date pub-type="collection">
<year>2022</year>
</pub-date>
<volume>13</volume>
<elocation-id>860656</elocation-id>
<history>
<date date-type="received">
<day>23</day>
<month>01</month>
<year>2022</year>
</date>
<date date-type="accepted">
<day>24</day>
<month>03</month>
<year>2022</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x000A9; 2022 Xiang, Chen, Su, Zhang, Chen, Zhou, Yao, Xuan and Cheng.</copyright-statement>
<copyright-year>2022</copyright-year>
<copyright-holder>Xiang, Chen, Su, Zhang, Chen, Zhou, Yao, Xuan and Cheng</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p></license></permissions>
<abstract>
<p>Cherry tomato (<italic>Solanum lycopersicum</italic>) is popular with consumers over the world due to its special flavor. Soluble solids content (SSC) and firmness are two key metrics for evaluating the product qualities. In this work, we develop non-destructive testing techniques for SSC and fruit firmness based on hyperspectral images and the corresponding deep learning regression model. Hyperspectral reflectance images of over 200 tomato fruits are derived with the spectrum ranging from 400 to 1,000 nm. The acquired hyperspectral images are corrected and the spectral information are extracted. A novel one-dimensional (1D) convolutional ResNet (Con1dResNet) based regression model is proposed and compared with the state of art techniques. Experimental results show that, with a relatively large number of samples our technique is 26.4% better than state of art technique for SSC and 33.7% for firmness. The results of this study indicate the application potential of hyperspectral imaging technique in the SSC and firmness detection, which provides a new option for non-destructive testing of cherry tomato fruit quality in the future.</p></abstract>
<kwd-group>
<kwd>hyperspectral imaging</kwd>
<kwd>deep learning</kwd>
<kwd>cherry tomato</kwd>
<kwd>soluble solids content</kwd>
<kwd>firmness</kwd>
<kwd>one-dimensional convolutional neural networks</kwd>
</kwd-group>
<counts>
<fig-count count="7"/>
<table-count count="4"/>
<equation-count count="3"/>
<ref-count count="55"/>
<page-count count="11"/>
<word-count count="6304"/>
</counts>
</article-meta>
</front>
<body>
<sec sec-type="intro" id="s1">
<title>1. Introduction</title>
<p>Tomato is a very popular fruit globally and its annual production reaches 186.82 million tons in 2020 (FAO, <xref ref-type="bibr" rid="B13">2021</xref>). Tomatoes contain rich nutrients such as lycopene, &#x003B2;-carotene and vitamins (Sainju et al., <xref ref-type="bibr" rid="B41">2003</xref>; Gao et al., <xref ref-type="bibr" rid="B16">2020</xref>) etc. To facilitate the tomato production, processing, and marketing, its grade and maturity needs to be evaluated. In general, soluble solids and firmness are two key indicators (Beckles, <xref ref-type="bibr" rid="B4">2012</xref>). SSC can be used to grade tomato quality and the firmness can be used to determine fruit maturity (Peng and Lu, <xref ref-type="bibr" rid="B37">2008</xref>). The existing measuring techniques relying upon chemistry reactions can derive the SSC value accurately. However, the destructive methods can not be applied in high volume measurements. Moreover, there are significant variations so that sampling can be inefficient and inaccurate (Li et al., <xref ref-type="bibr" rid="B29">2013</xref>). Therefore, in this work, we propose a hyperspectral imaging and deep learning based technique to measure tomato SSC and firmness nondestructively, accurately, and in high volume.</p>
<p>Spectroscopy is a widely used nondestructive testing method for fruit inspection. It includes various imaging techniques including visible, near infrared, terahertz spectroscopy, raman spectroscopy, and hyperspectral imaging etc. Visible and near infrared spectroscopy are rapid, convenient, and low cost. However, they are contrained by limited spectral band (Yin et al., <xref ref-type="bibr" rid="B51">2019</xref>). Terahertz (THz) radiation has microwave and infrared properties and is able to penetrate and interact with many common materials, its equipments are very expensive (Afsah-Hejri et al., <xref ref-type="bibr" rid="B3">2019</xref>). Raman spectroscopy is easy to operate, quick to measure, and contains rich information. However, its performance is inferior in terms of stability and sensitivity (Weng et al., <xref ref-type="bibr" rid="B47">2019</xref>). Hyperspectral imaging technology can simultaneously detect the two-dimensional spatial information and 1D spectral information, therefore combine image and spectral characteristics (Ad&#x000E3;o et al., <xref ref-type="bibr" rid="B2">2017</xref>). It can derive the overall spatial spectral information of cherry tomato and thus, is selected as the imaging method.</p>
<p>Hyperspectral imaging has been widely used for non-destructive testing in various fields, such as detection of plant disease stress (Lowe et al., <xref ref-type="bibr" rid="B32">2017</xref>), industrial food packaging (Medus et al., <xref ref-type="bibr" rid="B35">2021</xref>), medical image classification (Jeyaraj and Nadar, <xref ref-type="bibr" rid="B23">2019</xref>), and horticultural products (Huang et al., <xref ref-type="bibr" rid="B21">2017</xref>). Hyperspectral images are also effective for quality analysis of fruits. Rahman et al. (<xref ref-type="bibr" rid="B39">2017</xref>) use hyperspectral imaging to estimate metrics such as water content and PH readings. Zhou et al. (<xref ref-type="bibr" rid="B54">2020</xref>) use it to classify the maize seeds. Fan et al. (<xref ref-type="bibr" rid="B12">2015</xref>) use it to predict SSC and firmness in pears. They combine the competitive adaptive reweighted sampling and successive projection algorithm to select the variables as in partial least squares regression (PLSR). Rahman et al. (<xref ref-type="bibr" rid="B40">2018</xref>) fit sweetness and firmness of tomato. Lu et al. (<xref ref-type="bibr" rid="B34">2017</xref>) gives a review of the application of recent hyperspectral techniques. Therefore, hyperspectral imaging techniques can effectively measure or classify fruit and vegetable products.</p>
<p>The existing spectral analysis techniques typically require a regression model to fit the spectral data (Jiang and Chen, <xref ref-type="bibr" rid="B25">2015</xref>), which have been widely used in areas such as food, petrochemical, and pharmaceutical fields (Chen et al., <xref ref-type="bibr" rid="B7">2018</xref>). In general, various machine learning based algorithms are employed to build classification and regression models for hyperspectral images. Li et al. (<xref ref-type="bibr" rid="B30">2016</xref>) use PLSR to build a hyperspectral regression model to predict the water status of grapevines. Guo C. et al. (<xref ref-type="bibr" rid="B17">2016</xref>) develop an SVM model to assess the maturity of strawberries. Abdulridha et al. (<xref ref-type="bibr" rid="B1">2019</xref>) combine hyperspectral imaging and KNN algorithm to differentiate ulcer-infected fruits. Ji et al. (<xref ref-type="bibr" rid="B24">2019</xref>) use the AdaBoost algorithm to recognize the rate of potato damage. The machine learning algorithms typically perform a filtering process on the spectral bands.</p>
<p>Deep learning models, e.g., convolutional neural network (CNN), can learn features automatically from a large amount of data (Guo Y. et al., <xref ref-type="bibr" rid="B18">2016</xref>). It is widely used in medics (Esteva et al., <xref ref-type="bibr" rid="B11">2019</xref>), industry (Hossain et al., <xref ref-type="bibr" rid="B20">2018</xref>), agriculture (Kamilaris and Prenafeta-Bold&#x000FA;, <xref ref-type="bibr" rid="B26">2018</xref>), object detection (Zou et al., <xref ref-type="bibr" rid="B55">2019</xref>), and signal processing (Yu and Deng, <xref ref-type="bibr" rid="B52">2010</xref>) etc. This technique is also used in building hyperspectral correction models for classification and prediction. Paoletti et al. (<xref ref-type="bibr" rid="B36">2019</xref>) summarize the application of deep learning for hyperspectral image classification and conclude that CNN based models are generally more effective due to their capacity to extract highly discriminatory features and leverage the spatial and spectral information. Qiu et al. (<xref ref-type="bibr" rid="B38">2018</xref>) demonstrate that CNN outperforms other machine learning methods for rice variety identification application. Kong et al. (<xref ref-type="bibr" rid="B28">2014</xref>) track activity of peroxidase in tomato hyperspectral images using genetic algorithm and extreme learning machine. Rahman et al. (<xref ref-type="bibr" rid="B40">2018</xref>) develop a regression model in 1,000&#x02013;1,550 nm hyperspectral images using PLSR method to estimate sweetness and firmness with <italic>R</italic><sup>2</sup> of 0.672 and 0.548, respectively.</p>
<p>In this work, we propose a deep learning and hyperspectral imaging based technique to estimate the metrics inside cherry tomato. Specifically, we have made the following contributions.</p>
<list list-type="order">
<list-item><p>We demonstrate the effectiveness of deep learning based techniques and propose such a model to estimate fruit SSC and firmness.</p></list-item>
<list-item><p>We explore the tradeoff between sample number and model accuracy.</p></list-item>
<list-item><p>We collect real-world field data and evaluate the performance of our technique.</p></list-item>
</list>
<p>The experimental results show that our technique is 26.4% better than the state of art technique in SSC estimation and 33.4% in firmness estimation.</p>
</sec>
<sec sec-type="materials and methods" id="s2">
<title>2. Materials and Methods</title>
<p>In this section, we describe the sample preparation, hyperspectral image acquisition and calibration, and the ground truth measurements for SSC and firmness methods. Specifically, we develop Con1dResNet, a deep learning and hyperspectral image based SSC and firmness estimation technique. Meanwhile, four comparing baseline techniques are also introduced.</p>
<sec>
<title>2.1. Sample Preparation</title>
<p>The sample plant is a local mainstream cherry tomato (cultivar: Zheyingfen-1), which is dominating in the local market more with 70% share. The seeds first grow in the lab with tight environment control for one month. Then the seedlings are transplanted to the greenhouse of the Zhejiang academy of agricultural sciences, Hangzhou, China (east longitude 120&#x000B0;2&#x00027;, north latitude 30&#x000B0;27&#x00027;) on April 2nd (early spring), 2021. Field management is implemented following the standard commercial procedures. Cherry tomato fruits are harvested in June 2021. Two-hundred fully mature fruits are collected from 50 different plants for hyperspectral image acquisition. Firmness and soluble solids content of each fruit is measured using portable firmness tester and hand-held refractometer after image acquisition, respectively. The fruits of &#x0201C;Zheyingfen-1&#x0201D; were ideal for our study due to its highly soluble solid content limit, which would help extending the modeling range in this study.</p>
<sec>
<title>2.1.1. Hyperspectral Image Acquisition</title>
<p>A hyperspectral imaging system is used to derive the clear and unblurred hyperspectral images as shown in <xref ref-type="fig" rid="F1">Figure 1</xref>. We use a push-broom hyperspectral camera (PIKA XC, Resonon Inc., Bozeman, MT, USA) mounted 20 cm above the tomato samples. The hyperspectral images are acquired with the spatial resolution of 50 pixels per <italic>mm</italic><sup>2</sup> under artificial lighting (four 15 W 12 V light bulbs with two on either side of the lens). The main specifications of the hyperspectral camera were: interface, Firewire (IEEE 1394b), digital output (14 bit), and angular field of view of 7&#x000B0;. The objective lens had a 17 mm focal length (maximum aperture of F1.4), optimized for the hyperspectral. We acquire reflectance data in 462 spectral bands from 386 to 1,004 nm with a spectral resolution of 1.3 nm. Due to the convex surface of the samples, the uneven reflection creates a highlighted region near the vertical axial as shown in <xref ref-type="fig" rid="F2">Figure 2A</xref>. Thus, we use ENVI5.3 (ITT, Visual Information Solutions, Boulder, CO, USA) (Su et al., <xref ref-type="bibr" rid="B42">2021</xref>) to avoid the highlight region and extract the reflection value for each band from the region of interest (Xue, <xref ref-type="bibr" rid="B49">2010</xref>; Fu et al., <xref ref-type="bibr" rid="B15">2021</xref>; <xref ref-type="fig" rid="F2">Figure 2B</xref>). The processed cherry tomato samples and the corresponding hyperspectral images are divided into training set, validation set, and test set with ratio of 7:1:2, respectively. We use varying dataset size, with a small set if 50 samples and a large set of 200 samples.</p>
<fig id="F1" position="float">
<label>Figure 1</label>
<caption><p>Schematic of the hyperspectral imaging system for acquiring spectral scattering images from cherry tomatoes.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-13-860656-g0001.tif"/>
</fig>
<fig id="F2" position="float">
<label>Figure 2</label>
<caption><p><bold>(A)</bold> ENVI original hyperspectral image. <bold>(B)</bold> Area map of ROI acquired by ENVI.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-13-860656-g0002.tif"/>
</fig>
</sec>
<sec>
<title>2.1.2. Hyperspectral Image Calibration</title>
<p>In reflectance calibration, the acquired hyperspectral image needs to be calibrated for the background spectral response of the instrument and the thermal dark current of the camera. The spectral data collected from the CCD device contains only the detector signal intensity value (Elmasry et al., <xref ref-type="bibr" rid="B10">2012</xref>). Therefore, it is required to convert the raw data to reflectance or absorptivity values by comparing to the spectra of standard reference substances (Burger and Geladi, <xref ref-type="bibr" rid="B5">2005</xref>) as shown in <xref ref-type="fig" rid="F3">Figure 3</xref>. The reflectance can be derived using the following equation.</p>
<disp-formula id="E1"><mml:math id="M1"><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>c</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>o</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>a</mml:mi><mml:mi>r</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>w</mml:mi><mml:mi>h</mml:mi><mml:mi>i</mml:mi><mml:mi>t</mml:mi><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>a</mml:mi><mml:mi>r</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mo>,</mml:mo></mml:math></disp-formula>
<p>where <italic>R</italic><sub><italic>c</italic></sub> is the corrected hyperspectral reflectance, <italic>R</italic><sub><italic>ori</italic></sub> is the original reflection value extracted from ENVI5.3, <italic>R</italic><sub><italic>dark</italic></sub> is the dark environment hyperspectral image reflection value, which is acquired using an opaque lens cap covering the hyperspectral lens, and <italic>R</italic><sub><italic>white</italic></sub> is the reflection value of a piece of white Teflon (100% reflectance, K-Mac Plastics, MI, USA).</p>
<fig id="F3" position="float">
<label>Figure 3</label>
<caption><p>Schematic diagram of the structure and data of the corrected hyperspectral image: spatial axis x, y, and wavebands.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-13-860656-g0003.tif"/>
</fig>
</sec>
<sec>
<title>2.1.3. Baseline Measurement</title>
<p>The baseline firmness and SSC of cherry tomatoes are measured in the lab. For the firmness measurement, the cherry tomatoes are fixed on a portable firmness measurement equipment (GY-4, Zhejiang Top Cloud-Agri Technology Co., Ltd, China). The equipment is zero-calibrated. Starting from the contact of the probe with the cherry tomato surface, the 10 mm downward pressure is considered as the firmness value.</p>
<p>SSC measurements follow the firmness measurements. Cherry tomatoes are cut along the vertical axis and wrapped using a gauze. Then they are squeezed manually to force out the solution. About one milliliter tomato solution is placed on the prism of a portable digital refractometer (PAL-1, ATAGO CHINA Guangzhou Co., Ltd, China) to derive the baseline SSC readings. Each cherry tomato sample solution is measured for three times and the results are averaged to reduce the effect of random environment events.</p>
</sec>
</sec>
<sec>
<title>2.2. Hyperspectral Pre-processing</title>
<sec>
<title>2.2.1. Multiple Scattering Correction</title>
<p>Multiple scattering correction (MSC) is a commonly used algorithm for hyperspectral data pre-processing (Zhang et al., <xref ref-type="bibr" rid="B53">2012</xref>). MSC can effectively eliminate the spectral differences due to varying scattering levels, thus enhance the correlation between the spectrum and the data. This method can correct the baseline shifting and skewing using ideal spectra. The specific implementation is as follows:</p>
<list list-type="order">
<list-item><p>assign the average of all hyperspectral data as &#x0201C;ideal spectrum;&#x0201D;</p></list-item>
<list-item><p>use one-dimensional linear regression and least square method to derive the baseline shifting and skewing values for each sample;</p></list-item>
<list-item><p>subtract the baseline shifting value and the divide the result using the skewing value to generate the corrected spectrum.</p></list-item>
</list>
</sec>
<sec>
<title>2.2.2. Spectral Differential Techniques</title>
<p>The spectral differentiation technique involves mathematical simulation of the reflectance spectrum and calculation of differential values of different orders to determine the spectral bending point and the wavelength for the maximum and minimum reflectance. The data processed using second-order differentiation can reflect the spectrum variation caused by the absorption of biochemical elements such as plant chlorophyll, water, and nitrogen (Liu, <xref ref-type="bibr" rid="B31">2020</xref>).</p>
</sec>
</sec>
<sec>
<title>2.3. Image Processing Models</title>
<sec>
<title>2.3.1. Deep Learning Model</title>
<p>Deep learning models are widely used in medical image processings (Kiranyaz et al., <xref ref-type="bibr" rid="B27">2015</xref>). However, in this work, it is required to build appropriate regression models. In general, we propose the Con1dResNet model to estimate the tomato SSC and firmness.</p>
<p>ResNet (He et al., <xref ref-type="bibr" rid="B19">2016</xref>), a popular model for image classification, can solve the degradation problem of deep networks. Thus, ResNet34 is implemented as the baseline network structure, and the original convolutional layer is reconstructed to be one-dimensional, accordingly. We use the Adam optimizer and mean squared error loss function. We change the number of categories output by the last fully connected layer to one so that the network directly outputs the estimated values of SSC and firmness.</p>
<p>The specific network structure is shown in <xref ref-type="fig" rid="F4">Figure 4</xref>. In the figure, the input is the reflectance values of the processed 462 spectral bands. There are five main blocks. The first block consists of a 1D convolution layer and a maximum pool layer, and then continues through a dropout layer with parameter 0.5. The second blockX contains three residuals module. The third blockX contains one downsampled module and three residuals module. The fourth blockX goes through one downsampled module and five residuals module before a dropout layer with parameter 0.5, and then continues through three residuals module. The fifth block consists of a mean pool layer and linear output layer. The number of convolution filters doubles as the block goes deeper (starting with 32 and ending with 128). All convolutional layers have a kernel size of 3 and a step size of 3. By connecting the convolutional layers together, deeper layers can be connected to a larger portion of the original input. Thus, different layers see the original input and learning ability at different levels. The last deeper layer outputs the SSC estimation, which converge to the ground truth value under the approximation of the MSE loss function.</p>
<fig id="F4" position="float">
<label>Figure 4</label>
<caption><p>Con1dResNet network structure schematic.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-13-860656-g0004.tif"/>
</fig>
</sec>
<sec>
<title>2.3.2. Machine Learning Models</title>
<p>In this work, we select four widely-used machine learning models as references to our deep learning based technique.As described in <xref ref-type="table" rid="T1">Table 1</xref>, they are Support Vactor Regression (SVR) (Castro-Neto et al., <xref ref-type="bibr" rid="B6">2009</xref>), K-Nearest Neighbors Regression (KNNR) (Yao and Ruzzo, <xref ref-type="bibr" rid="B50">2006</xref>), Adaptive Boosting Regression (AdaBoostR) (Freund et al., <xref ref-type="bibr" rid="B14">1999</xref>), and Partial Least Squares Regression(PLSR) (Wold et al., <xref ref-type="bibr" rid="B48">2001</xref>).</p>
<table-wrap position="float" id="T1">
<label>Table 1</label>
<caption><p>Advantages, disadvantages, and applications of machine learning models in hyperspectrum.</p></caption>
<table frame="hsides" rules="groups">
<thead><tr>
<th valign="top" align="left"><bold>Machine learning models</bold></th>
<th valign="top" align="left"><bold>Advantages</bold></th>
<th valign="top" align="left"><bold>Disadvantages</bold></th>
<th valign="top" align="left"><bold>Quality parameters</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">SVR</td>
<td valign="top" align="left">Fast data fitting</td>
<td valign="top" align="left">Prone to overfitting phenomenon</td>
<td valign="top" align="left">Rice moisture (Sun et al., <xref ref-type="bibr" rid="B43">2017</xref>)</td>
</tr>
<tr>
<td valign="top" align="left">KNNR</td>
<td valign="top" align="left">Low training time complexity</td>
<td valign="top" align="left">Computationally intensive</td>
<td valign="top" align="left">biomass (Tian et al., <xref ref-type="bibr" rid="B44">2021</xref>)</td>
</tr>
<tr>
<td valign="top" align="left">Adaboost</td>
<td valign="top" align="left">Weak learners can be constantly updated</td>
<td valign="top" align="left">Vulnerable to noise interference</td>
<td valign="top" align="left">Soil organic matter (Wei et al., <xref ref-type="bibr" rid="B46">2020</xref>)</td>
</tr>
<tr>
<td valign="top" align="left">PLSR</td>
<td valign="top" align="left">Suitable for data with multiple features</td>
<td valign="top" align="left">Not suitable for data with few features</td>
<td valign="top" align="left">SSC (Li et al., <xref ref-type="bibr" rid="B30">2016</xref>)</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec>
<title>2.3.3. Experimental Setup</title>
<p>The algorithms are trained and run on a platform with an I7-8750H CPU and a 1,060 GPU. They are programmed using python and tensorflow etc. The datasets are divided as described in <xref ref-type="table" rid="T2">Table 2</xref>. The processed spectral data are used in the machine learning models while the raw spectral data are used in the Con1dResNet network. Since our deep learning model Con1dResNet can extract low to high dimensional features automatically, we use the original spectral data instead. We set Relu as the activation function, Adam as the optimizer, MSE as the loss function, the number of iterations to 50, and the batch size t o 16. After 50 iterations of training, the loss decreases from 72.86 at the beginning to 0.01, indicating a convergence for the algorithm.</p>
<table-wrap position="float" id="T2">
<label>Table 2</label>
<caption><p>Cherry tomato SSC and firmness dataset partitioning.</p></caption>
<table frame="hsides" rules="groups">
<thead><tr>
<th valign="top" align="left"><bold>Sample size</bold></th>
<th valign="top" align="left"><bold>Dataset</bold></th>
<th valign="top" align="center" colspan="4" style="border-bottom: thin solid #000000;"><bold>SSC (&#x000B0;Brix)</bold></th>
<th valign="top" align="center" colspan="4" style="border-bottom: thin solid #000000;"><bold>Firmness (</bold><italic><bold>N</bold></italic><bold>/cm</bold><sup><bold><bold>2</bold></bold></sup><bold>)</bold></th>
</tr>
<tr>
<th/>
<th/>
<th valign="top" align="center"><bold>Max</bold></th>
<th valign="top" align="center"><bold>Min</bold></th>
<th valign="top" align="center"><bold>Mean</bold></th>
<th valign="top" align="center"><bold>STD</bold></th>
<th valign="top" align="center"><bold>Max</bold></th>
<th valign="top" align="center"><bold>Min</bold></th>
<th valign="top" align="center"><bold>Mean</bold></th>
<th valign="top" align="center"><bold>STD</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Small</td>
<td valign="top" align="left">Total (50)</td>
<td valign="top" align="center">10.800</td>
<td valign="top" align="center">8.000</td>
<td valign="top" align="center">9.114</td>
<td valign="top" align="center">0.726</td>
<td valign="top" align="center">12.642</td>
<td valign="top" align="center">5.978</td>
<td valign="top" align="center">9.038</td>
<td valign="top" align="center">1.351</td>
</tr>
<tr>
<td/>
<td valign="top" align="left">Train set (35)</td>
<td valign="top" align="center">10.800</td>
<td valign="top" align="center">8.000</td>
<td valign="top" align="center">9.129</td>
<td valign="top" align="center">0.760</td>
<td valign="top" align="center">12.642</td>
<td valign="top" align="center">5.978</td>
<td valign="top" align="center">8.747</td>
<td valign="top" align="center">1.324</td>
</tr>
<tr>
<td/>
<td valign="top" align="left">Val set (5)</td>
<td valign="top" align="center">10.400</td>
<td valign="top" align="center">8.700</td>
<td valign="top" align="center">9.320</td>
<td valign="top" align="center">0.779</td>
<td valign="top" align="center">9.800</td>
<td valign="top" align="center">8.624</td>
<td valign="top" align="center">9.153</td>
<td valign="top" align="center">0.488</td>
</tr>
<tr>
<td/>
<td valign="top" align="left">Test set (10)</td>
<td valign="top" align="center">9.200</td>
<td valign="top" align="center">7.900</td>
<td valign="top" align="center">8.600</td>
<td valign="top" align="center">0.380</td>
<td valign="top" align="center">12.054</td>
<td valign="top" align="center">8.134</td>
<td valign="top" align="center">9.996</td>
<td valign="top" align="center">1.359</td>
</tr>
<tr>
<td valign="top" align="left">Large</td>
<td valign="top" align="left">Total(200)</td>
<td valign="top" align="center">11.100</td>
<td valign="top" align="center">7.200</td>
<td valign="top" align="center">8.719</td>
<td valign="top" align="center">0.662</td>
<td valign="top" align="center">12.936</td>
<td valign="top" align="center">5.978</td>
<td valign="top" align="center">8.853</td>
<td valign="top" align="center">1.229</td>
</tr>
<tr>
<td/>
<td valign="top" align="left">Train set (140)</td>
<td valign="top" align="center">11.100</td>
<td valign="top" align="center">7.200</td>
<td valign="top" align="center">8.790</td>
<td valign="top" align="center">0.726</td>
<td valign="top" align="center">12.936</td>
<td valign="top" align="center">5.978</td>
<td valign="top" align="center">9.140</td>
<td valign="top" align="center">1.266</td>
</tr>
<tr>
<td/>
<td valign="top" align="left">Val set (20)</td>
<td valign="top" align="center">9.200</td>
<td valign="top" align="center">7.800</td>
<td valign="top" align="center">8.500</td>
<td valign="top" align="center">0.407</td>
<td valign="top" align="center">9.996</td>
<td valign="top" align="center">7.305</td>
<td valign="top" align="center">8.345</td>
<td valign="top" align="center">0.708</td>
</tr>
<tr>
<td/>
<td valign="top" align="left">Test set (40)</td>
<td valign="top" align="center">9.000</td>
<td valign="top" align="center">7.200</td>
<td valign="top" align="center">8.455</td>
<td valign="top" align="center">0.478</td>
<td valign="top" align="center">10.192</td>
<td valign="top" align="center">7.056</td>
<td valign="top" align="center">8.102</td>
<td valign="top" align="center">0.858</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
</sec>
</sec>
<sec sec-type="results" id="s3">
<title>3. Results</title>
<p>In this section, we evaluate our techniques in SSC and firmness estimation.</p>
<sec>
<title>3.1. Hyperspectral Waveform Characteristics</title>
<p><xref ref-type="fig" rid="F5">Figure 5A</xref> shows the reflectance spectra of 200 cherry tomato samples at 386&#x02013;1,004 nm. The spectral trends are similar for each sample since the reflection substances are the same. The cherry tomatoes have a strong absorption band at 400&#x02013;550 nm due to the presence of carotenoids in ripe tomatoes (Ecarnot et al., <xref ref-type="bibr" rid="B9">2013</xref>). The reflectance data are then processed using MSC. As shown in <xref ref-type="fig" rid="F5">Figure 5B</xref>, it can effectively reduce the noise and hence, smooth the curve. Finally, we use second order differentiation method (Ichige et al., <xref ref-type="bibr" rid="B22">2006</xref>) to process the smoothed reflectance data and discover clear peaks at locations of 580&#x02013;590, 680&#x02013;690, and 970&#x02013;980 nm, as shown in <xref ref-type="fig" rid="F5">Figure 5C</xref>. The three peaks are likely to be attributed to the combined effect of the second overtone of OH key, water, and tomato surface color (Li et al., <xref ref-type="bibr" rid="B29">2013</xref>; Qiu et al., <xref ref-type="bibr" rid="B38">2018</xref>). Therefore, by proper processing, the variations in the spectral curves can reveal certain hidden information, such as SSC and water.</p>
<fig id="F5" position="float">
<label>Figure 5</label>
<caption><p><bold>(A)</bold> Corrected spectral reflectance map. <bold>(B)</bold> MSC preprocessing. <bold>(C)</bold> Second-order differential preprocessing.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-13-860656-g0005.tif"/>
</fig>
</sec>
<sec>
<title>3.2. Analysis</title>
<p><xref ref-type="table" rid="T2">Table 2</xref> summarizes the distribution characteristics of SSC and firmness in different stages. The SSC and firmness measurements for the 50 and 200 samples are close to normally distributed around the mean values of 9.11&#x000B0; Brix, 9.04 N/cm<sup>2</sup> and 8.72&#x000B0; Brix, 8.85 N/cm<sup>2</sup>, standard deviations (SD) of 0.76, 1.35 and 0.66, 1.23, respectively.</p>
</sec>
<sec>
<title>3.3. SSC Estimation Result</title>
<p>Four machine learning models are implemented and compared with our proposed Con1dResNet network. We use <italic>R</italic><sup>2</sup> and MSE as the evaluation metrics. They are calculated using the following equations.</p>
<disp-formula id="E2"><mml:math id="M2"><mml:mrow><mml:msup><mml:mi>R</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:mfrac><mml:mrow><mml:mstyle displaystyle='true'><mml:msub><mml:mo>&#x02211;</mml:mo><mml:mi>i</mml:mi></mml:msub><mml:mrow><mml:msup><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mover accent='true'><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow><mml:mo stretchy='true'>&#x0005E;</mml:mo></mml:mover><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:mstyle></mml:mrow><mml:mrow><mml:mstyle displaystyle='true'><mml:msub><mml:mo>&#x02211;</mml:mo><mml:mi>i</mml:mi></mml:msub><mml:mrow><mml:msup><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mover accent='true'><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow><mml:mo stretchy='true'>&#x000AF;</mml:mo></mml:mover><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:mstyle></mml:mrow></mml:mfrac></mml:mrow></mml:math></disp-formula>
<disp-formula id="E3"><mml:math id="M3"><mml:mi>M</mml:mi><mml:mi>S</mml:mi><mml:mi>E</mml:mi><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:mfrac><mml:mstyle displaystyle="true"><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:munderover></mml:mstyle><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:mover accent="false"><mml:mrow><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:math></disp-formula>
<p>where <inline-formula><mml:math id="M4"><mml:mover accent="false"><mml:mrow><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:math></inline-formula> is the estimated value, <italic>y</italic><sub><italic>i</italic></sub> is the ground true value, and <inline-formula><mml:math id="M5"><mml:mover accent="false" class="mml-overline"><mml:mrow><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo accent="true">&#x000AF;</mml:mo></mml:mover></mml:math></inline-formula> is the ground true mean value. The optimal <italic>R</italic><sup>2</sup> and MSE values are 1 and 0, respectively.</p>
<p>The experimental results are shown in <xref ref-type="fig" rid="F6">Figure 6</xref> and <xref ref-type="table" rid="T3">Table 3</xref>. In general, the second-order differential processing outperforms MSC. However, since the SVR and KNNR models lack the ability of data dimensionality reduction, the noise caused by unwanted reflectance cannot be removed. When the data size increases, the amount of interference also rises. Thus, the <italic>R</italic><sup>2</sup> value decreases as the data size increases. As expected, they have the worst performance with <italic>R</italic><sup>2</sup> &#x0003C; 0.4. For AdaBoostR, PLSR, and Con1dResNet models, <italic>R</italic><sup>2</sup> values increase with increasing datasets size. For a relatively smaller data size, the PLSR model achieves the best performance, with <italic>R</italic><sup>2</sup> of 0.577 and MSE of 0.055. As the data size increases, the performance of the Con1dResNet model is improved significantly, with <italic>R</italic><sup>2</sup> increasing from 0.498 to 0.901 (26.4% better than the second best) and MSE decreasing from 0.065 to 0.018.</p>
<fig id="F6" position="float">
<label>Figure 6</label>
<caption><p>SSC estimation results for each model. <bold>(A)</bold> SVR estimation results on small sample data. <bold>(B)</bold> SVR estimation results on large sample data. <bold>(C)</bold> KNNR estimation results on small sample data. <bold>(D)</bold> KNNR estimation results on large sample data. <bold>(E)</bold> AdaBoostR estimation results on small sample data. <bold>(F)</bold> AdaBoostR estimation results on large sample data. <bold>(G)</bold> PLSR estimation results on small sample data. <bold>(H)</bold> PLSR estimation results on large sample data. <bold>(I)</bold> Con1dResNet estimation results on small sample data. <bold>(J)</bold> Con1dResNet estimation results on large sample data.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-13-860656-g0006.tif"/>
</fig>
<table-wrap position="float" id="T3">
<label>Table 3</label>
<caption><p><italic>R</italic><sup>2</sup> and MSE of estimated SSC for each model.</p></caption>
<table frame="hsides" rules="groups">
<thead><tr>
<th valign="top" align="left"><bold>Sample size</bold></th>
<th valign="top" align="center"><bold>Model</bold></th>
<th valign="top" align="center"><bold>Preprocessed</bold></th>
<th valign="top" align="center" colspan="2" style="border-bottom: thin solid #000000;"><bold>Second-order differential</bold></th>
<th valign="top" align="center" colspan="2" style="border-bottom: thin solid #000000;"><bold>MSC</bold></th>
</tr>
<tr>
<th/>
<th/>
<th/>
<th valign="top" align="center"><bold><italic>R</italic><sup>2</sup></bold></th>
<th valign="top" align="center"><bold>MSE</bold></th>
<th valign="top" align="center"><bold><italic>R</italic><sup>2</sup></bold></th>
<th valign="top" align="center"><bold>MSE</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Small (50)</td>
<td valign="top" align="center">SVR</td>
<td valign="top" align="center">&#x02713;</td>
<td valign="top" align="center">0.104</td>
<td valign="top" align="center">0.116</td>
<td valign="top" align="center">0.089</td>
<td valign="top" align="center">0.123</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">KNNR</td>
<td valign="top" align="center">&#x02713;</td>
<td valign="top" align="center">0.362</td>
<td valign="top" align="center">0.083</td>
<td valign="top" align="center">0.289</td>
<td valign="top" align="center">0.096</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">AdaBoost</td>
<td valign="top" align="center">&#x02713;</td>
<td valign="top" align="center">0.536</td>
<td valign="top" align="center">0.060</td>
<td valign="top" align="center">0.502</td>
<td valign="top" align="center">0.068</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">PLSR</td>
<td valign="top" align="center">&#x02713;</td>
<td valign="top" align="center">0.557</td>
<td valign="top" align="center">0.055</td>
<td valign="top" align="center">0.528</td>
<td valign="top" align="center">0.062</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">Con1dResNet</td>
<td valign="top" align="center">&#x02717;</td>
<td valign="top" align="center"><italic>R</italic><sup>2</sup></td>
<td valign="top" align="center">0.498</td>
<td valign="top" align="center">MSE</td>
<td valign="top" align="center">0.065</td>
</tr>
<tr>
<td valign="top" align="left">Large (200)</td>
<td valign="top" align="center">SVR</td>
<td valign="top" align="center">&#x02713;</td>
<td valign="top" align="center">0.078</td>
<td valign="top" align="center">0.205</td>
<td valign="top" align="center">0.075</td>
<td valign="top" align="center">0.207</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">KNNR</td>
<td valign="top" align="center">&#x02713;</td>
<td valign="top" align="center">0.337</td>
<td valign="top" align="center">0.147</td>
<td valign="top" align="center">0.316</td>
<td valign="top" align="center">0.152</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">AdaBoost</td>
<td valign="top" align="center">&#x02713;</td>
<td valign="top" align="center">0.609</td>
<td valign="top" align="center">0.089</td>
<td valign="top" align="center">0.581</td>
<td valign="top" align="center">0.096</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">PLSR</td>
<td valign="top" align="center">&#x02713;</td>
<td valign="top" align="center">0.713</td>
<td valign="top" align="center">0.064</td>
<td valign="top" align="center">0.710</td>
<td valign="top" align="center">0.067</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">Con1dResNet</td>
<td valign="top" align="center">&#x02717;</td>
<td valign="top" align="center"><italic>R</italic><sup>2</sup></td>
<td valign="top" align="center">0.901</td>
<td valign="top" align="center">MSE</td>
<td valign="top" align="center">0.018</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec>
<title>3.4. Firmness Estimation Result</title>
<p>The same experimental setup is employed for firmness detection. As shown in <xref ref-type="fig" rid="F7">Figure 7</xref> and <xref ref-type="table" rid="T4">Table 4</xref>, when MSC is employed for AdaBoost and PLSR, their <italic>R</italic><sup>2</sup> values can be significantly improved (Wang et al., <xref ref-type="bibr" rid="B45">2014</xref>). Therefore, we choose MSC as the preprocessing method for AdaBoost and PLSR, and second-order difference as the preprocessing method for SVR and KNNR. Although the method developed in this study has some advantages in data feature extraction compared with other methods, <italic>R</italic><sup>2</sup> is still only 0.53, which does not achieve the accurate estimation standard. The <italic>R</italic><sup>2</sup> of SVR and KNNR models is negative, which indicates the estimation accuracy is lower than the mean value.</p>
<fig id="F7" position="float">
<label>Figure 7</label>
<caption><p>Estimation results of firmness for each model on a large sample dataset. <bold>(A)</bold> SVR estimation results on large sample data. <bold>(B)</bold> KNNR estimation results on large sample data. <bold>(C)</bold> AdaBoostR estimation results on large sample data. <bold>(D)</bold> PLSR estimation results on large sample data. <bold>(E)</bold> Con1dResNet estimation results on large sample data.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-13-860656-g0007.tif"/>
</fig>
<table-wrap position="float" id="T4">
<label>Table 4</label>
<caption><p><italic>R</italic><sup>2</sup> and MSE of estimated SSC for each model with all sample.</p></caption>
<table frame="hsides" rules="groups">
<thead><tr>
<th valign="top" align="left"><bold>Model</bold></th>
<th valign="top" align="center"><bold>Preprocessed</bold></th>
<th valign="top" align="center" colspan="2" style="border-bottom: thin solid #000000;"><bold>Second-order differential</bold></th>
<th valign="top" align="center" colspan="2" style="border-bottom: thin solid #000000;"><bold>MSC</bold></th>
</tr>
<tr>
<th/>
<th/>
<th valign="top" align="center"><bold><italic>R</italic><sup>2</sup></bold></th>
<th valign="top" align="center"><bold>MSE</bold></th>
<th valign="top" align="center"><bold><italic>R</italic><sup>2</sup></bold></th>
<th valign="top" align="center"><bold>MSE</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">SVR</td>
<td valign="top" align="center">&#x02713;</td>
<td valign="top" align="center">&#x02212;0.037</td>
<td valign="top" align="center">1.108</td>
<td valign="top" align="center">&#x02212;0.054</td>
<td valign="top" align="center">1.116</td>
</tr>
<tr>
<td valign="top" align="left">KNNR</td>
<td valign="top" align="center">&#x02713;</td>
<td valign="top" align="center">&#x02212;0.329</td>
<td valign="top" align="center">1.251</td>
<td valign="top" align="center">&#x02212;0.456</td>
<td valign="top" align="center">1.318</td>
</tr>
<tr>
<td valign="top" align="left">AdaBoost</td>
<td valign="top" align="center">&#x02713;</td>
<td valign="top" align="center">0.217</td>
<td valign="top" align="center">0.694</td>
<td valign="top" align="center">0.261</td>
<td valign="top" align="center">0.675</td>
</tr>
<tr>
<td valign="top" align="left">PLSR</td>
<td valign="top" align="center">&#x02713;</td>
<td valign="top" align="center">0.384</td>
<td valign="top" align="center">0.552</td>
<td valign="top" align="center">0.398</td>
<td valign="top" align="center">0.548</td>
</tr>
<tr>
<td valign="top" align="left">Con1dResNet</td>
<td valign="top" align="center">&#x02717;</td>
<td valign="top" align="center"><italic>R</italic><sup>2</sup></td>
<td valign="top" align="center">0.532</td>
<td valign="top" align="center">MSE</td>
<td valign="top" align="center">0.416</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
</sec>
<sec sec-type="discussion" id="s4">
<title>4. Discussion</title>
<p>The tomato flavor is important. SSC, which mainly consists of soluble sugars, can reflect the sweetness of cherry tomato. Hyperspectral imaging has been considered an effective technique for fruit SSC and firmness evaluation (Lu, <xref ref-type="bibr" rid="B33">2004</xref>; Fan et al., <xref ref-type="bibr" rid="B12">2015</xref>). In this work, we discover a great estimation result for SSC estimation, while an inferior result for firmness.</p>
<p>As shown in <xref ref-type="table" rid="T3">Table 3</xref>, our proposed method does not fit as well as PLSR and AdaBoost on small sample datasets. This is because Con1dResNet requires a large amount of data for training. When the amount of data is small, many models, especially for the deep learning based models, tends to become overfitting, which can significantly reduce the performance. However, for the PLSR model, it includes a principal component analysis component, which screen the band contribution first, and then selects 5&#x02013;20 feature bands with relatively large contribution rates for regression. In that case, it can have a relatively good fit for small dataset samples. Moreover, AdaBoost constantly corrects the data with large fitting errors, and thus, achieve self-evolution. Thus, AdaBoost can also derive decent results in small dataset samples.</p>
<p>The extracted spectral (Guo C. et al., <xref ref-type="bibr" rid="B17">2016</xref>) features can derive excellent estimation results for large sample size. The experimental results show that SVR and KNNR does not fit well on both the small and large sample data set. The performance of SVR and KNNR decrease when the data increase since few new &#x0201C;learning material&#x0201D; is generated for these two models when the data increases. In that case, the learning ability of the models can be more easily affected by the interference bands, which demonstrates that these two models are not suitable for SSC estimation.</p>
<p>As the number of sample size increases, our Con1dResNet model gradually outperforms other models due to the improved feature extraction ability of deep learning models (Dara and Tumma, <xref ref-type="bibr" rid="B8">2018</xref>). Our model includes 34 layers of neurons, which can effectively extract rich data features. The residual learning structure can also help increasing the overall performance. Therefore, the accuracy of our method outperforms all the other methods for large-scale data samples. For applications with less samples, it is demonstrated that the accuracy of our technique is still relatively high. Moreover, our model is insensitive to anomalous data. It can be trained using pre-trained models and thus, reducing the training cost. The experimental results demonstrate that Con1dResNet can significantly outperform the existing machine learning based techniques, with <italic>R</italic><sup>2</sup> of 0.901 and MSE of 0.018. We believe that the experimental results of this work are also indicative for other horticultural crops.</p>
<p>For the hyperspectral images based tomato firmness, although it is reported that hyperspectral images can estimate fruit firmness (Lu, <xref ref-type="bibr" rid="B33">2004</xref>; Fan et al., <xref ref-type="bibr" rid="B12">2015</xref>), our experimental results suggest otherwise. Rahman et al. (<xref ref-type="bibr" rid="B40">2018</xref>) use PLSR to estimate tomato firmness using hyperspectral images in the 1,000&#x02013;1,550 nm wavebands, and derive <italic>R</italic><sup>2</sup> value of 0.6724. It is a little higher than our experiment due to the differences in the used hyperspectral wavebands and the experimental environments. Therefore, in future work, for the estimation of firmness, we should explore a wider range of hyperspectral image wavebands, optimize the parameters for the firmness experiments, and improve the overall estimation accuracy.</p>
</sec>
<sec sec-type="conclusions" id="s5">
<title>5. Conclusion</title>
<p>In this work, we propose Con1dResNet, a deep learning based technique, to estimate the SSC and firmness of cherry tomatoes using hyperspectral images. With sufficient sample size, it can achieve better results than traditional machine learning methods. For SSC estimation, its <italic>R</italic><sup>2</sup> value is 0.901, which is 26.4% higher than PLSR, while its MSE is 0.018, which is 0.046 lower than PLSR. For Firmness estimation, its <italic>R</italic><sup>2</sup> value is 0.532, which is still 33.7% better than PLSR. The results indicate that hyperspectral imaging combined with deep learning can significantly improve the cherry tomato SSC and firmness estimation accuracies.</p>
</sec>
<sec sec-type="data-availability" id="s6">
<title>Data Availability Statement</title>
<p>The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.</p>
</sec>
<sec id="s7">
<title>Author Contributions</title>
<p>YX, QC, YC, QX, and ZS performed a conceptual and formal analysis of the study. QC, YX, ZC, and YC wrote the manuscript. YX, YC, QC, LZ, GZ, ZY, and QX designed the experiment. QC, LZ, and ZS wrote the experimental code. YX and QX verified the experimental results. All authors contributed to the article and reviewed the manuscript. All authors contributed to the article and approved the submitted version.</p>
</sec>
<sec sec-type="funding-information" id="s8">
<title>Funding</title>
<p>This research was partially supported by National Key Research and Development Program of China (2018YFD1000800 and 2017YFE0114500), Key Research and Development Program of Zhejiang (2021C02052), National Natural Science Foundation of China (32172555), Zhejiang Provincial Agricultural (Vegetable) New Variety Breeding Project (2021C02065), China Agriculture Research System of MOF and MARA (CARS-23-G44), and State Key Laboratory Breeding Base for the Zhejiang Sustainable Pest and Disease Control (2010DS700124-ZZ1903).</p>
</sec>
<sec sec-type="COI-statement" id="conf1">
<title>Conflict of Interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec sec-type="disclaimer" id="s9">
<title>Publisher&#x00027;s Note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec> 
</body>
<back>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Abdulridha</surname> <given-names>J.</given-names></name> <name><surname>Batuman</surname> <given-names>O.</given-names></name> <name><surname>Ampatzidis</surname> <given-names>Y.</given-names></name></person-group> (<year>2019</year>). <article-title>Uav-based remote sensing technique to detect citrus canker disease utilizing hyperspectral imaging and machine learning</article-title>. <source>Remote Sens</source>. <volume>11</volume>:<fpage>1373</fpage>. <pub-id pub-id-type="doi">10.3390/rs11111373</pub-id></citation>
</ref>
<ref id="B2">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ad ao</surname> <given-names>T.</given-names></name> <name><surname>Hru&#x00161;ka</surname> <given-names>J.</given-names></name> <name><surname>P&#x000E1;dua</surname> <given-names>L.</given-names></name> <name><surname>Bessa</surname> <given-names>J.</given-names></name> <name><surname>Peres</surname> <given-names>E.</given-names></name> <name><surname>Morais</surname> <given-names>R.</given-names></name> <name><surname>Sousa</surname> <given-names>J. J.</given-names></name></person-group> (<year>2017</year>). <article-title>Hyperspectral imaging: a review on UAV-based sensors, data processing and applications for agriculture and forestry</article-title>. <source>Remote Sens</source>. <volume>9</volume>:<fpage>1110</fpage>. <pub-id pub-id-type="doi">10.3390/rs9111110</pub-id></citation>
</ref>
<ref id="B3">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Afsah-Hejri</surname> <given-names>L.</given-names></name> <name><surname>Hajeb</surname> <given-names>P.</given-names></name> <name><surname>Ara</surname> <given-names>P.</given-names></name> <name><surname>Ehsani</surname> <given-names>R. J.</given-names></name></person-group> (<year>2019</year>). <article-title>A comprehensive review on food applications of terahertz spectroscopy and imaging</article-title>. <source>Comprehens. Rev. Food Sci. Food Saf</source>. <volume>18</volume>, <fpage>1563</fpage>&#x02013;<lpage>1621</lpage>. <pub-id pub-id-type="doi">10.1111/1541-4337.12490</pub-id><pub-id pub-id-type="pmid">33336912</pub-id></citation></ref>
<ref id="B4">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Beckles</surname> <given-names>D. M.</given-names></name></person-group> (<year>2012</year>). <article-title>Factors affecting the postharvest soluble solids and sugar content of tomato (<italic>Solanum lycopersicum</italic> L.) fruit</article-title>. <source>Posthar. Biol. Technol</source>. <volume>63</volume>, <fpage>129</fpage>&#x02013;<lpage>140</lpage>. <pub-id pub-id-type="doi">10.1016/j.postharvbio.2011.05.016</pub-id></citation>
</ref>
<ref id="B5">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Burger</surname> <given-names>J.</given-names></name> <name><surname>Geladi</surname> <given-names>P.</given-names></name></person-group> (<year>2005</year>). <article-title>Hyperspectral NIR image regression part i: calibration and correction</article-title>. <source>J. Chemometr</source>. <volume>19</volume>, <fpage>355</fpage>&#x02013;<lpage>363</lpage>. <pub-id pub-id-type="doi">10.1002/cem.938</pub-id></citation>
</ref>
<ref id="B6">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Castro-Neto</surname> <given-names>M.</given-names></name> <name><surname>Jeong</surname> <given-names>Y.-S.</given-names></name> <name><surname>Jeong</surname> <given-names>M.-K.</given-names></name> <name><surname>Han</surname> <given-names>L. D.</given-names></name></person-group> (<year>2009</year>). <article-title>Online-svr for short-term traffic flow prediction under typical and atypical traffic conditions</article-title>. <source>Expert Syst. Appl</source>. <volume>36</volume>, <fpage>6164</fpage>&#x02013;<lpage>6173</lpage>. <pub-id pub-id-type="doi">10.1016/j.eswa.2008.07.069</pub-id></citation>
</ref>
<ref id="B7">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chen</surname> <given-names>Q.</given-names></name> <name><surname>Chen</surname> <given-names>M.</given-names></name> <name><surname>Liu</surname> <given-names>Y.</given-names></name> <name><surname>Wu</surname> <given-names>J.</given-names></name> <name><surname>Wang</surname> <given-names>X.</given-names></name> <name><surname>Ouyang</surname> <given-names>Q.</given-names></name> <etal/></person-group>. (<year>2018</year>). <article-title>Application of ft-nir spectroscopy for simultaneous estimation of taste quality and taste-related compounds content of black tea</article-title>. <source>J. Food Sci. Technol</source>. <volume>55</volume>, <fpage>4363</fpage>&#x02013;<lpage>4368</lpage>. <pub-id pub-id-type="doi">10.1007/s13197-018-3353-1</pub-id><pub-id pub-id-type="pmid">30228436</pub-id></citation></ref>
<ref id="B8">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Dara</surname> <given-names>S.</given-names></name> <name><surname>Tumma</surname> <given-names>P.</given-names></name></person-group> (<year>2018</year>). <article-title>&#x0201C;Feature extraction by using deep learning: a survey,&#x0201D;</article-title> in <source>2018 Second International Conference on Electronics, Communication and Aerospace Technology (ICECA)</source> (<publisher-loc>Shanghai</publisher-loc>), <fpage>1795</fpage>&#x02013;<lpage>1801</lpage>. <pub-id pub-id-type="doi">10.1109/ICECA.2018.8474912</pub-id></citation>
</ref>
<ref id="B9">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ecarnot</surname> <given-names>M.</given-names></name> <name><surname>Ba&#x00327;czyk</surname> <given-names>P.</given-names></name> <name><surname>Tessarotto</surname> <given-names>L.</given-names></name> <name><surname>Chervin</surname> <given-names>C.</given-names></name></person-group> (<year>2013</year>). <article-title>Rapid phenotyping of the tomato fruit model, micro-tom, with a portable VIS-NIR spectrometer</article-title>. <source>Plant Physiol. Biochem</source>. <volume>70</volume>, <fpage>159</fpage>&#x02013;<lpage>163</lpage>. <pub-id pub-id-type="doi">10.1016/j.plaphy.2013.05.019</pub-id><pub-id pub-id-type="pmid">23774377</pub-id></citation></ref>
<ref id="B10">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Elmasry</surname> <given-names>G.</given-names></name> <name><surname>Kamruzzaman</surname> <given-names>M.</given-names></name> <name><surname>Sun</surname> <given-names>D.-W.</given-names></name> <name><surname>Allen</surname> <given-names>P.</given-names></name></person-group> (<year>2012</year>). <article-title>Principles and applications of hyperspectral imaging in quality evaluation of agro-food products: a review</article-title>. <source>Crit. Rev. Food Sci. Nutr</source>. <volume>52</volume>, <fpage>999</fpage>&#x02013;<lpage>1023</lpage>. <pub-id pub-id-type="doi">10.1080/10408398.2010.543495</pub-id><pub-id pub-id-type="pmid">22823348</pub-id></citation></ref>
<ref id="B11">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Esteva</surname> <given-names>A.</given-names></name> <name><surname>Robicquet</surname> <given-names>A.</given-names></name> <name><surname>Ramsundar</surname> <given-names>B.</given-names></name> <name><surname>Kuleshov</surname> <given-names>V.</given-names></name> <name><surname>DePristo</surname> <given-names>M.</given-names></name> <name><surname>Chou</surname> <given-names>K.</given-names></name> <etal/></person-group>. (<year>2019</year>). <article-title>A guide to deep learning in healthcare</article-title>. <source>Nat. Med</source>. <volume>25</volume>, <fpage>24</fpage>&#x02013;<lpage>29</lpage>. <pub-id pub-id-type="doi">10.1038/s41591-018-0316-z</pub-id><pub-id pub-id-type="pmid">30617335</pub-id></citation></ref>
<ref id="B12">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Fan</surname> <given-names>S.</given-names></name> <name><surname>Huang</surname> <given-names>W.</given-names></name> <name><surname>Guo</surname> <given-names>Z.</given-names></name> <name><surname>Zhang</surname> <given-names>B.</given-names></name> <name><surname>Zhao</surname> <given-names>C.</given-names></name></person-group> (<year>2015</year>). <article-title>Prediction of soluble solids content and firmness of pears using hyperspectral reflectance imaging</article-title>. <source>Food Anal. Methods</source> <volume>8</volume>, <fpage>1936</fpage>&#x02013;<lpage>1946</lpage>. <pub-id pub-id-type="doi">10.1007/s12161-014-0079-1</pub-id></citation>
</ref>
<ref id="B13">
<citation citation-type="journal"><person-group person-group-type="author"><collab>FAO</collab></person-group> (<year>2021</year>). <source>Tomato Growth Volume</source>. Available online at: <ext-link ext-link-type="uri" xlink:href="https://www.fao.org/faostat/en/&#x00023;data/QCL/visualize">https://www.fao.org/faostat/en/&#x00023;data/QCL/visualize</ext-link> (accessed December 27, 2021).</citation>
</ref>
<ref id="B14">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Freund</surname> <given-names>Y.</given-names></name> <name><surname>Schapire</surname> <given-names>R.</given-names></name> <name><surname>Abe</surname> <given-names>N.</given-names></name></person-group> (<year>1999</year>). <article-title>A short introduction to boosting</article-title>. <source>J. Jpn. Soc. Artif. Intell</source>. <volume>14</volume>:<fpage>1612</fpage>.</citation>
</ref>
<ref id="B15">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Fu</surname> <given-names>D.</given-names></name> <name><surname>Zhou</surname> <given-names>J.</given-names></name> <name><surname>Scaboo</surname> <given-names>A. M.</given-names></name> <name><surname>Niu</surname> <given-names>X.</given-names></name></person-group> (<year>2021</year>). <article-title>Nondestructive phenotyping fatty acid trait of single soybean seeds using reflective hyperspectral imagery</article-title>. <source>J. Food Process Eng</source>. <volume>2021</volume>:<fpage>e13759</fpage>. <pub-id pub-id-type="doi">10.1111/jfpe.13759</pub-id></citation>
</ref>
<ref id="B16">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gao</surname> <given-names>Y.-F.</given-names></name> <name><surname>Liu</surname> <given-names>J.-K.</given-names></name> <name><surname>Yang</surname> <given-names>F.-M.</given-names></name> <name><surname>Zhang</surname> <given-names>G.-Y.</given-names></name> <name><surname>Wang</surname> <given-names>D.</given-names></name> <name><surname>Zhang</surname> <given-names>L.</given-names></name> <etal/></person-group>. (<year>2020</year>). <article-title>The wrky transcription factor WRKY8 promotes resistance to pathogen infection and mediates drought and salt stress tolerance in <italic>Solanum lycopersicum</italic></article-title>. <source>Physiol. Plant</source>. <volume>168</volume>, <fpage>98</fpage>&#x02013;<lpage>117</lpage>. <pub-id pub-id-type="doi">10.1111/ppl.12978</pub-id><pub-id pub-id-type="pmid">31017672</pub-id></citation></ref>
<ref id="B17">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Guo</surname> <given-names>C.</given-names></name> <name><surname>Liu</surname> <given-names>F.</given-names></name> <name><surname>Kong</surname> <given-names>W.</given-names></name> <name><surname>He</surname> <given-names>Y.</given-names></name> <name><surname>Lou</surname> <given-names>B.</given-names></name> <etal/></person-group>. (<year>2016</year>). <article-title>Hyperspectral imaging analysis for ripeness evaluation of strawberry with support vector machine</article-title>. <source>J. Food Eng</source>. <volume>179</volume>, <fpage>11</fpage>&#x02013;<lpage>18</lpage>. <pub-id pub-id-type="doi">10.1016/j.jfoodeng.2016.01.002</pub-id></citation>
</ref>
<ref id="B18">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Guo</surname> <given-names>Y.</given-names></name> <name><surname>Liu</surname> <given-names>Y.</given-names></name> <name><surname>Oerlemans</surname> <given-names>A.</given-names></name> <name><surname>Lao</surname> <given-names>S.</given-names></name> <name><surname>Wu</surname> <given-names>S.</given-names></name> <name><surname>Lew</surname> <given-names>M. S.</given-names></name></person-group> (<year>2016</year>). <article-title>Deep learning for visual understanding: a review</article-title>. <source>Neurocomputing</source> <volume>187</volume>, <fpage>27</fpage>&#x02013;<lpage>48</lpage>. <pub-id pub-id-type="doi">10.1016/j.neucom.2015.09.116</pub-id></citation>
</ref>
<ref id="B19">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>He</surname> <given-names>K.</given-names></name> <name><surname>Zhang</surname> <given-names>X.</given-names></name> <name><surname>Ren</surname> <given-names>S.</given-names></name> <name><surname>Sun</surname> <given-names>J.</given-names></name></person-group> (<year>2016</year>). <article-title>&#x0201C;Identity mappings in deep residual networks,&#x0201D;</article-title> in <source>European Conference on Computer Vision</source> (<publisher-loc>Amsterdam</publisher-loc>: <publisher-name>Springer</publisher-name>), <fpage>630</fpage>&#x02013;<lpage>645</lpage>. <pub-id pub-id-type="doi">10.1007/978-3-319-46493-0_38</pub-id><pub-id pub-id-type="pmid">30441492</pub-id></citation></ref>
<ref id="B20">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hossain</surname> <given-names>M. S.</given-names></name> <name><surname>Al-Hammadi</surname> <given-names>M.</given-names></name> <name><surname>Muhammad</surname> <given-names>G.</given-names></name></person-group> (<year>2018</year>). <article-title>Automatic fruit classification using deep learning for industrial applications</article-title>. <source>IEEE Trans. Indus. Informatics</source> <volume>15</volume>, <fpage>1027</fpage>&#x02013;<lpage>1034</lpage>. <pub-id pub-id-type="doi">10.1109/TII.2018.2875149</pub-id><pub-id pub-id-type="pmid">35213643</pub-id></citation></ref>
<ref id="B21">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Huang</surname> <given-names>Y.</given-names></name> <name><surname>Lu</surname> <given-names>R.</given-names></name> <name><surname>Chen</surname> <given-names>K.</given-names></name></person-group> (<year>2017</year>). <article-title>Development of a multichannel hyperspectral imaging probe for property and quality assessment of horticultural products</article-title>. <source>Posthar. Biol. Technol</source>. <volume>133</volume>, <fpage>88</fpage>&#x02013;<lpage>97</lpage>. <pub-id pub-id-type="doi">10.1016/j.postharvbio.2017.07.009</pub-id></citation>
</ref>
<ref id="B22">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Ichige</surname> <given-names>K.</given-names></name> <name><surname>Ishikawa</surname> <given-names>Y.</given-names></name> <name><surname>Arai</surname> <given-names>H.</given-names></name></person-group> (<year>2006</year>). <article-title>&#x0201C;Accurate direction-of-arrival estimation using second-order differential of music spectrum,&#x0201D;</article-title> in <source>2006 International Symposium on Intelligent Signal Processing and Communications</source> (<publisher-loc>Tottori</publisher-loc>), <fpage>995</fpage>&#x02013;<lpage>998</lpage>. <pub-id pub-id-type="doi">10.1109/ISPACS.2006.364805</pub-id></citation>
</ref>
<ref id="B23">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Jeyaraj</surname> <given-names>P. R.</given-names></name> <name><surname>Nadar</surname> <given-names>E. R. S.</given-names></name></person-group> (<year>2019</year>). <article-title>Computer-assisted medical image classification for early diagnosis of oral cancer employing deep learning algorithm</article-title>. <source>J. Cancer Res. Clin. Oncol</source>. <volume>145</volume>, <fpage>829</fpage>&#x02013;<lpage>837</lpage>. <pub-id pub-id-type="doi">10.1007/s00432-018-02834-7</pub-id><pub-id pub-id-type="pmid">30603908</pub-id></citation></ref>
<ref id="B24">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ji</surname> <given-names>Y.</given-names></name> <name><surname>Sun</surname> <given-names>L.</given-names></name> <name><surname>Li</surname> <given-names>Y.</given-names></name> <name><surname>Ye</surname> <given-names>D.</given-names></name></person-group> (<year>2019</year>). <article-title>Detection of bruised potatoes using hyperspectral imaging technique based on discrete wavelet transform</article-title>. <source>Infrared Phys. Technol</source>. <volume>103</volume>:<fpage>103054</fpage>. <pub-id pub-id-type="doi">10.1016/j.infrared.2019.103054</pub-id></citation>
</ref>
<ref id="B25">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Jiang</surname> <given-names>H.</given-names></name> <name><surname>Chen</surname> <given-names>Q.</given-names></name></person-group> (<year>2015</year>). <article-title>Chemometric models for the quantitative descriptive sensory properties of green tea (<italic>Camellia sinensis</italic> L.) using fourier transform near infrared (FT-NIR) spectroscopy</article-title>. <source>Food Analyt. Methods</source> <volume>8</volume>, <fpage>954</fpage>&#x02013;<lpage>962</lpage>. <pub-id pub-id-type="doi">10.1007/s12161-014-9978-4</pub-id></citation>
</ref>
<ref id="B26">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kamilaris</surname> <given-names>A.</given-names></name> <name><surname>Prenafeta-Bold&#x000FA;</surname> <given-names>F. X.</given-names></name></person-group> (<year>2018</year>). <article-title>Deep learning in agriculture: a survey</article-title>. <source>Comput. Electron. Agric</source>. <volume>147</volume>, <fpage>70</fpage>&#x02013;<lpage>90</lpage>. <pub-id pub-id-type="doi">10.1016/j.compag.2018.02.016</pub-id></citation>
</ref>
<ref id="B27">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Kiranyaz</surname> <given-names>S.</given-names></name> <name><surname>Ince</surname> <given-names>T.</given-names></name> <name><surname>Hamila</surname> <given-names>R.</given-names></name> <name><surname>Gabbouj</surname> <given-names>M.</given-names></name></person-group> (<year>2015</year>). <article-title>&#x0201C;Convolutional neural networks for patient-specific ECG classification,&#x0201D;</article-title> in <source>2015 37th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC)</source> (<publisher-loc>Shanghai</publisher-loc>), <fpage>2608</fpage>&#x02013;<lpage>2611</lpage>. <pub-id pub-id-type="doi">10.1109/EMBC.2015.7318926</pub-id><pub-id pub-id-type="pmid">26736826</pub-id></citation></ref>
<ref id="B28">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kong</surname> <given-names>W.</given-names></name> <name><surname>Liu</surname> <given-names>F.</given-names></name> <name><surname>Zhang</surname> <given-names>C.</given-names></name> <name><surname>Bao</surname> <given-names>Y.</given-names></name> <name><surname>Yu</surname> <given-names>J.</given-names></name> <name><surname>He</surname> <given-names>Y.</given-names></name></person-group> (<year>2014</year>). <article-title>Fast detection of peroxidase (POD) activity in tomato leaves which infected with botrytis cinerea using hyperspectral imaging</article-title>. <source>Spectrochim. Acta Part A</source> <volume>118</volume>, <fpage>498</fpage>&#x02013;<lpage>502</lpage>. <pub-id pub-id-type="doi">10.1016/j.saa.2013.09.009</pub-id><pub-id pub-id-type="pmid">24080581</pub-id></citation></ref>
<ref id="B29">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Li</surname> <given-names>J.</given-names></name> <name><surname>Huang</surname> <given-names>W.</given-names></name> <name><surname>Zhao</surname> <given-names>C.</given-names></name> <name><surname>Zhang</surname> <given-names>B.</given-names></name></person-group> (<year>2013</year>). <article-title>A comparative study for the quantitative determination of soluble solids content, pH and firmness of pears by VIS/NIR spectroscopy</article-title>. <source>J. Food Eng</source>. <volume>116</volume>, <fpage>324</fpage>&#x02013;<lpage>332</lpage>. <pub-id pub-id-type="doi">10.1016/j.jfoodeng.2012.11.007</pub-id></citation>
</ref>
<ref id="B30">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Li</surname> <given-names>J.</given-names></name> <name><surname>Tian</surname> <given-names>X.</given-names></name> <name><surname>Huang</surname> <given-names>W.</given-names></name> <name><surname>Zhang</surname> <given-names>B.</given-names></name> <name><surname>Fan</surname> <given-names>S.</given-names></name></person-group> (<year>2016</year>). <article-title>Application of long-wave near infrared hyperspectral imaging for measurement of soluble solid content (SSC) in pear</article-title>. <source>Food Analyt. Methods</source> <volume>9</volume>, <fpage>3087</fpage>&#x02013;<lpage>3098</lpage>. <pub-id pub-id-type="doi">10.1007/s12161-016-0498-2</pub-id></citation>
</ref>
<ref id="B31">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Liu</surname> <given-names>J.</given-names></name></person-group> (<year>2020</year>). <article-title>Quantitative study of hyperspectral chlorophyll content in crop canopy</article-title>. <source>Front. Econ. Manage</source>. <volume>1</volume>, <fpage>331</fpage>&#x02013;<lpage>335</lpage>. <pub-id pub-id-type="doi">10.6981/FEM.202010_1(10).0050</pub-id></citation>
</ref>
<ref id="B32">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lowe</surname> <given-names>A.</given-names></name> <name><surname>Harrison</surname> <given-names>N.</given-names></name> <name><surname>French</surname> <given-names>A. P.</given-names></name></person-group> (<year>2017</year>). <article-title>Hyperspectral image analysis techniques for the detection and classification of the early onset of plant disease and stress</article-title>. <source>Plant Methods</source> <volume>13</volume>, <fpage>1</fpage>&#x02013;<lpage>12</lpage>. <pub-id pub-id-type="doi">10.1186/s13007-017-0233-z</pub-id><pub-id pub-id-type="pmid">29051772</pub-id></citation></ref>
<ref id="B33">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lu</surname> <given-names>R.</given-names></name></person-group> (<year>2004</year>). <article-title>Multispectral imaging for predicting firmness and soluble solids content of apple fruit</article-title>. <source>Posthar. Biol. Technol</source>. <volume>31</volume>, <fpage>147</fpage>&#x02013;<lpage>157</lpage>. <pub-id pub-id-type="doi">10.1016/j.postharvbio.2003.08.006</pub-id></citation>
</ref>
<ref id="B34">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lu</surname> <given-names>Y.</given-names></name> <name><surname>Huang</surname> <given-names>Y.</given-names></name> <name><surname>Lu</surname> <given-names>R.</given-names></name></person-group> (<year>2017</year>). <article-title>Innovative hyperspectral imaging-based techniques for quality evaluation of fruits and vegetables: a review</article-title>. <source>Appl. Sci</source>. <volume>7</volume>:<fpage>189</fpage>. <pub-id pub-id-type="doi">10.3390/app7020189</pub-id></citation>
</ref>
<ref id="B35">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Medus</surname> <given-names>L. D.</given-names></name> <name><surname>Saban</surname> <given-names>M.</given-names></name> <name><surname>Franc&#x000E9;s-V&#x000ED;llora</surname> <given-names>J. V.</given-names></name> <name><surname>Bataller-Mompe&#x000E1;n</surname> <given-names>M.</given-names></name> <name><surname>Rosado-Mu noz</surname> <given-names>A.</given-names></name></person-group> (<year>2021</year>). <article-title>Hyperspectral image classification using CNN: application to industrial food packaging</article-title>. <source>Food Control</source> <volume>125</volume>:<fpage>107962</fpage>. <pub-id pub-id-type="doi">10.1016/j.foodcont.2021.107962</pub-id></citation>
</ref>
<ref id="B36">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Paoletti</surname> <given-names>M.</given-names></name> <name><surname>Haut</surname> <given-names>J.</given-names></name> <name><surname>Plaza</surname> <given-names>J.</given-names></name> <name><surname>Plaza</surname> <given-names>A.</given-names></name></person-group> (<year>2019</year>). <article-title>Deep learning classifiers for hyperspectral imaging: a review</article-title>. <source>ISPRS J. Photogr. Remote Sens</source>. <volume>158</volume>, <fpage>279</fpage>&#x02013;<lpage>317</lpage>. <pub-id pub-id-type="doi">10.1016/j.isprsjprs.2019.09.006</pub-id></citation>
</ref>
<ref id="B37">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Peng</surname> <given-names>Y.</given-names></name> <name><surname>Lu</surname> <given-names>R.</given-names></name></person-group> (<year>2008</year>). <article-title>Analysis of spatially resolved hyperspectral scattering images for assessing apple fruit firmness and soluble solids content</article-title>. <source>Posthar. Biol. Technol</source>. <volume>48</volume>, <fpage>52</fpage>&#x02013;<lpage>62</lpage>. <pub-id pub-id-type="doi">10.1016/j.postharvbio.2007.09.019</pub-id></citation>
</ref>
<ref id="B38">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Qiu</surname> <given-names>Z.</given-names></name> <name><surname>Chen</surname> <given-names>J.</given-names></name> <name><surname>Zhao</surname> <given-names>Y.</given-names></name> <name><surname>Zhu</surname> <given-names>S.</given-names></name> <name><surname>He</surname> <given-names>Y.</given-names></name> <name><surname>Zhang</surname> <given-names>C.</given-names></name></person-group> (<year>2018</year>). <article-title>Variety identification of single rice seed using hyperspectral imaging combined with convolutional neural network</article-title>. <source>Appl. Sci</source>. <volume>8</volume>:<fpage>212</fpage>. <pub-id pub-id-type="doi">10.3390/app8020212</pub-id></citation>
</ref>
<ref id="B39">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Rahman</surname> <given-names>A.</given-names></name> <name><surname>Kandpal</surname> <given-names>L. M.</given-names></name> <name><surname>Lohumi</surname> <given-names>S.</given-names></name> <name><surname>Kim</surname> <given-names>M. S.</given-names></name> <name><surname>Lee</surname> <given-names>H.</given-names></name> <name><surname>Mo</surname> <given-names>C.</given-names></name> <etal/></person-group>. (<year>2017</year>). <article-title>Nondestructive estimation of moisture content, ph and soluble solid contents in intact tomatoes using hyperspectral imaging</article-title>. <source>Appl. Sci</source>. <volume>7</volume>:<fpage>109</fpage>. <pub-id pub-id-type="doi">10.3390/app7010109</pub-id></citation>
</ref>
<ref id="B40">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Rahman</surname> <given-names>A.</given-names></name> <name><surname>Park</surname> <given-names>E.</given-names></name> <name><surname>Bae</surname> <given-names>H.</given-names></name> <name><surname>Cho</surname> <given-names>B.-K.</given-names></name></person-group> (<year>2018</year>). <article-title>Hyperspectral imaging technique to evaluate the firmness and the sweetness index of tomatoes</article-title>. <source>Korean J. Agric. Sci</source>. <volume>45</volume>, <fpage>823</fpage>&#x02013;<lpage>837</lpage>. <pub-id pub-id-type="doi">10.7744/kjoas.20180075</pub-id></citation>
</ref>
<ref id="B41">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sainju</surname> <given-names>U. M.</given-names></name> <name><surname>Dris</surname> <given-names>R.</given-names></name> <name><surname>Singh</surname> <given-names>B.</given-names></name></person-group> (<year>2003</year>). <article-title>Mineral nutrition of tomato</article-title>. <source>Food Agric. Environ</source>. <volume>1</volume>, <fpage>176</fpage>&#x02013;<lpage>183</lpage>. <pub-id pub-id-type="doi">10.1016/j.nima.2010.03.045</pub-id></citation>
</ref>
<ref id="B42">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Su</surname> <given-names>Z.</given-names></name> <name><surname>Zhang</surname> <given-names>C.</given-names></name> <name><surname>Yan</surname> <given-names>T.</given-names></name> <name><surname>Zhu</surname> <given-names>J.</given-names></name> <name><surname>Zeng</surname> <given-names>Y.</given-names></name> <name><surname>Lu</surname> <given-names>X.</given-names></name> <etal/></person-group>. (<year>2021</year>). <article-title>Application of hyperspectral imaging for maturity and soluble solids content determination of strawberry with deep learning approaches</article-title>. <source>Front. Plant Sci</source>. <volume>12</volume>:<fpage>736334</fpage>. <pub-id pub-id-type="doi">10.3389/fpls.2021.736334</pub-id><pub-id pub-id-type="pmid">34567050</pub-id></citation></ref>
<ref id="B43">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sun</surname> <given-names>J.</given-names></name> <name><surname>Lu</surname> <given-names>X.</given-names></name> <name><surname>Mao</surname> <given-names>H.</given-names></name> <name><surname>Wu</surname> <given-names>X.</given-names></name> <name><surname>Gao</surname> <given-names>H.</given-names></name></person-group> (<year>2017</year>). <article-title>Quantitative determination of rice moisture based on hyperspectral imaging technology and BCC-LS-SVR algorithm</article-title>. <source>J. Food Process Eng</source>. <volume>40</volume>:<fpage>e12446</fpage>. <pub-id pub-id-type="doi">10.1111/jfpe.12446</pub-id></citation>
</ref>
<ref id="B44">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Tian</surname> <given-names>Y.</given-names></name> <name><surname>Huang</surname> <given-names>H.</given-names></name> <name><surname>Zhou</surname> <given-names>G.</given-names></name> <name><surname>Zhang</surname> <given-names>Q.</given-names></name> <name><surname>Tao</surname> <given-names>J.</given-names></name> <name><surname>Zhang</surname> <given-names>Y.</given-names></name> <etal/></person-group>. (<year>2021</year>). <article-title>Aboveground mangrove biomass estimation in Beibu gulf using machine learning and uav remote sensing</article-title>. <source>Sci. Tot. Environ</source>. <volume>781</volume>:<fpage>146816</fpage>. <pub-id pub-id-type="doi">10.1016/j.scitotenv.2021.146816</pub-id></citation>
</ref>
<ref id="B45">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wang</surname> <given-names>D.-M.</given-names></name> <name><surname>Ji</surname> <given-names>J.-M.</given-names></name> <name><surname>Gao</surname> <given-names>H.-Z.</given-names></name></person-group> (<year>2014</year>). <article-title>The effect of MSC spectral pretreatment regions on near infrared spectroscopy calibration results</article-title>. <source>Guang Pu Xue Yu Guang Pu Fen Xi</source> <volume>34</volume>, <fpage>2387</fpage>&#x02013;<lpage>2390</lpage>. <pub-id pub-id-type="doi">10.3964/j.issn.1000-0593(2014)09-2387-04</pub-id><pub-id pub-id-type="pmid">25532331</pub-id></citation></ref>
<ref id="B46">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wei</surname> <given-names>L.</given-names></name> <name><surname>Yuan</surname> <given-names>Z.</given-names></name> <name><surname>Wang</surname> <given-names>Z.</given-names></name> <name><surname>Zhao</surname> <given-names>L.</given-names></name> <name><surname>Zhang</surname> <given-names>Y.</given-names></name> <name><surname>Lu</surname> <given-names>X.</given-names></name> <etal/></person-group>. (<year>2020</year>). <article-title>Hyperspectral inversion of soil organic matter content based on a combined spectral index model</article-title>. <source>Sensors</source> <volume>20</volume>:<fpage>2777</fpage>. <pub-id pub-id-type="doi">10.3390/s20102777</pub-id><pub-id pub-id-type="pmid">32414203</pub-id></citation></ref>
<ref id="B47">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Weng</surname> <given-names>S.</given-names></name> <name><surname>Zhu</surname> <given-names>W.</given-names></name> <name><surname>Zhang</surname> <given-names>X.</given-names></name> <name><surname>Yuan</surname> <given-names>H.</given-names></name> <name><surname>Zheng</surname> <given-names>L.</given-names></name> <name><surname>Zhao</surname> <given-names>J.</given-names></name> <etal/></person-group>. (<year>2019</year>). <article-title>Recent advances in Raman technology with applications in agriculture, food and biosystems: a review</article-title>. <source>Artif. Intell. Agric</source>. <volume>3</volume>, <fpage>1</fpage>&#x02013;<lpage>10</lpage>. <pub-id pub-id-type="doi">10.1016/j.aiia.2019.11.001</pub-id></citation>
</ref>
<ref id="B48">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wold</surname> <given-names>S.</given-names></name> <name><surname>Sj&#x000F6;str&#x000F6;m</surname> <given-names>M.</given-names></name> <name><surname>Eriksson</surname> <given-names>L.</given-names></name></person-group> (<year>2001</year>). <article-title>PLS-regression: a basic tool of chemometrics</article-title>. <source>Chemometr. Intell. Lab. Syst</source>. <volume>58</volume>, <fpage>109</fpage>&#x02013;<lpage>130</lpage>. <pub-id pub-id-type="doi">10.1016/S0169-7439(01)00155-1</pub-id></citation>
</ref>
<ref id="B49">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Xue</surname> <given-names>L.</given-names></name></person-group> (<year>2010</year>). <article-title>&#x0201C;Application of IDL and ENVI redevelopment in hyperspectral image preprocessing,&#x0201D;</article-title> in <source>International Conference on Computer and Computing Technologies in Agriculture</source> (<publisher-loc>Chengdu</publisher-loc>: <publisher-name>Springer</publisher-name>), <fpage>403</fpage>&#x02013;<lpage>409</lpage>. <pub-id pub-id-type="doi">10.1007/978-3-642-18369-0_47</pub-id></citation>
</ref>
<ref id="B50">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Yao</surname> <given-names>Z.</given-names></name> <name><surname>Ruzzo</surname> <given-names>W. L.</given-names></name></person-group> (<year>2006</year>). <article-title>A regression-based k nearest neighbor algorithm for gene function prediction from heterogeneous data</article-title>. <source>BMC Bioinformatics</source> <volume>7</volume>:<fpage>S11</fpage>. <pub-id pub-id-type="doi">10.1186/1471-2105-7-S1-S11</pub-id><pub-id pub-id-type="pmid">16723004</pub-id></citation></ref>
<ref id="B51">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Yin</surname> <given-names>L.</given-names></name> <name><surname>Zhou</surname> <given-names>J.</given-names></name> <name><surname>Chen</surname> <given-names>D.</given-names></name> <name><surname>Han</surname> <given-names>T.</given-names></name> <name><surname>Zheng</surname> <given-names>B.</given-names></name> <name><surname>Younis</surname> <given-names>A.</given-names></name> <etal/></person-group>. (<year>2019</year>). <article-title>A review of the application of near-infrared spectroscopy to rare traditional Chinese medicine</article-title>. <source>Spectrochim. Acta Part A</source> <volume>221</volume>:<fpage>117208</fpage>. <pub-id pub-id-type="doi">10.1016/j.saa.2019.117208</pub-id><pub-id pub-id-type="pmid">31170607</pub-id></citation></ref>
<ref id="B52">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Yu</surname> <given-names>D.</given-names></name> <name><surname>Deng</surname> <given-names>L.</given-names></name></person-group> (<year>2010</year>). <article-title>Deep learning and its applications to signal and information processing [exploratory DSP]</article-title>. <source>IEEE Signal Process. Mag</source>. <volume>28</volume>, <fpage>145</fpage>&#x02013;<lpage>154</lpage>. <pub-id pub-id-type="doi">10.1109/MSP.2010.939038</pub-id></citation>
</ref>
<ref id="B53">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zhang</surname> <given-names>L.</given-names></name> <name><surname>Li</surname> <given-names>Y.</given-names></name> <name><surname>Peng</surname> <given-names>Y.</given-names></name> <name><surname>Wang</surname> <given-names>W.</given-names></name> <name><surname>Jiang</surname> <given-names>F.</given-names></name> <name><surname>Tao</surname> <given-names>F.</given-names></name> <etal/></person-group>. (<year>2012</year>). <article-title>Determination of pork freshness attributes by hyperspectral imaging technique</article-title>. <source>Trans. Chinese Soc. Agric. Eng</source>. <volume>28</volume>, <fpage>254</fpage>&#x02013;<lpage>259</lpage>. <pub-id pub-id-type="doi">10.3969/j.issn.1002-6819.2012.07.042</pub-id></citation>
</ref>
<ref id="B54">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zhou</surname> <given-names>Q.</given-names></name> <name><surname>Huang</surname> <given-names>W.</given-names></name> <name><surname>Fan</surname> <given-names>S.</given-names></name> <name><surname>Zhao</surname> <given-names>F.</given-names></name> <name><surname>Liang</surname> <given-names>D.</given-names></name> <name><surname>Tian</surname> <given-names>X.</given-names></name></person-group> (<year>2020</year>). <article-title>Non-destructive discrimination of the variety of sweet maize seeds based on hyperspectral image coupled with wavelength selection algorithm</article-title>. <source>Infrared Phys. Technol</source>. <volume>109</volume>:<fpage>103418</fpage>. <pub-id pub-id-type="doi">10.1016/j.infrared.2020.103418</pub-id></citation>
</ref>
<ref id="B55">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zou</surname> <given-names>Z.</given-names></name> <name><surname>Shi</surname> <given-names>Z.</given-names></name> <name><surname>Guo</surname> <given-names>Y.</given-names></name> <name><surname>Ye</surname> <given-names>J.</given-names></name></person-group> (<year>2019</year>). <article-title>Object detection in 20 years: a survey</article-title>. <source>arXiv preprint arXiv:1905.05055</source>. <pub-id pub-id-type="doi">10.48550/arXiv.1905.05055</pub-id></citation>
</ref>
</ref-list> 
</back>
</article> 