<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" article-type="research-article" dtd-version="2.3" xml:lang="EN">
<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.2025.1538051</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>DBY-Tobacco: a dual-branch model for non-tobacco related materials detection based on hyperspectral feature fusion</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname>Shen</surname>
<given-names>Cheng</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/2887535"/>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
<role content-type="https://credit.niso.org/contributor-roles/formal-analysis/"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/resources/"/>
<role content-type="https://credit.niso.org/contributor-roles/software/"/>
<role content-type="https://credit.niso.org/contributor-roles/validation/"/>
<role content-type="https://credit.niso.org/contributor-roles/visualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Qi</surname>
<given-names>Yuecheng</given-names>
</name>
<xref ref-type="aff" rid="aff3">
<sup>3</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/validation/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Yun</surname>
<given-names>Lijun</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/funding-acquisition/"/>
<role content-type="https://credit.niso.org/contributor-roles/resources/"/>
<role content-type="https://credit.niso.org/contributor-roles/supervision/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Zhang</surname>
<given-names>Xu</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/resources/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Chen</surname>
<given-names>Zaiqing</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<xref ref-type="author-notes" rid="fn001">
<sup>*</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/1724268"/>
<role content-type="https://credit.niso.org/contributor-roles/funding-acquisition/"/>
<role content-type="https://credit.niso.org/contributor-roles/resources/"/>
<role content-type="https://credit.niso.org/contributor-roles/supervision/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
</contrib-group>
<aff id="aff1">
<sup>1</sup>
<institution>School of Information Science and Technology, Yunnan Normal University</institution>, <addr-line>Kunming</addr-line>, <country>China</country>
</aff>
<aff id="aff2">
<sup>2</sup>
<institution>Engineering Research Center of Computer Vision and Intelligent Control Technology, Department of Education of Yunnan Province</institution>, <addr-line>Kunming</addr-line>, <country>China</country>
</aff>
<aff id="aff3">
<sup>3</sup>
<institution>Yunnan Tobacco Leaf Company</institution>, <addr-line>Kunming</addr-line>, <country>China</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>Edited by: Yingying Dong, Chinese Academy of Sciences (CAS), China</p>
</fn>
<fn fn-type="edited-by">
<p>Reviewed by: Jing Yao, Chinese Academy of Sciences (CAS), China</p>
<p>Arvind Mukundan, National Chung Cheng University, Taiwan</p>
<p>Renato Herrig Furlanetto, University of Florida, United States</p>
</fn>
<fn fn-type="corresp" id="fn001">
<p>*Correspondence: Zaiqing Chen, <email xlink:href="mailto:zaiqingchen@ynnu.edu.cn">zaiqingchen@ynnu.edu.cn</email>
</p>
</fn>
</author-notes>
<pub-date pub-type="epub">
<day>05</day>
<month>03</month>
<year>2025</year>
</pub-date>
<pub-date pub-type="collection">
<year>2025</year>
</pub-date>
<volume>16</volume>
<elocation-id>1538051</elocation-id>
<history>
<date date-type="received">
<day>08</day>
<month>01</month>
<year>2025</year>
</date>
<date date-type="accepted">
<day>10</day>
<month>02</month>
<year>2025</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2025 Shen, Qi, Yun, Zhang and Chen</copyright-statement>
<copyright-year>2025</copyright-year>
<copyright-holder>Shen, Qi, Yun, Zhang and Chen</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>The removal of non-tobacco related materials (NTRMs) is crucial for improving tobacco product quality and consumer safety. Traditional NTRM detection methods are labor-intensive and inefficient. This study proposes a novel approach for real-time NTRM detection using hyperspectral imaging (HSI) and an enhanced YOLOv8 model, named Dual-branch-YOLO-Tobacco (DBY-Tobacco). We created a dataset of 1,000 images containing 4,203 NTRMs by using a hyperspectral camera, SpectraEye (SEL-24), with a spectral range of 400-900 nm. To improve processing efficiency of HSIs data, three characteristic wavelengths (580nm, 680nm, and 850nm) were extracted by analyzing the weighted coefficients of the principal components. Then the pseudo color image fusion and decorrelation contrast stretch methods were applied for image enhancement. The DBY-Tobacco model features a dual-branch backbone network and a BiFPN-Efficient-Lighting-Feature-Pyramid-Network (BELFPN) module for effective feature fusion. Experimental results demonstrate that the DBY-Tobacco model achieves high performance metrics, including an F1 score of 89.7%, mAP@50 of 92.8%, mAP@50-95 of 73.7%, and a processing speed of 151 FPS, making it suitable for real-time applications in dynamic production environments. The study highlights the potential of combining HSI with advanced deep learning techniques for improving tobacco product quality and safety. Future work will focus on addressing limitations such as stripe noise in HSI and expanding the detection to other types of NTRMs. The dataset and code are available at: <ext-link ext-link-type="uri" xlink:href="https://github.com/Ikaros-sc/DBY-Tobacco">https://github.com/Ikaros-sc/DBY-Tobacco</ext-link>.</p>
</abstract>
<kwd-group>
<kwd>object detection</kwd>
<kwd>non-tobacco related materials (NTRMs)</kwd>
<kwd>hyperspectral imaging technology</kwd>
<kwd>feature fusion</kwd>
<kwd>deep learning</kwd>
</kwd-group>
<counts>
<fig-count count="11"/>
<table-count count="7"/>
<equation-count count="11"/>
<ref-count count="50"/>
<page-count count="15"/>
<word-count count="5950"/>
</counts>
<custom-meta-wrap>
<custom-meta>
<meta-name>section-in-acceptance</meta-name>
<meta-value>Sustainable and Intelligent Phytoprotection</meta-value>
</custom-meta>
</custom-meta-wrap>
</article-meta>
</front>
<body>
<sec id="s1" sec-type="intro">
<label>1</label>
<title>Introduction</title>
<p>Tobacco leaves are the primary raw material for the production of cigarettes, cigars, and other tobacco products. Tobacco leaf farming and product production are important economic drivers in some countries and regions (<xref ref-type="bibr" rid="B39">Wang and Bennetzen, 2015</xref>). In recent years, China has become the largest tobacco producer and global cigarette market (<xref ref-type="bibr" rid="B32">Shahbandeh, 2024</xref>; <xref ref-type="bibr" rid="B36">Trenda, 2023</xref>). Tobacco products are among the most widely consumed goods globally. However, during the operations of tobacco leaf harvesting, shipping, and curing, other non-tobacco related materials (NTRMs) such as weeds, feathers, and rubber rings are frequently mixed in. NTRMs significantly reduce the quality of tobacco products and can endanger consumer health (<xref ref-type="bibr" rid="B20">Li et&#xa0;al., 2023</xref>). To be more specific, rubber products emit harmful substances during combustion and pyrolysis, which can have a negative impact on human health; materials like feathers and insect cocoons emit unpleasant odors when burned; and the presence of weeds and other foreign substances can affect the intrinsic quality of tobacco leaves.</p>
<p>The effective detection of NTRMs has long been a difficult problem. Currently, the primary method for removing NTRMs is manual screening, which is time-consuming and prone to subjectivity. Certain NTRMs are treated with specific ways, such as utilizing metal detectors to detect metal particles or air classifiers to remove lighter contaminants, but these approaches have limits.</p>
<p>Traditional detection and hyperspectral classification algorithms such as supervised Support Vector Machine (SVM) algorithms (<xref ref-type="bibr" rid="B7">El-Omairi et&#xa0;al., 2025</xref>), decision tree algorithms, and unsupervised approaches like K-means clustering (<xref ref-type="bibr" rid="B41">Wang et&#xa0;al., 2024</xref>) and PCA (<xref ref-type="bibr" rid="B2">Bagnasco et&#xa0;al., 2015</xref>) has been widely applied in various fields. However, with the development of computer vision, object detection methods based on deep learning are more popular. These methods have higher classification accuracy, especially in complex circumstances. Furthermore, the new technique is less susceptible to noise and has increased robustness (<xref ref-type="bibr" rid="B35">Spiegelberg and Rusz, 2017</xref>). Additionally, the scalability and generalization capability of these methods are impressive, allowing it to be applied to a variety of scenarios (<xref ref-type="bibr" rid="B7">El-Omairi et&#xa0;al., 2025</xref>).</p>
<p>Currently, the YOLO (You Only Look Once) algorithm is the most popular model for object detection (<xref ref-type="bibr" rid="B15">Jocher et&#xa0;al., 2023</xref>). Among the YOLO series, the most efficient algorithms in terms of performance are YOLOv5, YOLOv8, and YOLOv11. YOLOv5 adopts an Anchor-Based design, with anchor boxes to accommodate multi-scale and various aspect ratio targets. This design significantly enhances the model&#x2019;s performance in dense object detection tasks. Additionally, YOLOv5 incorporates cross-scale skip connections within the network structure, enriching the gradient flow information. Building on YOLOv5, YOLOv8 introduces various improvements, with a primary focus on small object identification and computing resource optimization. The Anchor-Based design in YOLOv5 may waste computational resources when there are few targets, resulting in performance bottlenecks in small object identification tasks. Consequently, YOLOv8 discards the classic Anchor-Based design and proposes an Anchor-Free design, which is more suited to small object identification and simplifies the model. This innovation enables YOLOv8 to achieve greater precision in handling small objects while simplifying the network structure and enhancing model efficiency. YOLOv8 also incorporates more skip connections, which enriches the gradient flow and saves computing load via split operations. Moreover, YOLOv8&#x2019;s decoupled head design separates the extraction and independent optimization of target location and class information, which improves the model&#x2019;s robustness and generalization ability. The latest edition of the YOLO series, YOLOv11, incorporates cutting-edge technology innovations to improve object detection performance even more. YOLOv11 features modules designed to enhance the capability of feature extraction. These modules, through deep feature fusion and refined processing, effectively improve the model&#x2019;s ability to capture detailed features. Additionally, YOLOv11 introduces attention mechanisms to further optimize feature extraction in critical regions. The attention mechanism allows the model to dynamically focus on crucial areas of an image while discarding unnecessary background information, enhancing object detection accuracy.</p>
<p>YOLO algorithm has been applied to various agricultural tasks in agricultural engineering, generating significant economic benefits (<xref ref-type="bibr" rid="B1">Badgujar et&#xa0;al., 2024</xref>; <xref ref-type="bibr" rid="B10">Furlanetto et&#xa0;al., 2024a</xref>, <xref ref-type="bibr" rid="B11">b</xref>; <xref ref-type="bibr" rid="B50">Zhou et&#xa0;al., 2025</xref>). Based on YOLOv5, <xref ref-type="bibr" rid="B8">Fan et&#xa0;al. (2024)</xref> achieved a lightweight improvement to the backbone by using ShuffleNet v2 (<xref ref-type="bibr" rid="B23">Ma et&#xa0;al., 2018</xref>), and enhanced the neck with BiFPN and a parallel hybrid attention mechanism (PHAM), allowing the model to better integrate multi-scale features. The improved model effectively identified weeds. Based on YOLOv7, <xref ref-type="bibr" rid="B18">Li et&#xa0;al. (2024)</xref> optimized the model&#x2019;s backbone using the ConvNext module and combined the Swin Transformer (<xref ref-type="bibr" rid="B21">Liu et&#xa0;al., 2021</xref>) with the ConvNext module to improve the model&#x2019;s head. This method achieved effective identification of foreign fibers in cotton while maintaining a high detection speed.</p>
<p>During training, the YOLO series object detection algorithms use manually annotated RGB images. However, RGB images only include spectral information from three predefined bands, resulting in limited data and minimal material distinction. RGB photos give insufficient spectrum information for advanced analysis tasks such as exact categorization or object detection. In recent years, hyperspectral imaging (HSI) has evolved as an accurate and non-destructive approach for target detection, solving RGB images&#x2019; shortcomings. This technology scans objects to obtain hundreds of wavelengths and extracts specific spectral information required for subsequent analysis, and it is widely used in agriculture to assess food quality (<xref ref-type="bibr" rid="B6">Du et&#xa0;al., 2020</xref>; <xref ref-type="bibr" rid="B30">Ram et&#xa0;al., 2024</xref>; <xref ref-type="bibr" rid="B34">Shuai et&#xa0;al., 2024</xref>). <xref ref-type="bibr" rid="B49">Zhang et&#xa0;al. (2024)</xref> combined Successive Projection Algorithm (SPA) with Principal Component Analysis (PCA) to select wavelengths of 1074 nm, 1269 nm, and 1441 nm for extracting bruise features from apples. <xref ref-type="bibr" rid="B5">Dong et&#xa0;al. (2014)</xref> selected wavelengths of 523 nm, 587 nm, 700 nm, and 768 nm through weighted coefficient analysis and PCA, effectively extracting the thrips defect features on Green-Peel citrus. It should be noted that these wavelengths are used as the characteristic wavelengths for the entire region (<xref ref-type="bibr" rid="B5">Dong et&#xa0;al., 2014</xref>; <xref ref-type="bibr" rid="B37">Vargas et&#xa0;al., 2006</xref>).</p>
<p>There has been increased attention to methods for feature fusion between HSIs and RGB images. To address the problem of performance degradation due to insufficient local feature interaction, <xref ref-type="bibr" rid="B33">Shen et&#xa0;al. (2024)</xref> proposed a feature fusion framework called Iterative Cross-Attention Guided Feature Fusion (ICAFusion). This framework improves object feature discriminability by using a query-guided cross-attention mechanism, which improves performance. To fully integrate different modalities, <xref ref-type="bibr" rid="B29">Qingyun et&#xa0;al. (2021)</xref> proposed a Cross-Modal Fusion Transformer (CFT) method. This approach uses the self-attention mechanism of Transformers to naturally perform both intra-modal and inter-modal fusion, dramatically improving multispectral object identification performance. <xref ref-type="bibr" rid="B48">Zhang et&#xa0;al. (2023)</xref> introduced SuperYOLO, an accurate and quick RSI object detection algorithm. This method integrates multimodal data and uses symmetric compact multimodal fusion (MF) to extract supplementary information from various data sources, resulting in better recognition of small objects.</p>
<p>There are some studies on NTRMs detection using computer vision. <xref ref-type="bibr" rid="B20">Li et&#xa0;al. (2023)</xref> proposed a method for classifying tobacco stems and impurities based on HSI superpixels and a Light Gradient Boosting Machine (LightGBM) classifier, achieving high accuracy. <xref ref-type="bibr" rid="B42">Wu et&#xa0;al. (2023)</xref> proposed an effective and rapid detection approach for NTRMs based on single-channel grayscale pictures and the YOLOv8 model. However, these studies are limited to detecting NTRMs in tobacco stems, and are ineffective for detecting NTRMs that are heavily hidden by tobacco leaves. Additionally, it is challenging to detect NTRMs that have colors similar to tobacco leaves. Furthermore, it is difficult to recognize NTRMs with hues comparable to tobacco leaves. As a result, this study performs spectrum analysis on NTRMs and improves the YOLOv8 algorithm to propose a model for effective and real-time NTRM detection.</p>
<p>The main works of this paper are the following: (1) Constructing the first HSIs dataset with 1,000 tobacco leaf images containing 4,203 NTRMs. (2) Using PCA to determine the characteristic wavelengths of NTRMs and pseudo color composition and decorrelation contrast stretch methods to generate images with significant NTRMs features. (3) Building on the YOLOv8n, an enhanced model, Dual-branch-YOLO-Tobacco (DBY-Tobacco), was proposed, which includes a dual-branch backbone network and a feature fusion module for the neck component.</p>
<p>The overall technical route is shown in <xref ref-type="fig" rid="f1">
<bold>Figure&#xa0;1</bold>
</xref>. Firstly, we analyzed the reflectance of regions of interest (ROIs) in the hyperspectral images and identified two spectral regions where the reflectance differences among various NTRMs were most significant. PCA was then applied to these spectral regions to identify the Principal Component (PC) images that best describe the properties of various NTRMs. The weight coefficient map was used to produce three characteristic wavelengths. For image processing, techniques including pseudo color composition and decorrelation contrast stretch were used, and the processed images were subsequently input into the proposed model for real-time detection of NTRMs.</p>
<fig id="f1" position="float">
<label>Figure&#xa0;1</label>
<caption>
<p>The overall technical route.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-16-1538051-g001.tif"/>
</fig>
</sec>
<sec id="s2" sec-type="materials|methods">
<label>2</label>
<title>Materials and methods</title>
<sec id="s2_1">
<label>2.1</label>
<title>Experimental environment</title>
<p>The experimental setup for this study is shown in <xref ref-type="fig" rid="f2">
<bold>Figure&#xa0;2</bold>
</xref>. The equipment consists of a collection platform, a personal computer (PC), light-emitting diode light (LED light), and a hyperspectral camera, with specific parameters detailed in <xref ref-type="table" rid="T1">
<bold>Table&#xa0;1</bold>
</xref>.</p>
<fig id="f2" position="float">
<label>Figure&#xa0;2</label>
<caption>
<p>Experimental equipment for simulating the sorting process of tobacco leaves.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-16-1538051-g002.tif"/>
</fig>
<table-wrap id="T1" position="float">
<label>Table&#xa0;1</label>
<caption>
<p>Main parameters of experimental equipment.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="left">Equipment</th>
<th valign="middle" align="left">Parameter</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="middle" align="left">Hyperspectral Camera</td>
<td valign="middle" align="left">SpectraEye (SEL-24)</td>
</tr>
<tr>
<td valign="middle" align="left">Collection platform</td>
<td valign="middle" align="left">1200&#xd7;600&#xd7;1050mm</td>
</tr>
<tr>
<td valign="top" align="left">PC</td>
<td valign="middle" align="left">CPU: Intel(R) Xeon(R) Silver 4210R<break/>GPU: NVIDIA T1000</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s2_2">
<label>2.2</label>
<title>Image acquisition</title>
<p>Tobacco leaves used in this study were planted in various cities in Yunnan Province, China (north latitude: 25&#xb0;02&#x2032;58&#x2032;&#x2032;, east longitude: 102&#xb0;42&#x2032;32&#x2032;&#x2032;), and included various varieties of tobacco leaves, such as Yunyan 87, K326, Yunyan 97, etc. The adaptation ability of the model to different weather conditions was improved by adjusting the intensity of the light source. Weeds, rubber rings, and feathers are some of the NTRMs explored. Tobacco leaves and NTRMs were placed first, and photos were taken with the hyperspectral camera positioned directly overhead at the optimal brightness and acquisition rates. We captured images at different transmission speeds, allowing the model to address the issue of motion blur induced by the operational speed of faster transmission devices. Finally, materials were collected at the end. <xref ref-type="table" rid="T2">
<bold>Table&#xa0;2</bold>
</xref> contains details about the HSIs. The study collected 1,000 HSIs with 4,203 NTRMs, taking into account the huge quantity, disordered arrangement, and stacking of tobacco leaves. <xref ref-type="fig" rid="f3">
<bold>Figure&#xa0;3</bold>
</xref> shows RGB image samples from the gathered hyperspectral images.</p>
<table-wrap id="T2" position="float">
<label>Table&#xa0;2</label>
<caption>
<p>Main parameters of HSIs.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="left">Parameter</th>
<th valign="middle" align="left">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="middle" align="left">Resolution</td>
<td valign="middle" align="left">3024&#xd7;2464</td>
</tr>
<tr>
<td valign="middle" align="left">Wavelength coverage</td>
<td valign="middle" align="left">400-900nm</td>
</tr>
<tr>
<td valign="top" align="left">Spectral resolution<break/>Spectral bands</td>
<td valign="top" align="left">5nm<break/>101</td>
</tr>
</tbody>
</table>
</table-wrap>
<fig id="f3" position="float">
<label>Figure&#xa0;3</label>
<caption>
<p>RGB image samples of the collected hyperspectral images.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-16-1538051-g003.tif"/>
</fig>
</sec>
<sec id="s2_3">
<label>2.3</label>
<title>Spectral analysis</title>
<sec id="s2_3_1">
<label>2.3.1</label>
<title>PCA based on different spectral regions</title>
<p>The study used ENVI 6.0 (The Environment for Visualizing pictures, version 6.0) software to perform spectrum analysis on hyperspectral images, as well as Python3.9 and PyCharm 2021.3.1 software was used to assist with data processing. Initially, ROIs for tobacco leaves and NTRMs were extracted from the collected HSIs, with each ROI containing between 8,000 and 30,000 pixels. These ROIs will be used for further spectral analysis in later stages. We will use these ROIs for further spectral analysis. As shown in <xref ref-type="fig" rid="f4">
<bold>Figure&#xa0;4</bold>
</xref>, we used the spline regression method for curve smoothing, the reflectance differences between tobacco leaves and NTRMs are more pronounced and the curves are relatively smooth in the wavelength regions around 450 nm and 550-850 nm. For further analysis, the study selected the 550-850 nm and 450-850 nm ranges.</p>
<fig id="f4" position="float">
<label>Figure&#xa0;4</label>
<caption>
<p>Reflectance curves of the ROIs.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-16-1538051-g004.tif"/>
</fig>
<p>However, there is significant redundancy among the spectral bands in these data, and performing target detection directly would considerably increase computational load and complexity. Thus, dimensionality reduction of the spectral data is necessary. PCA, an effective dimensionality reduction method (<xref ref-type="bibr" rid="B28">Prasad and Bruce, 2008</xref>), is frequently used in HSIs processing (<xref ref-type="bibr" rid="B9">Frederick et&#xa0;al., 2023</xref>; <xref ref-type="bibr" rid="B14">Huang et&#xa0;al., 2015</xref>; <xref ref-type="bibr" rid="B22">Luo et&#xa0;al., 2019</xref>). PCA was performed on these two spectral regions separately, and the resulting PC score images are shown in <xref ref-type="fig" rid="f5">
<bold>Figure&#xa0;5</bold>
</xref>. The later-arranged PC images provide less to the hyperspectral data in these two spectral regions because of the decreasing order of variance. Only the first six PC images are shown. In contrast, we can see that the PC1, PC2, and PC3 images in the 550&#x2013;850nm region and the PC1 and PC2 images in the 450&#x2013;850nm region show ghosting effects between the shadows of weeds and rubber bands. The PC4, PC5, and PC6 images in the 550-850nm region and the PC5 and PC6 images in the 450-850nm region contain excessive noise. The PC3 image in the 450-850nm region shows better feature representation, but the PC4 image in the same region captures subtle contour changes more effectively, clearly distinguishing object edges and demonstrating stronger NTRMs detection capability. Thus, for further analysis, we chose the PC4 image in the 450&#x2013;850nm range.</p>
<fig id="f5" position="float">
<label>Figure&#xa0;5</label>
<caption>
<p>PC score images in the wavelength range: <bold>(a)</bold> 550-850nm, <bold>(b)</bold> 450-850nm.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-16-1538051-g005.tif"/>
</fig>
</sec>
<sec id="s2_3_2">
<label>2.3.2</label>
<title>Selection of characteristic wavelengths</title>
<p>The study will use the PC4 image from the 450-850nm region to select wavelengths that approximately represent the characteristics of the entire region. The weight coefficient image (<xref ref-type="fig" rid="f6">
<bold>Figure&#xa0;6</bold>
</xref>) for PC4 can be obtained using <xref ref-type="disp-formula" rid="eq1">Equation 1</xref>.</p>
<fig id="f6" position="float">
<label>Figure&#xa0;6</label>
<caption>
<p>Weight coefficient image of PC4 in the 450-850nm range.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-16-1538051-g006.tif"/>
</fig>
<disp-formula id="eq1">
<label>(1)</label>
<mml:math display="block" id="M1">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x3b3;</mml:mi>
<mml:mo>=</mml:mo>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b3;</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b3;</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mo>&#x22ef;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:msub>
<mml:mi>&#x3b3;</mml:mi>
<mml:mi>m</mml:mi>
</mml:msub>
</mml:mstyle>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mo stretchy="false">(</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b2;</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msqrt>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:mfrac>
</mml:mstyle>
<mml:mo>,</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b2;</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msqrt>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:mfrac>
</mml:mstyle>
<mml:mo>,</mml:mo>
<mml:mo>&#x22ef;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b2;</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msqrt>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:mfrac>
</mml:mstyle>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>=</mml:mo>
<mml:mo>[</mml:mo>
<mml:mtable equalrows="true" equalcolumns="true">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mtable equalrows="true" equalcolumns="true">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mstyle mathvariant="bold-italic">
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b2;</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msqrt>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:mfrac>
</mml:mstyle>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mstyle mathvariant="bold-italic">
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b2;</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msqrt>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:mfrac>
</mml:mstyle>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mstyle mathvariant="bold-italic">
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b2;</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msqrt>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:mfrac>
</mml:mstyle>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mstyle mathvariant="bold-italic">
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b2;</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msqrt>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:mfrac>
</mml:mstyle>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mo>&#x22ef;</mml:mo>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mtable equalrows="true" equalcolumns="true">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mstyle mathvariant="bold-italic">
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b2;</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msqrt>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:mfrac>
</mml:mstyle>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mstyle mathvariant="bold-italic">
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b2;</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msqrt>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:mfrac>
</mml:mstyle>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mo>&#x22ee;</mml:mo>
</mml:mtd>
<mml:mtd>
<mml:mo>&#x22f1;</mml:mo>
</mml:mtd>
<mml:mtd>
<mml:mo>&#x22ee;</mml:mo>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mtable equalrows="true" equalcolumns="true">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mstyle mathvariant="bold-italic">
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b2;</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msqrt>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:mfrac>
</mml:mstyle>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mstyle mathvariant="bold-italic">
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b2;</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msqrt>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:mfrac>
</mml:mstyle>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mo>&#x22ef;</mml:mo>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mstyle mathvariant="bold-italic">
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b2;</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msqrt>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:mfrac>
</mml:mstyle>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
<mml:mo>]</mml:mo>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:math>
</disp-formula>
<p>where, <inline-formula>
<mml:math display="inline" id="im1">
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mo>{</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mn>2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mo>&#x22ef;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mi>n</mml:mi>
<mml:mo>}</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula>
<mml:math display="inline" id="im2">
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mo>{</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mn>2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mo>&#x22ef;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mi>m</mml:mi>
<mml:mo>}</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>. <inline-formula>
<mml:math display="inline" id="im3">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>. represents the eigenvalue of the principal component <inline-formula>
<mml:math display="inline" id="im4">
<mml:mi>i</mml:mi>
</mml:math>
</inline-formula> at the wavelength <inline-formula>
<mml:math display="inline" id="im5">
<mml:mi>j</mml:mi>
</mml:math>
</inline-formula>, <inline-formula>
<mml:math display="inline" id="im6">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b2;</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> denotes the corresponding eigenvector, and <inline-formula>
<mml:math display="inline" id="im7">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b3;</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> indicates the corresponding weight coefficient.</p>
<p>Based on the correlation coefficient curve, three wavelengths with wide intervals located at peaks and troughs are selected: 580 nm, 680 nm, and 850nm.</p>
<p>The chosen three bands were converted into single-wavelength grayscale images, as shown in <xref ref-type="fig" rid="f7">
<bold>Figure&#xa0;7</bold>
</xref>, where NTRMs are clearly visible. The contour information of NTRM is mainly reflected in the grayscale image at 580 nm, the contrast between NTRMs and tobacco leaves is enhanced in the grayscale image at 680 nm, and the internal information of NTRMs is primarily reflected in the grayscale image at 850 nm. This suggests that the three bands that were chosen are trustworthy. For the sake of additional study, the complete spectral region will be represented by these three distinctive bands.</p>
<fig id="f7" position="float">
<label>Figure&#xa0;7</label>
<caption>
<p>Grayscale images corresponding to different wavelengths: <bold>(a)</bold> 580nm, <bold>(b)</bold> 680nm, <bold>(c)</bold> 850nm.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-16-1538051-g007.tif"/>
</fig>
</sec>
</sec>
<sec id="s2_4">
<label>2.4</label>
<title>Decorrelation contrast stretching</title>
<p>Decorrelation contrast stretching is one of the effective methods for eliminating strong correlations in images (<xref ref-type="bibr" rid="B12">Gillespie, 2003</xref>; <xref ref-type="bibr" rid="B13">Gillespie et&#xa0;al., 2003</xref>). In multispectral images, it enhances the color difference, resulting in higher color contrast, highlighting complex details, and producing a richer color composite image. Decorrelation stretching is widely used in hyperspectral data (<xref ref-type="bibr" rid="B4">Domingo et&#xa0;al., 2015</xref>; <xref ref-type="bibr" rid="B26">Palomar-Vazquez et&#xa0;al., 2017</xref>) and has been shown to be very effective in emphasizing subtle details in images (<xref ref-type="bibr" rid="B17">Le Quellec et&#xa0;al., 2015</xref>; <xref ref-type="bibr" rid="B31">Rogerio-Candelera, 2015</xref>). <xref ref-type="fig" rid="f8">
<bold>Figure&#xa0;8</bold>
</xref> shows the pseudo color image fusion and decorrelation stretching applied to the grayscale images of the three selected characteristic wavelengths. PCC and DCS images are the terms used to describe the final images. Following the application of these two processes, it is clear that the NTRMs can be identified. The efficacy of the technique is demonstrated by the DCS image, which displays very obvious contours and color distinctions, even while some weeds and tobacco leaves have similar colors in the RGB image. However, tobacco leaves can also exhibit weed-like colors because of the presence of mold or roots. As a result, deep learning techniques should be used to capture more intricate details like texture and shape.</p>
<fig id="f8" position="float">
<label>Figure&#xa0;8</label>
<caption>
<p>Result images after processing: <bold>(a)</bold> RGB, <bold>(b)</bold> Pseudo color composition (PCC), <bold>(c)</bold> Decorrelation contrast stretching (DCS).</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-16-1538051-g008.tif"/>
</fig>
</sec>
<sec id="s2_5">
<label>2.5</label>
<title>Dataset construction</title>
<p>The purpose of data augmentation is to expand the dataset to improve the model&#x2019;s fitting capability, including methods such as image rotation, cropping, and brightness adjustment (<xref ref-type="bibr" rid="B24">Maharana et&#xa0;al., 2022</xref>; <xref ref-type="bibr" rid="B47">Yuan et&#xa0;al., 2023</xref>). Only 1000 hyperspectral data samples were gathered for this study because hyperspectral data acquisition, processing, and storage are time-consuming and complex. Image rotation and background filling techniques were selected for data augmentation in order to improve the detection performance of NTRMs under tobacco leaf occlusion. Before data augmentation, the original images were split into training, validation, and test sets in a 6:2:2 ratio, and NTRMs were annotated using the LabelImg tool (<ext-link ext-link-type="uri" xlink:href="https://github.com/HumanSignal/labelImg">https://github.com/HumanSignal/labelImg</ext-link>). The images in these three sets were then performed to data augmentation. As shown in <xref ref-type="fig" rid="f9">
<bold>Figure&#xa0;9</bold>
</xref>, each original image was rotated clockwise by 90&#xb0;, 180&#xb0;, and 270&#xb0;, and backgrounds without NTRMs were cut and overlaid onto areas with NTRMs. Three augmented images were created from each original image, and any two of these images were then joined with the original to create the Tobacco-3000 dataset, which had 3000 images with 12,609 NTRMs for model training. The quantities of each type of NTRMs are shown in <xref ref-type="table" rid="T3">
<bold>Table&#xa0;3</bold>
</xref>, indicating that the distribution ratio of each NTRMs is roughly the same across the sets. In order to ensure that the two rotated images chosen for each original image were consistent and allow for fair comparison in later experiments, the study performed the same partitioning and data augmentation processes to PCC and DCS images.</p>
<fig id="f9" position="float">
<label>Figure&#xa0;9</label>
<caption>
<p>Data augmentation process.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-16-1538051-g009.tif"/>
</fig>
<table-wrap id="T3" position="float">
<label>Table&#xa0;3</label>
<caption>
<p>Data distribution of NTRMs.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="left">Category of NTRMs</th>
<th valign="middle" align="left">Category of NTRMs</th>
<th valign="middle" align="left">Number</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" rowspan="3" align="left">Train set</td>
<td valign="middle" align="left">Weed</td>
<td valign="middle" align="left">2697</td>
</tr>
<tr>
<td valign="middle" align="left">Rubber ring</td>
<td valign="middle" align="left">1944</td>
</tr>
<tr>
<td valign="top" align="left">Feather</td>
<td valign="top" align="left">2898</td>
</tr>
<tr>
<td valign="top" rowspan="3" align="left">Validation set</td>
<td valign="middle" align="left">Weed</td>
<td valign="top" align="left">882</td>
</tr>
<tr>
<td valign="middle" align="left">Rubber ring</td>
<td valign="top" align="left">678</td>
</tr>
<tr>
<td valign="top" align="left">Feather</td>
<td valign="top" align="left">951</td>
</tr>
<tr>
<td valign="top" rowspan="3" align="left">Test set</td>
<td valign="middle" align="left">Weed</td>
<td valign="top" align="left">960</td>
</tr>
<tr>
<td valign="middle" align="left">Rubber ring</td>
<td valign="top" align="left">621</td>
</tr>
<tr>
<td valign="top" align="left">Feather</td>
<td valign="top" align="left">978</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s2_6">
<label>2.6</label>
<title>DBY-Tobacco detection model</title>
<sec id="s2_6_1">
<label>2.6.1</label>
<title>Improved DBY -Tobacco network structure</title>
<p>The YOLO series of algorithms has evolved to YOLOv11. However, the YOLOv8 algorithm is highly flexible and stable in actual deployment, and it can handle a variety of hardware platforms, ensuring the hardware compatibility of the model. The YOLOv8 algorithm is divided into five versions based on complexity: YOLOv8n, YOLOv8s, YOLOv8m, YOLOv8l, and YOLOv8x. The model needs a lower model complexity and detection time because it is designed for real-time monitoring. Therefore, the DBY-Tobacco model proposed in this study is an improvement based on YOLOv8n.</p>
<p>The structures of YOLO series networks are composed of a backbone, neck, and head:</p>
<list list-type="order">
<list-item>
<p>The backbone is composed of a Convolutional Neural Network (CNN), and its primary task is feature extraction at various levels of image granularity. It is capable of extracting feature maps from input images that contain semantic information about the object&#x2019;s position, shape, color, and texture.</p>
</list-item>
<list-item>
<p>The neck receives the feature maps produced by the backbone and uses a series of feature fusion mechanisms, such as the Feature Pyramid Network (FPN), Path Aggregation Network (PAN), and Bidirectional-FPN (BiFPN) (<xref ref-type="bibr" rid="B25">Mingxing et&#xa0;al., 2020</xref>; <xref ref-type="bibr" rid="B40">Wang et&#xa0;al., 2022</xref>; <xref ref-type="bibr" rid="B43">Xu et&#xa0;al., 2023</xref>), to fuse features at different scales, enabling more effective target detection.</p>
</list-item>
<list-item>
<p>The head is the component in the YOLO algorithm responsible for generating detection results. Based on the feature maps passed from the neck, the model predicts the targets, producing both the bounding boxes and the class probabilities for the detected objects.</p>
</list-item>
</list>
<p>The model creates two backbone branches, as illustrated in <xref ref-type="fig" rid="f10">
<bold>Figure&#xa0;10</bold>
</xref>, to process RGB and DCS images independently, allowing for the simultaneous extraction of features from each branch&#x2019;s images. BiFPN-Efficient-Lighting-Feature-Pyramid-Network (BELFPN) is a lightweight and efficient structure that is proposed for more effective feature fusion at the neck part. The primary components of this structure are C2f_Efficient-Lighting (C2f_EL) and BiFPN (<xref ref-type="bibr" rid="B44">Yang et&#xa0;al., 2024</xref>). The BiFPN may do multi-scale feature weighted fusion by accepting multiple inputs.</p>
<fig id="f10" position="float">
<label>Figure&#xa0;10</label>
<caption>
<p>Network architecture of the DBY-Tobacco model and its components: <bold>(a)</bold> DBY-Tobacco, <bold>(b)</bold> ConvModule, <bold>(c)</bold> C2f module, <bold>(d)</bold> C2f_EL module.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-16-1538051-g010.tif"/>
</fig>
</sec>
<sec id="s2_6_2">
<label>2.6.2</label>
<title>C2f_EL module</title>
<p>The C2f_EL module replaces the Bottleneck in C2f module with the Multi-Branch-Module (ELModule). The ELModule is an efficient and lightweight structure using Multi-Branch-Module (MBModule) as its operator. As shown in <xref ref-type="fig" rid="f10">
<bold>Figure&#xa0;10d</bold>
</xref>, the MBModule has three branches that operate in parallel, which speeds up computation. Depthwise Convolution (DWConv) is used in each branch, which significantly reducing the computational load and parameter. Convolutional kernels of various sizes are used by the branches to gather information on multi-scale features, and Channel Shuffle is then used to accomplish multi-scale feature fusion.</p>
<p>While smaller receptive fields are more suited for identifying smaller scale targets, Larger receptive fields are better suited for detecting larger objects (<xref ref-type="bibr" rid="B45">Yanghao et&#xa0;al., 2019</xref>). To get multi-scale information, the MBModule chooses different multi-scale convolutional kernels for various feature layers.</p>
</sec>
<sec id="s2_6_3">
<label>2.6.3</label>
<title>Loss function</title>
<p>We used the loss function of the YOLOv8 model, which combines Binary Cross Entropy (BCE) Loss, CIoU Loss, and Distribution Focal Loss (DFL) (<xref ref-type="bibr" rid="B19">Li et&#xa0;al., 2020</xref>) with weighted summation. The classification loss is BCE, while the localization losses are CIoU and DFL. The calculation formulas are given in <xref ref-type="disp-formula" rid="eq2">Equations 2</xref>&#x2013;<xref ref-type="disp-formula" rid="eq6">6</xref>:</p>
<disp-formula id="eq2">
<label>(2)</label>
<mml:math display="block" id="M2">
<mml:mrow>
<mml:msub>
<mml:mi>L</mml:mi>
<mml:mrow>
<mml:mi>B</mml:mi>
<mml:mi>C</mml:mi>
<mml:mi>E</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mo>&#x2212;</mml:mo>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>q</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>log</mml:mi>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>p</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>+</mml:mo>
<mml:mo stretchy="false">(</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>q</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>log</mml:mi>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>p</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula id="eq3">
<label>(3)</label>
<mml:math display="block" id="M3">
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>F</mml:mi>
<mml:mi>L</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>S</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>S</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mo>&#x2212;</mml:mo>
<mml:mo stretchy="false">(</mml:mo>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>y</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>log</mml:mi>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>S</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>+</mml:mo>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>y</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mtext>log</mml:mtext>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>S</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula id="eq4">
<label>(4)</label>
<mml:math display="block" id="M4">
<mml:mrow>
<mml:msub>
<mml:mi>L</mml:mi>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>I</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>U</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>C</mml:mi>
<mml:mi>I</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>U</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>I</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>U</mml:mi>
<mml:mo>+</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msup>
<mml:mi>&#x3c1;</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>b</mml:mi>
<mml:mo>,</mml:mo>
<mml:msup>
<mml:mi>b</mml:mi>
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:msup>
<mml:mi>c</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mfrac>
<mml:mo>+</mml:mo>
<mml:mi>&#x3b1;</mml:mi>
<mml:mi>v</mml:mi>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula id="eq5">
<label>(5)</label>
<mml:math display="block" id="M5">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mi>v</mml:mi>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>I</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>U</mml:mi>
<mml:mo>+</mml:mo>
<mml:mi>v</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula id="eq6">
<label>(6)</label>
<mml:math display="block" id="M6">
<mml:mrow>
<mml:mi>v</mml:mi>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mn>4</mml:mn>
<mml:mrow>
<mml:msup>
<mml:mi>&#x3c0;</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mfrac>
<mml:msup>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>arctan</mml:mi>
<mml:mfrac>
<mml:mrow>
<mml:msup>
<mml:mi>w</mml:mi>
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
<mml:mrow>
<mml:msup>
<mml:mi>h</mml:mi>
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfrac>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>a</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
<mml:mfrac>
<mml:mi>w</mml:mi>
<mml:mi>h</mml:mi>
</mml:mfrac>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:math>
</disp-formula>
<p>where, <inline-formula>
<mml:math display="inline" id="im8">
<mml:mi>p</mml:mi>
</mml:math>
</inline-formula> represents the probability of a positive prediction, <inline-formula>
<mml:math display="inline" id="im9">
<mml:mi>q</mml:mi>
</mml:math>
</inline-formula> denotes the label, <inline-formula>
<mml:math display="inline" id="im10">
<mml:mrow>
<mml:mi>I</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>U</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> stands for the Intersection over Union between the predicted box and the ground truth box, <inline-formula>
<mml:math display="inline" id="im11">
<mml:mi>y</mml:mi>
</mml:math>
</inline-formula> represents the true target value, <inline-formula>
<mml:math display="inline" id="im12">
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula>
<mml:math display="inline" id="im13">
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> are the neighboring boundary values of <inline-formula>
<mml:math display="inline" id="im14">
<mml:mi>y</mml:mi>
</mml:math>
</inline-formula>, <inline-formula>
<mml:math display="inline" id="im15">
<mml:mi>S</mml:mi>
</mml:math>
</inline-formula> represents the Softmax function, <inline-formula>
<mml:math display="inline" id="im16">
<mml:mrow>
<mml:msup>
<mml:mi>&#x3c1;</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> denotes the Euclidean distance between two rectangular boxes, <inline-formula>
<mml:math display="inline" id="im17">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula> represents the center point of the predicted box, <inline-formula>
<mml:math display="inline" id="im18">
<mml:mrow>
<mml:msup>
<mml:mi>b</mml:mi>
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> represents the center point of the ground truth box, <inline-formula>
<mml:math display="inline" id="im19">
<mml:mi>c</mml:mi>
</mml:math>
</inline-formula> is the diagonal distance of the smallest enclosing area containing both rectangles, <inline-formula>
<mml:math display="inline" id="im20">
<mml:mi>&#x3b1;</mml:mi>
</mml:math>
</inline-formula> is the weight coefficient representing the aspect ratio consistency factor between the predicted box and the ground truth box, <inline-formula>
<mml:math display="inline" id="im21">
<mml:mi>v</mml:mi>
</mml:math>
</inline-formula> is a balance ratio used to measure the consistency of the relative proportion between two rectangles, <inline-formula>
<mml:math display="inline" id="im22">
<mml:mi>w</mml:mi>
</mml:math>
</inline-formula> and <inline-formula>
<mml:math display="inline" id="im23">
<mml:mi>h</mml:mi>
</mml:math>
</inline-formula> denote the width and height of the predicted box, and <inline-formula>
<mml:math display="inline" id="im24">
<mml:mrow>
<mml:msup>
<mml:mi>w</mml:mi>
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula>
<mml:math display="inline" id="im25">
<mml:mrow>
<mml:msup>
<mml:mi>h</mml:mi>
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> represent the width and height of the ground truth box.</p>
</sec>
</sec>
</sec>
<sec id="s3" sec-type="results">
<label>3</label>
<title>Results and discussions</title>
<sec id="s3_1">
<label>3.1</label>
<title>Environmental configuration</title>
<p>The following hardware platform was used for the experiments: Intel(R) Xeon(R) Platinum 8383C CPU @ 2.70GHz, NVIDIA GeForce RTX 4090. Anaconda3 was used to create the training virtual environment, and <xref ref-type="table" rid="T4">
<bold>Table&#xa0;4</bold>
</xref> displays the code execution environment. YOLOv8n was used as the base network model for the experiments. <xref ref-type="table" rid="T5">
<bold>Table&#xa0;5</bold>
</xref> lists the training hyperparameters.</p>
<table-wrap id="T4" position="float">
<label>Table&#xa0;4</label>
<caption>
<p>Parameters of the virtual environment.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="top" align="left">Packages</th>
<th valign="top" align="left">Version</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Ultralytics</td>
<td valign="top" align="left">8.2.79</td>
</tr>
<tr>
<td valign="top" align="left">Python</td>
<td valign="top" align="left">3.9.19</td>
</tr>
<tr>
<td valign="top" align="left">Torch</td>
<td valign="top" align="left">1.11.0</td>
</tr>
<tr>
<td valign="top" align="left">Torchvision</td>
<td valign="top" align="left">0.12.0</td>
</tr>
<tr>
<td valign="top" align="left">Torchaudio</td>
<td valign="top" align="left">0.11.0</td>
</tr>
<tr>
<td valign="top" align="left">Cuda</td>
<td valign="top" align="left">11.5</td>
</tr>
<tr>
<td valign="top" align="left">PyCharm</td>
<td valign="top" align="left">2021.3.1</td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap id="T5" position="float">
<label>Table&#xa0;5</label>
<caption>
<p>Hyperparameter settings for network training.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="top" align="left">Parameters</th>
<th valign="top" align="left">Values</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Batch size</td>
<td valign="top" align="left">16</td>
</tr>
<tr>
<td valign="top" align="left">Pre-trained weight</td>
<td valign="top" align="left">False</td>
</tr>
<tr>
<td valign="top" align="left">Epoch</td>
<td valign="top" align="left">300</td>
</tr>
<tr>
<td valign="top" align="left">Patience</td>
<td valign="top" align="left">50</td>
</tr>
<tr>
<td valign="top" align="left">Workers</td>
<td valign="top" align="left">4</td>
</tr>
<tr>
<td valign="top" align="left">Input size</td>
<td valign="top" align="left">640</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s3_2">
<label>3.2</label>
<title>Performance evaluation</title>
<p>To assess the performance of the improved DBY-Tobacco model based on detection results, metrics such as Precision (P) as per <xref ref-type="disp-formula" rid="eq7">Equation 7</xref>, Recall (R) as per <xref ref-type="disp-formula" rid="eq8">Equation 8</xref>, Mean Average Precision (mAP) as per <xref ref-type="disp-formula" rid="eq9">Equations 9</xref>, <xref ref-type="disp-formula" rid="eq10">10</xref>, F1 Score (F1) as per <xref ref-type="disp-formula" rid="eq11">Equation 11</xref>, Frames Per Second (FPS), parameter count, Giga Floating-point Operations Per Second (GFLOPs), and model size were used. Validation experiments were carried out on the test set to ensure accurate evaluation, and 3000 warm-up iterations were performed to assure complete GPU resource use before measuring FPS.</p>
<disp-formula id="eq7">
<label>(7)</label>
<mml:math display="block" id="M7">
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>+</mml:mo>
<mml:mi>F</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mo>&#xa0;</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula id="eq8">
<label>(8)</label>
<mml:math display="block" id="M8">
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>+</mml:mo>
<mml:mi>F</mml:mi>
<mml:mi>N</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mo>&#xa0;</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula id="eq9">
<label>(9)</label>
<mml:math display="block" id="M9">
<mml:mrow>
<mml:mi>A</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>=</mml:mo>
<mml:msubsup>
<mml:mo>&#x222b;</mml:mo>
<mml:mn>0</mml:mn>
<mml:mn>1</mml:mn>
</mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>r</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mi>d</mml:mi>
<mml:mi>r</mml:mi>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula id="eq10">
<label>(10)</label>
<mml:math display="block" id="M10">
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>A</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msubsup>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>n</mml:mi>
</mml:msubsup>
<mml:mi>A</mml:mi>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mi>n</mml:mi>
</mml:mfrac>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula id="eq11">
<label>(11)</label>
<mml:math display="block" id="M11">
<mml:mrow>
<mml:mi>F</mml:mi>
<mml:mn>1</mml:mn>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mo>&#xd7;</mml:mo>
<mml:mi>P</mml:mi>
<mml:mo>&#xd7;</mml:mo>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mo>+</mml:mo>
<mml:mi>R</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:math>
</disp-formula>
<p>where, <inline-formula>
<mml:math display="inline" id="im26">
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> (True Positive) means correctly predicted positive instances, <inline-formula>
<mml:math display="inline" id="im27">
<mml:mrow>
<mml:mi>F</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> (False Positive) represents incorrectly predicted positive instances, <inline-formula>
<mml:math display="inline" id="im28">
<mml:mrow>
<mml:mi>F</mml:mi>
<mml:mi>N</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> (False Negative) denotes actual positive instances that were incorrectly predicted as negative, <inline-formula>
<mml:math display="inline" id="im29">
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>r</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> represents the precision-recall curve, and <inline-formula>
<mml:math display="inline" id="im30">
<mml:mi>n</mml:mi>
</mml:math>
</inline-formula> denotes the number of categories.</p>
</sec>
<sec id="s3_3">
<label>3.3</label>
<title>Ablation experiments</title>
<p>Based on YOLOv8n, a series of improvements were implemented in the study. To validate the effectiveness of these improvements, ablation experiments were designed on the Tobacco-3000 dataset, with results shown in <xref ref-type="table" rid="T6">
<bold>Table&#xa0;6</bold>
</xref>.</p>
<table-wrap id="T6" position="float">
<label>Table&#xa0;6</label>
<caption>
<p>Results of ablation experiments.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="top" align="left">Method</th>
<th valign="top" align="left">Input</th>
<th valign="top" align="left">Model size</th>
<th valign="top" align="left">Parameters</th>
<th valign="top" align="left">GFLOPs</th>
<th valign="top" align="left">FPS</th>
<th valign="top" align="left">Precise</th>
<th valign="top" align="left">Recall</th>
<th valign="top" align="left">mAP@50</th>
<th valign="top" align="left">mAP@50-95</th>
<th valign="top" align="left">F1</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">YOLOv8n(I1)</td>
<td valign="top" align="left">RGB</td>
<td valign="top" align="left">6.3</td>
<td valign="top" align="left">3,011,433</td>
<td valign="top" align="left">8.1</td>
<td valign="top" align="left">126</td>
<td valign="top" align="left">88</td>
<td valign="top" align="left">82.9</td>
<td valign="top" align="left">88.2</td>
<td valign="top" align="left">65.7</td>
<td valign="top" align="left">85.4</td>
</tr>
<tr>
<td valign="top" align="left">YOLOv8n(I2)</td>
<td valign="top" align="left">PCC</td>
<td valign="top" align="left">6.3</td>
<td valign="top" align="left">3,011,433</td>
<td valign="top" align="left">8.1</td>
<td valign="top" align="left">128</td>
<td valign="top" align="left">90.5</td>
<td valign="top" align="left">86.7</td>
<td valign="top" align="left">90</td>
<td valign="top" align="left">67.5</td>
<td valign="top" align="left">88.6</td>
</tr>
<tr>
<td valign="top" align="left">YOLOv8n(I3)</td>
<td valign="top" align="left">DCS</td>
<td valign="top" align="left">6.3</td>
<td valign="top" align="left">3,011,433</td>
<td valign="top" align="left">8.1</td>
<td valign="top" align="left">122</td>
<td valign="top" align="left">91.4</td>
<td valign="top" align="left">84.2</td>
<td valign="top" align="left">90.2</td>
<td valign="top" align="left">67.9</td>
<td valign="top" align="left">87.7</td>
</tr>
<tr>
<td valign="top" align="left">YOLOv8n(I4)</td>
<td valign="top" align="left">Multi</td>
<td valign="top" align="left">9</td>
<td valign="top" align="left">4,362,137</td>
<td valign="top" align="left">12.5</td>
<td valign="top" align="left">103</td>
<td valign="top" align="left">91.7</td>
<td valign="top" align="left">87.1</td>
<td valign="top" align="left">92.3</td>
<td valign="top" align="left">73</td>
<td valign="top" align="left">89.3</td>
</tr>
<tr>
<td valign="top" align="left">DBY-Tobacco</td>
<td valign="top" align="left">Multi</td>
<td valign="top" align="left">8.5</td>
<td valign="top" align="left">3,733,674</td>
<td valign="top" align="left">10.7</td>
<td valign="top" align="left">
<bold>151</bold>
</td>
<td valign="top" align="left">
<bold>91.8</bold>
</td>
<td valign="top" align="left">
<bold>87.6</bold>
</td>
<td valign="top" align="left">
<bold>92.8</bold>
</td>
<td valign="top" align="left">
<bold>73.7</bold>
</td>
<td valign="top" align="left">
<bold>89.7</bold>
</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<fn>
<p>Bold values indicates the maximum value of the column.</p>
</fn>
</table-wrap-foot>
</table-wrap>
<p>In this context, &#x201c;Multi&#x201d; refers to using RGB and DCS images as separate input branches for the model. Comparing I2 to I1, all performance metrics showed improvement. I3 showed some improvements over I2, but no enhancement in Recall was observed. This could be owing to the presence of roots or mold in the tobacco leaves, which causes the DCS technique to transform these areas into colors similar to weeds, prompting the model to incorrectly categorize them as NTRMs. I4, which included features from RGB and DCS images, resulted in a considerable overall improvement but increased the computing load and inference time. The DBY-Tobacco model, which was based on I4, included the BELFPN module, which improved overall model performance while reducing complexity and inference time. Overall, the ablation experiments show that HSI technology works and validate the development of the DBY-Tobacco model.</p>
</sec>
<sec id="s3_4">
<label>3.4</label>
<title>Comparison of algorithms</title>
<p>To assess the performance of the DBY-Tobacco model, in <xref ref-type="table" rid="T7">
<bold>Table&#xa0;7</bold>
</xref>, we compared it to YOLO series methods and previously proposed multispectral object detection models.</p>
<table-wrap id="T7" position="float">
<label>Table&#xa0;7</label>
<caption>
<p>Comparison of the DBY-Tobacco model with other models.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="top" align="left">Method</th>
<th valign="top" align="left">Input</th>
<th valign="top" align="left">Model size</th>
<th valign="top" align="left">Parameters</th>
<th valign="top" align="left">GFLOPs</th>
<th valign="top" align="left">FPS</th>
<th valign="top" align="left">Precise</th>
<th valign="top" align="left">Recall</th>
<th valign="top" align="left">mAP@50</th>
<th valign="top" align="left">mAP@50-95</th>
<th valign="top" align="left">F1</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">YOLOv3-tiny</td>
<td valign="top" align="left">RGB</td>
<td valign="top" align="left">24.4</td>
<td valign="top" align="left">12,133,670</td>
<td valign="top" align="left">19</td>
<td valign="top" align="left">303</td>
<td valign="bottom" align="left">89.2</td>
<td valign="bottom" align="left">84.5</td>
<td valign="bottom" align="left">88.3</td>
<td valign="bottom" align="left">64.6</td>
<td valign="bottom" align="left">86.8</td>
</tr>
<tr>
<td valign="top" align="left">YOLOv3-tiny</td>
<td valign="top" align="left">DCS</td>
<td valign="top" align="left">24.4</td>
<td valign="top" align="left">12,133,670</td>
<td valign="top" align="left">19</td>
<td valign="top" align="left">300</td>
<td valign="bottom" align="left">90.6</td>
<td valign="bottom" align="left">84.8</td>
<td valign="bottom" align="left">90.2</td>
<td valign="bottom" align="left">65</td>
<td valign="bottom" align="left">87.6</td>
</tr>
<tr>
<td valign="top" align="left">YOLOv5n</td>
<td valign="top" align="left">RGB</td>
<td valign="bottom" align="left">5.3</td>
<td valign="bottom" align="left">2,509,049</td>
<td valign="bottom" align="left">7.2</td>
<td valign="top" align="left">123</td>
<td valign="bottom" align="left">89.4</td>
<td valign="bottom" align="left">83.8</td>
<td valign="bottom" align="left">88.7</td>
<td valign="bottom" align="left">66.5</td>
<td valign="bottom" align="left">86.5</td>
</tr>
<tr>
<td valign="top" align="left">YOLOv5n</td>
<td valign="top" align="left">DCS</td>
<td valign="bottom" align="left">5.3</td>
<td valign="bottom" align="left">2,509,049</td>
<td valign="bottom" align="left">7.2</td>
<td valign="top" align="left">126</td>
<td valign="bottom" align="left">88.9</td>
<td valign="bottom" align="left">83</td>
<td valign="bottom" align="left">88.6</td>
<td valign="bottom" align="left">66</td>
<td valign="bottom" align="left">85.8</td>
</tr>
<tr>
<td valign="top" align="left">YOLOv6n</td>
<td valign="top" align="left">RGB</td>
<td valign="bottom" align="left">8.7</td>
<td valign="bottom" align="left">4,238,441</td>
<td valign="bottom" align="left">11.9</td>
<td valign="top" align="left">125</td>
<td valign="bottom" align="left">87.7</td>
<td valign="bottom" align="left">83.5</td>
<td valign="bottom" align="left">86.9</td>
<td valign="bottom" align="left">66.1</td>
<td valign="bottom" align="left">85.5</td>
</tr>
<tr>
<td valign="top" align="left">YOLOv6n</td>
<td valign="top" align="left">DCS</td>
<td valign="bottom" align="left">8.7</td>
<td valign="bottom" align="left">4,238,441</td>
<td valign="bottom" align="left">11.9</td>
<td valign="top" align="left">129</td>
<td valign="bottom" align="left">89.9</td>
<td valign="bottom" align="left">83.4</td>
<td valign="bottom" align="left">89.8</td>
<td valign="bottom" align="left">68.6</td>
<td valign="bottom" align="left">86.5</td>
</tr>
<tr>
<td valign="top" align="left">YOLOv8n</td>
<td valign="top" align="left">RGB</td>
<td valign="top" align="left">6.3</td>
<td valign="top" align="left">3,011,433</td>
<td valign="top" align="left">8.1</td>
<td valign="top" align="left">126</td>
<td valign="top" align="left">88</td>
<td valign="top" align="left">82.9</td>
<td valign="top" align="left">88.2</td>
<td valign="top" align="left">65.7</td>
<td valign="top" align="left">85.4</td>
</tr>
<tr>
<td valign="top" align="left">YOLOv8n</td>
<td valign="top" align="left">DCS</td>
<td valign="top" align="left">6.3</td>
<td valign="top" align="left">3,011,433</td>
<td valign="top" align="left">8.1</td>
<td valign="top" align="left">122</td>
<td valign="top" align="left">91.4</td>
<td valign="top" align="left">84.2</td>
<td valign="top" align="left">90.2</td>
<td valign="top" align="left">67.9</td>
<td valign="top" align="left">87.7</td>
</tr>
<tr>
<td valign="top" align="left">YOLOv9t</td>
<td valign="top" align="left">RGB</td>
<td valign="bottom" align="left">4.7</td>
<td valign="bottom" align="left">2,005,993</td>
<td valign="bottom" align="left">7.9</td>
<td valign="top" align="left">64</td>
<td valign="bottom" align="left">87.8</td>
<td valign="bottom" align="left">82.9</td>
<td valign="bottom" align="left">87.6</td>
<td valign="bottom" align="left">66.3</td>
<td valign="bottom" align="left">85.3</td>
</tr>
<tr>
<td valign="top" align="left">YOLOv9t</td>
<td valign="top" align="left">DCS</td>
<td valign="bottom" align="left">4.7</td>
<td valign="bottom" align="left">2,005,993</td>
<td valign="bottom" align="left">7.9</td>
<td valign="top" align="left">63</td>
<td valign="bottom" align="left">90.6</td>
<td valign="bottom" align="left">83.4</td>
<td valign="bottom" align="left">90.4</td>
<td valign="bottom" align="left">68.4</td>
<td valign="bottom" align="left">86.9</td>
</tr>
<tr>
<td valign="top" align="left">YOLOv10n</td>
<td valign="top" align="left">RGB</td>
<td valign="bottom" align="left">5.8</td>
<td valign="bottom" align="left">2,708,210</td>
<td valign="bottom" align="left">8.4</td>
<td valign="top" align="left">114</td>
<td valign="bottom" align="left">85.5</td>
<td valign="bottom" align="left">79.7</td>
<td valign="bottom" align="left">85.5</td>
<td valign="bottom" align="left">62.9</td>
<td valign="bottom" align="left">82.5</td>
</tr>
<tr>
<td valign="top" align="left">YOLOv10n</td>
<td valign="top" align="left">DCS</td>
<td valign="bottom" align="left">5.8</td>
<td valign="bottom" align="left">2,708,210</td>
<td valign="bottom" align="left">8.4</td>
<td valign="top" align="left">119</td>
<td valign="bottom" align="left">90</td>
<td valign="bottom" align="left">80.7</td>
<td valign="bottom" align="left">88.6</td>
<td valign="bottom" align="left">65.8</td>
<td valign="bottom" align="left">85.1</td>
</tr>
<tr>
<td valign="top" align="left">SuperYOLO</td>
<td valign="top" align="left">Multi</td>
<td valign="bottom" align="left">5.5</td>
<td valign="bottom" align="left">2,520,225</td>
<td valign="bottom" align="left">63</td>
<td valign="top" align="left">79</td>
<td valign="bottom" align="left">91.5</td>
<td valign="bottom" align="left">85.7</td>
<td valign="bottom" align="left">91.9</td>
<td valign="bottom" align="left">73.1</td>
<td valign="bottom" align="left">88.5</td>
</tr>
<tr>
<td valign="top" align="left">CFT</td>
<td valign="top" align="left">Multi</td>
<td valign="bottom" align="left">24.7</td>
<td valign="bottom" align="left">12,044,313</td>
<td valign="bottom" align="left">869.3</td>
<td valign="top" align="left">51</td>
<td valign="bottom" align="left">89.9</td>
<td valign="bottom" align="left">82.7</td>
<td valign="bottom" align="left">88.6</td>
<td valign="bottom" align="left">66.5</td>
<td valign="bottom" align="left">86.1</td>
</tr>
<tr>
<td valign="top" align="left">ICAFusion</td>
<td valign="top" align="left">Multi</td>
<td valign="bottom" align="left">7.7</td>
<td valign="bottom" align="left">3,662,521</td>
<td valign="bottom" align="left">10.4</td>
<td valign="top" align="left">109</td>
<td valign="bottom" align="left">90.3</td>
<td valign="bottom" align="left">87.5</td>
<td valign="bottom" align="left">91.4</td>
<td valign="bottom" align="left">72.1</td>
<td valign="bottom" align="left">88.9</td>
</tr>
<tr>
<td valign="top" align="left">DBY-Tobacco</td>
<td valign="top" align="left">Multi</td>
<td valign="top" align="left">8.5</td>
<td valign="top" align="left">3,733,674</td>
<td valign="top" align="left">10.7</td>
<td valign="top" align="left">151</td>
<td valign="top" align="left">
<bold>91.8</bold>
</td>
<td valign="top" align="left">
<bold>87.6</bold>
</td>
<td valign="top" align="left">
<bold>92.8</bold>
</td>
<td valign="top" align="left">
<bold>73.7</bold>
</td>
<td valign="top" align="left">
<bold>89.7</bold>
</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<fn>
<p>Bold values indicates the maximum value of the column.</p>
</fn>
</table-wrap-foot>
</table-wrap>
<p>Through comparison, it can be concluded that, while YOLOv5n exhibits a decrease of 0.1 in mAP@50 and 0.5 in mAP@50-95 on DCS images compared to RGB images, other models perform better on DCS images, with improvements of approximately 2% in mAP@50 and mAP@50-95. For multi-input models, the proposed DBY-Tobacco model outperformed all other models in Precision, Recall, mAP@50, mAP@50-95, and F1 scores of 87.6%, 87.6%, 92.8%, 73.7%, and 89.7%, respectively. DBY-Tobacco has a slightly higher model size and parameter count than the SuperYOLO and ICAFusion models, but it provides faster inference speed, making it more suitable for practical applications. To summarize, DBY-Tobacco, with its low complexity and high performance, is well-suited for NTRMs detection tasks.</p>
</sec>
<sec id="s3_5">
<label>3.5</label>
<title>Comparison of validation</title>
<p>To demonstrate the practical detection capability of the proposed DBY-Tobacco model, it was compared to classic detection algorithms, as shown in <xref ref-type="fig" rid="f11">
<bold>Figure&#xa0;11</bold>
</xref>. The orange rectangles in the images represent ground truth boxes for weeds, the yellow rectangles represent ground truth boxes for rubber rings, the brown rectangles represent ground truth boxes for feathers, and the red rectangles represent missed detections, false detections, misdetections, and undetected objects overall.</p>
<fig id="f11" position="float">
<label>Figure&#xa0;11</label>
<caption>
<p>Comparison of different models in practical detection performance: <bold>(a)</bold> Group 1, <bold>(b)</bold> Group 2.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-16-1538051-g011.tif"/>
</fig>
<p>Through comparison, it is clear that in the RGB images given in <xref ref-type="fig" rid="f11">
<bold>Figure&#xa0;11a</bold>
</xref>, the YOLOv8n model missed and incorrectly detected weeds with colors similar to tobacco leaves. This problem improved in DCS images, but the model misidentified certain tobacco leaves and shadows in DCS images as feathers, indicating that the model needs to learn more detailed information. However, by combining RGB and DCS images, these issues were considerably reduced. The YOLOv8n model did not perform well in detecting overlapping NTRMs due to tobacco leaf accumulation and blockage between NTRMs, as shown in <xref ref-type="fig" rid="f11">
<bold>Figure&#xa0;11b</bold>
</xref>. However, the ICAFusion model (<xref ref-type="bibr" rid="B33">Shen et&#xa0;al., 2024</xref>), SuperYOLO model (<xref ref-type="bibr" rid="B48">Zhang et&#xa0;al., 2023</xref>), and DBY-Tobacco model performed better in detecting these NTRMs. Further comparison shows that in <xref ref-type="fig" rid="f11">
<bold>Figure&#xa0;11a</bold>
</xref>, the DBY-Tobacco model has more accurate bounding boxes and better confidence scores. The analysis presented above confirms the advanced nature of both hyperspectral technology and the proposed DBY-Tobacco model.</p>
</sec>
</sec>
<sec id="s4" sec-type="conclusion">
<label>4</label>
<title>Conclusion</title>
<p>This study effectively detected NTRMs using HSI and computer vision technologies. We collected 1,000 HSIs in the spectral region from 400nm to 900nm and used PCA to reduce dimensionality, allowing us to select three wavelengths (580nm, 680nm, and 850nm). The image was processed further using pseudo color composition and decorrelation contrast stretch. In order to improve the robustness and generalization ability of the model, we performed data augmentation. To improve model performance, DBY-Tobacco model was proposed, which including a dual-branch backbone and a novel BELFPN module. The DBY-Tobacco achieved F1, mAP@50, mAP@50-95, recall, precision, and FPS scores of 89.7%, 92.8%, 73.7%, 87.6%, 91.8%, and 151, respectively. These results demonstrated the satisfactory robustness and applicability of the DBY-Tobacco model. It is worth noting that the DBY-Tobacco model has great potential for practical applications and can be applied to a variety of multispectral target detection tasks.</p>
<p>The DBY-Tobacco model proposed in this paper achieved a processing speed of 151 FPS in the test, which is significantly faster&#xa0;than most YOLO series target detection algorithms, indicating that it can process hyperspectral images in real time and is suitable for dynamically changing production environments. During deployment, the model can dynamically adapt to different processing rates. More specifically, the model can maintain efficient operation at different production rates by adjusting the processing window (such as batch size or inference time interval) based on the actual needs of the production line. To further increase the calculation speed of the model, we will use pruning technology to reduce the number of parameters and calculation amount of the model to achieve lightweight model, and improve the detection speed through parallelization and distributed processing technology. Besides, long time, high frequency real-time reasoning can lead to high power consumption, affecting the stability of the entire system, but also increase long-term operating costs. Therefore, we will optimize the model for hardware adaptation to run on NVIDIA Jetson to reduce power consumption and improve compute efficiency to increase productivity. Besides, to improve research accessibility, we will develop a software platform that is compatible with existing tobacco production equipment and management systems, and an intuitive graphical user interface will be designed, allowing operators to acquire and process hyperspectral pictures using a simple interface without complex processes.</p>
<p>However, there are still some limitations in the study. For example, HSI technology can introduce stripe noise (<xref ref-type="bibr" rid="B3">Dai et&#xa0;al., 2024</xref>; <xref ref-type="bibr" rid="B38">Wang, 2016</xref>), which impacts detection tasks. Removing this noise will be a key consideration in future study. Furthermore, the study only examined feathers, rubber rings, and weeds. Other forms of NTRMs (such as cloth strips and glass) are yet to be researched. Future studies will collect images containing a wider variety of NTRMs in order to improve tobacco product quality. At the same time, consider that acquiring and processing hyperspectral images is a complex and resource-intensive task. Future work will combine cutting-edge artificial intelligence approaches, including diffusion models, HSIs generation models, snapshot hyperspectral imaging, and hyperspectral image super-resolution frameworks (<xref ref-type="bibr" rid="B16">Lai et&#xa0;al., 2024</xref>; <xref ref-type="bibr" rid="B27">Pang et&#xa0;al., 2024</xref>), to enrich the dataset and ensure that downstream activities go smoothly.</p>
<p>In this study, we used PCA to extract the characteristic wavelengths of NTRMs for detection, selecting three representative bands (580 nm, 680 nm, and 850 nm) to allow for lightweight computing of the model. However, this method does not use the entire spectrum curve information and ignores other crucial information, such as inter-band correlations within the spectral sequence. In some complex scenarios, such as when target features are confused with the background, relying just on the chosen bands may be insufficient. The spectral curve contains rich continuous spectral information that can help distinguish between hard-to-differentiate targets and backgrounds. Therefore, in future work, we will consider incorporating the spectral curve data into deep learning networks to accomplish combined learning of spectral and spatial features. We intend to include innovative advances in state-space models and recurrent neural networks (<xref ref-type="bibr" rid="B46">Yao et&#xa0;al., 2024</xref>), with the goal of lowering the computing scale of hyperspectral data while maintaining both short-term and long-term contextual relationships between spectral bands.</p>
</sec>
</body>
<back>
<sec id="s5" sec-type="data-availability">
<title>Data availability statement</title>
<p>The datasets presented in this study can be found in online repositories. The names of the repository/repositories and accession number(s) can be found in the article/supplementary material.</p>
</sec>
<sec id="s6" sec-type="author-contributions">
<title>Author contributions</title>
<p>CS: Conceptualization, Data curation, Formal analysis, Investigation, Methodology, Resources, Software, Validation, Visualization, Writing &#x2013; original draft. YQ: Validation, Writing &#x2013; review &amp; editing. LY: Funding acquisition, Resources, Supervision, Writing &#x2013; review &amp; editing. XZ: Resources, Writing &#x2013; original draft. ZC: Funding acquisition, Resources, Supervision, Writing &#x2013; review &amp; editing.</p>
</sec>
<sec id="s7" sec-type="funding-information">
<title>Funding</title>
<p>The author(s) declare financial support was received for the research, authorship, and/or publication of this article.</p>
</sec>
<ack>
<title>Acknowledgments</title>
<p>The author(s) would like to express gratitude to Dr. Binyu Wang at WeSpectra (Shanghai) Co., Ltd and Prof. Weitao Song at Beijing Institute of Technology for their provision of equipment and guidance.</p>
</ack>
<sec id="s8" sec-type="COI-statement">
<title>Conflict of interest</title>
<p>Author YQ was employed by the company Yunnan Tobacco Leaf Company.</p>
<p>The remaining 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>
<p>The author(s) declare that financial support was received for the research, authorship, and/or publication of this article. This work was supported by the China Tobacco Corporation Yunnan Province Company Technology Plan Project (No.2022530000241026, No.2021530000242043), the National Natural Science Foundation of China (62165019) and the Yunnan Youth and Middle-aged Academic and Technical Leaders Reserve Talent Program (202305AC160084).</p>
</sec>
<sec id="s9" sec-type="ai-statement">
<title>Generative AI statement</title>
<p>The author(s) declare that no Generative AI was used in the creation of this manuscript.</p>
</sec>
<sec id="s10" sec-type="disclaimer">
<title>Publisher&#x2019;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>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Badgujar</surname> <given-names>C. M.</given-names>
</name>
<name>
<surname>Poulose</surname> <given-names>A.</given-names>
</name>
<name>
<surname>Gan</surname> <given-names>H.</given-names>
</name>
</person-group> (<year>2024</year>). <article-title>Agricultural object detection with You Only Look Once (YOLO) Algorithm: A bibliometric and systematic literature review</article-title>. <source>Comput. Electron. Agric.</source> <volume>223</volume>, <fpage>109090</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.compag.2024.109090</pub-id>
</citation>
</ref>
<ref id="B2">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Bagnasco</surname> <given-names>L.</given-names>
</name>
<name>
<surname>Zotti</surname> <given-names>M.</given-names>
</name>
<name>
<surname>Sitta</surname> <given-names>N.</given-names>
</name>
<name>
<surname>Oliveri</surname> <given-names>P.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>A PCA-based hyperspectral approach to detect infections by mycophilic fungi on dried porcini mushrooms (boletus edulis and allied species)</article-title>. <source>Talanta</source> <volume>144</volume>, <fpage>1225</fpage>&#x2013;<lpage>1230</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.talanta.2015.07.071</pub-id>
</citation>
</ref>
<ref id="B3">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Dai</surname> <given-names>M.</given-names>
</name>
<name>
<surname>Yu</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Hu</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Zou</surname> <given-names>L.</given-names>
</name>
<name>
<surname>Bian</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>Q.</given-names>
</name>
<etal/>
</person-group>. (<year>2024</year>). <article-title>Stripe noise removal for the thermal infrared spectrometer of the SDGSAT-1</article-title>. <source>Int. J. Appl. Earth Observation Geoinformation</source> <volume>129</volume>, <fpage>103847</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.jag.2024.103847</pub-id>
</citation>
</ref>
<ref id="B4">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Domingo</surname> <given-names>I.</given-names>
</name>
<name>
<surname>Carri&#xf3;n</surname> <given-names>B.</given-names>
</name>
<name>
<surname>Blanco</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Lerma</surname> <given-names>J. L.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Evaluating conventional and advanced visible image enhancement solutions to produce digital tracings at el Carche rock art shelter</article-title>. <source>Digital Appl. Archaeology Cultural Heritage</source> <volume>2</volume>, <fpage>79</fpage>&#x2013;<lpage>88</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.daach.2015.01.001</pub-id>
</citation>
</ref>
<ref id="B5">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Dong</surname> <given-names>C.-w.</given-names>
</name>
<name>
<surname>Ye</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>J.-q.</given-names>
</name>
<name>
<surname>Zhu</surname> <given-names>H.-k.</given-names>
</name>
<name>
<surname>Liu</surname> <given-names>F.</given-names>
</name>
</person-group> (<year>2014</year>). <article-title>Detection of thrips defect on green-peel citrus using hyperspectral imaging technology combining PCA and B-spline lighting correction method</article-title>. <source>J. Integr. Agric.</source> <volume>13</volume>, <fpage>2229</fpage>&#x2013;<lpage>2235</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/s2095-3119(13)60671-1</pub-id>
</citation>
</ref>
<ref id="B6">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Du</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Zeng</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Ding</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Cao</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Jiang</surname> <given-names>W.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Recent advances in imaging techniques for bruise detection in fruits and vegetables</article-title>. <source>Trends Food Sci. Technol.</source> <volume>99</volume>, <fpage>133</fpage>&#x2013;<lpage>141</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.tifs.2020.02.024</pub-id>
</citation>
</ref>
<ref id="B7">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>El-Omairi</surname> <given-names>M. A.</given-names>
</name>
<name>
<surname>Garouani</surname> <given-names>M. E.</given-names>
</name>
<name>
<surname>Garouani</surname> <given-names>A. E.</given-names>
</name>
</person-group> (<year>2025</year>). <article-title>Enhanced lithological mapping via remote sensing: Employing SVM, random trees, ANN, with MNF and PCA transformations</article-title>. <source>Egyptian J. Remote Sens. Space Sci.</source> <volume>28</volume>, <fpage>34</fpage>&#x2013;<lpage>52</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.ejrs.2024.12.001</pub-id>
</citation>
</ref>
<ref id="B8">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Fan</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Sun</surname> <given-names>T.</given-names>
</name>
<name>
<surname>Chai</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Zhou</surname> <given-names>J.</given-names>
</name>
</person-group> (<year>2024</year>). <article-title>YOLO-WDNet: A lightweight and accurate model for weeds detection in cotton field</article-title>. <source>Comput. Electron. Agric.</source> <volume>225</volume>, <fpage>109317</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.compag.2024.109317</pub-id>
</citation>
</ref>
<ref id="B9">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Frederick</surname> <given-names>Q.</given-names>
</name>
<name>
<surname>Burks</surname> <given-names>T.</given-names>
</name>
<name>
<surname>Watson</surname> <given-names>A.</given-names>
</name>
<name>
<surname>Yadav</surname> <given-names>P. K.</given-names>
</name>
<name>
<surname>Qin</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Kim</surname> <given-names>M.</given-names>
</name>
<etal/>
</person-group>. (<year>2023</year>). <article-title>Selecting hyperspectral bands and extracting features with a custom shallow convolutional neural network to classify citrus peel defects</article-title>. <source>Smart Agric. Technol.</source> <volume>6</volume>, <fpage>100365</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.atech.2023.100365</pub-id>
</citation>
</ref>
<ref id="B10">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Furlanetto</surname> <given-names>R. H.</given-names>
</name>
<name>
<surname>Buzanini</surname> <given-names>A. C.</given-names>
</name>
<name>
<surname>Schumann</surname> <given-names>A. W.</given-names>
</name>
<name>
<surname>Boyd</surname> <given-names>N. S.</given-names>
</name>
</person-group> (<year>2024</year>a). <article-title>Developing AI smart sprayer for punch-hole herbicide application in plasticulture production system</article-title>. <source>AgriEngineering</source> <volume>7</volume>, <fpage>2</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.3390/agriengineering7010002</pub-id>
</citation>
</ref>
<ref id="B11">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Furlanetto</surname> <given-names>R. H.</given-names>
</name>
<name>
<surname>Schumann</surname> <given-names>A.</given-names>
</name>
<name>
<surname>Boyd</surname> <given-names>N.</given-names>
</name>
</person-group> (<year>2024</year>b). <article-title>A mobile application to identify poison ivy (Toxicodendron radicans) plants in real time using convolutional neural network</article-title>. <source>Multimedia Tools Appl.</source> <volume>83</volume>, <fpage>60419</fpage>&#x2013;<lpage>60441</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1007/s11042-023-17920-3</pub-id>
</citation>
</ref>
<ref id="B12">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Gillespie</surname> <given-names>A. R.</given-names>
</name>
</person-group> (<year>2003</year>). <article-title>Enhancement of multispectral thermal infrared images: Decorrelation contrast stretching</article-title>. <source>Remote Sens. Environ</source>. <volume>42</volume>, <fpage>147</fpage>&#x2013;<lpage>155</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/0034-4257(92)90098-5</pub-id>
</citation>
</ref>
<ref id="B13">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Gillespie</surname> <given-names>A. R.</given-names>
</name>
<name>
<surname>Kahle</surname> <given-names>A. B.</given-names>
</name>
<name>
<surname>Walker</surname> <given-names>R. E.</given-names>
</name>
</person-group> (<year>2003</year>). <article-title>Color enhancement of highly correlated images. I. Decorrelation and HSI contrast stretches</article-title>. <source>Remote Sens. Environ</source>. <volume>20</volume>, <fpage>209</fpage>&#x2013;<lpage>235</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/0034-4257(86)90044-1</pub-id>
</citation>
</ref>
<ref id="B14">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Huang</surname> <given-names>W.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>Q.</given-names>
</name>
<name>
<surname>Chen</surname> <given-names>L.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Development of a multispectral imaging system for online detection of bruises on apples</article-title>. <source>J. Food Eng.</source> <volume>146</volume>, <fpage>62</fpage>&#x2013;<lpage>71</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.jfoodeng.2014.09.002</pub-id>
</citation>
</ref>
<ref id="B15">
<citation citation-type="web">
<person-group person-group-type="author">
<name>
<surname>Jocher</surname> <given-names>G.</given-names>
</name>
<name>
<surname>Chaurasia</surname> <given-names>A.</given-names>
</name>
<name>
<surname>Qiu</surname> <given-names>J.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Ultralytics YOLO</article-title>. Available online at: <uri xlink:href="https://github.com/ultralytics/ultralytics">https://github.com/ultralytics/ultralytics</uri> (Accessed <access-date>March 5, 2024</access-date>).</citation>
</ref>
<ref id="B16">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Lai</surname> <given-names>C.-L.</given-names>
</name>
<name>
<surname>Karmakar</surname> <given-names>R.</given-names>
</name>
<name>
<surname>Mukundan</surname> <given-names>A.</given-names>
</name>
<name>
<surname>Natarajan</surname> <given-names>R. K.</given-names>
</name>
<name>
<surname>Lu</surname> <given-names>S.-C.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>C.-Y.</given-names>
</name>
<etal/>
</person-group>. (<year>2024</year>). <article-title>Advancing hyperspectral imaging and machine learning tools toward clinical adoption in tissue diagnostics: A comprehensive review</article-title>. <source>APL Bioengineering</source> <volume>8</volume>, <fpage>041504</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1063/5.0240444</pub-id>
</citation>
</ref>
<ref id="B17">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Le Quellec</surname> <given-names>J.-L.</given-names>
</name>
<name>
<surname>Duquesnoy</surname> <given-names>F.</given-names>
</name>
<name>
<surname>Defrasne</surname> <given-names>C.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Digital image enhancement with DStretch<sup>&#xae;</sup>: Is complexity always necessary for efficiency</article-title>? <source>Digital Appl. Archaeology Cultural Heritage</source> <volume>2</volume>, <fpage>55</fpage>&#x2013;<lpage>67</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.daach.2015.01.003</pub-id>
</citation>
</ref>
<ref id="B18">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname> <given-names>Q.</given-names>
</name>
<name>
<surname>Ma</surname> <given-names>W.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>H.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>R.</given-names>
</name>
<name>
<surname>Zhou</surname> <given-names>W.</given-names>
</name>
</person-group> (<year>2024</year>). <article-title>Cotton-YOLO: Improved YOLOV7 for rapid detection of foreign fibers in seed cotton</article-title>. <source>Comput. Electron. Agric.</source> <volume>219</volume>, <fpage>108752</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.compag.2024.108752</pub-id>
</citation>
</ref>
<ref id="B19">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Li</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>W.</given-names>
</name>
<name>
<surname>Wu</surname> <given-names>L.</given-names>
</name>
<name>
<surname>Chen</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Hu</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>J.</given-names>
</name>
<etal/>
</person-group>. (<year>2020</year>). <article-title>Generalized Focal Loss: Learning Qualified and Distributed Bounding Boxes for Dense Object Detection</article-title>. <source>arXiv</source> [Preprint]. doi:&#xa0;<pub-id pub-id-type="doi">10.48550/arXiv.2006.04388</pub-id>
</citation>
</ref>
<ref id="B20">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Ni</surname> <given-names>C.</given-names>
</name>
<name>
<surname>Wu</surname> <given-names>R.</given-names>
</name>
<name>
<surname>Zhu</surname> <given-names>T.</given-names>
</name>
<name>
<surname>Cheng</surname> <given-names>L.</given-names>
</name>
<name>
<surname>Yuan</surname> <given-names>Y.</given-names>
</name>
<etal/>
</person-group>. (<year>2023</year>). <article-title>Online small-object anti-fringe sorting of tobacco stem impurities based on hyperspectral superpixels</article-title>. <source>Spectrochim Acta A Mol. Biomol Spectrosc</source> <volume>302</volume>, <elocation-id>123084</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.saa.2023.123084</pub-id>
</citation>
</ref>
<ref id="B21">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Liu</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Lin</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Cao</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Han</surname> <given-names>Hu</given-names>
</name>
<name>
<surname>Wei</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>Z.</given-names>
</name>
<etal/>
</person-group>. (<year>2021</year>). <article-title>Swin Transformer: Hierarchical Vision Transformer using Shifted Windows</article-title>. <source>arXiv</source> [Preprint]. doi:&#xa0;<pub-id pub-id-type="doi">10.48550/arXiv.2103.14030</pub-id>
</citation>
</ref>
<ref id="B22">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Luo</surname> <given-names>W.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>H.</given-names>
</name>
<name>
<surname>Liu</surname> <given-names>X.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Hyperspectral/multispectral reflectance imaging combining with watershed segmentation algorithm for detection of early bruises on apples with different peel colors</article-title>. <source>Food Analytical Methods</source> <volume>12</volume>, <fpage>1218</fpage>&#x2013;<lpage>1228</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1007/s12161-019-01456-0</pub-id>
</citation>
</ref>
<ref id="B23">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Ma</surname> <given-names>N.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Zheng</surname> <given-names>H.-T.</given-names>
</name>
<name>
<surname>Sun</surname> <given-names>J.</given-names>
</name>
</person-group> (<year>2018</year>). &#x201c;<article-title>ShuffleNet V2: practical guidelines for efficient CNN architecture design</article-title>.&#x201d; in <source>Computer Vision &#x2013; ECCV 2018</source>, (<publisher-loc>Munich, Germany</publisher-loc>), <fpage>122</fpage>&#x2013;<lpage>138</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1007/978-3-030-01264-9_8</pub-id>
</citation>
</ref>
<ref id="B24">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Maharana</surname> <given-names>K.</given-names>
</name>
<name>
<surname>Mondal</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Nemade</surname> <given-names>B.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>A review: Data pre-processing and data augmentation techniques</article-title>. <source>Global Transitions Proc.</source> <volume>3</volume>, <fpage>91</fpage>&#x2013;<lpage>99</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.gltp.2022.04.020</pub-id>
</citation>
</ref>
<ref id="B25">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Mingxing</surname> <given-names>T.</given-names>
</name>
<name>
<surname>Ruoming</surname> <given-names>P.</given-names>
</name>
<name>
<surname>Le</surname> <given-names>Q. V.</given-names>
</name>
</person-group> (<year>2020</year>). &#x201c;<article-title>EfficientDet: scalable and efficient object detection</article-title>,&#x201d; in <source>2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)</source>. (<publisher-loc>Seattle, WA, USA</publisher-loc>). doi:&#xa0;<pub-id pub-id-type="doi">10.1109/CVPR42600.2020.01079</pub-id>
</citation>
</ref>
<ref id="B26">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Palomar-Vazquez</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Baselga</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Vi&#xf1;als-Blasco</surname> <given-names>M.-J.</given-names>
</name>
<name>
<surname>Garc&#xed;a-Sales</surname> <given-names>C.</given-names>
</name>
<name>
<surname>Sancho-Espin&#xf3;s</surname> <given-names>I.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Application of a combination of digital image processing and 3D visualization of graffiti in heritage conservation</article-title>. <source>J. Archaeological Science: Rep.</source> <volume>12</volume>, <fpage>32</fpage>&#x2013;<lpage>42</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.jasrep.2017.01.021</pub-id>
</citation>
</ref>
<ref id="B27">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Pang</surname> <given-names>L.</given-names>
</name>
<name>
<surname>Cao</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Tang</surname> <given-names>D.</given-names>
</name>
</person-group> (<year>2024</year>). <article-title>HSIGene: A Foundation Model for Hyperspectral Image Generation</article-title>. <source>arXiv</source> [Preprint]. doi:&#xa0;<pub-id pub-id-type="doi">10.48550/arXiv.2409.12470</pub-id>
</citation>
</ref>
<ref id="B28">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Prasad</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Bruce</surname> <given-names>L. M.</given-names>
</name>
</person-group> (<year>2008</year>). <article-title>Limitations of principal components analysis for hyperspectral target recognition</article-title>. <source>IEEE Geosci. Remote Sens. Lett.</source> <volume>5</volume>, <fpage>625</fpage>&#x2013;<lpage>629</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/lgrs.2008.2001282</pub-id>
</citation>
</ref>
<ref id="B29">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Qingyun</surname> <given-names>F.</given-names>
</name>
<name>
<surname>Dapeng</surname> <given-names>H.</given-names>
</name>
<name>
<surname>Zhaokui</surname> <given-names>W.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Cross-Modality Fusion Transformer for Multispectral Object Detection</article-title>. <source>arXiv</source> [Preprint]. doi:&#xa0;<pub-id pub-id-type="doi">10.48550/arXiv.2111.00273</pub-id>
</citation>
</ref>
<ref id="B30">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ram</surname> <given-names>B. G.</given-names>
</name>
<name>
<surname>Oduor</surname> <given-names>P.</given-names>
</name>
<name>
<surname>Igathinathane</surname> <given-names>C.</given-names>
</name>
<name>
<surname>Howatt</surname> <given-names>K.</given-names>
</name>
<name>
<surname>Sun</surname> <given-names>X.</given-names>
</name>
</person-group> (<year>2024</year>). <article-title>A systematic review of hyperspectral imaging in precision agriculture: Analysis of its current state and future prospects</article-title>. <source>Comput. Electron. Agric.</source> <volume>222</volume>, <fpage>109037</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.compag.2024.109037</pub-id>
</citation>
</ref>
<ref id="B31">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Rogerio-Candelera</surname> <given-names>M.&#xc1;.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Digital image analysis based study, recording, and protection of painted rock art. Some Iberian experiences</article-title>. <source>Digital Appl. Archaeology Cultural Heritage</source> <volume>2</volume>, <fpage>68</fpage>&#x2013;<lpage>78</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.daach.2014.11.001</pub-id>
</citation>
</ref>
<ref id="B32">
<citation citation-type="web">
<person-group person-group-type="author">
<name>
<surname>Shahbandeh</surname> <given-names>M.</given-names>
</name>
</person-group> (<year>2024</year>). <article-title>Global tobacco production 1990-2022</article-title>. Available online at: <uri xlink:href="https://www.statista.com/statistics/261189/global-tobacco-production-since-1980/">https://www.statista.com/statistics/261189/global-tobacco-production-since-1980/</uri> (Accessed <access-date>October 11, 2024</access-date>).</citation>
</ref>
<ref id="B33">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Shen</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Chen</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Liu</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Zuo</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Fan</surname> <given-names>H.</given-names>
</name>
<name>
<surname>Yang</surname> <given-names>W.</given-names>
</name>
</person-group> (<year>2024</year>). <article-title>ICAFusion: Iterative cross-attention guided feature fusion for multispectral object detection</article-title>. <source>Pattern Recognition</source> <volume>145</volume>, <fpage>109913</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.patcog.2023.109913</pub-id>
</citation>
</ref>
<ref id="B34">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Shuai</surname> <given-names>L.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Chen</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Luo</surname> <given-names>D.</given-names>
</name>
<name>
<surname>Mu</surname> <given-names>J.</given-names>
</name>
</person-group> (<year>2024</year>). <article-title>A research review on deep learning combined with hyperspectral Imaging in multiscale agricultural sensing</article-title>. <source>Comput. Electron. Agric.</source> <volume>217</volume>, <fpage>108577</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.compag.2023.108577</pub-id>
</citation>
</ref>
<ref id="B35">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Spiegelberg</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Rusz</surname> <given-names>J&#xe1;n</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Can we use PCA to detect small signals in noisy data</article-title>? <source>Ultramicroscopy</source> <volume>172</volume>, <fpage>40</fpage>&#x2013;<lpage>46</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.ultramic.2016.10.008</pub-id>
</citation>
</ref>
<ref id="B36">
<citation citation-type="web">
<person-group person-group-type="author">
<name>
<surname>Trenda</surname> <given-names>E.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Cigarette market share worldwide as of 2019, by company</article-title>. Available online at: <uri xlink:href="https://www.statista.com/statistics/279873/global-cigarette-market-share-by-group/">https://www.statista.com/statistics/279873/global-cigarette-market-share-by-group/</uri> (Accessed <access-date>May 1, 2024</access-date>).</citation>
</ref>
<ref id="B37">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Vargas</surname> <given-names>A. M.</given-names>
</name>
<name>
<surname>Kim</surname> <given-names>M. S.</given-names>
</name>
<name>
<surname>Tao</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Lefcourt</surname> <given-names>A. M.</given-names>
</name>
<name>
<surname>Chen</surname> <given-names>Y.-R.</given-names>
</name>
<name>
<surname>Luo</surname> <given-names>Y.</given-names>
</name>
<etal/>
</person-group>. (<year>2006</year>). <article-title>Detection of fecal contamination on cantaloupes using hyperspectral fluorescence imagery</article-title>. <source>J. Food Science</source>. <volume>70</volume>, <fpage>14</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1111/j.1365-2621.2005.tb11517.x</pub-id>
</citation>
</ref>
<ref id="B38">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname> <given-names>S.-P.</given-names>
</name>
</person-group> (<year>2016</year>). <article-title>Stripe noise removal for infrared image by minimizing difference between columns</article-title>. <source>Infrared Phys. Technol.</source> <volume>77</volume>, <fpage>58</fpage>&#x2013;<lpage>64</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.infrared.2016.05.003</pub-id>
</citation>
</ref>
<ref id="B39">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Bennetzen</surname> <given-names>J. L.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Current status and prospects for the study of Nicotiana genomics, genetics, and nicotine biosynthesis genes</article-title>. <source>Mol. Genet. Genomics</source> <volume>290</volume>, <fpage>11</fpage>&#x2013;<lpage>21</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1007/s00438-015-0989-7</pub-id>
</citation>
</ref>
<ref id="B40">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Jin</surname> <given-names>L.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Xu</surname> <given-names>H.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Apple stem/calyx real-time recognition using YOLO-v5 algorithm for fruit automatic loading system</article-title>. <source>Postharvest Biol. Technol.</source> <volume>185</volume>, <fpage>111808</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.postharvbio.2021.111808</pub-id>
</citation>
</ref>
<ref id="B41">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname> <given-names>H.</given-names>
</name>
<name>
<surname>Yang</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Liu</surname> <given-names>T.</given-names>
</name>
<name>
<surname>Shui</surname> <given-names>Q.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Yao</surname> <given-names>G.</given-names>
</name>
<etal/>
</person-group>. (<year>2024</year>). <article-title>A novel deep-learning model for detecting small-scale anomaly temperature zones in RDTS based on attention mechanism and K-Means clustering</article-title>. <source>Optical Fiber Technol.</source> <volume>88</volume>, <fpage>103969</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.yofte.2024.103969</pub-id>
</citation>
</ref>
<ref id="B42">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Wu</surname> <given-names>D.</given-names>
</name>
<name>
<surname>Chen</surname> <given-names>L.</given-names>
</name>
<name>
<surname>Gu</surname> <given-names>Q.</given-names>
</name>
<name>
<surname>Luo</surname> <given-names>J.</given-names>
</name>
</person-group> (<year>2023</year>). &#x201c;<article-title>Research on tobacco foreign object detection based on deep learning of texture features</article-title>,&#x201d; in <source>2023 4th International Conference on Information Science and Education (ICISE-IE)</source>. (<conf-loc>Xishuangbanna, China</conf-loc>).</citation>
</ref>
<ref id="B43">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Xu</surname> <given-names>W.</given-names>
</name>
<name>
<surname>Xu</surname> <given-names>T.</given-names>
</name>
<name>
<surname>Alex Thomasson</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Chen</surname> <given-names>W.</given-names>
</name>
<name>
<surname>Karthikeyan</surname> <given-names>R.</given-names>
</name>
<name>
<surname>Tian</surname> <given-names>G.</given-names>
</name>
<etal/>
</person-group>. (<year>2023</year>). <article-title>A lightweight SSV2-YOLO based model for detection of sugarcane aphids in unstructured natural environments</article-title>. <source>Comput. Electron. Agric.</source> <volume>211</volume>, <fpage>107961</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.compag.2023.107961</pub-id>
</citation>
</ref>
<ref id="B44">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Yang</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Guan</surname> <given-names>Q.</given-names>
</name>
<name>
<surname>Zhao</surname> <given-names>K.</given-names>
</name>
<name>
<surname>Yang</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Xu</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Long</surname> <given-names>H.</given-names>
</name>
<etal/>
</person-group>. (<year>2024</year>). <article-title>Multi-Branch Auxiliary Fusion YOLO with Re-parameterization Heterogeneous Convolutional for accurate object detection</article-title>. <source>arXiv</source> [Preprint]. doi:&#xa0;<pub-id pub-id-type="doi">10.48550/arXiv.2407.04381</pub-id>
</citation>
</ref>
<ref id="B45">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Yanghao</surname> <given-names>L.</given-names>
</name>
<name>
<surname>Yuntao</surname> <given-names>C.</given-names>
</name>
<name>
<surname>Naiyan</surname> <given-names>W.</given-names>
</name>
<name>
<surname>Zhaoxiang</surname> <given-names>Z.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Scale-Aware Trident Networks for Object Detection</article-title>. <source>arXiv</source> [Preprint]. doi:&#xa0;<pub-id pub-id-type="doi">10.48550/arXiv.1901.01892</pub-id>
</citation>
</ref>
<ref id="B46">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Yao</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Hong</surname> <given-names>D.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>C.</given-names>
</name>
</person-group> (<year>2024</year>). <article-title>SpectralMamba: Efficient Mamba for Hyperspectral Image Classification</article-title>. <source>arXiv</source> [Preprint]. doi:&#xa0;<pub-id pub-id-type="doi">10.48550/arXiv.2404.08489</pub-id>
</citation>
</ref>
<ref id="B47">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Yuan</surname> <given-names>C.</given-names>
</name>
<name>
<surname>Liu</surname> <given-names>T.</given-names>
</name>
<name>
<surname>Gao</surname> <given-names>F.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>R.</given-names>
</name>
<name>
<surname>Seng</surname> <given-names>X.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>YOLOv5s-CBAM-DMLHead: A lightweight identification algorithm for weedy rice (Oryza sativa f. spontanea) based on improved YOLOv5</article-title>. <source>Crop Prot.</source> <volume>172</volume>, <fpage>106342</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.cropro.2023.106342</pub-id>
</citation>
</ref>
<ref id="B48">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Lei</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Xie</surname> <given-names>W.</given-names>
</name>
<name>
<surname>Fang</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Du</surname> <given-names>Q.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>SuperYOLO: super resolution assisted object detection in multimodal remote sensing imagery</article-title>. <source>IEEE Trans. Geosci. Remote Sens.</source> <volume>61</volume>, <fpage>1</fpage>&#x2013;<lpage>15</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/tgrs.2023.3258666</pub-id>
</citation>
</ref>
<ref id="B49">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname> <given-names>C.</given-names>
</name>
<name>
<surname>Liu</surname> <given-names>C.</given-names>
</name>
<name>
<surname>Zeng</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Yang</surname> <given-names>W.</given-names>
</name>
<name>
<surname>Chen</surname> <given-names>Y.</given-names>
</name>
</person-group> (<year>2024</year>). <article-title>Hyperspectral imaging coupled with deep learning model for visualization and detection of early bruises on apples</article-title>. <source>J. Food Composition Anal.</source> <volume>134</volume>, <fpage>106489</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.jfca.2024.106489</pub-id>
</citation>
</ref>
<ref id="B50">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhou</surname> <given-names>P.</given-names>
</name>
<name>
<surname>Zhu</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Jin</surname> <given-names>C.</given-names>
</name>
<name>
<surname>Gu</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Kong</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Ou</surname> <given-names>Y.</given-names>
</name>
<etal/>
</person-group>. (<year>2025</year>). <article-title>A new training strategy: coordinating distillation techniques for training lightweight weed detection model</article-title>. <source>Crop Prot</source>. <volume>190</volume>, <fpage>107124</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.cropro.2025.107124</pub-id>
</citation>
</ref>
</ref-list>
</back>
</article>