<?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.2024.1499896</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>Pixel-wise navigation line extraction of cross-growth-stage seedlings in complex sugarcane fields and extension to corn and rice</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname>Li</surname>
<given-names>Hongwei</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="fn003">
<sup>&#x2020;</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/2552413"/>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/funding-acquisition/"/>
<role content-type="https://credit.niso.org/contributor-roles/project-administration/"/>
<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-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Lai</surname>
<given-names>Xindong</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/2855662"/>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
<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/software/"/>
<role content-type="https://credit.niso.org/contributor-roles/resources/"/>
<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/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Mo</surname>
<given-names>Yongmei</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</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">
<name>
<surname>He</surname>
<given-names>Deqiang</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Wu</surname>
<given-names>Tao</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/1520701"/>
<role content-type="https://credit.niso.org/contributor-roles/funding-acquisition/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
</contrib-group>
<aff id="aff1">
<sup>1</sup>
<institution>School of Mechanical Engineering, Guangxi University</institution>, <addr-line>Nanning</addr-line>, <country>China</country>
</aff>
<aff id="aff2">
<sup>2</sup>
<institution>College of Engineering, South China Agricultural University</institution>, <addr-line>Guangzhou</addr-line>, <country>China</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>Edited by: Yanchao Zhang, Zhejiang Sci-Tech University, China</p>
</fn>
<fn fn-type="edited-by">
<p>Reviewed by: Yuanhong Li, South China Agricultural University, China</p>
<p>Dihua Wu, Zhejiang University, China</p>
<p>Chunji Xie, China Agricultural University, China</p>
</fn>
<fn fn-type="corresp" id="fn001">
<p>*Correspondence: Tao Wu, <email xlink:href="mailto:wt55pub@scau.edu.cn">wt55pub@scau.edu.cn</email>
</p>
</fn>
<fn fn-type="present-address" id="fn003">
<p>&#x2020;Present address: Hongwei Li, Guangxi Key Laboratory of Manufacturing System and Advanced Manufacturing Technology, Guangxi University, Nanning, China</p>
</fn>
</author-notes>
<pub-date pub-type="epub">
<day>30</day>
<month>01</month>
<year>2025</year>
</pub-date>
<pub-date pub-type="collection">
<year>2024</year>
</pub-date>
<volume>15</volume>
<elocation-id>1499896</elocation-id>
<history>
<date date-type="received">
<day>22</day>
<month>09</month>
<year>2024</year>
</date>
<date date-type="accepted">
<day>30</day>
<month>12</month>
<year>2024</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2025 Li, Lai, Mo, He and Wu</copyright-statement>
<copyright-year>2025</copyright-year>
<copyright-holder>Li, Lai, Mo, He and Wu</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>Extracting the navigation line of crop seedlings is significant for achieving autonomous visual navigation of smart agricultural machinery. Nevertheless, in field management of crop seedlings, numerous available studies involving navigation line extraction mainly focused on specific growth stages of specific crop seedlings so far, lacking a generalizable algorithm for addressing challenges under complex cross-growth-stage seedling conditions. In response to such challenges, we proposed a generalizable navigation line extraction algorithm using classical image processing technologies. First, image preprocessing is performed to enhance the image quality and extract distinct crop regions. Redundant pixels can be eliminated by opening operation and eight-connected component filtering. Then, optimal region detection is applied to identify the fitting area. The optimal pixels of plantation rows are selected by cluster-centerline distance comparison and sigmoid thresholding. Ultimately, the navigation line is extracted by linear fitting, representing the autonomous vehicle&#x2019;s optimal path. An assessment was conducted on a sugarcane dataset. Meanwhile, the generalization capacity of the proposed algorithm has been further verified on corn and rice datasets. Experimental results showed that for seedlings at different growth stages and diverse field environments, the mean error angle (MEA) ranges from 0.844&#xb0; to 2.96&#xb0;, the root mean square error (RMSE) ranges from 1.249&#xb0; to 4.65&#xb0;, and the mean relative error (MRE) ranges from 1.008% to 3.47%. The proposed algorithm exhibits high accuracy, robustness, and generalization. This study breaks through the shortcomings of traditional visual navigation line extraction, offering a theoretical foundation for classical image-processing-based visual navigation.</p>
</abstract>
<kwd-group>
<kwd>classical image processing</kwd>
<kwd>crop seedling</kwd>
<kwd>navigation line extraction</kwd>
<kwd>plantation row</kwd>
<kwd>growth stage</kwd>
</kwd-group>
<counts>
<fig-count count="18"/>
<table-count count="7"/>
<equation-count count="25"/>
<ref-count count="67"/>
<page-count count="26"/>
<word-count count="12706"/>
</counts>
<custom-meta-wrap>
<custom-meta>
<meta-name>section-in-acceptance</meta-name>
<meta-value>Technical Advances in Plant Science</meta-value>
</custom-meta>
</custom-meta-wrap>
</article-meta>
</front>
<body>
<sec id="s1" sec-type="intro">
<label>1</label>
<title>Introduction</title>
<p>Sugarcane (<italic>Saccharum officinarum</italic>) is a vital sugar-producing and energy-producing crop widely cultivated in tropical and subtropical countries or regions (<xref ref-type="bibr" rid="B45">Wang W. et&#xa0;al., 2023</xref>), with an annual global yield of approximately 1.9 billion tonnes (<xref ref-type="bibr" rid="B11">FAO, 2022</xref>). Diverse field management tasks at the seedling stage, such as stumping, weeding, spraying pesticides, and root-zone soil backfill, are crucial in improving the sugarcane yield and quality. At present, these tasks severely rely on manual operation. In the face of the aging labor population and the increase in labor costs, it is urgently needed to explore intelligent agricultural machinery for field management. Intelligent agricultural machinery can be a potential resolution to perform field management tasks, and navigation is one of the key technologies to achieve intelligent detection/control of agricultural machinery.</p>
<p>Commonly, agricultural machinery navigation methods mainly include Global Navigation Satellite System (GNSS) navigation (<xref ref-type="bibr" rid="B32">Luo et&#xa0;al., 2009</xref>; <xref ref-type="bibr" rid="B31">Liu et&#xa0;al., 2018</xref>; <xref ref-type="bibr" rid="B64">Zhang et&#xa0;al., 2022</xref>), radar navigation (<xref ref-type="bibr" rid="B2">Blok et&#xa0;al., 2019</xref>), ultrasonic navigation (<xref ref-type="bibr" rid="B5">Chen et&#xa0;al., 2018</xref>) and visual navigation (<xref ref-type="bibr" rid="B30">Liu et&#xa0;al., 2024</xref>; <xref ref-type="bibr" rid="B1">Bai et&#xa0;al., 2023</xref>; <xref ref-type="bibr" rid="B41">Shi et&#xa0;al., 2023</xref>). According to the available literature, visual navigation attracted more interest in these methods. This phenomenon might occur because visual navigation, relying on the interpretation and judgment of various landscapes, can be effective in diverse settings. This includes extensive, continuous farmlands on plains and fragmented, small-scale farmlands in hilly and mountainous terrains.</p>
<p>It is well known that the visual navigation of crop seedlings can be classified into two categories: (I) the navigation based on the ridge centerline and (II) the navigation based on crop plantation-row centerlines. For the first category, in the early years, one typically representative method is the least-square-based navigation line detection algorithm of tomato ridge (<xref ref-type="bibr" rid="B44">Wang et&#xa0;al., 2012</xref>). In recent years, further advances have been found in this regard. For instance, <xref ref-type="bibr" rid="B53">Yang et&#xa0;al. (2020)</xref> proposed a method of real-time extraction of the navigation line between the corn rows based on a dynamic Region of Interest. Facing the higher corn seedlings, <xref ref-type="bibr" rid="B15">Gong et&#xa0;al. (2020</xref>, <xref ref-type="bibr" rid="B14">2022)</xref> gave two corn field navigation line extraction methods by combining edge detection and area localization and integrating gradient descent and corner detection. <xref ref-type="bibr" rid="B3">Chen et&#xa0;al. (2020)</xref> investigated a median point Hough transformation algorithm to fit the navigation paths of greenhouse tomato-cucumber seedlings. Following this previous study, <xref ref-type="bibr" rid="B4">Chen et&#xa0;al. (2021)</xref> also investigated a prediction-point Hough transform to extract the navigation path for greenhouse cucumber seedlings. With the in-depth application of deep learning algorithms, ever-increasing researchers have adopted deep learning algorithms based on semantic segmentation technology to obtain navigation lines between the crop rows. For example, <xref ref-type="bibr" rid="B39">Rao et&#xa0;al. (2021)</xref> combined the U-net and Fast-Unet models to generate the navigation line. <xref ref-type="bibr" rid="B65">Zhao et&#xa0;al. (2021)</xref> used remote sensing images acquired from unmanned aerial vehicles and extracted corn field ridge centerline based on a fully convolutional network. <xref ref-type="bibr" rid="B22">Li et&#xa0;al. (2022a)</xref> achieved the navigation line extraction using a Faster-U-net model and adaptive multi-ROIs. <xref ref-type="bibr" rid="B43">Song et&#xa0;al. (2022)</xref> proposed a navigation algorithm based on semantic segmentation in wheat fields using an RGB-D camera. <xref ref-type="bibr" rid="B54">Yang et&#xa0;al. (2023)</xref> develops a real-time crop row detection algorithm for corn fields, leveraging YOLO neural network and ROI extraction to achieve high accuracy and robustness. For such a category, it is evident that navigation utilizing the ridge centerline depends on feature point extraction between the adjacent crop rows and the color difference in ridge and plantation rows. The limited condition of non-intersecting overlapping leaves between adjacent crop rows compounds this reliance on either classical image processing or deep learning algorithms. Especially for the semantic segmentation-based ridge centerline extraction, from the point of view of real-world application, it remains challenging to integrate with downstream low-cost, lightweight edge devices after obtaining semantic segmentation results.</p>
<p>As for the second category, navigation based on crop plantation-row centerlines has been a research hotspot in the past two decades. Most of the available literature in plantation-row centerlines extraction were based on the development of classical image processing algorithms, such as Hough transform based on connected component labeling (<xref ref-type="bibr" rid="B38">Rao and Ji, 2007</xref>), improved Hough transformation (<xref ref-type="bibr" rid="B66">Zhao et&#xa0;al., 2009</xref>; <xref ref-type="bibr" rid="B9">Diao et&#xa0;al., 2015</xref>; <xref ref-type="bibr" rid="B46">Wang et&#xa0;al., 2020</xref>), median-point Hough transform (<xref ref-type="bibr" rid="B24">Li et&#xa0;al., 2022b</xref>), least square method (<xref ref-type="bibr" rid="B42">Si et&#xa0;al., 2010</xref>; <xref ref-type="bibr" rid="B33">Ma et&#xa0;al., 2022</xref>), color model and nearest neighbor clustering algorithm (<xref ref-type="bibr" rid="B62">Zhang et&#xa0;al., 2012</xref>), scan-filter algorithm (<xref ref-type="bibr" rid="B25">Li et&#xa0;al., 2013</xref>), constraint of liner correlation coefficient (<xref ref-type="bibr" rid="B34">Meng et&#xa0;al., 2013</xref>), improved genetic algorithm (<xref ref-type="bibr" rid="B35">Meng et&#xa0;al., 2014</xref>), boundary detection and scan-filter (<xref ref-type="bibr" rid="B18">He et&#xa0;al., 2014</xref>), multi-ROIs (<xref ref-type="bibr" rid="B19">Jiang et&#xa0;al., 2015</xref>; <xref ref-type="bibr" rid="B53">Yang et&#xa0;al., 2020</xref>; <xref ref-type="bibr" rid="B55">Yu et&#xa0;al., 2021</xref>; <xref ref-type="bibr" rid="B49">Wang A. et&#xa0;al., 2021</xref>; <xref ref-type="bibr" rid="B26">Li et&#xa0;al., 2021</xref>), SUSAN corner (<xref ref-type="bibr" rid="B60">Zhang et&#xa0;al., 2015</xref>), Harris corner points (<xref ref-type="bibr" rid="B58">Zhai et&#xa0;al., 2016a</xref>), Census transformation (<xref ref-type="bibr" rid="B59">Zhai et&#xa0;al., 2016b</xref>), particle swarm optimization (<xref ref-type="bibr" rid="B36">Meng et&#xa0;al., 2016</xref>), SUSAN corner and improved sequential clustering algorithm (<xref ref-type="bibr" rid="B61">Zhang et&#xa0;al., 2017</xref>), image characteristic point and particle swarm optimization-clustering algorithm (<xref ref-type="bibr" rid="B20">Jiang et&#xa0;al., 2017</xref>), accumulation threshold of Hough transformation (<xref ref-type="bibr" rid="B6">Chen et&#xa0;al., 2019</xref>), sub-regional feature points clustering (<xref ref-type="bibr" rid="B27">Liao et&#xa0;al., 2019</xref>), Gaussian heatmap (<xref ref-type="bibr" rid="B17">He et&#xa0;al., 2022</xref>), contour computing with vertical projection (<xref ref-type="bibr" rid="B16">He et&#xa0;al., 2021</xref>), regional growth and mean shift clustering (<xref ref-type="bibr" rid="B49">Wang A. et&#xa0;al., 2021</xref>), binocular vision and adaptive Kalman filter (<xref ref-type="bibr" rid="B57">Zhai et&#xa0;al., 2022</xref>), RANSAC (Random Sample Consensus) algorithm (<xref ref-type="bibr" rid="B23">Li et&#xa0;al., 2022c</xref>), and region growth sequential clustering-RANSAC algorithm (<xref ref-type="bibr" rid="B13">Fu et&#xa0;al., 2023</xref>). These numerous literature revealed that both past and present, a significant proportion of researchers are still keen to perform navigation centerline extraction based on classical image processing algorithms. Classical image processing algorithms can be efficiently run on CPUs without the requirement for high-performance computing resources such as GPUs. When handling data from diverse sources and with varying characteristics, the compatibility and consistency of heterogeneous systems pose significant challenges. Classical image processing algorithms, due to their simplicity, are adaptable to various affordable systems and application scenarios, simplifying the complexities associated with managing heterogeneous data. Moreover, these algorithms are more explainable and easier to implement in low-performance computing platforms. Nevertheless, when facing complex image processing, some algorithm executions are time-consuming and can result in a limited generalization ability.</p>
<p>With the further popularity of deep learning technology, some researchers have attempted to develop various deep learning algorithms to extract navigation centerlines in the last few years to tackle this challenge. For instance, <xref ref-type="bibr" rid="B28">Lin et&#xa0;al. (2020)</xref> used the Faster R-CNN to detect the transplanting rice seeding in complex paddy field environments, obtaining mean absolute errors of a deviation of 8.5 mm in the lateral distance and 0.50&#xb0; of travel angle. <xref ref-type="bibr" rid="B63">Zhang et&#xa0;al. (2020)</xref> extracted the centerlines of rice seedlings based on the YOLOv3 model, achieving a mean average precision of 91.47%, a mean average angle error of 0. 97&#xb0; in the extracted centerline, and an average runtime of 82. 6 ms for one image. <xref ref-type="bibr" rid="B8">Diao et&#xa0;al. (2024)</xref> developed an algorithm for recognizing corn crop rows at different growth stages using the ST-YOLOv8s network. Their approach, which included a swin transformer-based backbone and a local&#x2013;global detection method, demonstrated improved mean average precision (MAP) and accuracy compared to YOLOv5s, YOLOv7 and YOLOv8s, while reducing the average angle error and fitting time in crop row detection experiments. <xref ref-type="bibr" rid="B21">Li et&#xa0;al. (2023)</xref> presents E2CropDet, an efficient end-to-end deep learning model for crop row detection. <xref ref-type="bibr" rid="B67">Zheng and Wang (2023)</xref> used Pix2Pix Net to improve navigation line extraction ability in image pre-processing. <xref ref-type="bibr" rid="B40">Ruan et&#xa0;al. (2023)</xref> proposed a crop row detection method based on YOLO-R, attaining accuracy values of 93.91%, 95.87%, and 89.87% on the seven-day, 14-day, and 21-day for rice seedling row detection, respectively. <xref ref-type="bibr" rid="B7">Diao et&#xa0;al. (2023)</xref> developed a navigation line extraction algorithm based on an improved YOLOv8s network in corn seedlings, getting a significantly enhanced performance in mean average precision and F1, as compared to the YOLOv7 network and original YOLOv8 network. <xref ref-type="bibr" rid="B29">Liu et&#xa0;al. (2023)</xref> showed a recognition method of corn crop rows using the MS-ERFNet model, the mean intersection over union (mIoU) and the pixel accuracy (PA) of the MSERFNet model was 93.40% and 97.54%, respectively, which were higher than other models. <xref ref-type="bibr" rid="B50">Wang S. et&#xa0;al. (2021</xref>, <xref ref-type="bibr" rid="B47">2023a</xref>, <xref ref-type="bibr" rid="B48">2023b</xref>) adopted row vector grid classification, initial clustering, and exterior point elimination, as well as sub-region growth and outlier removal, to recognize straight or curved rice seedling rows, comprehensively realizing the centerline extraction of transplanted rice seedling rows under different paddy field environments.</p>
<p>Undoubtedly, deep learning algorithms in crop seedling centerline extraction require less execution time and showcase a better generalization ability. Despite these advantages, deep-learning-based methods require comprehensive datasets, considerable image labeling, innovative algorithm development, and rigorous parameter-adjusting processes. In addition, most of the deep learning algorithms lacked verifications in other crop seedlings; as a result, their generalization ability remains limited.</p>
<p>In conclusion, existing approaches often target specific crops, such as rice and corn, which typically exhibit uniformity due to agronomic influences, yet a generalizable navigation line extraction algorithm capable of adapting to various crops, growth stages, and environmental conditions remains absent. As a result, algorithms tailored to these crops may struggle with generalizability when applied to others, such as sugarcane, which has more complex and diverse characteristics. For instance, in sugarcane seedlings, ridge structure and spacing vary significantly, and little literature has explored this field. A noteworthy exception is <xref ref-type="bibr" rid="B52">Yang et&#xa0;al. (2022)</xref>, who used LiDAR to extract navigation lines between sugarcane ridges. Moreover, traditional methods and many deep-learning-based approaches focus on site-specific, crop-specific, or growth-stage-specific ridge centerline navigation or plantation-row centerline navigation. A generalizable navigation line extraction algorithm that can handle cross-site, cross-crop, and cross-growth-stage scenarios has yet to be reported. Addressing this gap, our study emphasizes the development of an algorithm designed with broader applicability, aiming to bridge the limitations of the current literature.</p>
<p>In this study, a generalizable navigation line extraction algorithm based on classical image processing technologies was proposed. This study aims to extract the navigation line for cross-growth-stage sugarcane plantation rows under complex in-field environments using classical image processing technologies. The specific objectives of the study were to (a) propose an adaptive navigation line extraction algorithm of sugarcane plantation rows in different early growth stages, (b) validate the effectiveness of the proposed algorithm in complex sugarcane field environments, and (c) apply the proposed algorithm into the navigation line extraction of plantation rows in rice and corn, verifying its generalization capability.</p>
</sec>
<sec id="s2" sec-type="materials|methods">
<label>2</label>
<title>Materials and methods</title>
<p>The proposed navigation line extraction method comprises four steps: image acquisition, image preprocessing, optimal region detection, and navigation line fitting.</p>
<sec id="s2_1">
<label>2.1</label>
<title>Image acquisition</title>
<sec id="s2_1_1">
<label>2.1.1</label>
<title>Location 1 &#x2013; sugarcane seedlings</title>
<p>The image acquisition location of sugarcane seedlings is situated in Guangxi subtropical new town of agri-forestry sciences, which belongs to Guangxi University, Guangxi Province, China (22.52&#xb0;N, 107.79&#xb0;E). The sugarcane seedling images were taken using a mobile device, Huawei Mate 50, positioned at a declination angle of about 45&#xb0; relative to the terrestrial surface on May 2023. In total, 153 images were captured at different times.</p>
</sec>
<sec id="s2_1_2">
<label>2.1.2</label>
<title>Location 2 &#x2013; corn seedlings</title>
<p>Corn seedlings&#x2019; image acquisition location is in Guangxi University Experimental Base, Guangxi Province, China (22.86&#xb0;N, 108.30&#xb0;E). The corn seedling images were taken using the same Huawei Mate 50, positioned at a declination angle of about 45&#xb0; relative to the terrestrial surface on August 2023. In total, 218 images were captured at different times.</p>
</sec>
<sec id="s2_1_3">
<label>2.1.3</label>
<title>Location 3 &#x2013; rice seedlings</title>
<p>The rice seedlings&#x2019; image acquisition location is in Guangxi University Experimental Base, Guangxi Province, China (22.86&#xb0;N, 108.30&#xb0;E). The rice seedling images were taken using the same Huawei Mate 50, positioned at a declination angle of 45&#xb0; relative to the terrestrial surface on August 2023. In total, 135 images were captured at different times.</p>
<p>These acquired images cover diverse in-field conditions such as varying light, inter-row spacing variability, decay branches, overlapping leaves, soil color difference, and disordered vegetation, as well as multiple growth stages which are determined by the number of crop leaves such as &#x2018;Code 12&#x2019; to &#x2018;Code 19&#x2019; (<xref ref-type="bibr" rid="B56">Zadoks et&#xa0;al., 1974</xref>). To further expand the dataset and evaluate the generalization performance of the algorithm, this study employed the open-source image augmentation library Albumentations to enhance the dataset images. These augmentation operations simulated the distributions of sugarcane, corn, and rice seedlings under various low-light conditions and rainy scenarios.</p>
<p>In the following subsections, the sugarcane seedling images were first selected for algorithm development, while the other two image datasets were used for evaluating their generalization performance, as shown in sections 3.2 to 3.3.</p>
</sec>
</sec>
<sec id="s2_2">
<label>2.2</label>
<title>Image preprocessing</title>
<p>The Windows 11 operating system was used to perform image processing tasks on a notebook with an AMD R7-7745HX and NVIDIA GeForce RTX 4060 with 8 GB VRAM. The algorithm in this paper was implemented in C++ using Microsoft Visual Studio 2022 as the integrated development environment. The flowchart of image processing is shown in <xref ref-type="fig" rid="f1">
<bold>Figure&#xa0;1</bold>
</xref>. These steps will be described further in the following sections.</p>
<fig id="f1" position="float">
<label>Figure&#xa0;1</label>
<caption>
<p>The overall architecture of image processing. Colored boxes indicate the detailed algorithms used for each key step.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-15-1499896-g001.tif"/>
</fig>
<sec id="s2_2_1">
<label>2.2.1</label>
<title>Grayscale transformation</title>
<p>To locate crop rows, the excess green index (ExG) is used to segment the vegetation and non-vegetation areas in the image based on the distinct difference in the green index (<xref ref-type="bibr" rid="B51">Woebbecke et&#xa0;al., 1995</xref>). The ExG is defined in <xref ref-type="disp-formula" rid="eq1">Equation 1</xref>. Grayscale images can be obtained by applying the ExG, as shown in <xref ref-type="supplementary-material" rid="SF3">
<bold>Supplementary Figure S1B</bold>
</xref>.</p>
<disp-formula id="eq1">
<label>(1)</label>
<mml:math display="block" id="M1">
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>y</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:mo>{</mml:mo>
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>&#x2003;</mml:mo>
<mml:mn>2</mml:mn>
<mml:mi>&#x261;</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>r</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>b</mml:mi>
<mml:mo>&lt;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mn>255</mml:mn>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>&#x2003;</mml:mo>
<mml:mn>2</mml:mn>
<mml:mi>&#x261;</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>r</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>b</mml:mi>
<mml:mo>&gt;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mn>255</mml:mn>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mi>&#x261;</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>r</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mo>&#x2003;</mml:mo>
<mml:mi>o</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>w</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>e</mml:mi>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mrow>
</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>G</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>y</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>&#xa0;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> denotes the gray level of the pixel at the position <inline-formula>
<mml:math display="inline" id="im2">
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula>
<mml:math display="inline" id="im3">
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mi>g</mml:mi>
<mml:mi>b</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> are determined by the normalized values of the corresponding RGB channels respectively, as shown in <xref ref-type="disp-formula" rid="eq2">Equation 2</xref>.</p>
<disp-formula id="eq2">
<label>(2)</label>
<mml:math display="block" id="M2">
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mrow>
<mml:mo>{</mml:mo>
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mi>R</mml:mi>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mtext>&#xa0;</mml:mtext>
<mml:mo>+</mml:mo>
<mml:mtext>&#xa0;</mml:mtext>
<mml:mi>G</mml:mi>
<mml:mtext>&#xa0;</mml:mtext>
<mml:mo>+</mml:mo>
<mml:mtext>&#xa0;</mml:mtext>
<mml:mi>B</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mi>&#x261;</mml:mi>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mi>G</mml:mi>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mtext>&#xa0;</mml:mtext>
<mml:mo>+</mml:mo>
<mml:mtext>&#xa0;</mml:mtext>
<mml:mi>G</mml:mi>
<mml:mtext>&#xa0;</mml:mtext>
<mml:mo>+</mml:mo>
<mml:mtext>&#xa0;</mml:mtext>
<mml:mi>B</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mi>b</mml:mi>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mi>B</mml:mi>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mtext>&#xa0;</mml:mtext>
<mml:mo>+</mml:mo>
<mml:mtext>&#xa0;</mml:mtext>
<mml:mi>G</mml:mi>
<mml:mtext>&#xa0;</mml:mtext>
<mml:mo>+</mml:mo>
<mml:mtext>&#xa0;</mml:mtext>
<mml:mi>B</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:math>
</disp-formula>
</sec>
<sec id="s2_2_2">
<label>2.2.2</label>
<title>OTSU thresholding and NZPR operation</title>
<p>Threshold segmentation using the Otsu method (<xref ref-type="bibr" rid="B37">Otsu, 1979</xref>) on grayscale images effectively extracts regions of interest. Let <inline-formula>
<mml:math display="inline" id="im4">
<mml:mrow>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> be the proportion of pixels for each grayscale level compared to the total number of pixels in the image, as shown in <xref ref-type="disp-formula" rid="eq3">Equation 3</xref>. Let <inline-formula>
<mml:math display="inline" id="im5">
<mml:mi>t</mml:mi>
</mml:math>
</inline-formula> be the threshold segmenting the image into foreground and background. Let <inline-formula>
<mml:math display="inline" id="im6">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula>
<mml:math display="inline" id="im7">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> represent the probabilities of foreground and background, respectively. Let <inline-formula>
<mml:math display="inline" id="im8">
<mml:mrow>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula>
<mml:math display="inline" id="im9">
<mml:mrow>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> represent the average grayscale values of the foreground and background, respectively. Let <inline-formula>
<mml:math display="inline" id="im10">
<mml:mrow>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mi>G</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> be the average grayscale values of the image. Thus, the variance between the two categories can be calculated by the <xref ref-type="disp-formula" rid="eq3">Equations 3</xref> and <xref ref-type="disp-formula" rid="eq4">4</xref>:</p>
<disp-formula id="eq3">
<label>(3)</label>
<mml:math display="block" id="M3">
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>&#xa0;</mml:mo>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mi>N</mml:mi>
</mml:mfrac>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula id="eq4">
<label>(4)</label>
<mml:math display="block" id="M4">
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x3c3;</mml:mi>
<mml:mi>B</mml:mi>
<mml:mn>2</mml:mn>
</mml:msubsup>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:msup>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mi>G</mml:mi>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:msup>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mi>G</mml:mi>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:math>
</disp-formula>
<p>where <inline-formula>
<mml:math display="inline" id="im11">
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula>
<mml:math display="inline" id="im12">
<mml:mi>N</mml:mi>
</mml:math>
</inline-formula> represent the sum of pixels for each grayscale level and total pixels of the image, respectively, while <inline-formula>
<mml:math display="inline" id="im13">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mstyle displaystyle="true">
<mml:msubsup>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
<mml:mi>t</mml:mi>
</mml:msubsup>
<mml:mtext>&#xa0;</mml:mtext>
<mml:mrow>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mstyle>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula>
<mml:math display="inline" id="im14">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mstyle displaystyle="true">
<mml:msubsup>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>255</mml:mn>
</mml:mrow>
</mml:msubsup>
<mml:mtext>&#xa0;</mml:mtext>
<mml:mrow>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mstyle>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula>
<mml:math display="inline" id="im15">
<mml:mrow>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:mstyle displaystyle="true">
<mml:msubsup>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
<mml:mtext>t</mml:mtext>
</mml:msubsup>
<mml:mtext>&#xa0;</mml:mtext>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mstyle>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula>
<mml:math display="inline" id="im16">
<mml:mrow>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:mstyle displaystyle="true">
<mml:msubsup>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>255</mml:mn>
</mml:mrow>
</mml:msubsup>
<mml:mtext>&#xa0;</mml:mtext>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mstyle>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula>
<mml:math display="inline" id="im17">
<mml:mrow>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mi>G</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mstyle displaystyle="true">
<mml:msubsup>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>255</mml:mn>
</mml:mrow>
</mml:msubsup>
<mml:mtext>&#xa0;</mml:mtext>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mstyle>
</mml:mrow>
</mml:math>
</inline-formula>. The threshold <inline-formula>
<mml:math display="inline" id="im18">
<mml:mrow>
<mml:msup>
<mml:mi>t</mml:mi>
<mml:mo>*</mml:mo>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> that maximizes the inter-class variance can be calculated by the <xref ref-type="disp-formula" rid="eq5">Equation 5</xref>:</p>
<disp-formula id="eq5">
<label>(5)</label>
<mml:math display="block" id="M5">
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msup>
<mml:mi>t</mml:mi>
<mml:mo>*</mml:mo>
</mml:msup>
<mml:mo>=</mml:mo>
<mml:mi>a</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>g</mml:mi>
<mml:mi>m</mml:mi>
<mml:mi>a</mml:mi>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:msubsup>
<mml:mi>&#x3c3;</mml:mi>
<mml:mi>B</mml:mi>
<mml:mn>2</mml:mn>
</mml:msubsup>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:math>
</disp-formula>
<p>where <inline-formula>
<mml:math display="inline" id="im19">
<mml:mrow>
<mml:msup>
<mml:mi>t</mml:mi>
<mml:mo>*</mml:mo>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> represents the optimal threshold.</p>
<p>Once the threshold that corresponds to the maximum inter-class variance is defined, it becomes the optimal threshold for the segmentation. The binary image illustrated in <xref ref-type="fig" rid="f2">
<bold>Figure&#xa0;2A</bold>
</xref> can be obtained based on the following <xref ref-type="disp-formula" rid="eq6">Equation 6</xref>:</p>
<fig id="f2" position="float">
<label>Figure&#xa0;2</label>
<caption>
<p>Threshold segmentation and morphological operation. <bold>(A)</bold> Binary images at different growth stages: (Aa) Slight occlusion, NZPR=11.84%; (Ab) Moderate occlusion, NZPR=22.32%; (Ac) Severe occlusion, NZPR=36.38%; <bold>(B)</bold> Images after morphological operation: the opening operation was applied in (Ba), (Bb) and (Bc) based on NZPR.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-15-1499896-g002.tif"/>
</fig>
<disp-formula id="eq6">
<label>(6)</label>
<mml:math display="block" id="M6">
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>y</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:mo>{</mml:mo>
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mn>255</mml:mn>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>&#x2003;</mml:mo>
<mml:mi>G</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>y</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>&gt;</mml:mo>
<mml:mi>&#x261;</mml:mi>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>&#x2003;</mml:mo>
<mml:mi>o</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>w</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>e</mml:mi>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:math>
</disp-formula>
<p>where <inline-formula>
<mml:math display="inline" id="im20">
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mo>=</mml:mo>
<mml:mi>k</mml:mi>
<mml:msup>
<mml:mi>t</mml:mi>
<mml:mo>*</mml:mo>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula>, in which <inline-formula>
<mml:math display="inline" id="im21">
<mml:mi>k</mml:mi>
</mml:math>
</inline-formula> is a proportion coefficient. According to pre-test, <inline-formula>
<mml:math display="inline" id="im22">
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>0.8</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula> is an optimal proportion coefficient to extract the green features of sugarcane to the binary image.</p>
<p>Given that non-zero pixels in the binary image represent crops, this study proposed a concept of non-zero pixel ratio (NZPR), which denotes the proportion of non-zero pixels relative to the total number of pixels in the image to describe the different growth stages of crops, as <xref ref-type="disp-formula" rid="eq7">Equation 7</xref>:</p>
<disp-formula id="eq7">
<label>(7)</label>
<mml:math display="block" id="M7">
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mi>N</mml:mi>
<mml:mi>Z</mml:mi>
<mml:mi>P</mml:mi>
<mml:mi>R</mml:mi>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mi>G</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>y</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo stretchy="false">/</mml:mo>
<mml:mn>255</mml:mn>
</mml:mrow>
<mml:mi>N</mml:mi>
</mml:mfrac>
<mml:mo>&#xd7;</mml:mo>
<mml:mn>100</mml:mn>
<mml:mo>%</mml:mo>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:math>
</disp-formula>
<p>Furthermore, it is observed that the sugarcane seedlings exhibit strong branching ability of their leaves from the seedling stage (<xref ref-type="fig" rid="f2">
<bold>Figure&#xa0;2A</bold>
</xref>). As the growth stage advances, the branching density and coverage of the leaves increase continuously, resulting in severe occlusion of the leaf canopy of adjacent crop rows (<xref ref-type="fig" rid="f2">
<bold>Figure&#xa0;2A</bold>
</xref>c), which leads to unfavorable repercussions for subsequent clustering processes.</p>
<p>It is worth noting that different agricultural scenarios have varying requirements regarding image resolution. Low-resolution images, which do not require excessive image details, offer better real-time performance. On the other hand, high-resolution images provide more precise information for tasks such as planting and weed control. Given common resolutions used in typical cameras, the image acquired with a resolution of 4096&#xd7;3072 is converted into two-type images with 640&#xd7;480 and 1920&#xd7;1080. As a result, established mathematical models were developed to correlate the two different resolutions&#x2014;640&#xd7;480 and 1920&#xd7;1080&#x2014;with the application of morphological operations.</p>
<p>To effectively tackle the severe occlusion of the leaf canopy of adjacent crop rows, a morphological operation (erosion followed by dilation) was implemented to eliminate extraneous branches and slight noise. According to pre-test, the iterations of erosion and dilation are determined by our defined NZPR ranges, as shown as below.</p>
<p>1. For images with a resolution of 640&#xd7;480, its <inline-formula>
<mml:math display="inline" id="im23">
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mrow>
<mml:mi>e</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> can be described as</p>
<disp-formula id="eq8">
<label>(8)</label>
<mml:math display="block" id="M8">
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mrow>
<mml:mi>e</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:mo>{</mml:mo>
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mi>N</mml:mi>
<mml:mi>Z</mml:mi>
<mml:mi>P</mml:mi>
<mml:mi>R</mml:mi>
<mml:mo>&lt;</mml:mo>
<mml:mn>6</mml:mn>
<mml:mo>%</mml:mo>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>d</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>4.0229</mml:mn>
<mml:mo>&#xb7;</mml:mo>
<mml:mi>N</mml:mi>
<mml:mi>Z</mml:mi>
<mml:mi>P</mml:mi>
<mml:msup>
<mml:mi>R</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mo>+</mml:mo>
<mml:mn>11.7543</mml:mn>
<mml:mo>&#xb7;</mml:mo>
<mml:mi>N</mml:mi>
<mml:mi>Z</mml:mi>
<mml:mi>P</mml:mi>
<mml:mi>R</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>0.17</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mn>6</mml:mn>
<mml:mo>%</mml:mo>
<mml:mo>&#x2264;</mml:mo>
<mml:mi>N</mml:mi>
<mml:mi>Z</mml:mi>
<mml:mi>P</mml:mi>
<mml:mi>R</mml:mi>
<mml:mo>&#x2264;</mml:mo>
<mml:mn>50</mml:mn>
<mml:mtext>%&#xa0;</mml:mtext>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mn>5</mml:mn>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mi>N</mml:mi>
<mml:mi>Z</mml:mi>
<mml:mi>P</mml:mi>
<mml:mi>R</mml:mi>
<mml:mo>&gt;</mml:mo>
<mml:mn>50</mml:mn>
<mml:mo>%</mml:mo>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:math>
</disp-formula>
<p>2. For images with a resolution of 1920&#xd7;1080, its <inline-formula>
<mml:math display="inline" id="im24">
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mrow>
<mml:mi>e</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> can be described as</p>
<disp-formula id="eq9">
<label>(9)</label>
<mml:math display="block" id="M9">
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mrow>
<mml:mi>e</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:mo>{</mml:mo>
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mi>N</mml:mi>
<mml:mi>Z</mml:mi>
<mml:mi>P</mml:mi>
<mml:mi>R</mml:mi>
<mml:mo>&lt;</mml:mo>
<mml:mn>6</mml:mn>
<mml:mo>%</mml:mo>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>d</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mn>53.5714</mml:mn>
<mml:mo>&#xd7;</mml:mo>
<mml:mi>N</mml:mi>
<mml:mi>Z</mml:mi>
<mml:mi>P</mml:mi>
<mml:msup>
<mml:mi>R</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mo>+</mml:mo>
<mml:mn>3.9286</mml:mn>
<mml:mo>&#xb7;</mml:mo>
<mml:mi>N</mml:mi>
<mml:mi>Z</mml:mi>
<mml:mi>P</mml:mi>
<mml:mi>R</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>0.0714</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mn>6</mml:mn>
<mml:mo>%</mml:mo>
<mml:mo>&#x2264;</mml:mo>
<mml:mi>N</mml:mi>
<mml:mi>Z</mml:mi>
<mml:mi>P</mml:mi>
<mml:mi>R</mml:mi>
<mml:mo>&#x2264;</mml:mo>
<mml:mn>20</mml:mn>
<mml:mo>%</mml:mo>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mn>10</mml:mn>
<mml:mo>&#xd7;</mml:mo>
<mml:mi>N</mml:mi>
<mml:mi>Z</mml:mi>
<mml:mi>P</mml:mi>
<mml:mi>R</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>2</mml:mn>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mn>20</mml:mn>
<mml:mo>%</mml:mo>
<mml:mo>&lt;</mml:mo>
<mml:mi>N</mml:mi>
<mml:mi>Z</mml:mi>
<mml:mi>P</mml:mi>
<mml:mi>R</mml:mi>
<mml:mo>&#x2264;</mml:mo>
<mml:mn>50</mml:mn>
<mml:mo>%</mml:mo>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mn>8</mml:mn>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mi>N</mml:mi>
<mml:mi>Z</mml:mi>
<mml:mi>P</mml:mi>
<mml:mi>R</mml:mi>
<mml:mo>&gt;</mml:mo>
<mml:mn>50</mml:mn>
<mml:mo>%</mml:mo>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula id="eq10">
<label>(10)</label>
<mml:math display="block" id="M10">
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>l</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mo>&#x230a;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mrow>
<mml:mi>e</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:mfrac>
<mml:mo>&#x230b;</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>
<p>Compared to linear relationships, nonlinear relationships are more effective in balancing the preservation of image details with the suppression of unnecessary pixels. However, in cases where the NZPR is less than 6%, there are not enough feature pixels in the image, and therefore, erosion is not necessary.</p>
<p>As sugarcane seedlings grow, the NZPR value steadily increases (<xref ref-type="fig" rid="f2">
<bold>Figure&#xa0;2</bold>
</xref>), requiring more corrosion and expansion iterations, leading to more significant differences between them. As shown in <xref ref-type="fig" rid="f2">
<bold>Figure&#xa0;2B</bold>
</xref>, the main stems of sugarcane seedlings were retained in the binary image after the morphological operation. Specifically, a 3&#xd7;3 kernel was used in this process.</p>
</sec>
<sec id="s2_2_3">
<label>2.2.3</label>
<title>Connected component filtering and baseline detection</title>
<p>The morphological operations effectively suppressed extraneous branches and leaves in the binary image. However, it was also observed that numerous disconnected noises were introduced into the image, resulting from erosion and dilation. At the same time, the relatively larger connected components constitute the significant parts of the crop.</p>
<p>Based on the observed difference mentioned above, an eight-connected labeling algorithm that considers the pixel neighborhood in all eight directions was applied to identify individual objects. The specific steps for the labeling process are described as follows:</p>
<list list-type="simple">
<list-item>
<p>Step 1. Initialize a counter that indicates the count of currently discovered connected components. Initialize a label image to store the label of each pixel.</p>
</list-item>
<list-item>
<p>Step 2. Iterate through each pixel in the input image. Based on the grayscale value of the current pixel, classify it into foreground and background. The presence of a non-zero grayscale value denotes the membership of a pixel to the foreground and, in some cases, to a particular connected component. Identify the labelled pixels within its neighborhood and place them into a set.</p>
</list-item>
<list-item>
<p>Step 3. Identify the smallest element in the set, corresponding to the minimum label value, and assign it to a variable. This variable represents the label of the connected component to which the current pixel might belong. If the set is empty, it indicates that the current pixel has no labelled neighboring pixels, signifying it as the starting point of a newly discovered connected component. Therefore, increment the counter by one and assign this value as the label of the current pixel. If the set is not empty, assign the variable mentioned above as the label of the current pixel.</p>
</list-item>
<list-item>
<p>Step 4. Replace different labels belonging to the same connected component with a single label, referred to as merging equivalence class (MEC). MEC ensures that each connected component has a unique label.</p>
</list-item>
</list>
<p>The corresponding algorithm for the connected component labeling process is presented in <xref ref-type="boxed-text" rid="algo1">
<bold>Algorithm 1</bold>
</xref>.</p>
<boxed-text position="float" id="algo1">
<label>Algorithm 1</label>
<title>The algorithm of the labeling process.</title>
<p><graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-15-1499896-g019.tif"/></p>
</boxed-text>
<p>Furthermore, a pixel re-binarization operation, such as in <xref ref-type="disp-formula" rid="eq11">Equation 11</xref>, was employed to eliminate small connected components considered residual pixels after performing morphological opening. <xref ref-type="fig" rid="f3">
<bold>Figure&#xa0;3A</bold>
</xref> illustrates the image that was processed.</p>
<fig id="f3" position="float">
<label>Figure&#xa0;3</label>
<caption>
<p>Connected component detection and vertical projection. <bold>(A)</bold> Eight-connected component filtering image; <bold>(B)</bold> Vertical projection curve from the filtering image, the value of (k) depends on the maximum column pixel value of each image.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-15-1499896-g003.tif"/>
</fig>
<disp-formula id="eq11">
<label>(11)</label>
<mml:math display="block" id="M11">
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mi>B</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:mo>{</mml:mo>
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mn>255</mml:mn>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mo>&#x2003;</mml:mo>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>&gt;</mml:mo>
<mml:mn>0</mml:mn>
<mml:mtext>&#xa0;&amp;&#xa0;</mml:mtext>
<mml:mi>A</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x2265;</mml:mo>
<mml:mi>M</mml:mi>
<mml:mo>&#xd7;</mml:mo>
<mml:mi mathvariant="script">C</mml:mi>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>&#x2003;</mml:mo>
<mml:mi>o</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>w</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>e</mml:mi>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:math>
</disp-formula>
<p>where <inline-formula>
<mml:math display="inline" id="im38">
<mml:mrow>
<mml:mi>A</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> represents the area of the connected component to which the current pixel <inline-formula>
<mml:math display="inline" id="im39">
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> belongs, <inline-formula>
<mml:math display="inline" id="im40">
<mml:mi>M</mml:mi>
</mml:math>
</inline-formula> represents the mean area of all connected components, <inline-formula>
<mml:math display="inline" id="im41">
<mml:mi mathvariant="script">C</mml:mi>
</mml:math>
</inline-formula> denotes a given coefficient, and pre-test has shown that a value of 0.7 achieves better elimination effects.</p>
<p>To extract the center row of sugarcane seedlings in the image, a baseline is needed to predict its potential position. The baseline detection is based on the following two assumptions: 1) In the image (<xref ref-type="fig" rid="f3">
<bold>Figure&#xa0;3A</bold>
</xref>), the crop rows present a trend of being smaller at the top and more prominent at the bottom and leaning towards the center position, while the crop rows at the center position have a smaller or almost vertical inclination. 2) Vertically projecting the image exhibits a specific Gaussian distribution pattern. The maximum column pixel value position is typically located near the central crop row. The central 35% of the image is set as the region of interest (ROI) to obtain accurate results. The column pixel values within this region are then analyzed. The vertical line corresponding to the maximum column pixel value is considered the baseline, as shown in <xref ref-type="fig" rid="f3">
<bold>Figure&#xa0;3B</bold>
</xref>.</p>
</sec>
</sec>
<sec id="s2_3">
<label>2.3</label>
<title>Optimal region detection</title>
<sec id="s2_3_1">
<label>2.3.1</label>
<title>Enhanced DBSCAN Clustering with KD-Tree Optimization</title>
<p>This study employed a density-based clustering method to group pixels that belong to the same crop or specific crop row, as shown in <xref ref-type="fig" rid="f4">
<bold>Figures&#xa0;4A, D</bold>
</xref>.</p>
<fig id="f4" position="float">
<label>Figure&#xa0;4</label>
<caption>
<p>Images of clusters based on density: <bold>(A)</bold> Illustration of DBSCAN; <bold>(B)</bold> 2D space partitioning based on KDTree, each vertical and horizontal line represents a split along the x or y axis, respectively, the labels (L1, L2, etc.) indicate the hierarchical levels of the partition; <bold>(C)</bold> KDTree structure; <bold>(D)</bold> Indexes 1 to 17 indicate clusters <inline-formula>
<mml:math display="inline" id="im42">
<mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo>&#x2026;</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mn>17</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> of that density level.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-15-1499896-g004.tif"/>
</fig>
<p>Before the implementation of clustering, it was observed that the number of pixels presented in high-resolution binary images was quite substantial, resulting in a significant utilization of computational resources and time. From the pixel reduction perspective, a sliding window method was applied to reduce unnecessary pixels, save computational time, and increase data processing speed. This method involves computing the average coordinates of all pixels within the window, as shown in <xref ref-type="disp-formula" rid="eq12">Equations 12</xref> and <xref ref-type="disp-formula" rid="eq13">13</xref>, subsequently replacing the original pixels with the resulting mean values. The sliding window moves by its step size at each iteration, covering the entire image. Through the implementation of this method, image processing is becoming more streamlined and efficient.</p>
<disp-formula id="eq12">
<label>(12)</label>
<mml:math display="block" id="M12">
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>x</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:munderover>
<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>m</mml:mi>
</mml:munderover>
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>n</mml:mi>
</mml:munderover>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula id="eq13">
<label>(13)</label>
<mml:math display="block" id="M13">
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>y</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:munderover>
<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>m</mml:mi>
</mml:munderover>
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>n</mml:mi>
</mml:munderover>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:math>
</disp-formula>
<p>where <inline-formula>
<mml:math display="inline" id="im43">
<mml:mi>m</mml:mi>
</mml:math>
</inline-formula> and <inline-formula>
<mml:math display="inline" id="im44">
<mml:mi>n</mml:mi>
</mml:math>
</inline-formula> represent the width and height of the sliding window respectively, they are both set to eight in this step.</p>
<p>
<xref ref-type="bibr" rid="B10">Ester et&#xa0;al. (1996)</xref> proposed the DBSCAN (Density-Based Spatial Clustering of Applications with Noise) algorithm. We considered two critical parameters in the algorithm, the neighborhood radius (epsilon) and the minimum number of neighbors (minPts). Based on the pre-test, the parameters were configured to 200 and 4 respectively.</p>
<p>The traditional DBSCAN algorithm faces computational bottlenecks, particularly when processing high-resolution images. The computational complexity of finding neighboring points increases significantly with the amount of pixel information, leading to longer processing times. To address this, the KD-Tree was introduced as a spatial indexing structure to accelerate neighbor searches in the DBSCAN algorithm, reducing the computational complexity from <italic>O(n<sup>2</sup>)</italic> to <italic>O(n log n)</italic>. The KD-Tree implementation, as shown in <xref ref-type="fig" rid="f4">
<bold>Figures&#xa0;4B, C</bold>
</xref>, was further enhanced with OpenMP parallelization to reduce processing time for high resolution images. By leveraging OpenMP, the neighbor search process was divided into smaller tasks distributed across multiple threads, significantly improving computational efficiency. The specific steps for the enhanced DBSCAN process are described as follows:</p>
<list list-type="simple">
<list-item>
<p>Step 1: Build a KD-tree using the dataset to accelerate neighbor searches. For each data point, find all points within its epsilon-neighborhood using the KD-tree and cache these neighbors for quick access. Perform parallel neighbor searches using OpenMP.</p>
</list-item>
<list-item>
<p>Step 2: Initialize all data points as unclassified by setting their cluster IDs to -1.</p>
</list-item>
<list-item>
<p>Step 3: For each unclassified data point, perform the following:</p>
<list list-type="alpha-upper">
<list-item>
<p>Retrieve its cached epsilon-neighborhood from the KD-tree.</p>
</list-item>
<list-item>
<p>
<bold>If</bold> the number of neighbors (including the point itself) is less than the user-defined minimum (minPts), <bold>then</bold>:</p>
<list list-type="bullet">
<list-item>
<p>Mark the data point as noise (remain unclassified).</p>
</list-item>
</list>
</list-item>
<list-item>
<p>
<bold>Else if</bold> the number of neighbors is greater than or equal to minPts, <bold>then</bold>:</p>
<list list-type="bullet">
<list-item>
<p>Assign the data point to a new cluster by setting its cluster ID to a new unique value.</p>
</list-item>
<list-item>
<p>Initialize a queue and add the current data point to it to begin expanding the cluster.</p>
</list-item>
</list>
</list-item>
</list>
</list-item>
<list-item>
<p>Step 4: While the queue is not empty, perform the following to expand the cluster:</p>
<list list-type="alpha-upper">
<list-item>
<p>Dequeue a data point from the queue.</p>
</list-item>
<list-item>
<p>Retrieve its cached epsilon-neighborhood.</p>
</list-item>
<list-item>
<p>
<bold>If</bold> the number of neighbors is greater than 1 (meaning the point has at least one neighbor besides itself), <bold>then</bold>:</p>
<list list-type="bullet">
<list-item>
<p>For each neighbor in the epsilon-neighborhood:</p>
<list list-type="order">
<list-item>
<p>
<bold>If</bold> the neighbor is unclassified (cluster ID is -1), <bold>then</bold>:</p>
<list list-type="alpha-lower">
<list-item>
<p>Assign it to the current cluster by setting its cluster ID to the current cluster ID.</p>
</list-item>
<list-item>
<p>Enqueue the neighbor to process its neighbors in subsequent iterations.</p>
</list-item>
</list>
</list-item>
</list>
</list-item>
</list>
</list-item>
</list>
</list-item>
<list-item>
<p>Step 5: Repeat <bold>Steps 3</bold> and <bold>4</bold> for all data points until all points are classified either into clusters or marked as noise.</p>
</list-item>
</list>
<p>The corresponding algorithm for the process mentioned above is presented in <xref ref-type="boxed-text" rid="algo2">
<bold>Algorithm 2</bold>
</xref>.</p>
<boxed-text position="float" id="algo2">
<label>Algorithm 2</label>
<title>The algorithm of DBSCAN using KD-tree acceleration.</title>
<p><graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-15-1499896-g020.tif"/></p>
</boxed-text>
</sec>
<sec id="s2_3_2">
<label>2.3.2</label>
<title>Centerline selection by distance to the baseline</title>
<p>The plantation row that is required to fit the navigation line is considered the centerline in <xref ref-type="fig" rid="f3">
<bold>Figure&#xa0;3A</bold>
</xref>. By conducting a comparative analysis of the distances of clusters to the baseline depicted in <xref ref-type="fig" rid="f3">
<bold>Figure&#xa0;3B</bold>
</xref> and subsequently delineating a specific ROI, a more precise estimation of the centerline can be obtained, as shown in <xref ref-type="fig" rid="f5">
<bold>Figure&#xa0;5C</bold>
</xref>.</p>
<fig id="f5" position="float">
<label>Figure&#xa0;5</label>
<caption>
<p>Selection of median row: <bold>(A)</bold> Compare <inline-formula>
<mml:math display="inline" id="im70">
<mml:mrow>
<mml:msub>
<mml:mi>d</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo>&#x2026;</mml:mo>
<mml:msub>
<mml:mi>d</mml:mi>
<mml:mrow>
<mml:mn>17</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> with <inline-formula>
<mml:math display="inline" id="im71">
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>d</mml:mi>
<mml:mo>&#xb7;</mml:mo>
<mml:mover accent="true">
<mml:mi>d</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula>; <bold>(B)</bold> Detect the presence of clusters to verify if there is at least one point within the region of interest; <bold>(C)</bold> Obtain the centerline.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-15-1499896-g005.tif"/>
</fig>
<p>The comparative analysis compares the distance from each cluster centroid to the baseline with the mean distance of all cluster centroids to the baseline, as shown in <xref ref-type="disp-formula" rid="eq14">Equation 14</xref>. This approach enables the extraction of potential target clusters while filtering out clusters that exhibit a minimal proportion of areas within the ROI, yet the centroid is distant from this region, as illustrated in <xref ref-type="fig" rid="f5">
<bold>Figure&#xa0;5A</bold>
</xref>.</p>
<disp-formula id="eq14">
<label>(14)</label>
<mml:math display="block" id="M14">
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi>d</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:mi>c</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>d</mml:mi>
<mml:mo>&#xb7;</mml:mo>
<mml:mover accent="true">
<mml:mi>d</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:math>
</disp-formula>
<p>where <inline-formula>
<mml:math display="inline" id="im72">
<mml:mrow>
<mml:msub>
<mml:mi>d</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> represents an absolute distance from <inline-formula>
<mml:math display="inline" id="im73">
<mml:mi>i</mml:mi>
</mml:math>
</inline-formula>- <inline-formula>
<mml:math display="inline" id="im74">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> cluster centroid of its x-coordinate <inline-formula>
<mml:math display="inline" id="im75">
<mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mi>x</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> to the baseline, <inline-formula>
<mml:math display="inline" id="im76">
<mml:mover accent="true">
<mml:mi>d</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
</mml:math>
</inline-formula> is calculated as the mean of all centroid distances and the coefficient of distance (cod) will start with an initial value of 0.65 and increase by 0.05 in each iteration until at least a cluster that satisfies <xref ref-type="disp-formula" rid="eq14">Equation 14</xref> is found.</p>
<p>However, not all clusters that satisfy <xref ref-type="disp-formula" rid="eq14">Equation 14</xref> are necessarily relevant to the required fitting clusters. These clusters may encompass redundant significant connected components and certain biased positional crops. To address this issue, an isosceles trapezoidal ROI with the baseline as its median was employed. <xref ref-type="fig" rid="f5">
<bold>Figure&#xa0;5B</bold>
</xref> illustrates the ROI, which consists of two oblique lines, each spanning from the top to the bottom, with a length equivalent to 0.07 times the image width. Furthermore, the slopes of these two lines have an absolute value of 1/12. The cross-product operation, as shown in <xref ref-type="disp-formula" rid="eq15">Equation 15</xref>, was applied to assess the position of the cluster relative to the oblique lines. <xref ref-type="disp-formula" rid="eq16">Equation 16</xref> determines whether the cluster is within the ROI. The clusters contributing to a non-zero value in <xref ref-type="disp-formula" rid="eq16">Equation 16</xref> are regarded as the desired median row, as illustrated in <xref ref-type="fig" rid="f5">
<bold>Figure&#xa0;5C</bold>
</xref>.</p>
<disp-formula id="eq15">
<label>(15)</label>
<mml:math display="block" id="M15">
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>b</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>c</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:mo>{</mml:mo>
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mtext>if</mml:mtext>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mi>x</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mi>x</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi>y</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mi>y</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mi>y</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mi>y</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi>x</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mi>x</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>&gt;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mtext>if</mml:mtext>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mi>x</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mi>x</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi>y</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mi>y</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mi>y</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mi>y</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi>x</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mi>x</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>&lt;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:math>
</disp-formula>
<p>where <inline-formula>
<mml:math display="inline" id="im77">
<mml:mi>a</mml:mi>
</mml:math>
</inline-formula> and <inline-formula>
<mml:math display="inline" id="im78">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula> represent two points on the oblique line, <inline-formula>
<mml:math display="inline" id="im79">
<mml:mi>c</mml:mi>
</mml:math>
</inline-formula> represents the point which the relative position is to be determined. The number of points within the two oblique lines is given by:</p>
<disp-formula id="eq16">
<label>(16)</label>
<mml:math display="block" id="M16">
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mstyle displaystyle="true">
<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>I</mml:mi>
</mml:mstyle>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>l</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>l</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>&#x2227;</mml:mo>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>r</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>r</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>=</mml:mo>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:math>
</disp-formula>
<p>where <inline-formula>
<mml:math display="inline" id="im80">
<mml:mrow>
<mml:msub>
<mml:mi>l</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula>
<mml:math display="inline" id="im81">
<mml:mrow>
<mml:msub>
<mml:mi>l</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> determine the left oblique line, <inline-formula>
<mml:math display="inline" id="im82">
<mml:mrow>
<mml:msub>
<mml:mi>r</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula>
<mml:math display="inline" id="im83">
<mml:mrow>
<mml:msub>
<mml:mi>r</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> determine the right oblique line, <inline-formula>
<mml:math display="inline" id="im84">
<mml:mrow>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>&#x2208;</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, and <inline-formula>
<mml:math display="inline" id="im85">
<mml:mrow>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>x</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the indicator function, when <inline-formula>
<mml:math display="inline" id="im86">
<mml:mi>x</mml:mi>
</mml:math>
</inline-formula> is true, <inline-formula>
<mml:math display="inline" id="im87">
<mml:mrow>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>x</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula>; when <inline-formula>
<mml:math display="inline" id="im88">
<mml:mi>x</mml:mi>
</mml:math>
</inline-formula> is false, <inline-formula>
<mml:math display="inline" id="im89">
<mml:mrow>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>x</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>=</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
</sec>
<sec id="s2_3_3">
<label>2.3.3</label>
<title>Sigmoid thresholding method based on NZPR</title>
<p>In crop analysis, accurately selecting a segmentation representing the crop row is essential for fitting a navigation line. Despite the series mentioned above of processing steps, it was observed that the centerline depicted in <xref ref-type="fig" rid="f6">
<bold>Figure&#xa0;6A</bold>
</xref> may still contain discrete branch portions, which can lead to a decrease in fitting accuracy. To mitigate this issue, a novel thresholding technique is proposed in this study, which utilizes a sigmoid function based on NZPR to segment centerline images.</p>
<fig id="f6" position="float">
<label>Figure&#xa0;6</label>
<caption>
<p>Sigmoid thresholding process. <bold>(A)</bold> Median rows at different growth stages: <bold>(Aa)</bold> NZPR=1.84%, <inline-formula>
<mml:math display="inline" id="im90">
<mml:mi>t</mml:mi>
</mml:math>
</inline-formula> =0.95; (Ab) NZPR=8.96%, <inline-formula>
<mml:math display="inline" id="im91">
<mml:mi>t</mml:mi>
</mml:math>
</inline-formula> =0.91; (Ac) NZPR=22.32%, <inline-formula>
<mml:math display="inline" id="im92">
<mml:mi>t</mml:mi>
</mml:math>
</inline-formula> =0.76; <bold>(B)</bold> Vertical projection curves of centerlines: the horizontal line is applied in (Ba), (Bb) and (Bc) to determine the blue area which corresponds to the final fitting area; <bold>(C)</bold> Centerlines after segmentation, the larger the NZPR, the more likely it is to segment a smaller fitting area.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-15-1499896-g006.tif"/>
</fig>
<p>The threshold for segmenting is determined by <xref ref-type="disp-formula" rid="eq17">Equation 17</xref>, which maps different NZPR values to ranges from 0 to 1, normalizing pixel values in the image. Images with higher NZPR values imply later growth stages with denser median crop rows, particularly in the central stem region. Consequently, there is an urgent need for segmentation in such areas, which corresponds to a lower threshold. The results of several tests conducted on multiple crop images at various growth stages showed that <inline-formula>
<mml:math display="inline" id="im93">
<mml:mi>k</mml:mi>
</mml:math>
</inline-formula> takes a value of (-8.67) and <inline-formula>
<mml:math display="inline" id="im94">
<mml:mi>x</mml:mi>
</mml:math>
</inline-formula> takes a value of 0.354, resulting in relatively favorable outcomes concerning image segmentation.</p>
<disp-formula id="eq17">
<label>(17)</label>
<mml:math display="block" id="M17">
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mtext>t</mml:mtext>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>+</mml:mo>
<mml:msup>
<mml:mi>e</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>k</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mtext>NZPR</mml:mtext>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:math>
</disp-formula>
<p>As illustrated in <xref ref-type="fig" rid="f3">
<bold>Figure&#xa0;3B</bold>
</xref>, the vertical projection method will be reused on centerline images to carry out the segmentation process mentioned above. Specifically, a horizontal line will be generated to intersect with the vertical projection curve, and the region enclosed by the intersection points is considered the final fitting area. The horizontal line shown in <xref ref-type="fig" rid="f6">
<bold>Figure&#xa0;6B</bold>
</xref> is given by <xref ref-type="disp-formula" rid="eq18">Equation 18</xref>:</p>
<disp-formula id="eq18">
<label>(18)</label>
<mml:math display="block" id="M18">
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mi>l</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>e</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mn>1.2</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>&#xb7;</mml:mo>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>x</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:math>
</disp-formula>
<p>where <inline-formula>
<mml:math display="inline" id="im95">
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>x</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> represents the maximum y-value on the vertical projection curve of the centerline image. The value <inline-formula>
<mml:math display="inline" id="im96">
<mml:mrow>
<mml:mn>1.2</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula> is optional, and since the origin of the coordinate system in OpenCV is in the top-left corner, the corresponding horizontal line y-value should be calculated starting from the origin.</p>
</sec>
</sec>
<sec id="s2_4">
<label>2.4</label>
<title>The straight-line fitting based on RANSAC and the least squares method.</title>
<p>After the aforementioned preprocessing steps, the resulting image was nearly devoid of noise or outliers. Based on the resulting image, this study utilized the advantages of the RANSAC algorithm (<xref ref-type="bibr" rid="B12">Fischler and Bolles, 1981</xref>) to select a group of representative points with higher density. Subsequently, the least squares method shown in <xref ref-type="disp-formula" rid="eq21">Equation 21</xref> was applied to fit these points, avoiding the fitting line biased towards the density center of the points. The fitting effect is improved, as shown in <xref ref-type="supplementary-material" rid="SF4">
<bold>Supplementary Figure S2C</bold>
</xref>. Furthermore, as depicted in <xref ref-type="fig" rid="f6">
<bold>Figure&#xa0;6C</bold>
</xref>, it was worth noting that not all the pixels are required for navigation line fitting. The inclusion of additional pixels leads to increased calculative complexity. As a result, feature points that can capture the main characteristics of the crop should be selected before the fitting process. The aforementioned sliding window method is an effective technique to extract feature points. As shown in <xref ref-type="supplementary-material" rid="SF4">
<bold>Supplementary Figure S2A</bold>
</xref>, the data has been significantly simplified while effectively preserving the primary characteristics of the crop. In this case, the sliding window has a width of 16 and a height of 32.</p>
<p>The RANSAC is a widely used robust estimation technique that is critical in various computer vision and machine learning applications. The RANSAC algorithm can be expressed as shown in <xref ref-type="disp-formula" rid="eq19">Equation 19</xref>. Two crucial parameters of RANSAC include the distance threshold and the number of iterations. The distance threshold can be chosen based on either empirical observations or experiments, and this study sets it to 0.155. The number of iterations is given by <xref ref-type="disp-formula" rid="eq20">Equation 20</xref>.</p>
<disp-formula id="eq19">
<label>(19)</label>
<mml:math display="block" id="M19">
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msup>
<mml:mi>L</mml:mi>
<mml:mo>*</mml:mo>
</mml:msup>
<mml:mo>=</mml:mo>
<mml:mi>arg</mml:mi>
<mml:mi>m</mml:mi>
<mml:mi>a</mml:mi>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>&#x2208;</mml:mo>
<mml:mi>L</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2223;</mml:mo>
<mml:mrow>
<mml:mo>{</mml:mo>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi>P</mml:mi>
<mml:mo>|</mml:mo>
<mml:mi>d</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>a</mml:mi>
<mml:mi>x</mml:mi>
<mml:mo>+</mml:mo>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>&lt;</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo>}</mml:mo>
</mml:mrow>
<mml:mo>&#x2223;</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="im97">
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mo>=</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mo>{</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>}</mml:mo>
</mml:mrow>
<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:mrow>
</mml:math>
</inline-formula> represents the given set of points, <inline-formula>
<mml:math display="inline" id="im98">
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:mo>{</mml:mo>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo>}</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> represents the parameter set for the line to be fitted, <inline-formula>
<mml:math display="inline" id="im99">
<mml:mi>d</mml:mi>
</mml:math>
</inline-formula> is the distance from the point <inline-formula>
<mml:math display="inline" id="im100">
<mml:mi>P</mml:mi>
</mml:math>
</inline-formula> to the line, <inline-formula>
<mml:math display="inline" id="im101">
<mml:mrow>
<mml:msup>
<mml:mi>L</mml:mi>
<mml:mo>*</mml:mo>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> is the optimal parameter for the line, <inline-formula>
<mml:math display="inline" id="im102">
<mml:mrow>
<mml:mrow>
<mml:mo>|</mml:mo>
<mml:mo>&#xb7;</mml:mo>
<mml:mo>|</mml:mo>
</mml:mrow>
<mml:mtext>&#xa0;</mml:mtext>
</mml:mrow>
</mml:math>
</inline-formula> represents the size of the set and <inline-formula>
<mml:math display="inline" id="im103">
<mml:mi>t</mml:mi>
</mml:math>
</inline-formula> represents the distance threshold.</p>
<disp-formula id="eq20">
<label>(20)</label>
<mml:math display="block" id="M20">
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mtext mathvariant="italic">log</mml:mtext>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>C</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mrow>
<mml:mtext mathvariant="italic">log</mml:mtext>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:mi>p</mml:mi>
<mml:mi>n</mml:mi>
</mml:msup>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:math>
</disp-formula>
<p>where <inline-formula>
<mml:math display="inline" id="im104">
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> represents the probability of the correct model, <inline-formula>
<mml:math display="inline" id="im105">
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>l</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>l</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mrow>
<mml:mi>o</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>l</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:math>
</inline-formula> represents the probability of the correct model and <inline-formula>
<mml:math display="inline" id="im106">
<mml:mi>n</mml:mi>
</mml:math>
</inline-formula> which is set to 2 represents the minimum number of points required for each model estimation. To enhance model accuracy, <inline-formula>
<mml:math display="inline" id="im107">
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is set to 0.99 in this study and <inline-formula>
<mml:math display="inline" id="im108">
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>l</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> takes a value of 2 in the initial iteration.</p>
<disp-formula id="eq21">
<label>(21)</label>
<mml:math display="block" id="M21">
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msup>
<mml:mi>a</mml:mi>
<mml:mo>*</mml:mo>
</mml:msup>
<mml:mo>,</mml:mo>
<mml:msup>
<mml:mi>b</mml:mi>
<mml:mo>*</mml:mo>
</mml:msup>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>=</mml:mo>
<mml:mtext mathvariant="italic">arg</mml:mtext>
<mml:msub>
<mml:mrow>
<mml:mtext mathvariant="italic">min</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>&#x2208;</mml:mo>
<mml:mi>L</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mstyle displaystyle="true">
<mml:msub>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi>I</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>a</mml:mi>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mstyle>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:math>
</disp-formula>
<p>where <inline-formula>
<mml:math display="inline" id="im109">
<mml:mrow>
<mml:mi>I</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:mo>{</mml:mo>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi>P</mml:mi>
<mml:mo>|</mml:mo>
<mml:mi>d</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>a</mml:mi>
<mml:mi>x</mml:mi>
<mml:mo>+</mml:mo>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>&lt;</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo>}</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> represents the optimal inlier set.</p>
</sec>
<sec id="s2_5">
<label>2.5</label>
<title>Evaluation metrics</title>
<p>A set of crop images at different growth stages was selected for rigorous testing and evaluation to assess the efficacy of the aforementioned image-processing techniques. To quantitatively analyze the effectiveness of the image processing results, this study employed a manual annotation method to obtain ideal reference lines for crop row navigation in different images, and the obtained reference lines were regarded as a criterion. The reference lines were subsequently juxtaposed with the fitting lines, and the accuracy of the system was evaluated by computing the angular discrepancies between the reference lines and the fitted lines. The yaw angle between the fitting line and the reference line is calculated by the following <xref ref-type="disp-formula" rid="eq22">Equation 22</xref>:</p>
<disp-formula id="eq22">
<label>(22)</label>
<mml:math display="block" id="M22">
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mi>cos</mml:mi>
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="true">&#x2192;</mml:mo>
</mml:mover>
<mml:mo>&#xb7;</mml:mo>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="true">&#x2192;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2223;</mml:mo>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="true">&#x2192;</mml:mo>
</mml:mover>
<mml:mo>&#x2223;</mml:mo>
<mml:mo>&#x2223;</mml:mo>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="true">&#x2192;</mml:mo>
</mml:mover>
<mml:mo>&#x2223;</mml:mo>
</mml:mrow>
</mml:mfrac>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msqrt>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mi>x</mml:mi>
<mml:mn>1</mml:mn>
<mml:mn>2</mml:mn>
</mml:msubsup>
<mml:mo>+</mml:mo>
<mml:msubsup>
<mml:mi>y</mml:mi>
<mml:mn>1</mml:mn>
<mml:mn>2</mml:mn>
</mml:msubsup>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mi>x</mml:mi>
<mml:mn>2</mml:mn>
<mml:mn>2</mml:mn>
</mml:msubsup>
<mml:mo>+</mml:mo>
<mml:msubsup>
<mml:mi>y</mml:mi>
<mml:mn>2</mml:mn>
<mml:mn>2</mml:mn>
</mml:msubsup>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:math>
</disp-formula>
<p>where <inline-formula>
<mml:math display="inline" id="im110">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="true">&#x2192;</mml:mo>
</mml:mover>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula>
<mml:math display="inline" id="im111">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="true">&#x2192;</mml:mo>
</mml:mover>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> represent the vectors of two lines, respectively. To enhance the analysis of angular data, the following mathematical metrics for evaluation are employed: MEA, RMSE, and MRE, which are defined below.</p>
<disp-formula id="eq23">
<label>(23)</label>
<mml:math display="block" id="M23">
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
<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:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mi>n</mml:mi>
</mml:mfrac>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula id="eq24">
<label>(24)</label>
<mml:math display="block" id="M24">
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>M</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>E</mml:mi>
<mml:mo>=</mml:mo>
<mml:msqrt>
<mml:mrow>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mi>n</mml:mi>
</mml:mfrac>
<mml:mstyle displaystyle="true">
<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:mrow>
<mml:msubsup>
<mml:mi>&#x3b1;</mml:mi>
<mml:mi>i</mml:mi>
<mml:mn>2</mml:mn>
</mml:msubsup>
</mml:mrow>
</mml:mstyle>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula id="eq25">
<label>(25)</label>
<mml:math display="block" id="M25">
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mi>M</mml:mi>
<mml:mi>R</mml:mi>
<mml:mi>E</mml:mi>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mi>n</mml:mi>
</mml:mfrac>
<mml:mstyle displaystyle="true">
<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:mrow>
<mml:mo>&#x2223;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mi>i</mml:mi>
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>g</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mi>i</mml:mi>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mi>i</mml:mi>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:mo>&#x2223;</mml:mo>
</mml:mrow>
</mml:mstyle>
<mml:mo>&#xd7;</mml:mo>
<mml:mn>100</mml:mn>
<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="im112">
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
</mml:math>
</inline-formula> and <inline-formula>
<mml:math display="inline" id="im113">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> represent the MEA and the yaw angle between two lines of <inline-formula>
<mml:math display="inline" id="im114">
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> image, respectively, <inline-formula>
<mml:math display="inline" id="im115">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mi>i</mml:mi>
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>g</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula>
<mml:math display="inline" id="im116">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mi>i</mml:mi>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> represent, respectively, the angles between the fitting line and the manually annotated line with the horizontal line at the bottom of the <inline-formula>
<mml:math display="inline" id="im117">
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> image. <inline-formula>
<mml:math display="inline" id="im118">
<mml:mi>n</mml:mi>
</mml:math>
</inline-formula> is the total number of image samples.</p>
<p>The smaller the MEA is, the closer the fitting result is to the reference line. RMSE takes into account the size and distribution of the errors. MRE offers insights into the smaller the angle error relative to the reference line.</p>
</sec>
<sec id="s2_6">
<label>2.6</label>
<title>Interface design and development of field navigation</title>
<p>To facilitate effective user interaction and visual feedback, a human-computer interaction interface was designed and developed in this section, as illustrated in <xref ref-type="supplementary-material" rid="SF5">
<bold>Supplementary Figure S3</bold>
</xref>. This interaction interface contains resolution selection, processing, processing time and result display. This interface serves as a critical bridge between the algorithm and its real-world applications. Once finishing the resolution selection and processing, the result can be shown in the interaction interface.</p>
</sec>
</sec>
<sec id="s3">
<label>3</label>
<title>Experimental results</title>
<sec id="s3_1">
<label>3.1</label>
<title>Evaluation of cross-growth-stage sugarcane seedling images</title>
<p>This section involves carefully curating a subset of sugarcane seedling images from &#x2018;Code 12&#x2019; to &#x2018;Code 19&#x2019; to serve as a validation dataset for assessing the efficacy of the image processing techniques on sugarcane. The yaw angles between the fitting lines and the reference lines are illustrated in <xref ref-type="fig" rid="f7">
<bold>Figure&#xa0;7</bold>
</xref>.</p>
<fig id="f7" position="float">
<label>Figure&#xa0;7</label>
<caption>
<p>Navigation line extraction results of sugarcane seedlings with different growth stages. <bold>(A)</bold> Code 12; <bold>(D)</bold> Code 14; <bold>(B, E)</bold> Code 16; <bold>(C, F)</bold> Code 19; <bold>(A&#x2013;F)</bold> illustrate the yaw angles of sugarcane at different growth stages.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-15-1499896-g007.tif"/>
</fig>
<p>
<xref ref-type="table" rid="T1">
<bold>Table&#xa0;1</bold>
</xref> illustrates the evaluation of three growth stages, revealing an initial upward trend followed by a subsequent decline in MEA, RMSE, and MRE. This pattern can be attributed to variations in branch distribution. Specifically, during stages of &#x2018;Code 12-13&#x2019;, sugarcane seedling foliage is small and less dispersed, resulting in minimal data fitting dispersion and relatively good symmetry. However, during stages of &#x2018;Code 14-16&#x2019;, the foliage becomes more extensive and dispersed, leading to increased data fitting dispersion and diminished symmetry. Notably, in stages of &#x2018;Code 17-19&#x2019;, the foliage is large and evenly distributed, resulting in a high degree of data fitting dispersion but maintaining good symmetry.</p>
<table-wrap id="T1" position="float">
<label>Table&#xa0;1</label>
<caption>
<p>Evaluation results of sugarcane seedling.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="center">Growth stage</th>
<th valign="top" align="center">Number of samples</th>
<th valign="middle" align="center">MEA</th>
<th valign="middle" align="center">RMSE</th>
<th valign="middle" align="center">MRE</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="center">Code 12-13</td>
<td valign="top" align="center">20</td>
<td valign="top" align="center">2.21&#xb0;</td>
<td valign="top" align="center">3.35&#xb0;</td>
<td valign="top" align="center">2.37%</td>
</tr>
<tr>
<td valign="top" align="center">Code 14-16</td>
<td valign="top" align="center">20</td>
<td valign="top" align="center">2.44&#xb0;</td>
<td valign="top" align="center">3.86&#xb0;</td>
<td valign="top" align="center">3.47%</td>
</tr>
<tr>
<td valign="top" align="center">Code 17-19</td>
<td valign="top" align="center">20</td>
<td valign="top" align="center">2.31&#xb0;</td>
<td valign="top" align="center">3.61&#xb0;</td>
<td valign="top" align="center">2.64%</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s3_2">
<label>3.2</label>
<title>Generalization capability verification: evaluation of seedling images in corn and rice</title>
<p>This section provides a comprehensive evaluation of the image processing techniques applied to corn and rice seedling images, primarily focusing on the growth stages corresponding to &#x2018;Code 12-15&#x2019; and &#x2018;Code 16-19&#x2019;, which aids in assessing the algorithm generality and applicability across crop image scenarios. The yaw angles between the fitting lines and the reference lines are illustrated in <xref ref-type="fig" rid="f8">
<bold>Figures&#xa0;8</bold>
</xref> and <xref ref-type="fig" rid="f9">
<bold>9</bold>
</xref>, respectively. The evaluation of corn and rice seedlings is denoted in <xref ref-type="table" rid="T2">
<bold>Tables&#xa0;2</bold>
</xref> and <xref ref-type="table" rid="T3">
<bold>3</bold>
</xref>, respectively.</p>
<fig id="f8" position="float">
<label>Figure&#xa0;8</label>
<caption>
<p>Navigation line extraction results of corn seedlings with different growth stages. <bold>(A, B, D, E)</bold> Code 12-15; <bold>(C, F)</bold> Code 16-19; <bold>(A-F)</bold> illustrate the yaw angles of corn at different growth stages.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-15-1499896-g008.tif"/>
</fig>
<fig id="f9" position="float">
<label>Figure&#xa0;9</label>
<caption>
<p>Navigation line extraction results of rice seedlings with different growth stages. <bold>(A)</bold> Code 12; <bold>(D)</bold> Code 15; <bold>(B, E)</bold> Code 17; <bold>(C, F)</bold> Code 19; <bold>(A-F)</bold> illustrate the yaw angles of rice at different growth stages.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-15-1499896-g009.tif"/>
</fig>
<table-wrap id="T2" position="float">
<label>Table&#xa0;2</label>
<caption>
<p>Evaluation results of corn seedling.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="center">Growth stage</th>
<th valign="top" align="center">Number of samples</th>
<th valign="middle" align="center">MEA</th>
<th valign="middle" align="center">RMSE</th>
<th valign="middle" align="center">MRE</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="center">Code 12-15</td>
<td valign="top" align="center">20</td>
<td valign="top" align="center">1.13&#xb0;</td>
<td valign="middle" align="center">1.46&#xb0;</td>
<td valign="top" align="center">1.49%</td>
</tr>
<tr>
<td valign="top" align="center">Code 16-19</td>
<td valign="top" align="center">20</td>
<td valign="top" align="center">1.65&#xb0;</td>
<td valign="top" align="center">2.22&#xb0;</td>
<td valign="top" align="center">1.84%</td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap id="T3" position="float">
<label>Table&#xa0;3</label>
<caption>
<p>Evaluation results of rice seedlings.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="center">Growth stage</th>
<th valign="top" align="center">Number of samples</th>
<th valign="middle" align="center">MEA</th>
<th valign="middle" align="center">RMSE</th>
<th valign="middle" align="center">MRE</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="center">Code 12-15</td>
<td valign="top" align="center">20</td>
<td valign="top" align="center">2.96&#xb0;</td>
<td valign="top" align="center">4.65&#xb0;</td>
<td valign="top" align="center">3.37%</td>
</tr>
<tr>
<td valign="top" align="center">Code 16-19</td>
<td valign="top" align="center">20</td>
<td valign="top" align="center">1.679&#xb0;</td>
<td valign="top" align="center">2.15&#xb0;</td>
<td valign="top" align="center">1.859%</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>
<xref ref-type="table" rid="T2">
<bold>Table&#xa0;2</bold>
</xref> presents the evaluation results for two growth stages of corn seedlings. In the growth stage of &#x2018;Code 12-15&#x2019;, the algorithms exhibit enhanced performance on corn seedlings, with lower MEA, RMSE, and MRE compared to crops in the growth stage of &#x2018;Code 16-19&#x2019;. The primary factors contributing to this phenomenon are the morphological differences in corn during these two growth stages and weeds. As the growth period progresses, both the dispersion of corn leaves and the presence of weeds in the field can, to some extent, impact the accuracy of navigation line extraction.</p>
<p>Contrary to corn, the algorithms demonstrate better performance in the growth stage of &#x2018;Code 16-19&#x2019; of rice compared to the growth stage of &#x2018;Code 12-15&#x2019;. The uneven dispersion of leaves in rice during the early growth stage has been well documented and attributed to the long length of the leaves. As the plant grows and more leaves are produced, the dispersion becomes more even.</p>
</sec>
<sec id="s3_3">
<label>3.3</label>
<title>Evaluation of ridges with seedling absence</title>
<p>Seedling less ridges are prevalent in agricultural cultivation (see <xref ref-type="fig" rid="f10">
<bold>Figure&#xa0;10</bold>
</xref>), especially for multi-year crops. Such ridges result in the wastage of land, fertilizers, and other resources, ultimately impacting crop quality and yield. Achieving precise navigation in rows affected by seedling-less ridges ensures efficient execution of tasks such as replanting and fertilization application.</p>
<fig id="f10" position="float">
<label>Figure&#xa0;10</label>
<caption>
<p>Navigation line extraction results of seedling less ridges. <bold>(A-F)</bold> illustrate instances of crop seedling absence within specific sections of a crop row. The white circle indicates the location of the seedling absence.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-15-1499896-g010.tif"/>
</fig>
<p>As shown in <xref ref-type="fig" rid="f10">
<bold>Figure&#xa0;10</bold>
</xref>, the navigation line can be extracted even in severe crop seedling absence in the crop rows. The MEA, RMSE, and MRE indicators in <xref ref-type="table" rid="T4">
<bold>Table&#xa0;4</bold>
</xref> also demonstrate that the extracted navigation line meets high precision requirements.</p>
<table-wrap id="T4" position="float">
<label>Table&#xa0;4</label>
<caption>
<p>Evaluation results of seedling less ridges.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="center">Environment</th>
<th valign="top" align="center">Number of samples</th>
<th valign="middle" align="center">MEA</th>
<th valign="middle" align="center">RMSE</th>
<th valign="middle" align="center">MRE</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="center">Seedling absence</td>
<td valign="top" align="center">20</td>
<td valign="top" align="center">0.844&#xb0;</td>
<td valign="top" align="center">1.263&#xb0;</td>
<td valign="top" align="center">1.0448%</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Based on the analysis in Section 2.2.3, the imaging method employed in this study identifies the baseline as the area with the highest pixel density along the vertical direction of the image, corresponding to the potential central crop row. By establishing the region of interest based on this baseline, the algorithm can dynamically classify crops belonging to the same row, unaffected by missing crops. The accurate extraction of the median crop row within the ROI enables the algorithm to effectively handle seedling absence. By comparing the distances between detected crop clusters and the baseline, the algorithm can robustly identify the correct row despite missing or sparse crop seedlings. This leads to improved accuracy and stability in scenarios with crop row discontinuities. These results demonstrate the centerline selection approach significantly enhances the robustness of crop row detection in challenging conditions.</p>
</sec>
<sec id="s3_4">
<label>3.4</label>
<title>Generalization capability verification: evaluation of diverse in-field environments</title>
<p>The image processing techniques presented in this study demonstrate good generalization ability for corn and rice seedlings and perform well in extracting navigation lines in complex field environments, as shown in <xref ref-type="fig" rid="f11">
<bold>Figure&#xa0;11</bold>
</xref>. The evaluation of diverse in-field environments is denoted in <xref ref-type="table" rid="T5">
<bold>Table&#xa0;5</bold>
</xref>.</p>
<fig id="f11" position="float">
<label>Figure&#xa0;11</label>
<caption>
<p>Navigation line extraction results of different crop seedlings in the complex field environment. <bold>(A)</bold> Variations in illumination conditions: (Aa) Intense illumination; (Ab) Shadowed environment; (Ac) Water surface glare; <bold>(B)</bold> Decaying branches and fallen leaves: (Ba) Dried leaves; (Bb) Large clusters of dried branches; (Bc) Fallen rice leaves; <bold>(C)</bold> Variations in soil backgrounds: (Ca) Yellowish soil; (Cb) Dark-colored soil; (Cc) Pale-green soil; <bold>(D)</bold> Chaotic vegetation: (Da) Adjacent crops interconnection and occlusion; (Db) Weed and misaligned crop; (Dc) Duckweed and green algae.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-15-1499896-g011.tif"/>
</fig>
<table-wrap id="T5" position="float">
<label>Table&#xa0;5</label>
<caption>
<p>Evaluation results of the complex environment.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="center">Environment</th>
<th valign="top" align="center">Number of samples</th>
<th valign="middle" align="center">MEA</th>
<th valign="middle" align="center">RMSE</th>
<th valign="middle" align="center">MRE</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="center">Illumination</td>
<td valign="top" align="center">20</td>
<td valign="top" align="center">0.916&#xb0;</td>
<td valign="top" align="center">1.352&#xb0;</td>
<td valign="top" align="center">1.008%</td>
</tr>
<tr>
<td valign="top" align="center">Branch and leave</td>
<td valign="top" align="center">20</td>
<td valign="top" align="center">1.184&#xb0;</td>
<td valign="top" align="center">1.650&#xb0;</td>
<td valign="top" align="center">1.330%</td>
</tr>
<tr>
<td valign="top" align="center">Soil</td>
<td valign="top" align="center">20</td>
<td valign="top" align="center">1.160&#xb0;</td>
<td valign="top" align="center">1.716&#xb0;</td>
<td valign="top" align="center">1.239%</td>
</tr>
<tr>
<td valign="top" align="center">Chaotic vegetation</td>
<td valign="top" align="center">20</td>
<td valign="top" align="center">0.905&#xb0;</td>
<td valign="top" align="center">1.249&#xb0;</td>
<td valign="top" align="center">1.008%</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>As shown in <xref ref-type="table" rid="T5">
<bold>Table&#xa0;5</bold>
</xref>, it can be inferred that the algorithms are robust in dealing with images derived from complex in-field environments, especially for those images regarding illumination and disordered vegetation.</p>
<p>Compared to branch-and-leaf and soil environments, the algorithm in this study demonstrates better robustness under varying illumination conditions and in chaotic vegetation environments. This can be attributed to the algorithm primary focus on green pixels in the image, while morphological operations based on NZPR effectively eliminate redundant pixel information. However, in branch-and-leaf and soil environments, factors such as fallen leaves and the greenish appearance of soil in paddy fields introduce a certain degree of disorder to the green pixel information, resulting in a slight decrease in algorithm performance.</p>
</sec>
<sec id="s3_5">
<label>3.5</label>
<title>Generalization capability verification: evaluation of data augmentation for low-light and rainy conditions</title>
<p>Data augmentation plays a crucial role in improving the robustness and generalization capability of machine learning models, especially when addressing variations in environmental conditions. In this section, the Albumentations library was utilized to simulate real-world scenarios under low-light and rainy conditions. This evaluation aims to further validate the algorithm adaptability to special conditions and enhance its performance in practical applications.</p>
<p>As shown in <xref ref-type="table" rid="T6">
<bold>Table&#xa0;6</bold>
</xref>, the navigation line extraction accuracy of traditional image processing algorithms exhibits significant differences under low-light and rainy conditions. According to the data, rainy conditions have a lesser impact on navigation line extraction, with lower MAE, RMSE, and MRE values for sugarcane, corn, and rice compared to low light conditions, indicating good algorithm robustness in rainy environments. In contrast, under low light conditions, the errors increase significantly, primarily due to insufficient lighting, which restricts the extraction of green features in the images. This is particularly evident in extreme low light environments, as illustrated in <xref ref-type="fig" rid="f12">
<bold>Figures&#xa0;12A</bold>
</xref>c, <xref ref-type="fig" rid="f12">
<bold>C</bold>
</xref>c, <xref ref-type="fig" rid="f12">
<bold>E</bold>
</xref>c, where green features are substantially suppressed. Although rainy environments also involve some degree of low light, the overall lighting is typically better than in pure low-light conditions. Among the crops, corn shows the lowest error across both conditions, while rice exhibits relatively higher errors, especially in terms of RMSE and MRE, highlighting the challenges faced by the algorithm in these scenarios.</p>
<table-wrap id="T6" position="float">
<label>Table&#xa0;6</label>
<caption>
<p>Evaluation results of simulated environments.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="center">Crop</th>
<th valign="middle" align="center">Environment</th>
<th valign="top" align="center">Number of samples</th>
<th valign="middle" align="center">MEA</th>
<th valign="middle" align="center">RMSE</th>
<th valign="middle" align="center">MRE</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="middle" rowspan="2" align="center">Sugarcane</td>
<td valign="top" align="center">Low light</td>
<td valign="top" align="center">20</td>
<td valign="top" align="center">1.723&#xb0;</td>
<td valign="top" align="center">3.136&#xb0;</td>
<td valign="top" align="center">1.400%</td>
</tr>
<tr>
<td valign="top" align="center">Rainy</td>
<td valign="top" align="center">20</td>
<td valign="top" align="center">1.030&#xb0;</td>
<td valign="top" align="center">2.105&#xb0;</td>
<td valign="top" align="center">1.310%</td>
</tr>
<tr>
<td valign="middle" rowspan="2" align="center">Corn</td>
<td valign="top" align="center">Low light</td>
<td valign="top" align="center">20</td>
<td valign="top" align="center">1.478&#xb0;</td>
<td valign="top" align="center">2.729&#xb0;</td>
<td valign="top" align="center">1.810%</td>
</tr>
<tr>
<td valign="top" align="center">Rainy</td>
<td valign="top" align="center">20</td>
<td valign="top" align="center">1.022&#xb0;</td>
<td valign="top" align="center">1.813&#xb0;</td>
<td valign="top" align="center">1.180%</td>
</tr>
<tr>
<td valign="middle" rowspan="2" align="center">Rice</td>
<td valign="top" align="center">Low light</td>
<td valign="top" align="center">20</td>
<td valign="top" align="center">1.698&#xb0;</td>
<td valign="top" align="center">3.214&#xb0;</td>
<td valign="top" align="center">1.990%</td>
</tr>
<tr>
<td valign="top" align="center">Rainy</td>
<td valign="top" align="center">20</td>
<td valign="top" align="center">1.510&#xb0;</td>
<td valign="top" align="center">3.042&#xb0;</td>
<td valign="top" align="center">1.700%</td>
</tr>
</tbody>
</table>
</table-wrap>
<fig id="f12" position="float">
<label>Figure&#xa0;12</label>
<caption>
<p>Navigation line extraction results of different crop seedlings in simulated environments. As shown in (Bb1), dim grayish raindrops are distributed across the image at a certain inclined angle. <bold>(A)</bold> Low light for sugarcane seedlings; <bold>(B)</bold> Rainy for sugarcane seedlings; <bold>(C)</bold> Low light for corn seedlings; <bold>(D)</bold> Rainy for corn seedlings; <bold>(E)</bold> Low light for rice seedlings; <bold>(F)</bold> Rainy for rice seedlings.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-15-1499896-g012.tif"/>
</fig>
</sec>
<sec id="s3_6">
<label>3.6</label>
<title>Processing time analysis: pre- and post-optimization</title>
<p>In high-resolution image processing, the increase in the number of pixels necessitates the processing of a larger number of data points, which significantly augments the computational load and processing time. To address this challenge, code and algorithm optimizations were implemented. Ten images of three crop seedlings at different growth stages were used to evaluate the average time consumption of various modules in the proposed algorithm. As shown in <xref ref-type="fig" rid="f13">
<bold>Figure&#xa0;13</bold>
</xref>, the processing time for a late-growth stage crop image with a resolution of 1920&#xd7;1080 is largely dominated by the DBSCAN clustering algorithm. This is attributed to the high complexity of the neighbor search process, where processing time escalates markedly with increasing resolution. Based on <xref ref-type="fig" rid="f13">
<bold>Figure&#xa0;13</bold>
</xref>, it is evident that the processing time of the optimized DBSCAN algorithm has been significantly reduced. At a resolution of 640&#xd7;480, the processing time was nearly 30%. Meanwhile, at a resolution of 1920&#xd7;1080, the processing time was reduced by almost 94%. However, it is worth noting that the processing time of the optimized DBSCAN algorithm still accounts for the majority of the total processing time.</p>
<fig id="f13" position="float">
<label>Figure&#xa0;13</label>
<caption>
<p>Comparison of average processing times before and after optimizations for different main algorithm modules (processing time exceeding 1 ms). The numbers 1-7 correspond to the following algorithm modules: ExG, OTSU, NZPR-Morphological Operation, Eight-Connectivity, first sliding window, KD-Tree accelerated DBSCAN, second sliding window. <bold>(A)</bold> Resolution of 640&#xd7;480; <bold>(B)</bold> Resolution of 1920&#xd7;1080.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-15-1499896-g013.tif"/>
</fig>
<p>To address the issue of DBSCAN, this study has implemented a KD-Tree to accelerate the neighbor search and utilized OpenMP for optimizing parallelization. Crop images with two resolutions (640&#xd7;480 and 1920&#xd7;1080) were utilized to test the processing time of the algorithm proposed in this paper, with 20 images of crops under different environmental conditions selected for each growth stage, as shown in <xref ref-type="fig" rid="f14">
<bold>Figure&#xa0;14</bold>
</xref>. The average processing times for the crops at these two resolutions are presented in <xref ref-type="table" rid="T7">
<bold>Table&#xa0;7</bold>
</xref>.</p>
<fig id="f14" position="float">
<label>Figure&#xa0;14</label>
<caption>
<p>Processing times of crop images at the two resolutions. <bold>(A)</bold> Resolution of 640&#xd7;480 before optimization; <bold>(B)</bold> Resolution of 640&#xd7;480 after optimization; <bold>(C)</bold> Resolution of 1920&#xd7;1080 before optimization; <bold>(D)</bold> Resolution of 1920&#xd7;1080 after optimization; (a) Sugarcane; (b) Rice; (c) Corn.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-15-1499896-g014.tif"/>
</fig>
<table-wrap id="T7" position="float">
<label>Table&#xa0;7</label>
<caption>
<p>Evaluation results of the average processing time.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" rowspan="2" align="center">Resolution</th>
<th valign="top" colspan="4" align="center">Average processing time of crop seedling images/ms</th>
</tr>
<tr>
<th valign="top" align="center">Optimization</th>
<th valign="middle" align="center">Sugarcane</th>
<th valign="middle" align="center">Rice</th>
<th valign="middle" align="center">Corn</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="middle" rowspan="2" align="center">640&#xd7;480</td>
<td valign="top" align="center">Before</td>
<td valign="top" align="center">435.93</td>
<td valign="top" align="center">441.52</td>
<td valign="top" align="center">449.05</td>
</tr>
<tr>
<td valign="top" align="center">After</td>
<td valign="top" align="center">326.60</td>
<td valign="top" align="center">295.12</td>
<td valign="top" align="center">329.05</td>
</tr>
<tr>
<td valign="middle" rowspan="2" align="center">1920&#xd7;1080</td>
<td valign="top" align="center">Before</td>
<td valign="top" align="center">2784.10</td>
<td valign="top" align="center">3904.50</td>
<td valign="top" align="center">2502.74</td>
</tr>
<tr>
<td valign="top" align="center">After</td>
<td valign="top" align="center">518.20</td>
<td valign="top" align="center">516.20</td>
<td valign="top" align="center">519.90</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>It is observed that processing times for crops in the early growth stages (as exemplified by instance No. 1 in <xref ref-type="fig" rid="f14">
<bold>Figure&#xa0;14A</bold>
</xref>b and No. 20 in <xref ref-type="fig" rid="f14">
<bold>Figure&#xa0;14B</bold>
</xref>b) could be comparable to or exceed those recorded in later stages (as exemplified by instance No. 15 in <xref ref-type="fig" rid="f14">
<bold>Figures&#xa0;14A</bold>
</xref>b, <xref ref-type="fig" rid="f14">
<bold>B</bold>
</xref>b). This discrepancy is likely attributable to varying field conditions; for instance, images from earlier growth stages may contain substantial areas of weeds.</p>
<p>A comparison between <xref ref-type="fig" rid="f14">
<bold>Figures&#xa0;14A, B</bold>
</xref>, as well as <xref ref-type="fig" rid="f14">
<bold>Figures&#xa0;14C, D</bold>
</xref>, reveals a significant reduction in processing time after optimization, with the improvement being particularly pronounced in high-resolution image processing. Although there is some variation in processing times across different crop images, the optimized algorithm exhibits much greater stability, indicating that the optimization not only reduces processing time but also enhances the stability of performance. However, even after optimization, the processing time for high-resolution images remains significantly longer than that for low-resolution images, highlighting the continued computational challenges posed by high-resolution data.</p>
<p>As shown in <xref ref-type="table" rid="T7">
<bold>Table&#xa0;7</bold>
</xref>, the evaluation suggests that a resolution of 640&#xd7;480 offers an optimal balance for practical applications. Comparing the average processing times before and after optimization, for images with a resolution of 640&#xd7;480, the average processing time decreased by approximately 25% to 30% after optimization. The optimization effect is even more pronounced for images with a resolution of 1920&#xd7;1080, where the processing time was reduced by approximately 80% to 86%. The processing time was significantly reduced across all resolutions and crop types, indicating that the optimization methods employed, such as DBSCAN accelerated using KD-Tree and OpenMP parallelization, are effective in practical applications. As a result, the selection of resolution is decided by personalized needs.</p>
</sec>
</sec>
<sec id="s4" sec-type="discussion">
<label>4</label>
<title>Discussion</title>
<p>The proposed image-processing techniques exhibit effective performance in navigation line extraction for sugarcane seedling plantation rows, accompanied by a desired generalization capability when applied to different crops and diverse, complex in-field environments. This study bridges a gap that previous studies still need to address.</p>
<sec id="s4_1">
<label>4.1</label>
<title>Decision process and environmental robustness of the algorithm</title>
<p>This study proposes a crop row navigation line extraction algorithm designed based on the principle of prioritizing green pixels. The algorithm utilizes traditional image processing techniques, starting with a preprocessing stage that enhances green features and effectively removes noise through grayscale transformation and OTSU segmentation. Morphological operations guided by the NZPR significantly reduce unnecessary pixels in the image, isolating the main stem regions of the crop rows. Noise caused by the morphological operations is further removed using an eight-connected algorithm, which also refines the stem regions. During this step, vertical projection is applied to detect curve peaks (baseline), providing a foundation for clustering the central crop row. Optimal region detection is performed using DBSCAN enhanced with KD-tree acceleration and parallelization techniques, enabling efficient pixel clustering while reducing computational time. The baseline detection process helps identify potential target crop clusters, and the trapezoidal ROI ensures the algorithm focuses on relevant areas, even in cases of crop absence, while excluding irrelevant clusters. Sigmoid thresholding further segments the target crop rows, producing the optimal region for subsequent processes. Finally, the RANSAC algorithm combined with the least squares method is employed to fit the data points. This ensures robust accuracy even in the presence of outliers, successfully extracting the navigation line. Image preprocessing is a critical step in the navigation line fitting process. During this stage, the number of extracted pixels directly impacts the algorithm performance: too few pixels may fail to adequately represent the characteristics of the crop row, while too many pixels could significantly increase the computational burden in subsequent steps. Therefore, ensuring the extracted image reflects the crop row main features is a key objective in the preprocessing stage.</p>
<p>To evaluate the adaptability of this step under different environmental conditions, this study specifically selected low-light and rainy conditions as experimental scenarios, given their broader and more pronounced impact on image quality compared to other factors. As shown in <xref ref-type="fig" rid="f15">
<bold>Figure&#xa0;15B</bold>
</xref>, the total number of pixels extracted during preprocessing is highest under normal conditions, followed by low-light conditions, and lowest under rainy conditions. This indicates that the algorithm is affected to some extent under extreme environments. However, the extracted image pixels remain effective in representing the main features of the crop rows. Moreover, the navigation lines obtained under the three different conditions are nearly identical, demonstrating the proposed algorithm robustness and adaptability in extreme environments.</p>
<fig id="f15" position="float">
<label>Figure&#xa0;15</label>
<caption>
<p>Illustration of image preprocessing under extreme environments. <bold>(A)</bold> Original images: (Aa) Normal; (Ab) Low light; (Ac) Rainy; <bold>(B)</bold> Images after preprocessing; <bold>(C)</bold> Results of navigation line.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-15-1499896-g015.tif"/>
</fig>
</sec>
<sec id="s4_2">
<label>4.2</label>
<title>Algorithm efficiency</title>
<p>In this study, 640&#xd7;480 and 1920&#xd7;1080 are adopted as the target resolutions for image processing. These two resolutions reflect the consideration of mainstream resolutions in current visual devices and technology trends (<xref ref-type="bibr" rid="B28">Lin et&#xa0;al., 2020</xref>; <xref ref-type="bibr" rid="B17">He et&#xa0;al., 2022</xref>). The 640&#xd7;480 resolution is widely used in real-time visual processing systems since that resolution requires reduced computational power, enable efficient algorithm operation within constrained computational resources. Conversely, 1920&#xd7;1080, as a representative of higher definition resolutions, provides richer details and higher image quality, suitable for applications demanding higher detail accuracy, such as precise image analysis and advanced visual recognition tasks (<xref ref-type="bibr" rid="B53">Yang et&#xa0;al., 2020</xref>). By conducting experiments at these two resolutions, the adaptability of our proposed algorithm to different application demands can be validated. When applying our proposed algorithm to perform diverse field management tasks at the seedling stage such as weeding, spraying pesticides, and root-zone soil backfill, an optimal resolution can be selected through our developed human-machine interface in response to cross growth stage of crop seedlings.</p>
<p>Statistical analysis reveals that the algorithm average runtime is 0.31 seconds for images with a resolution of 640&#xd7;480 and 0.51 seconds for images with a resolution of 1920&#xd7;1080. In practical applications, agricultural robots performing field management tasks such as weeding, spraying pesticides, fertilizer application, and root-zone soil backfill typically travel at 0.6~1.5 meters per second. This indicates that the algorithm proposed in this study addresses the demands for real-time application.</p>
</sec>
<sec id="s4_3">
<label>4.3</label>
<title>The algorithm adaptability to different growth stages</title>
<p>The excellent adaptability of the algorithm to crops at different growth stages represents a significant breakthrough in this study. The average values of the growth stages of &#x2018;Code 12-19&#x2019; from the evaluation results of <xref ref-type="table" rid="T1">
<bold>Tables&#xa0;1</bold>
</xref>&#x2013;<xref ref-type="table" rid="T3">
<bold>3</bold>
</xref> show that MEA is 2.01&#xb0;, RMSE is 2.95&#xb0;, and MRE is 2.37%, which has demonstrated commendable performance in the case of cross-growth-stage crops. Additionally, by comparing the experimental results of different crops, it can be observed that the algorithms perform better on corn and rice seedlings, which have relatively concentrated and evenly distributed branches and leaves, than on sugarcane seedlings, which have unevenly dispersed branches and leaves.</p>
</sec>
<sec id="s4_4">
<label>4.4</label>
<title>The algorithm adaptability to complex field environments</title>
<p>An essential aspect of evaluating the performance and robustness of the proposed image processing techniques is the adaptability to complex field environments. Complex field environments, as depicted in <xref ref-type="fig" rid="f11">
<bold>Figure&#xa0;11</bold>
</xref>, can pose various challenges for the algorithms, such as varying illumination (<xref ref-type="fig" rid="f11">
<bold>Figure&#xa0;11A</bold>
</xref>), fallen leaves (<xref ref-type="fig" rid="f11">
<bold>Figure&#xa0;11B</bold>
</xref>a), dry branches (<xref ref-type="fig" rid="f11">
<bold>Figure&#xa0;11B</bold>
</xref>b), soil background (<xref ref-type="fig" rid="f11">
<bold>Figure&#xa0;11C</bold>
</xref>), similar colors (<xref ref-type="fig" rid="f11">
<bold>Figure&#xa0;11D</bold>
</xref>b) and occlusion (<xref ref-type="fig" rid="f11">
<bold>Figure&#xa0;11D</bold>
</xref>a), dry fields (the first and second columns in <xref ref-type="fig" rid="f11">
<bold>Figure&#xa0;11</bold>
</xref>) and paddy land (the third column of <xref ref-type="fig" rid="f11">
<bold>Figure&#xa0;11</bold>
</xref>), different crop row spacing, etc. These factors can affect the accuracy and efficiency of the algorithms in detecting and segmenting crop plants from the images. Therefore, the algorithm adaptability to different complex field environments will be discussed in this section.</p>
<p>On the basis of the evaluation results of environments presented in <xref ref-type="table" rid="T4">
<bold>Tables&#xa0;4</bold>
</xref> and <xref ref-type="table" rid="T5">
<bold>5</bold>
</xref>, it can be inferred that MEA has an average value of 1.0018&#xb0;, while RMSE has an average value of 1.446&#xb0;. Moreover, MRE has an average value of 1.126%. Among the environments presented in <xref ref-type="table" rid="T5">
<bold>Table&#xa0;5</bold>
</xref>, the algorithms perform the best in chaotic vegetation, indicating that they can effectively handle situations where the branches and leaves of crops overlap and occlude with each other, while also accounting for the presence of offset crops and weeds. This remarkable performance can be mainly attributed to the proposed NZPR concept and the mapping relationship between NZPR and morphological operations. It is noteworthy that the common phenomenon of seedling less ridges in agricultural production can be successfully clustered into crop rows, thanks to the centerline selection method proposed in this study.</p>
<p>The inter-row spacing of the crops tested in this study was 1 meter for sugarcane seedlings (<xref ref-type="fig" rid="f7">
<bold>Figure&#xa0;7</bold>
</xref>), 0.5 meters for corn seedlings (<xref ref-type="fig" rid="f8">
<bold>Figure&#xa0;8</bold>
</xref>), and 0.3 meters for rice seedlings (<xref ref-type="fig" rid="f9">
<bold>Figure&#xa0;9</bold>
</xref>). Upon analyzing the evaluation results of three crops, it becomes evident that the algorithms can effectively facilitate precise navigation for crops with inter-row spacing variability. As illustrated in section 2.2.3 and section 2.3.2, the utilization of vertical projection can successfully detect the baseline, which serves as the reference for centerline selection; crop clusters located in the centerline area can be determined by applying the distance threshold method, thus ensuring adaptability to inter-row spacing variability.</p>
<p>Arid land and paddy fields represent two major environments for crop cultivation, bearing considerable influence on agricultural production. For arid land crops, represented by corn, the average values calculated from <xref ref-type="table" rid="T2">
<bold>Table&#xa0;2</bold>
</xref> present that MEA is 1.39&#xb0;, RMSE is 1.844&#xb0;, and MRE is 1.665%. For paddy field crops, represented by rice, the average values calculated from <xref ref-type="table" rid="T3">
<bold>Table&#xa0;3</bold>
</xref> present that MEA is 2.3195&#xb0;, RMSE is 3.4&#xb0;, and MRE is 2.6145%. It is easily noticeable that the algorithm exhibits better adaptability to corn seedlings than rice seedlings. Apart from the influence caused by the inherent morphological differences between these two crops, factors such as reflections and glare in the paddy field environment can also interfere with the extraction of navigation lines. However, even in the case of rice seedlings, where the performance is relatively less favorable, there is a slight improvement in terms of MEA when compared to similar studies in the same category (<xref ref-type="bibr" rid="B13">Fu et&#xa0;al., 2023</xref>; <xref ref-type="bibr" rid="B49">Wang A. et&#xa0;al., 2021</xref>).</p>
</sec>
<sec id="s4_5">
<label>4.5</label>
<title>The algorithm adaptability to simulate environments</title>
<p>In practical agricultural operations, it is inevitable to encounter extreme conditions such as low light, nighttime, and rainy weather. Therefore, simulating these extreme environments, as shown in <xref ref-type="fig" rid="f12">
<bold>Figure&#xa0;12</bold>
</xref>, through image augmentation is highly beneficial for further validating the generalization capability of the proposed algorithm. According to the results in <xref ref-type="table" rid="T6">
<bold>Table&#xa0;6</bold>
</xref>, the average values of MEA, RMSE, and MRE for the three crops under low light and rainy conditions are 1.41&#xb0;, 2.67&#xb0;, and 1.56%, respectively. When compared with the average values obtained under various real-world conditions in <xref ref-type="table" rid="T4">
<bold>Tables&#xa0;4</bold>
</xref> and <xref ref-type="table" rid="T5">
<bold>5</bold>
</xref> (MEA: 1.0018&#xb0;, RMSE: 1.446&#xb0;, MRE: 1.126%), it is evident that low-light and rainy conditions present greater challenges to the robustness and generalization capability of the proposed algorithm. This discrepancy can be attributed to the fact that lighting and rain affect the image globally, leading to diminished visibility of green features under such conditions. Since the algorithm proposed in this paper heavily relies on green information for subsequent processing, the decrease of these features in low-light and rainy environments directly impacts its performance. This highlights that future research could explore the use of sensors to acquire multidimensional data of crops, addressing the limitations of relying solely on image-based information.</p>
</sec>
<sec id="s4_6">
<label>4.6</label>
<title>Comparative analysis between the proposed pixel-wise method and the deep learning-based method in navigation line extraction</title>
<sec id="s4_6_1">
<label>4.6.1</label>
<title>Navigation line extraction combining deep learning method and image processing method</title>
<p>On the basis of our constrained image dataset, to accelerate the training process and improve the model accuracy and generalization, we use transfer learning to obtain a model that can identify rice, sugarcane and corn plants. A YOLOv8n pre-trained weights was used in the process of transfer learning. The software environment comprised Python version 3.9, PyTorch version 2.4.1, and CUDA version 12.1. The model was trained with a batch size of 2 and 300 epochs, while all other hyperparameters were kept at their default settings. In this study, our datasets consisting three types of crop seedlings under various environmental conditions were also used for training. The primary stem regions of the seedlings were annotated, aligning with the approach of the proposed traditional image processing algorithm, which extracts the main stem regions for navigation line fitting. The workflow is illustrated in <xref ref-type="fig" rid="f16">
<bold>Figure&#xa0;16</bold>
</xref>. The process begins with training the YOLOv8n model on the dataset. Once trained, the model processes the test set to generate bounding boxes around the crop regions. The center points of these bounding boxes are extracted and clustered using the DBSCAN algorithm to identify the primary crop row. The clustered center points are then used in an Orthogonal Distance Regression (ODR) model to fit a navigation line.</p>
<fig id="f16" position="float">
<label>Figure&#xa0;16</label>
<caption>
<p>The workflow for navigation line extraction combining transfer learning and image processing methods (named as CTLIP).</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-15-1499896-g016.tif"/>
</fig>
<p>
<xref ref-type="supplementary-material" rid="SM1">
<bold>Supplementary Table S1</bold>
</xref> illustrates the evaluation results of navigation line extraction using the YOLOv8n model for three crops: sugarcane, corn, and rice. Among the crops, rice achieved the best overall performance, with the lowest MAE (0.833&#xb0;), RMSE (1.225&#xb0;), and MRE (0.971%), indicating that the model could effectively detect and extract navigation lines in rice fields. This performance can be attributed to the relatively distinct stem regions of rice seedlings, which are easier to identify, and the minimal occlusion between individual stems. In contrast, sugarcane and corn showed higher error values, with corn having the highest MRE (2.386%) and sugarcane having the highest RMSE (2.934&#xb0;). The inferior performance of sugarcane and corn can be attributed to their severe occlusion in the later growth stages, where stem regions become nearly indistinguishable. These occluded areas significantly increase the occurrence of missed detections (shown in the white circled area of <xref ref-type="fig" rid="f17">
<bold>Figure&#xa0;17</bold>
</xref>), thereby affecting the accuracy of navigation line extraction. Additionally, the performance was observed to degrade under extreme low-light conditions, where green features are heavily suppressed. This leads to higher error rates and occasional missed detections. These results will serve as the basis for a comparative analysis with the algorithm proposed in this study, which will be detailed in the subsequent discussion section. The aim is to evaluate the advantages and limitations of deep learning in handling various conditions relative to the approach proposed in this study.</p>
<fig id="f17" position="float">
<label>Figure&#xa0;17</label>
<caption>
<p>Navigation line extraction results of CTLIP. <bold>(A)</bold> Sugarcane seedlings; <bold>(B)</bold> Corn seedlings; <bold>(C)</bold> Rice seedlings.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-15-1499896-g017.tif"/>
</fig>
</sec>
<sec id="s4_6_2">
<label>4.6.2</label>
<title>Comparative analysis</title>
<p>To further present our study, in combination with evaluation metrics used in this study, a comparison analysis was done between our study with existing similar research and the CTLIP method, as illustrated in <xref ref-type="supplementary-material" rid="SM1">
<bold>Supplementary Table S2</bold>
</xref>.</p>
<p>As shown in <xref ref-type="supplementary-material" rid="SM1">
<bold>Supplementary Table S2</bold>
</xref>, the proposed navigation line extraction algorithm outperforms the traditional image processing method by <xref ref-type="bibr" rid="B13">Fu et&#xa0;al. (2023)</xref> in terms of MEA, demonstrating a notable reduction in error. Moreover, the RMSE achieved by our algorithm is 2.47&#xb0;, further highlighting its accuracy across multiple crops, growth stages and diverse field environments, including sugarcane and corn, as opposed to the single crop tested in the comparative study. Additionally, the inclusion of MRE in our results presents a more comprehensive evaluation. This demonstrates the enhanced generalization and robustness of our algorithm in terms of traditional image processing. The comparison between CTLIP and the proposed algorithm indicates that both methods exhibit good performance in crop row detection. Our method achieved better results, reflecting its high precision and effective error control. This highlights the capability of traditional image processing methods to leverage prior knowledge and structured algorithms for accurate navigation line extraction in simpler, well-defined scenarios. Notably, CTLIP performed particularly well in scenarios where the main stems of crops were visible with minimal occlusion, such as in rice seedlings (lowest MEA of 0.833&#xb0; in <xref ref-type="table" rid="T7">
<bold>Table&#xa0;7</bold>
</xref>). Both methods outperformed the <xref ref-type="bibr" rid="B13">Fu et&#xa0;al. (2023)</xref> approach, emphasizing the adaptability across multiple crops (sugarcane, corn, and rice) and environmental conditions. The findings suggest that integrating the strengths of traditional methods and deep learning could further enhance crop row detection accuracy, particularly under diverse field conditions.</p>
</sec>
</sec>
<sec id="s4_7">
<label>4.7</label>
<title>Error analysis of navigation line extraction</title>
<p>In this study, traditional image processing methods and deep learning-based object detection methods exhibit distinctly different challenges in navigation line extraction. For traditional image processing, a significant source of error lies in the clustering process, particularly when crop rows appear closer together at the top of the image. This issue is exacerbated in cases where the inter-row spacing is narrower, as shown in <xref ref-type="fig" rid="f18">
<bold>Figure&#xa0;18A, C</bold>
</xref> with rice seedlings. The clustering algorithm may mistakenly group crops from adjacent rows into the central crop row, especially in the top regions of the image, leading to inaccuracies in navigation line fitting. A practical solution to this problem is to adjust the field of view of the camera. Since real-time navigation typically does not require distant views, narrowing the field of view can reduce the apparent convergence of crop rows at the top of the image, thereby mitigating clustering errors.</p>
<fig id="f18" position="float">
<label>Figure&#xa0;18</label>
<caption>
<p>Illustrations of error samples. <bold>(A, C)</bold> Narrower interrow spacing; <bold>(B, D)</bold> Missing detection.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-15-1499896-g018.tif"/>
</fig>
<p>In contrast, deep learning-based object detection errors primarily stem from missed detections. As illustrated in <xref ref-type="fig" rid="f18">
<bold>Figures&#xa0;18B, D</bold>
</xref>, missed detections result in the loss of critical information from both the top and bottom regions of the crop rows in the image. When fitting the navigation line, the algorithm can only rely on a limited number of bounding boxes, significantly impacting navigation line extraction accuracy. In extreme cases, such as when only one bounding box remains for the central crop row, it becomes impossible to perform navigation line fitting, which is a critical failure for the algorithm. The reasons for these missed detections include the inability to extract features of the main stem. This issue can arise due to severe occlusion among crops, where overlapping leaves and stems obscure the main stem from the camera view. Additionally, in low-light conditions or during inclement weather, the features of the crops become less distinct in the images. This lack of clarity hampers the deep learning model ability to accurately detect and identify the main stems, leading to increased instances of missed detections. To address this issue, future research will focus on collecting more crop datasets under varying environmental conditions and using more efficient and suitable modules in the deep learning model.</p>
<p>This comparative analysis highlights that, in this study, traditional methods struggle with row spacing and clustering errors, and deep learning methods are vulnerable to detection omissions, especially in adverse environmental or crop conditions. Understanding these failure modes is essential for improving the robustness of navigation line extraction in practical agricultural scenarios.</p>
</sec>
<sec id="s4_8">
<label>4.8</label>
<title>Advantages, limitations and prospects</title>
<sec id="s4_8_1">
<label>4.8.1</label>
<title>Advantages and limitations</title>
<p>Deep learning models have achieved impressive progress in image recognition but still have some shortcomings and challenges. One such challenge is that most existing models are trained for specific datasets and are usually unable to adapt to different scenarios, thus lacking generalization ability. Additionally, the scale and diversity of the required datasets are demanding. Furthermore, the high computational cost and latency associated with deep learning may not be conducive to some practical applications.</p>
<p>In extracting navigation lines, deep learning-based object detection is well-suited for scenarios where there is a clear differentiation between the growth stages, minimal crop occlusion, and easy plant identification. However, these ideal field conditions are rare in most cases. As a result, the algorithms proposed in this study fall under classical image processing techniques, characterized by their cost-effectiveness, minimal data requirements, ease of integration with edge devices, and suitability for deployment on resource-limited embedded systems or mobile devices. In addition, classical image processing techniques are more interpretable and explainable, as they rely on well-defined mathematical models and algorithms rather than black-box neural networks. This is particularly desirable for researchers, as it helps to understand the fundamental logic governing variations in phenomena, thereby enabling adequate explanation and management. Notably, deep learning-based object detection outperforms traditional image processing methods in the presence of weeds within crop rows. This advantage arises because deep learning models are capable of learning complex features and distinguishing between crops and weeds based on extensive training datasets, whereas traditional methods often rely on predefined rules and thresholds, which can be easily disrupted by the presence of similar or overlapping features such as weeds.</p>
<p>Overall, the presented study highlights the generalization of navigation line extraction at different crop seedling stages. Despite advancements in classical image processing techniques, there are limitations in dealing with complex image processing tasks such as complex seedling interaction between adjacent planting rows, intense weeds between plantations.</p>
</sec>
<sec id="s4_8_2">
<label>4.8.2</label>
<title>Prospects</title>
<p>In this study, a pixel-wise navigation line extraction method of cross-growth-stage seedlings was verified, showing a promising solution for in-depth intelligent agricultural machinery application, especially for the field management task practices such as stumping, weeding, spraying pesticides, and root-zone soil backfill. For future studies, the proposed navigation line extraction method can be integrated into agricultural machinery, make it possible to change the current field management task practices from mechanization to intelligence, solving the problem of population ageing and labor costs.</p>
</sec>
</sec>
</sec>
<sec id="s5" sec-type="conclusions">
<label>5</label>
<title>Conclusion</title>
<p>From the results presented in this study, the following conclusions could be drawn:</p>
<list list-type="order">
<list-item>
<p>The present study successfully achieved near-noiseless binary images through pre-processing. It identified appropriate fitting regions by detecting crop rows. Furthermore, it obtained precise navigation lines through linear fitting, regardless of growth stages, diverse field environments, or ridges of seedling absence.</p>
</list-item>
<list-item>
<p>The performance of the proposed algorithms was comprehensively evaluated by three indicators: MEA, RMSE, and MRE. For different crops under different growth stages or environmental conditions, MEA and RMSE are basically in the range of 1&#xb0; to 4&#xb0;, while MRE is in the range of 1% to 4%, which indicates that the navigation line and the reference line were closely aligned. The distribution of errors between them was found to be relatively uniform. For the 640&#xd7;480 resolution, the algorithm average processing time is 310 ms, demonstrating sufficient real-time performance to meet the navigation and operational requirements of agricultural robots. For the 1920&#xd7;1080 resolution, the average processing time is 510 ms, which, despite being longer, is still adequate for practical applications, ensuring that the algorithm maintains real-time functionality in field management tasks.</p>
</list-item>
<list-item>
<p>The mathematical relationship between opening operation and NZPR can create clear and distinct boundaries between crop rows in different growth stages. This enables the connected component filter to significantly suppress irrelevant information in the image. Moreover, the fitting region that best represents the central part of the crop can be obtained by applying the NZPR adaptive sigmoid function to segment the vertical projection curves of different centerlines. This ensures the accuracy of the centerline fitting.</p>
</list-item>
</list>
<p>In conclusion, this study proposed an image processing algorithm for navigation line extraction of cross-growth-stage seedlings in sugarcane, corn and rice. Its efficiency and generalization capabilities were verified in complex field environments.</p>
</sec>
</body>
<back>
<sec id="s6" sec-type="data-availability">
<title>Data availability statement</title>
<p>Publicly available datasets were analyzed in this study. This data can be found here: <uri xlink:href="https://github.com/Mr-lxd/fieldNavigationProject">https://github.com/Mr-lxd/fieldNavigationProject</uri>, <uri xlink:href="https://doi.org/10.6084/m9.figshare.24188097.v5">https://doi.org/10.6084/m9.figshare.24188097.v5</uri>.</p>
</sec>
<sec id="s7" sec-type="author-contributions">
<title>Author contributions</title>
<p>HL: Conceptualization, Funding acquisition, Project administration, Resources, Supervision, Writing &#x2013; original draft, Writing &#x2013; review &amp; editing. XL: Data curation, Investigation, Methodology, Software, Resource, Validation, Visualization, Writing &#x2013; original draft, Writing &#x2013; review &amp; editing. YM: Resources, Writing &#x2013; original draft. DH: Writing &#x2013; review &amp; editing. TW: Funding acquisition, Writing &#x2013; review &amp; editing.</p>
</sec>
<sec id="s8" sec-type="funding-information">
<title>Funding</title>
<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 Youth Science Foundation of Guangxi Province (grant No. 2024JJB160121), Young Talents Funding Research Projects of Guangxi Province (grant No. ZX02080030124006), Guangxi Key Laboratory of Manufacturing System and Advanced Manufacturing Technology (grant No. 22-35-4-S306), the Sugarcane Whole-process Mechanization Scientific Research Base of the Ministry of Agriculture and Rural Affairs, and the National Sugar Industry Technology System (grant No. CARS-170402).</p>
</sec>
<ack>
<title>Acknowledgments</title>
<p>The authors would like to thank the editor and the reviewers for their constructive comments and helpful suggestions.</p>
</ack>
<sec id="s9" sec-type="COI-statement">
<title>Conflict of interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
<p>The reviewer YL declared a shared affiliation with the author TW to the handling editor at the time of review.</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>
<sec id="s11" sec-type="supplementary-material">
<title>Supplementary material</title>
<p>The Supplementary Material for this article can be found online at: <ext-link ext-link-type="uri" xlink:href="https://www.frontiersin.org/articles/10.3389/fpls.2024.1499896/full#supplementary-material">https://www.frontiersin.org/articles/10.3389/fpls.2024.1499896/full#supplementary-material</ext-link>
</p>
<supplementary-material xlink:href="Image1.tif" id="SF3" mimetype="image/tiff">
<label>Supplementary Figure&#xa0;1</label>
<caption>
<p>Image graying process by applying ExG. <bold>(A)</bold> Original image; <bold>(B)</bold> Grayscale image.</p>
</caption>
</supplementary-material>
<supplementary-material xlink:href="Image2.tif" id="SF4" mimetype="image/tiff">
<label>Supplementary Figure&#xa0;2</label>
<caption>
<p>Navigation line fitting. <bold>(A)</bold> Crop pixels after applying the sliding window method; <bold>(B)</bold> The navigation line is obtained after applying RANSAC and the least squares method.</p>
</caption>
</supplementary-material>
<supplementary-material xlink:href="Image3.tif" id="SF5" mimetype="image/tiff">
<label>Supplementary Figure&#xa0;3</label>
<caption>
<p>Interaction interface for field navigation at crop seedling stage.</p>
</caption>
</supplementary-material>
<supplementary-material xlink:href="Table1.docx" id="SM1" mimetype="application/vnd.openxmlformats-officedocument.wordprocessingml.document"/>
<supplementary-material xlink:href="Table2.docx" id="SM2" mimetype="application/vnd.openxmlformats-officedocument.wordprocessingml.document"/>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Bai</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>B.</given-names>
</name>
<name>
<surname>Xu</surname> <given-names>N.</given-names>
</name>
<name>
<surname>Zhou</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Shi</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Diao</surname> <given-names>Z.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Vision-based navigation and guidance for agricultural autonomous vehicles and robots: A review</article-title>. <source>Comput. Electron. Agric.</source> <volume>205</volume>, <elocation-id>107584</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.compag.2022.107584</pub-id>
</citation>
</ref>
<ref id="B2">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Blok</surname> <given-names>P. M.</given-names>
</name>
<name>
<surname>van Boheemen</surname> <given-names>K.</given-names>
</name>
<name>
<surname>van Evert</surname> <given-names>F. K.</given-names>
</name>
<name>
<surname>IJsselmuiden</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Kim</surname> <given-names>G. H.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Robot navigation in orchards with localization based on Particle filter and Kalman filter</article-title>. <source>Comput. Electron. Agric.</source> <volume>157</volume>, <fpage>261</fpage>&#x2013;<lpage>269</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.compag.2018.12.046</pub-id>
</citation>
</ref>
<ref id="B3">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chen</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Qiang</surname> <given-names>H.</given-names>
</name>
<name>
<surname>Wu</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Xu</surname> <given-names>G.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Liu</surname> <given-names>X.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Extracting the navigation path of a tomato-cucumber greenhouse robot based on a median point Hough transform</article-title>. <source>Comput. Electron. Agric.</source> <volume>174</volume>, <fpage>Article 105472</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.compag.2020.105472</pub-id>
</citation>
</ref>
<ref id="B4">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chen</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Qiang</surname> <given-names>H.</given-names>
</name>
<name>
<surname>Wu</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Xu</surname> <given-names>G.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>Z.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Navigation path extraction for greenhouse cucumber-picking robots using the prediction-point Hough transform</article-title>. <source>Comput. Electron. Agric.</source> <volume>180</volume>, <fpage>Article 105911</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.compag.2020.105911</pub-id>
</citation>
</ref>
<ref id="B5">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chen</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>B.</given-names>
</name>
<name>
<surname>Luo</surname> <given-names>L.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Multi-feature fusion tree trunk detection and orchard mobile robot localization using camera/ultrasonic sensors</article-title>. <source>Comput. Electron. Agric.</source> <volume>147</volume>, <fpage>91</fpage>&#x2013;<lpage>108</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.compag.2018.02.009</pub-id>
</citation>
</ref>
<ref id="B6">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chen</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>W.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>W.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>M.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>H.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Vegetable crop row extraction method based on accumulation threshold of Hough Transformation</article-title>. <source>Trans. Chin. Soc Agric. Eng.</source> <volume>35</volume>, <fpage>314</fpage>&#x2013;<lpage>322</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.11975/j.issn.1002-6819.2019.22.037</pub-id>
</citation>
</ref>
<ref id="B7">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Diao</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Guo</surname> <given-names>P.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>B.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>D.</given-names>
</name>
<name>
<surname>Yan</surname> <given-names>J.</given-names>
</name>
<name>
<surname>He</surname> <given-names>Z.</given-names>
</name>
<etal/>
</person-group>. (<year>2023</year>). <article-title>Navigation line extraction algorithm for corn spraying robot based on improved YOLOv8s network</article-title>. <source>Comput. Electron. Agric.</source> <volume>212</volume>, <elocation-id>108049</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.compag.2023.108049</pub-id>
</citation>
</ref>
<ref id="B8">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Diao</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Ma</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>D.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Guo</surname> <given-names>P.</given-names>
</name>
<name>
<surname>He</surname> <given-names>Z.</given-names>
</name>
<etal/>
</person-group>. (<year>2024</year>). <article-title>Algorithm for corn crop row recognition during different growth stages based on ST-YOLOv8s network</article-title>. <source>Agron</source> <volume>14</volume>, <elocation-id>1466</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.3390/agronomy14071466</pub-id>
</citation>
</ref>
<ref id="B9">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Diao</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Zhao</surname> <given-names>M.</given-names>
</name>
<name>
<surname>Song</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Wu</surname> <given-names>B.</given-names>
</name>
<name>
<surname>Wu</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Qian</surname> <given-names>X.</given-names>
</name>
<etal/>
</person-group>. (<year>2015</year>). <article-title>Crop line recognition algorithm and realization in precision pesticide system based on machine vision</article-title>. <source>Trans. Chin. Soc Agric. Eng.</source> <volume>31</volume>, <fpage>47</fpage>&#x2013;<lpage>52</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.3969/j.issn.1002-6819.2015.07.007</pub-id>
</citation>
</ref>
<ref id="B10">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Ester</surname> <given-names>M.</given-names>
</name>
<name>
<surname>Kriegel</surname> <given-names>H. P.</given-names>
</name>
<name>
<surname>Sander</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Xu</surname> <given-names>X.</given-names>
</name>
</person-group> (<year>1996</year>). &#x201c;<article-title>A density-based algorithm for discovering clusters in large spatial databases with noise</article-title>,&#x201d; in <source>Proceedings of the Second International Conference on Knowledge Discovery and Data Mining</source> (<publisher-loc>Portland, Oregon</publisher-loc>: <publisher-name>AAAI Press</publisher-name>), <fpage>226</fpage>&#x2013;<lpage>231</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.5555/3001460.3001507</pub-id>
</citation>
</ref>
<ref id="B11">
<citation citation-type="web">
<person-group person-group-type="author">
<collab>FAO</collab>
</person-group> (<year>2022</year>). <article-title>FAO&#x2019;s Statistical Yearbook for 2022 goes live</article-title>. Available online at: <uri xlink:href="https://www.fao.org/newsroom/detail/fao-s-statistical-yearbook-for-2022-goes-live/en">https://www.fao.org/newsroom/detail/fao-s-statistical-yearbook-for-2022-goes-live/en</uri> (Accessed <access-date>August 18, 2023</access-date>).</citation>
</ref>
<ref id="B12">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Fischler</surname> <given-names>M. A.</given-names>
</name>
<name>
<surname>Bolles</surname> <given-names>R. C.</given-names>
</name>
</person-group> (<year>1981</year>). <article-title>Random sample consensus: A paradigm for model fitting with applications to image analysis and automated cartography</article-title>. <source>Commun. ACM</source> <volume>24</volume>, <fpage>381</fpage>&#x2013;<lpage>395</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1145/358669.358692</pub-id>
</citation>
</ref>
<ref id="B13">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Fu</surname> <given-names>D.</given-names>
</name>
<name>
<surname>Jiang</surname> <given-names>Q.</given-names>
</name>
<name>
<surname>Qi</surname> <given-names>L.</given-names>
</name>
<name>
<surname>Xing</surname> <given-names>H.</given-names>
</name>
<name>
<surname>Chen</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Yang</surname> <given-names>X.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Detection of the centerline of rice seedling belts based on region growth sequential clustering-RANSAC</article-title>. <source>Trans. Chin. Soc Agric. Eng.</source> <volume>39</volume>, <fpage>47</fpage>&#x2013;<lpage>57</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.11975/j.issn.1002-6819.202210106</pub-id>
</citation>
</ref>
<ref id="B14">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Gong</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Sun</surname> <given-names>K.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Lan</surname> <given-names>Y.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Extracting navigation line for rhizome location using gradient descent and corner detection</article-title>. <source>Trans. Chin. Soc Agric. Eng.</source> <volume>38</volume>, <fpage>177</fpage>&#x2013;<lpage>183</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.11975/j.issn.1002-6819.2022.13.020</pub-id>
</citation>
</ref>
<ref id="B15">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Gong</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Lan</surname> <given-names>Y.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Extraction method of corn rhizome navigation lines based on edge detection and area localization</article-title>. <source>Trans. Chin. Soc Agric. Mach.</source> <volume>51</volume>, <fpage>26</fpage>&#x2013;<lpage>33</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.6041/j.issn.1000-1298.2020.10.004</pub-id>
</citation>
</ref>
<ref id="B16">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>He</surname> <given-names>C.</given-names>
</name>
<name>
<surname>Chen</surname> <given-names>Q.</given-names>
</name>
<name>
<surname>Miao</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>N.</given-names>
</name>
<name>
<surname>Sun</surname> <given-names>T.</given-names>
</name>
</person-group> (<year>2021</year>). &#x201c;<article-title>Extracting the navigation path of an agricultural plant protection robot based on machine vision</article-title>,&#x201d; in <source>2021 40th Chinese Control Conference</source> (<publisher-loc>Shanghai, China</publisher-loc>: <publisher-name>CCC</publisher-name>), <fpage>3576</fpage>&#x2013;<lpage>3581</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.23919/CCC52363.2021.9549671</pub-id>
</citation>
</ref>
<ref id="B17">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>He</surname> <given-names>R.</given-names>
</name>
<name>
<surname>Luo</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>W.</given-names>
</name>
<name>
<surname>Jiang</surname> <given-names>C.</given-names>
</name>
<name>
<surname>Yuan</surname> <given-names>B.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Identification method of rice seedlings rows based on Gaussian heatmap</article-title>. <source>Agriculture</source> <volume>12</volume>, <elocation-id>1736</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.3390/agriculture12101736</pub-id>
</citation>
</ref>
<ref id="B18">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>He</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Meng</surname> <given-names>Q.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>M.</given-names>
</name>
<name>
<surname>Qiu</surname> <given-names>R.</given-names>
</name>
<name>
<surname>Xiang</surname> <given-names>M.</given-names>
</name>
<name>
<surname>Du</surname> <given-names>S.</given-names>
</name>
</person-group> (<year>2014</year>). <article-title>Crop baseline extraction method for off-road vehicle based on boundary detection and scan-filter</article-title>. <source>Trans. Chin. Soc Agric. Mach.</source> <volume>45</volume>, <elocation-id>1</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.6041/j.issn.1000-1298.2014.S0.043</pub-id>
</citation>
</ref>
<ref id="B19">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Jiang</surname> <given-names>G.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Liu</surname> <given-names>H.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Automatic detection of crop rows based on multi-ROIs</article-title>. <source>Expert. Syst. Appl.</source> <volume>42</volume>, <fpage>2429</fpage>&#x2013;<lpage>2441</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.eswa.2014.10.033</pub-id>
</citation>
</ref>
<ref id="B20">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Jiang</surname> <given-names>G.</given-names>
</name>
<name>
<surname>Yang</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Liu</surname> <given-names>H.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Crop rows detection based on image characteristic point and particle swarm optimization-clustering algorithm</article-title>. <source>Trans. Chin. Soc Agric. Eng.</source> <volume>33</volume>, <fpage>165</fpage>&#x2013;<lpage>170</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.11975/j.issn.1002-6819.2017.11.021</pub-id>
</citation>
</ref>
<ref id="B21">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname> <given-names>D.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>B.</given-names>
</name>
<name>
<surname>Kang</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Feng</surname> <given-names>H.</given-names>
</name>
<name>
<surname>Long</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>J.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>E2CropDet: An efficient end-to-end solution to crop row detection</article-title>. <source>Expert. Syst. Appl.</source> <volume>227</volume>, <elocation-id>120345</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.eswa.2023.120345</pub-id>
</citation>
</ref>
<ref id="B22">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Su</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Yue</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Duan</surname> <given-names>F.</given-names>
</name>
</person-group> (<year>2022</year>a). <article-title>Adaptive multi-ROI agricultural robot navigation line extraction based on image semantic segmentation</article-title>. <source>Sensors</source> <volume>22</volume>, <elocation-id>7707</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.3390/s22207707</pub-id>
</citation>
</ref>
<ref id="B23">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Li</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Su</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Yue</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Duan</surname> <given-names>F.</given-names>
</name>
<name>
<surname>Hua</surname> <given-names>J.</given-names>
</name>
</person-group> (<year>2022</year>c). &#x201c;<article-title>Vision-based navigation line extraction by combining crop row detection and RANSAC algorithm</article-title>,&#x201d; in <source>2022 IEEE International Conference on Mechatronics and Automation</source> (<publisher-loc>Guilin, Guangxi, China</publisher-loc>: <publisher-name>ICMA</publisher-name>), <fpage>1097</fpage>&#x2013;<lpage>1102</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/ICMA54519.2022.9856296</pub-id>
</citation>
</ref>
<ref id="B24">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Su</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Yue</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Zhou</surname> <given-names>H.</given-names>
</name>
</person-group> (<year>2022</year>b). <article-title>Extracting navigation line to detect the maize seedling line using median-point Hough transform</article-title>. <source>Trans. Chin. Soc Agric. Eng.</source> <volume>38</volume>, <fpage>167</fpage>&#x2013;<lpage>174</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.11975/j.issn.1002-6819.2022.05.020</pub-id>
</citation>
</ref>
<ref id="B25">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname> <given-names>M.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>M.</given-names>
</name>
<name>
<surname>Meng</surname> <given-names>Q.</given-names>
</name>
<name>
<surname>Liu</surname> <given-names>G.</given-names>
</name>
</person-group> (<year>2013</year>). <article-title>Rapid detection of navigation baseline for farm machinery based on scan-filter algorithm</article-title>. <source>Trans. Chin. Soc Agric. Eng.</source> <volume>29</volume>, <fpage>41</fpage>&#x2013;<lpage>47</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.3969/j.issn.1002-6819.2013.01.006</pub-id>
</citation>
</ref>
<ref id="B26">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Zhao</surname> <given-names>W.</given-names>
</name>
<name>
<surname>Zhao</surname> <given-names>L.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Extraction algorithm of the center line of maize row in case of plants lacking</article-title>. <source>Trans. Chin. Soc Agric. Eng.</source> <volume>37</volume>, <fpage>203</fpage>&#x2013;<lpage>210</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.11975/j.issn.1002-6819.2021.18.024</pub-id>
</citation>
</ref>
<ref id="B27">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Liao</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Yin</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Liu</surname> <given-names>L.</given-names>
</name>
<name>
<surname>Zhu</surname> <given-names>D.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Detection of seedling row centerlines based on sub-regional feature points clustering</article-title>. <source>Trans. Chin. Soc Agric. Mach.</source> <volume>50</volume>, <fpage>34</fpage>&#x2013;<lpage>41</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.6041/j.issn.1000-1298.2019.11.004</pub-id>
</citation>
</ref>
<ref id="B28">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Lin</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Jiang</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Chen</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Biswas</surname> <given-names>A.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Yuan</surname> <given-names>Z.</given-names>
</name>
<etal/>
</person-group>. (<year>2020</year>). <article-title>Automatic detection of plant rows for a transplanter in paddy field using faster r-cnn</article-title>. <source>Ieee. Access.</source> <volume>8</volume>, <fpage>147231</fpage>&#x2013;<lpage>147240</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/ACCESS.2020.3015891</pub-id>
</citation>
</ref>
<ref id="B29">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Liu</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Qi</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>W.</given-names>
</name>
<name>
<surname>Bao</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>K.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>N.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Recognition method of maize crop rows at the seedling stage based on MS-ERFNet model</article-title>. <source>Comput. Electron. Agric.</source> <volume>211</volume>, <elocation-id>107964</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.compag.2023.107964</pub-id>
</citation>
</ref>
<ref id="B30">
<citation citation-type="web">
<person-group person-group-type="author">
<name>
<surname>Liu</surname> <given-names>R.</given-names>
</name>
<name>
<surname>Yandun</surname> <given-names>F.</given-names>
</name>
<name>
<surname>Kantor</surname> <given-names>G.</given-names>
</name>
</person-group> (<year>2024</year>). <article-title>LiDAR-Based Crop Row Detection Algorithm for Over-Canopy Autonomous Navigation in Agriculture Fields</article-title>. Available online at: <uri xlink:href="https://arxiv.org/abs/2403.17774">https://arxiv.org/abs/2403.17774</uri> (Accessed <access-date>November 11, 2024</access-date>).</citation>
</ref>
<ref id="B31">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Liu</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Luo</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>H.</given-names>
</name>
<name>
<surname>Huang</surname> <given-names>P.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>J.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Design of automatic navigation operation system for Lovol ZP9500 high clearance boom sprayer based on GNSS</article-title>. <source>Trans. Chin. Soc Agric. Eng.</source> <volume>34</volume>, <fpage>15</fpage>&#x2013;<lpage>21</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.11975/j.issn.1002-6819.2018.01.003</pub-id>
</citation>
</ref>
<ref id="B32">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Luo</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Zhao</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Chen</surname> <given-names>B.</given-names>
</name>
<name>
<surname>Hu</surname> <given-names>L.</given-names>
</name>
<name>
<surname>Wu</surname> <given-names>X.</given-names>
</name>
</person-group> (<year>2009</year>). <article-title>Design of DGPS navigation control system for Dongfanghong X-804 tractor</article-title>. <source>Trans. Chin. Soc Agric. Eng.</source> <volume>25</volume>, <fpage>139</fpage>&#x2013;<lpage>145</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.3969/j.issn.1002-6819.2009.11.025</pub-id>
</citation>
</ref>
<ref id="B33">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ma</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Yin</surname> <given-names>C.</given-names>
</name>
<name>
<surname>Du</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Zhao</surname> <given-names>L.</given-names>
</name>
<name>
<surname>Lin</surname> <given-names>L.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>G.</given-names>
</name>
<etal/>
</person-group>. (<year>2022</year>). <article-title>Rice row tracking control of crawler tractor based on the satellite and visual integrated navigation</article-title>. <source>Comput. Electron. Agric.</source> <volume>197</volume>, <elocation-id>106935</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.compag.2022.106935</pub-id>
</citation>
</ref>
<ref id="B34">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Meng</surname> <given-names>Q.</given-names>
</name>
<name>
<surname>Liu</surname> <given-names>G.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>M.</given-names>
</name>
<name>
<surname>Si</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>M.</given-names>
</name>
</person-group> (<year>2013</year>). <article-title>Crop rows detection based on constraint of linear correlation coefficient</article-title>. <source>Trans. Chin. Soc Agric. Mach.</source> <volume>44</volume>, <fpage>216</fpage>&#x2013;<lpage>223</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.6041/j.issn.1000-1298.2013.S1.039</pub-id>
</citation>
</ref>
<ref id="B35">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Meng</surname> <given-names>Q.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>M.</given-names>
</name>
<name>
<surname>Qiu</surname> <given-names>R.</given-names>
</name>
<name>
<surname>He</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Si</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Liu</surname> <given-names>G.</given-names>
</name>
</person-group> (<year>2014</year>). <article-title>Navigation line detection for farm machinery based on improved genetic algorithm</article-title>. <source>Trans. Chin. Soc Agric. Mach.</source> <volume>45</volume>, <fpage>39</fpage>&#x2013;<lpage>46</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.6041/j.issn.1000-1298.2014.10.007</pub-id>
</citation>
</ref>
<ref id="B36">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Meng</surname> <given-names>Q.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>M.</given-names>
</name>
<name>
<surname>Yang</surname> <given-names>G.</given-names>
</name>
<name>
<surname>Qiu</surname> <given-names>R.</given-names>
</name>
<name>
<surname>Xiang</surname> <given-names>M.</given-names>
</name>
</person-group> (<year>2016</year>). <article-title>Guidance line recognition of agricultural machinery based on particle swarm optimization under natural illumination</article-title>. <source>Trans. Chin. Soc Agric. Mach.</source> <volume>47</volume>, <fpage>11</fpage>&#x2013;<lpage>20</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.6041/j.issn.1000-1298.2016.06.002</pub-id>
</citation>
</ref>
<ref id="B37">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Otsu</surname> <given-names>N.</given-names>
</name>
</person-group> (<year>1979</year>). <article-title>A threshold selection method from gray-level histograms</article-title>. <source>IEEE Trans. SMC</source> <volume>9</volume>, <fpage>62</fpage>&#x2013;<lpage>66</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/TSMC.1979.4310076</pub-id>
</citation>
</ref>
<ref id="B38">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Rao</surname> <given-names>H.</given-names>
</name>
<name>
<surname>Ji</surname> <given-names>C.</given-names>
</name>
</person-group> (<year>2007</year>). <article-title>Crop-row detection using Hough transform based on connected component labeling</article-title>. <source>Trans. Chin. Soc Agric. Eng.</source> <volume>23</volume>, <fpage>146</fpage>&#x2013;<lpage>150</lpage>.  Available online at: <uri xlink:href="http://www.tcsae.org/en/article/id/20070330">http://www.tcsae.org/en/article/id/20070330</uri>
</citation>
</ref>
<ref id="B39">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Rao</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Zhu</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Yang</surname> <given-names>H.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Lin</surname> <given-names>Y.</given-names>
</name>
<etal/>
</person-group>. (<year>2021</year>). <article-title>Navigation path recognition between crop ridges based on semantic segmentation</article-title>. <source>Trans. Chin. Soc Agric. Eng.</source> <volume>37</volume>, <fpage>179</fpage>&#x2013;<lpage>186</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.11975/j.issn.1002-6819.2021.20.020</pub-id>
</citation>
</ref>
<ref id="B40">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ruan</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Chang</surname> <given-names>P.</given-names>
</name>
<name>
<surname>Cui</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Luo</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Gao</surname> <given-names>R.</given-names>
</name>
<name>
<surname>Su</surname> <given-names>Z.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>A precise crop row detection algorithm in complex farmland for unmanned agricultural machines</article-title>. <source>Biosyst. Eng.</source> <volume>232</volume>, <fpage>1</fpage>&#x2013;<lpage>12</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.biosystemseng.2023.06.010</pub-id>
</citation>
</ref>
<ref id="B41">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Shi</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Bai</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Diao</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Zhou</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Yao</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>B.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Row detection based navigation and guidance for agricultural robots and autonomous vehicles in row-crop fields: Methods and applications</article-title>. <source>Agronomy</source> <volume>13</volume>, <elocation-id>1780</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.3390/agronomy13071780</pub-id>
</citation>
</ref>
<ref id="B42">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Si</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Jiang</surname> <given-names>G.</given-names>
</name>
<name>
<surname>Liu</surname> <given-names>G.</given-names>
</name>
<name>
<surname>Gao</surname> <given-names>D.</given-names>
</name>
<name>
<surname>Liu</surname> <given-names>Z.</given-names>
</name>
</person-group> (<year>2010</year>). <article-title>Early-stage crop rows detection based on least square method</article-title>. <source>Trans. Chin. Soc Agric. Mach.</source> <volume>41</volume>, <fpage>163</fpage>&#x2013;<lpage>185</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.3969/j.issn.1000-1298.2010.07.034</pub-id>
</citation>
</ref>
<ref id="B43">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Song</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Xu</surname> <given-names>F.</given-names>
</name>
<name>
<surname>Yao</surname> <given-names>Q.</given-names>
</name>
<name>
<surname>Liu</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Yang</surname> <given-names>S.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Navigation algorithm based on semantic segmentation in wheat fields using an RGB-D camera</article-title>. <source>Inform. Process. Agric</source>. <volume>10</volume>, <fpage>475</fpage>&#x2013;<lpage>490</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.inpa.2022.05.002</pub-id>
</citation>
</ref>
<ref id="B44">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Han</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Mao</surname> <given-names>H.</given-names>
</name>
<name>
<surname>Liu</surname> <given-names>F.</given-names>
</name>
</person-group> (<year>2012</year>). <article-title>Navigation line detection of tomato ridges in greenhouse based on the least square method</article-title>. <source>Trans. Chin. Soc Agric. Mach.</source> <volume>43</volume>, <fpage>161</fpage>&#x2013;<lpage>166</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.6041/j.issn.1000-1298.2012.06.029</pub-id>
</citation>
</ref>
<ref id="B45">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname> <given-names>W.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Feng</surname> <given-names>C.</given-names>
</name>
<name>
<surname>Zhao</surname> <given-names>T.</given-names>
</name>
<name>
<surname>Shen</surname> <given-names>L.</given-names>
</name>
<name>
<surname>Feng</surname> <given-names>X.</given-names>
</name>
<etal/>
</person-group>. (<year>2023</year>). <article-title>Establishment of an efficient transgenic selection system and its utilization in <italic>Saccharum officinarum</italic></article-title>. <source>Trop. Plants.</source> <volume>2</volume>, <fpage>11</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.48130/TP-2023-0011</pub-id>
</citation>
</ref>
<ref id="B46">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Yu</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>W.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>X.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Detection of rice seedling rows based on Hough transform of feature point neighborhood</article-title>. <source>Trans. Chin. Soc Agric. Mach.</source> <volume>51</volume>, <page-range>18&#x2013;25</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.6041/j.issn.1000-1298.2020.10.003</pub-id>
</citation>
</ref>
<ref id="B47">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Yu</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>W.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>J.</given-names>
</name>
</person-group> (<year>2023</year>a). <article-title>The identification of straight-curved rice seedling rows for automatic row avoidance and weeding system</article-title>. <source>Biosyst. Eng.</source> <volume>233</volume>, <fpage>47</fpage>&#x2013;<lpage>62</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.biosystemseng.2023.07.003</pub-id>
</citation>
</ref>
<ref id="B48">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Yu</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>W.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>J.</given-names>
</name>
</person-group> (<year>2023</year>b). <article-title>The seedling line extraction of automatic weeding machinery in paddy field</article-title>. <source>Comput. Electron. Agric.</source> <volume>205</volume>, <elocation-id>107648</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.compag.2023.107648</pub-id>
</citation>
</ref>
<ref id="B49">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname> <given-names>A.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>M.</given-names>
</name>
<name>
<surname>Liu</surname> <given-names>Q.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>L.</given-names>
</name>
<name>
<surname>Wei</surname> <given-names>X.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Seedling crop row extraction method based on regional growth and mean shift clustering</article-title>. <source>Trans. Chin. Soc Agric. Eng.</source> <volume>37</volume>, <fpage>202</fpage>&#x2013;<lpage>210</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.11975/j.issn.1002-6819.2021.19.023</pub-id>
</citation>
</ref>
<ref id="B50">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>W.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Yu</surname> <given-names>S.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Recognition of rice seedling rows based on row vector grid classification</article-title>. <source>Comput. Electron. Agric.</source> <volume>190</volume>, <elocation-id>106454</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.compag.2021.106454</pub-id>
</citation>
</ref>
<ref id="B51">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Woebbecke</surname> <given-names>D. M.</given-names>
</name>
<name>
<surname>Meyer</surname> <given-names>G. E.</given-names>
</name>
<name>
<surname>Von Bargen</surname> <given-names>K.</given-names>
</name>
<name>
<surname>Mortensen</surname> <given-names>D. A.</given-names>
</name>
</person-group> (<year>1995</year>). <article-title>Color indices for weed identification under various soil, residue, and lighting conditions</article-title>. <source>Trans. ASAE</source> <volume>38</volume>, <fpage>259</fpage>&#x2013;<lpage>269</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.13031/2013.27838</pub-id>
</citation>
</ref>
<ref id="B52">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Yang</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Ma</surname> <given-names>Q.</given-names>
</name>
<name>
<surname>Chen</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Wen</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>G.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>T.</given-names>
</name>
<etal/>
</person-group>. (<year>2022</year>). <article-title>Real-time extraction of the navigation lines between sugarcane ridges using LiDAR</article-title>. <source>Trans. Chin. Soc Agric. Eng.</source> <volume>38</volume>, <fpage>178</fpage>&#x2013;<lpage>185</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.11975/j.issn.1002-6819.2022.04.021</pub-id>
</citation>
</ref>
<ref id="B53">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Yang</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>B.</given-names>
</name>
<name>
<surname>Zha</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Wen</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Chen</surname> <given-names>L.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>T.</given-names>
</name>
<etal/>
</person-group>. (<year>2020</year>). <article-title>Real-time extraction of navigation line between corn rows</article-title>. <source>Trans. Chin. Soc Agric. Eng.</source> <volume>36</volume>, <fpage>162</fpage>&#x2013;<lpage>171</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.11975/j.issn.1002-6819.2020.12.020</pub-id>
</citation>
</ref>
<ref id="B54">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Yang</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Zhou</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Yue</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>G.</given-names>
</name>
<name>
<surname>Wen</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Ma</surname> <given-names>B.</given-names>
</name>
<etal/>
</person-group>. (<year>2023</year>). <article-title>Real-time detection of crop rows in maize fields based on autonomous extraction of ROI</article-title>. <source>Expert. Syst. Appl.</source> <volume>213</volume>, <fpage>Article 118826</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.eswa.2022.118826</pub-id>
</citation>
</ref>
<ref id="B55">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Yu</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Bao</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Chu</surname> <given-names>H.</given-names>
</name>
<name>
<surname>Zhao</surname> <given-names>N.</given-names>
</name>
<name>
<surname>He</surname> <given-names>Y.</given-names>
</name>
<etal/>
</person-group>. (<year>2021</year>). <article-title>Crop row segmentation and detection in paddy fields based on treble-classification Otsu and double-dimensional clustering method</article-title>. <source>Remote Sens. Basel</source> <volume>13</volume>, <elocation-id>901</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.3390/rs13050901</pub-id>
</citation>
</ref>
<ref id="B56">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zadoks</surname> <given-names>J. C.</given-names>
</name>
<name>
<surname>Chang</surname> <given-names>T. T.</given-names>
</name>
<name>
<surname>Konzak</surname> <given-names>C. F.</given-names>
</name>
</person-group> (<year>1974</year>). <article-title>A decimal code for the growth stages of cereals</article-title>. <source>Weed. Res.</source> <volume>14</volume>, <fpage>415</fpage>&#x2013;<lpage>421</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1111/j.1365-3180.1974.tb01084.x</pub-id>
</citation>
</ref>
<ref id="B57">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhai</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Xiong</surname> <given-names>K.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>L.</given-names>
</name>
<name>
<surname>Du</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Zhu</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Mao</surname> <given-names>R.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Crop row detection and tracking based on binocular vision and adaptive Kalman filter</article-title>. <source>Trans. Chin. Soc Agric. Eng.</source> <volume>38</volume>, <fpage>143</fpage>&#x2013;<lpage>151</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.11975/j.issn.1002-6819.2022.08.017</pub-id>
</citation>
</ref>
<ref id="B58">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhai</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Zhu</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Du</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Song</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Mao</surname> <given-names>E.</given-names>
</name>
</person-group> (<year>2016</year>a). <article-title>Multi-crop-row detection algorithm based on binocular vision</article-title>. <source>Biosyst. Eng.</source> <volume>150</volume>, <fpage>89</fpage>&#x2013;<lpage>103</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.biosystemseng.2016.07.009</pub-id>
</citation>
</ref>
<ref id="B59">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhai</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Zhu</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Du</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Mao</surname> <given-names>E.</given-names>
</name>
</person-group> (<year>2016</year>b). <article-title>Method for detecting crop rows based on binocular vision with Census transformation</article-title>. <source>Trans. Chin. Soc Agric. Eng.</source> <volume>32</volume>, <fpage>205</fpage>&#x2013;<lpage>213</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.11975/j.issn.1002-6819.2016.11.029</pub-id>
</citation>
</ref>
<ref id="B60">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname> <given-names>Q.</given-names>
</name>
<name>
<surname>Chen</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>B.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Extraction method for centerlines of rice seedlings based on SUSAN corner</article-title>. <source>Trans. Chin. Soc Agric. Eng.</source> <volume>31</volume>, <fpage>165</fpage>&#x2013;<lpage>171</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.11975/j.issn.1002-6819.2015.20.023</pub-id>
</citation>
</ref>
<ref id="B61">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname> <given-names>Q.</given-names>
</name>
<name>
<surname>Chen</surname> <given-names>M. S.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>B.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>A visual navigation algorithm for paddy field weeding robot based on image understanding</article-title>. <source>Comput. Electron. Agric.</source> <volume>143</volume>, <fpage>66</fpage>&#x2013;<lpage>78</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.compag.2017.09.008</pub-id>
</citation>
</ref>
<ref id="B62">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname> <given-names>Q.</given-names>
</name>
<name>
<surname>Huang</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>B.</given-names>
</name>
</person-group> (<year>2012</year>). <article-title>Detection of rice seedlings rows&#x2019; centerlines based on color model and nearest neighbor clustering algorithm</article-title>. <source>Trans. Chin. Soc Agric. Eng.</source> <volume>28</volume>, <fpage>163</fpage>&#x2013;<lpage>171</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.3969/j.issn.1002-6819.2012.17.024</pub-id>
</citation>
</ref>
<ref id="B63">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname> <given-names>Q.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>B.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Extraction method for centerlines of rice seedlings based on YOLOv3 target detection</article-title>. <source>Trans. Chin. Soc Agric. Mach.</source> <volume>51</volume>, <page-range>34&#x2013;43</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.6041/j.issn.1000-1298.2020.08.004</pub-id>
</citation>
</ref>
<ref id="B64">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname> <given-names>L.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>R.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>L.</given-names>
</name>
<name>
<surname>Ding</surname> <given-names>C.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>D.</given-names>
</name>
<name>
<surname>Chen</surname> <given-names>L.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Research on virtual Ackerman steering model based navigation system for tracked vehicles</article-title>. <source>Comput. Electron. Agric.</source> <volume>192</volume>, <elocation-id>106615</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.compag.2021.106615</pub-id>
</citation>
</ref>
<ref id="B65">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhao</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Cao</surname> <given-names>D.</given-names>
</name>
<name>
<surname>Lan</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Pan</surname> <given-names>F.</given-names>
</name>
<name>
<surname>Wen</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Yang</surname> <given-names>D.</given-names>
</name>
<etal/>
</person-group>. (<year>2021</year>). <article-title>Extraction of maize field ridge centerline based on FCN with UAV remote sensing images</article-title>. <source>Trans. Chin. Soc Agric. Eng.</source> <volume>37</volume>, <fpage>72</fpage>&#x2013;<lpage>80</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.11975/j.issn.1002-6819.2021.09.009</pub-id>
</citation>
</ref>
<ref id="B66">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhao</surname> <given-names>R.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>M.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>M.</given-names>
</name>
<name>
<surname>Liu</surname> <given-names>G.</given-names>
</name>
</person-group> (<year>2009</year>). <article-title>Rapid crop-row detection based on improved hough transformation</article-title>. <source>Trans. Chin. Soc Agric. Mach.</source> <volume>40</volume>, <fpage>163</fpage>&#x2013;<lpage>221</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1360/972009-1549</pub-id>
</citation>
</ref>
<ref id="B67">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Zheng</surname> <given-names>H.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>Q.</given-names>
</name>
</person-group> (<year>2023</year>). &#x201c;<article-title>Using image pre-processing to improve navigation line extraction based on Pix2Pix Net on small-size datasets</article-title>,&#x201d; in <source>2023 IEEE International Conference on Industrial Technology</source> (<publisher-loc>Orlando, FL, USA</publisher-loc>: <publisher-name>ICIT</publisher-name>), <fpage>1</fpage>&#x2013;<lpage>6</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/ICIT58465.2023.10143161</pub-id>
</citation>
</ref>
</ref-list>
</back>
</article>