<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.1 20151215//EN" "http://jats.nlm.nih.gov/publishing/1.1/JATS-journalpublishing1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xml:lang="en" article-type="research-article" dtd-version="1.1">
<front>
<journal-meta>
<journal-id journal-id-type="pmc">CSSE</journal-id>
<journal-id journal-id-type="nlm-ta">CSSE</journal-id>
<journal-id journal-id-type="publisher-id">CSSE</journal-id>
<journal-title-group>
<journal-title>Computer Systems Science &#x0026; Engineering</journal-title>
</journal-title-group>
<issn pub-type="ppub">0267-6192</issn>
<publisher>
<publisher-name>Tech Science Press</publisher-name>
<publisher-loc>USA</publisher-loc>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">42110</article-id>
<article-id pub-id-type="doi">10.32604/csse.2023.042110</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Article</subject>
</subj-group>
</article-categories>
<title-group>
<article-title>An Adaptive Edge Detection Algorithm for Weed Image Analysis</article-title>
<alt-title alt-title-type="left-running-head">An Adaptive Edge Detection Algorithm for Weed Image Analysis</alt-title>
<alt-title alt-title-type="right-running-head">An Adaptive Edge Detection Algorithm for Weed Image Analysis</alt-title>
</title-group>
<contrib-group>
<contrib id="author-1" contrib-type="author" corresp="yes">
<name name-style="western"><surname>Alhwaiti</surname><given-names>Yousef</given-names></name><xref ref-type="aff" rid="aff-1">1</xref><email>ysalhwaiti@ju.edu.sa</email></contrib>
<contrib id="author-2" contrib-type="author">
<name name-style="western"><surname>Siddiqi</surname><given-names>Muhammad Hameed</given-names></name><xref ref-type="aff" rid="aff-1">1</xref></contrib>
<contrib id="author-3" contrib-type="author">
<name name-style="western"><surname>Ahmad</surname><given-names>Irshad</given-names></name><xref ref-type="aff" rid="aff-2">2</xref></contrib>
<aff id="aff-1"><label>1</label><institution>College of Computer and Information Sciences, Jouf University</institution>, <addr-line>Sakaka, Aljouf, 73211</addr-line>, <country>Saudi Arabia</country></aff>
<aff id="aff-2"><label>2</label><institution>Department of Computer Science, Islamia College (Chartered University)</institution>, <addr-line>Peshawar, 25000</addr-line>, <country>Pakistan</country></aff>
</contrib-group>
<author-notes>
<corresp id="cor1"><label>&#x002A;</label>Corresponding Author: Yousef Alhwaiti. Email: <email>ysalhwaiti@ju.edu.sa</email></corresp>
</author-notes>
<pub-date date-type="collection" publication-format="electronic"><year>2023</year></pub-date>
<pub-date date-type="pub" publication-format="electronic"><day>09</day><month>11</month><year>2023</year></pub-date>
<volume>47</volume>
<issue>3</issue>
<fpage>3011</fpage>
<lpage>3031</lpage>
<history>
<date date-type="received"><day>18</day><month>5</month><year>2023</year></date>
<date date-type="accepted"><day>04</day><month>7</month><year>2023</year></date>
</history>
<permissions>
<copyright-statement>&#x00A9; 2023 Alhwaiti, Siddiqi and Ahmad</copyright-statement>
<copyright-year>2023</copyright-year>
<copyright-holder>Alhwaiti, Siddiqi and Ahmad</copyright-holder>
<license xlink:href="https://creativecommons.org/licenses/by/4.0/">
<license-p>This work is licensed under a <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</ext-link>, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
</license>
</permissions>
<self-uri content-type="pdf" xlink:href="TSP_CSSE_42110.pdf"></self-uri>
<abstract>
<p>Weeds are one of the utmost damaging agricultural annoyers that have a major influence on crops. Weeds have the responsibility to get higher production costs due to the waste of crops and also have a major influence on the worldwide agricultural economy. The significance of such concern got motivation in the research community to explore the usage of technology for the detection of weeds at early stages that support farmers in agricultural fields. Some weed methods have been proposed for these fields; however, these algorithms still have challenges as they were implemented against controlled environments. Therefore, in this paper, a weed image analysis approach has been proposed for the system of weed classification. In this system, for preprocessing, a Homomorphic filter is exploited to diminish the environmental factors. While, for feature extraction, an adaptive feature extraction method is proposed that exploited edge detection. The proposed technique estimates the directions of the edges while accounting for non-maximum suppression. This method has several benefits, including its ease of use and ability to extend to other types of features. Typically, low-level details in the form of features are extracted to identify weeds, and additional techniques for detecting cultured weeds are utilized if necessary. In the processing of weed images, certain edges may be verified as a footstep function, and our technique may outperform other operators such as gradient operators. The relevant details are extracted to generate a feature vector that is further given to a classifier for weed identification. Finally, the features have been used in logistic regression for weed classification. The model was assessed against logistic regression that accurately identified different kinds of weed images in naturalistic domains. The proposed approach attained weighted average recognition of 98.5% against the weed images dataset. Hence, it is assumed that the proposed approach might help in the weed classification system to accurately identify narrow and broad weeds taken captured in real environments.</p>
</abstract>
<kwd-group kwd-group-type="author">
<kwd>Weeds images</kwd>
<kwd>classification</kwd>
<kwd>enhancement</kwd>
<kwd>logistic regression</kwd>
<kwd>agricultural fields</kwd>
<kwd>remote sensing</kwd>
</kwd-group>
<funding-group>
<award-group id="awg1">
<funding-source>Deputyship for Research &#x0026; Innovation, Ministry of Education in Saudi Arabia</funding-source>
<award-id>223202</award-id>
</award-group>
</funding-group>
</article-meta>
</front>
<body>
<sec id="s1">
<label>1</label>
<title>Introduction</title>
<p>Precision farming has the potential for higher output and lower production costs while making the greatest use of available resources and reducing environmental impact [<xref ref-type="bibr" rid="ref-1">1</xref>]. Imaging tools provide useful information to identify in-field heterogeneities in precision agriculture [<xref ref-type="bibr" rid="ref-2">2</xref>].</p>
<p>Herbicide automatic spray control systems with computer assistance present not only a technical as well as a significant economic problem. Weed harms crops because it competes with them for resources like water, light, nutrients, and space. This results in lower crop yields and less effective use of machinery. There are various spraying techniques that are related to these herbicide treatments, such as selective spraying, spot spraying, or intermittent spraying. Therefore, farmers need alternatives for weed control since they want to use fewer chemicals, pay less for production, and waste less time (means the time which consumes during the hand hoeing).</p>
<p>Precision agriculture still faces substantial challenges with the classification of weed images [<xref ref-type="bibr" rid="ref-3">3</xref>]. The enormously complex natural characteristics of weeds are the cause of the classification of weeds still being a major difficulty [<xref ref-type="bibr" rid="ref-3">3</xref>]. Weeds are pervasive and appear in a variety of forms. Their arbitrary growth and wide range of leaf sizes and shapes produce a variety of textural traits. Farmers need an accurate and robust weed classification system that automatically controls various kinds of herbicides in different agricultural fields.</p>
<p>Generally, there are four steps in a typical weed classification system: Preprocessing, feature extraction, feature selection, and classification. In the preprocessing step, the unnecessary details are diminished which usually decreases the efficiency of the system. In the feature extraction step, the dimensionality of the feature space is reduced which means the raw data of every image is converted to more manageable groups of information. Though, the information is managed in the feature extraction step; however, there might be some redundancy in that information. Therefore, in the feature selection step, the most prominent and informative features are selected to form a feature vector. Finally, in the classification step, the incoming weed image is labeled based on the trained information.</p>
<p>There are lots of systems that have been proposed for weed image analysis in various agricultural fields for herbicide applications. The authors of [<xref ref-type="bibr" rid="ref-4">4</xref>] presented a deep learning-based weed detection approach for bell pepper fields. They employed various deep learning methods such as Xception, GoogLeNet, Alexnet, and InceptionV3 for the identification of weed images in bell pepper fields, and they achieved the best performance against weed images. Similarly, a custom lightweight deep-based learning approach was designed by [<xref ref-type="bibr" rid="ref-5">5</xref>] for weed identification in the field of soybean. They utilized a vision-based method under deep learning models like ResNet50, MobileNetV2, and convolutional neural networks (CNN) which significantly identified the weed images, and claimed significant performance. Likewise, the authors of [<xref ref-type="bibr" rid="ref-6">6</xref>] proposed an integrated system for the classification of weeds and crop species. This system was based on texture features and support vector machines coupled with deep-based learning models such as VGG16. Moreover, a robust feature selection method was also employed which selects the most prominent features for model prediction. The system was tested and validated on a large dataset and showed the best accuracy of classification. On the other hand, various deep learning models are combined by [<xref ref-type="bibr" rid="ref-7">7</xref>] for the recognition of weed images. They assessed their system against multiple experiments on different small datasets. Moreover, they used the transfer learning method by conserving the pre-trained weights for selecting the features and managing them on crop and weed datasets. Furthermore, in [<xref ref-type="bibr" rid="ref-8">8</xref>], various kinds of weed images are recognized that was based on different types of features. They employed shape, texture, and color-based feature extraction methods to extract the most important features followed by a support vector machine coupled with a deep learning model which recognized different types of weed images in an agricultural field. They showed comparable recognition rates against small datasets. The latest architecture was designed for the detection of various kinds of weed images by [<xref ref-type="bibr" rid="ref-9">9</xref>] that was based on different models of deep learning such as EfficientNetB7, MobileNetV2, ResNet152V2, EfficientNetB1, and DenseNet121. Moreover, they utilized various types of methods like zoom, height shift, width shift, rotation, and horizontal flip for data augmentation. They employed a small dataset to show the performance of their system and they claimed the best recognition rate. However, most of these systems are tested and validated on small datasets under static environmental domains. Also, their accuracies of classification are degraded against the naturalistic agricultural domains.</p>
<p>Therefore, in this work, an accurate and robust weed image analysis and classification framework is developed, which has the following main contributions:
<list list-type="bullet">
<list-item>
<p>To reduce the impact of environmental factors, the Homomorphic filter is utilized for preprocessing. This technique involves nonlinear mapping of the image to a different domain, where linear filter techniques are applied, and then the image is mapped back to its original domain.</p></list-item>
<list-item>
<p>For feature extraction, an adaptive method is designed that calculates edge direction while taking into account non-maximum suppression. This method has the advantage of being easy to use and can be extended to extract other types of features. To identify weeds, low-level features are typically extracted, and cultured weed detection procedures are used as needed. However, the presence of features called sludge can complicate edge detection by various operators. The feature vectors are generated through hysteresis thresholding, with manual selection of thresholds for optimal performance. This method improves the ratio of SNR and enhances separation and localization. Our approach may outperform other operators when detecting certain types of edges. The resulting feature vectors are fed into a logistic regression classifier for weed image analysis. The significance of this proposed feature extraction technique is evaluated using a comprehensive experimental setup with a depth dataset containing thirteen different types of actions.</p></list-item>
<list-item>
<p>After feature extraction, the weeds are identified using logistic regression that determines the crucial pixels for deciding the class of a sample. Per-class probability and conditional probability are respectively calculated for each class, with the predicted label being the class with the highest probability.</p></list-item>
</list></p>
<p>The remaining article is structured as: In <xref ref-type="sec" rid="s2">Section 2</xref>, some related studies along with their respective shortcomings are presented. The designed framework for the weed image analysis is briefly described in <xref ref-type="sec" rid="s3">Section 3</xref>. The experimental setup and their respective results for the proposed framework are presented in <xref ref-type="sec" rid="s4">Sections 4</xref> and <xref ref-type="sec" rid="s5">5</xref>. Finally, the weed image analysis framework is concluded followed by some future directions in <xref ref-type="sec" rid="s6">Section 6</xref>.</p>
</sec>
<sec id="s2">
<label>2</label>
<title>Related Work</title>
<p>Weed image analysis is a complex, vital, and important issue in precision agricultural fields. Their systems are designed for the identification of different types of weed images against various agricultural domains, which are prescribed with their respective shortcomings.</p>
<p>A combined system was designed by [<xref ref-type="bibr" rid="ref-10">10</xref>] that was based on a deep convolutional neural network (VGG16) coupled with a support vector machine (SVM) for the identification of weeds and crops. They achieved the best recognition rate against the public dataset. However, the images used in this system have low spatial and temporal information which are not suitable for such a framework. Moreover, in terms of performance, SVM has several limitations [<xref ref-type="bibr" rid="ref-11">11</xref>]. A state-of-the-art regional convolutional neural network (R-CNN)-based approach was proposed by [<xref ref-type="bibr" rid="ref-12">12</xref>] for the automatic prediction of weed images against agricultural fields. In this approach, the authors also segmented various kinds of weeds from the input images, and they claimed significant performance against the weed images dataset. Though, the performance of R-CNN is comparatively better; however, for the selected region of interest, computational-wise, this system is expensive against large weed datasets [<xref ref-type="bibr" rid="ref-13">13</xref>].</p>
<p>On the other hand, the latest fused feature extraction algorithm was designed by [<xref ref-type="bibr" rid="ref-14">14</xref>] that relied on random forest, support vector machine, and k-nearest neighbors for the analysis of weed and crop images. They compared the performances of every method against weed and crop images and claimed that the random forest and support vector machine is better than the others. However, the performance of SVM has several limitations. Also, this method was justified against a small dataset of weeds. Furthermore, the latest architecture was developed by [<xref ref-type="bibr" rid="ref-15">15</xref>] which was based on a faster region convolutional neural network (FRCNN) coupled with ResNet-101 for the identification of different types of weeds. In this architecture, different combinations of the anchor boxes were combined in respective RFCNNs to improve the accuracy of identification. However, the performance of R-CNN is comparatively better; but, for the selected region of interest, computational-wise, this approach is more expensive against large weed datasets [<xref ref-type="bibr" rid="ref-13">13</xref>].</p>
<p>An alternative convolutional neural network (CNN) based system was proposed by [<xref ref-type="bibr" rid="ref-16">16</xref>] for the detection of weeds. This system has two phases. In the first phase, the images were collected and labeled then the features were extracted using the base image; while, in the second phase, the CNN is constructed under 20 layers which were further coupled with pooling and dense layers respectively. The dataset has been trained and tested on a public dataset and achieved better performance. However, the system is tested and validated on very small datasets whose accuracy is respectively decreased against large datasets. Likewise, the authors of [<xref ref-type="bibr" rid="ref-17">17</xref>] designed an integrated deep neural network that was based on ResNet-50, Inception-ResNet-v2, VGG16, MobileNetV2, and Inception-V3 for the recognition of various types of weeds. They validated their system against the combination of multiple small datasets and achieved better performance. However, this approach is not efficient due to various deep-learning models. Recent vision-based techniques are described in [<xref ref-type="bibr" rid="ref-18">18</xref>] for the detection of weeds within weeds and crop fields. The authors exploited a non-supervised stepwise linear discriminant analysis in a weed classification system for feature extraction and the categories were identified by employing the SVM. They claimed the best accuracy of classification. However, this approach cannot perform accurate discrimination against dynamic circumstances due to a lack of time [<xref ref-type="bibr" rid="ref-19">19</xref>]. Moreover, due to the large dataset, the accuracy of the classification of linear kernel SVM is affected because of unstable training sample points [<xref ref-type="bibr" rid="ref-20">20</xref>].</p>
<p>On the other side, an integrated approach was developed by [<xref ref-type="bibr" rid="ref-21">21</xref>] which was based on random forest, kNN, decision tree, and YOLOv5 neural network for the detection of different types of weeds. The proposed approach was assessed against a public dataset and achieved an 84% weighted average recognition rate under static circumstances. However, in this approach, for every new incoming data, the distance to the k nearest neighbor is iteratively calculated due to which this approach is quite expensive [<xref ref-type="bibr" rid="ref-22">22</xref>]. Similarly, a naturalistic approach was presented by [<xref ref-type="bibr" rid="ref-23">23</xref>,<xref ref-type="bibr" rid="ref-24">24</xref>] for the classification of weeds in corn fields. In this approach, the authors extracted the region of interest (ROI) through connected component analysis, and the classification is done via CNN. The approach was tested and validated against a large dataset and claimed the best accuracy of classification. However, in various growth phases against different environments, the struggle for CNN training along with plant species is massive that might need joint steps of several working groups [<xref ref-type="bibr" rid="ref-25">25</xref>]. Likewise, a state-of-the-art technique was developed by [<xref ref-type="bibr" rid="ref-26">26</xref>] which was based on deep learning for the classification of weeds. In this technique, the authors utilized CNN coupled with long-short term memory (LSTM). CNN is used to extract discriminative features from the corresponding input image due to its unique structure; while LSTM is used to optimize the classification. The technique was tested and validated against a public dataset that showed significant performance. However, LSTM cannot encode temporal dependencies which extend to more than a limited number of steps [<xref ref-type="bibr" rid="ref-27">27</xref>].</p>
<p>The latest methods have been proposed by [<xref ref-type="bibr" rid="ref-28">28</xref>,<xref ref-type="bibr" rid="ref-29">29</xref>] for the identification of weeds, which were based on various kinds of deep learning methods such as Faster R-CNN, YOLOv3, and YOLOv5. They respectively achieved 92% and 85% against the weed dataset. Similarly, emerging systems were proposed by [<xref ref-type="bibr" rid="ref-30">30</xref>,<xref ref-type="bibr" rid="ref-31">31</xref>] for the weed classification; where the authors respectively combined GoogLeNet and AlexNet, and DenseNet169 and MobileNetV2. Among these algorithms, one algorithm was employed to achieve a higher recognition rate; while the other one was utilized to reduce the complexity issue. Furthermore, a unified application of image processing and IoT-based method was developed by [<xref ref-type="bibr" rid="ref-32">32</xref>] for the detection of weeds. They exploited CNN to deliver a complete architecture for the agricultural domains. This model is used to classify the grayscale and color segmented image, due to which they claimed higher classification accuracy. A modified algorithm was designed by [<xref ref-type="bibr" rid="ref-33">33</xref>] that was based on a line filter for the analysis of weed images. This algorithm successfully distinguished the morphological variances such as the directions of shape features among two corresponding weed images. They showed their performance against binary classification using a weed image dataset and claimed the best accuracy of classification. However, computational-wise, these methods are more expensive and their accuracies of classification degrade against those images which are taken in various weather conditions.</p>
<p>Accordingly, this work presents an accurate, robust, and dynamic approach to the classification of various kinds of weed images. The proposed approach has been tested and validated against state-of-the-art dataset which has been collected under the settings of naturalistic environments and in various day times such as morning, noon, afternoon, evening, cloudy, sunny, rainy, etc. The proposed approach showed significant performance against existing state-of-the-art works using the aforementioned dataset of weed images.</p>
</sec>
<sec id="s3">
<label>3</label>
<title>Proposed Methodology</title>
<p>The overall working diagram for the proposed approach is given in <xref ref-type="fig" rid="fig-1">Fig. 1</xref>.</p>
<fig id="fig-1">
<label>Figure 1</label>
<caption>
<title>The overall flowchart of the proposed feature extraction approach</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CSSE_42110-fig-1.tif"/>
</fig>
<sec id="s3_1">
<label>3.1</label>
<title>Removing Environmental Factors Using Homomorphic Filter</title>
<p>An image can be considered a 2D function represented by <inline-formula id="ieqn-1"><mml:math id="mml-ieqn-1"><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula>, where the amplitude or value at 3D coordinates <inline-formula id="ieqn-2"><mml:math id="mml-ieqn-2"><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula> is an optimistic scalar extent. The physical interpretation of this value is calculated by the corresponding source of the image. For instance, when an image is made from a physical process, its values are the ratio of the energy emitted and the physical source, which means that it is an array of calculated light intensities that is dependent on the number of lights replication produced by the objects in the scene. The function <inline-formula id="ieqn-3"><mml:math id="mml-ieqn-3"><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula> has respectively two components: illumination which represents the illumination occurrence on the viewed portion, and reflectance which represents the illumination mirrored from the objects in the portion. By illumination and reflectance are respectively indicated by <inline-formula id="ieqn-4"><mml:math id="mml-ieqn-4"><mml:mi>f</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula> and <inline-formula id="ieqn-5"><mml:math id="mml-ieqn-5"><mml:mi>g</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula>, an image can be expressed in <xref ref-type="disp-formula" rid="eqn-1">Eq. (1)</xref>.</p>
<p><disp-formula id="eqn-1">
<label>(1)</label>
<mml:math id="mml-eqn-1" display="block"><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mi>f</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x00D7;</mml:mo><mml:mi>g</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></disp-formula></p>
<p>The illumination-reflectance model, which was previously described, is a well-known method of image formation. The illumination component of an image typically exhibits slow spatial variations, while reflectance component tends to be abrupt, especially at the junctions of dissimilar objects. When the illumination distribution is too high, objects in an image can be difficult to distinguish. To address this issue, Homomorphic Filtering can be utilized. This is a frequency domain filtering technique that enhances the reflectance while reducing the contribution of illumination. As a result, objects in the enhanced image can be more easily discerned.</p>
<p>Using <xref ref-type="disp-formula" rid="eqn-1">Eq. (1)</xref> to directly operate on the frequency components of illumination and reflectance is not feasible since the Fourier transform of the product of two functions is not separable, which means that it is difficult to apply a filter to illumination and reflectance independently. To overcome this issue, a straightforward solution is to take the natural logarithm of both sides of <xref ref-type="disp-formula" rid="eqn-1">Eq. (1)</xref> to get <xref ref-type="disp-formula" rid="eqn-2">Eq. (2)</xref>.</p>
<p><disp-formula id="eqn-2">
<label>(2)</label>
<mml:math id="mml-eqn-2" display="block"><mml:mi>y</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mi>l</mml:mi><mml:mi>o</mml:mi><mml:mi>g</mml:mi><mml:mo stretchy="false">[</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo stretchy="false">]</mml:mo><mml:mo>=</mml:mo><mml:mi>l</mml:mi><mml:mi>o</mml:mi><mml:mi>g</mml:mi><mml:mo stretchy="false">[</mml:mo><mml:mi>f</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo stretchy="false">]</mml:mo><mml:mo>+</mml:mo><mml:mi>l</mml:mi><mml:mi>o</mml:mi><mml:mi>g</mml:mi><mml:mo stretchy="false">[</mml:mo><mml:mi>g</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo stretchy="false">]</mml:mo></mml:math></disp-formula></p>
<p>Usage of the Fourier transform as shown in <xref ref-type="disp-formula" rid="eqn-3">Eq. (3)</xref>.</p>
<p><disp-formula id="eqn-3">
<label>(3)</label>
<mml:math id="mml-eqn-3" display="block"><mml:mrow><mml:mtext>T</mml:mtext></mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtext>y</mml:mtext></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtext>i</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>j</mml:mtext></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>}</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>T</mml:mi><mml:mrow><mml:mo>{</mml:mo><mml:mi>log</mml:mi><mml:mo>&#x2061;</mml:mo><mml:mrow><mml:mo>[</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>]</mml:mo></mml:mrow><mml:mo>}</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>T</mml:mi><mml:mo fence="false" stretchy="false">{</mml:mo><mml:mi>l</mml:mi><mml:mi>o</mml:mi><mml:mi>g</mml:mi><mml:mo stretchy="false">[</mml:mo><mml:mi>f</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo stretchy="false">]</mml:mo><mml:mo fence="false" stretchy="false">}</mml:mo><mml:mo>+</mml:mo><mml:mi>T</mml:mi><mml:mo fence="false" stretchy="false">{</mml:mo><mml:mi>l</mml:mi><mml:mi>o</mml:mi><mml:mi>g</mml:mi><mml:mo stretchy="false">[</mml:mo><mml:mi>g</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo stretchy="false">]</mml:mo><mml:mo fence="false" stretchy="false">}</mml:mo></mml:math></disp-formula></p>
<p>Or, it might be summarized as in <xref ref-type="disp-formula" rid="eqn-4">Eq. (4)</xref>:</p>
<p><disp-formula id="eqn-4">
<label>(4)</label>
<mml:math id="mml-eqn-4" display="block"><mml:mi>Z</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:msub><mml:mi>m</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:msub><mml:mi>m</mml:mi><mml:mrow><mml:mi>r</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></disp-formula></p>
<p>By applying a filter function <inline-formula id="ieqn-6"><mml:math id="mml-ieqn-6"><mml:mi>H</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula> in the frequency domain, a high-pass version of <inline-formula id="ieqn-7"><mml:math id="mml-ieqn-7"><mml:mi>Z</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula> as <inline-formula id="ieqn-8"><mml:math id="mml-ieqn-8"><mml:mi>S</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula> is obtained <xref ref-type="disp-formula" rid="eqn-5">Eq. (5)</xref>.</p>
<p><disp-formula id="eqn-5">
<label>(5)</label>
<mml:math id="mml-eqn-5" display="block"><mml:mi>S</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mi>H</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x00D7;</mml:mo><mml:mi>Z</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mi>H</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:msub><mml:mi>m</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:mi>H</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:msub><mml:mi>m</mml:mi><mml:mrow><mml:mi>r</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></disp-formula></p>
<p>The sum of <inline-formula id="ieqn-9"><mml:math id="mml-ieqn-9"><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>u</mml:mi><mml:mo>,</mml:mo><mml:mi>v</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula> and <inline-formula id="ieqn-10"><mml:math id="mml-ieqn-10"><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:mi>r</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>u</mml:mi><mml:mo>,</mml:mo><mml:mi>v</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula> results in <inline-formula id="ieqn-11"><mml:math id="mml-ieqn-11"><mml:mi>Z</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>u</mml:mi><mml:mo>,</mml:mo><mml:mi>v</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula>, allowing the filter to operate independently on the illumination and reflectance components. To return to the spatial domain, an inverse Fourier transform is applied as given in <xref ref-type="disp-formula" rid="eqn-6">Eq. (6)</xref>.</p>
<p><disp-formula id="eqn-6">
<label>(6)</label>
<mml:math id="mml-eqn-6" display="block"><mml:mi>s</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msup><mml:mi>T</mml:mi><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mrow><mml:mo>{</mml:mo><mml:mi>S</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>}</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msup><mml:mi>T</mml:mi><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mo fence="false" stretchy="false">{</mml:mo><mml:mi>H</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:msub><mml:mi>m</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo fence="false" stretchy="false">}</mml:mo><mml:mo>+</mml:mo><mml:msup><mml:mi>T</mml:mi><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mo fence="false" stretchy="false">{</mml:mo><mml:mi>H</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:msub><mml:mi>m</mml:mi><mml:mrow><mml:mi>r</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo fence="false" stretchy="false">}</mml:mo></mml:math></disp-formula></p>
<p>Finally, the filtered image <inline-formula id="ieqn-12"><mml:math id="mml-ieqn-12"><mml:msub><mml:mrow><mml:mover><mml:mi>I</mml:mi><mml:mo>&#x00B4;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula> can be obtained by performing an exponential operation as shown in <xref ref-type="disp-formula" rid="eqn-7">Eq. (7)</xref>.</p>
<p><disp-formula id="eqn-7">
<label>(7)</label>
<mml:math id="mml-eqn-7" display="block"><mml:msub><mml:mrow><mml:mover><mml:mi>I</mml:mi><mml:mo>&#x00B4;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:msup><mml:mi>e</mml:mi><mml:mrow><mml:mrow><mml:mtext>s</mml:mtext></mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mtext>x</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>y</mml:mtext></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msup></mml:math></disp-formula></p>
<p>The high pass filter used in this procedure is typically the Butterworth filter or the Gaussian filter. The Butterworth filter can be defined in <xref ref-type="disp-formula" rid="eqn-8">Eq. (8)</xref>.</p>
<p><disp-formula id="eqn-8">
<label>(8)</label>
<mml:math id="mml-eqn-8" display="block"><mml:mi>H</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>g</mml:mi><mml:mrow><mml:mi>H</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>g</mml:mi><mml:mrow><mml:mi>L</mml:mi></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:msup><mml:mrow><mml:mo>[</mml:mo><mml:mfrac><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mi>D</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mfrac><mml:mo>]</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>m</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:mfrac><mml:mo>+</mml:mo><mml:msub><mml:mi>g</mml:mi><mml:mrow><mml:mi>L</mml:mi></mml:mrow></mml:msub></mml:math></disp-formula></p>
<p>where the order of the filter is defined by n in the Butterworth filter equation. The values of the parameters <inline-formula id="ieqn-14"><mml:math id="mml-ieqn-14"><mml:msub><mml:mi>g</mml:mi><mml:mrow><mml:mi>H</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula id="ieqn-15"><mml:math id="mml-ieqn-15"><mml:msub><mml:mi>g</mml:mi><mml:mrow><mml:mi>L</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> are selected in such a way that <inline-formula id="ieqn-16"><mml:math id="mml-ieqn-16"><mml:msub><mml:mi>g</mml:mi><mml:mrow><mml:mi>L</mml:mi></mml:mrow></mml:msub><mml:mo>&#x003C;</mml:mo><mml:mn>1</mml:mn></mml:math></inline-formula> and <inline-formula id="ieqn-17"><mml:math id="mml-ieqn-17"><mml:msub><mml:mi>g</mml:mi><mml:mrow><mml:mi>H</mml:mi></mml:mrow></mml:msub><mml:mo>&#x003E;</mml:mo><mml:mn>1</mml:mn></mml:math></inline-formula>, which results in the filter function reducing the contribution made by low frequencies and enhancing the contribution made by high frequencies. The cutoff distance from the center is denoted by <inline-formula id="ieqn-18"><mml:math id="mml-ieqn-18"><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula id="ieqn-19"><mml:math id="mml-ieqn-19"><mml:mi>D</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula> is calculated as in <xref ref-type="disp-formula" rid="eqn-9">Eq. (9)</xref>.</p>
<p><disp-formula id="eqn-9">
<label>(9)</label>
<mml:math id="mml-eqn-9" display="block"><mml:mi>D</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mo stretchy="false">[</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>R</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mn>2</mml:mn><mml:msup><mml:mo stretchy="false">)</mml:mo><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mo>+</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>y</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>C</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mn>2</mml:mn><mml:msup><mml:mo stretchy="false">)</mml:mo><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:msup><mml:mo stretchy="false">]</mml:mo><mml:mrow><mml:mn>0.5</mml:mn></mml:mrow></mml:msup></mml:math></disp-formula>where <inline-formula id="ieqn-20"><mml:math id="mml-ieqn-20"><mml:mi>R</mml:mi></mml:math></inline-formula> and <inline-formula id="ieqn-21"><mml:math id="mml-ieqn-21"><mml:mi>C</mml:mi></mml:math></inline-formula> represent accordingly the number of rows and columns in the corresponding image. The Gaussian filter is described in <xref ref-type="disp-formula" rid="eqn-10">Eq. (10)</xref>.</p>
<p><disp-formula id="eqn-10">
<label>(10)</label>
<mml:math id="mml-eqn-10" display="block"><mml:mtable rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>H</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>g</mml:mi><mml:mrow><mml:mi>H</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>g</mml:mi><mml:mrow><mml:mi>L</mml:mi></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x2212;</mml:mo><mml:msup><mml:mi>e</mml:mi><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mi>n</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mfrac><mml:mrow><mml:msup><mml:mi>D</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:msubsup><mml:mi>D</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:mfrac><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mo>]</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:msub><mml:mi>g</mml:mi><mml:mrow><mml:mi>L</mml:mi></mml:mrow></mml:msub></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>where the constant <italic>n</italic> is introduced to control the slope of the filter function and determine its sharpness.</p>
</sec>
<sec id="s3_2">
<label>3.2</label>
<title>Edge Detection-Based Feature Extraction Technique</title>
<p>It is revealed that taking the difference between neighboring pixels in the analysis of the Taylor series can provide an estimate of the derivative at a given point. While considering the variation, the points of an image are separated through the gradient (represented by <inline-formula id="ieqn-22"><mml:math id="mml-ieqn-22"><mml:msub><mml:mi mathvariant="normal">&#x2207;</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>), and the extension of the Taylor-like <inline-formula id="ieqn-23"><mml:math id="mml-ieqn-23"><mml:mi>f</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>+</mml:mo><mml:msub><mml:mi mathvariant="normal">&#x2207;</mml:mi><mml:mrow><mml:mi>x</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula> is given in <xref ref-type="disp-formula" rid="eqn-11">Eq. (11)</xref>.</p>
<p><disp-formula id="eqn-11">
<label>(11)</label>
<mml:math id="mml-eqn-11" display="block"><mml:mi>f</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">&#x2207;</mml:mi><mml:mi>x</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>f</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:mi mathvariant="normal">&#x2207;</mml:mi><mml:mi>x</mml:mi><mml:mo>&#x00D7;</mml:mo><mml:mrow><mml:mover><mml:mi>f</mml:mi><mml:mo>&#x00B4;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:mfrac><mml:mrow><mml:mi mathvariant="normal">&#x2207;</mml:mi><mml:msup><mml:mi>x</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mo>!</mml:mo></mml:mrow></mml:mfrac><mml:mo>&#x00D7;</mml:mo><mml:msup><mml:mi>f</mml:mi><mml:mrow><mml:msup><mml:mi></mml:mi><mml:mo>&#x2033;</mml:mo></mml:msup></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:mi>R</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">&#x2207;</mml:mi><mml:msup><mml:mi>x</mml:mi><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msup><mml:mo stretchy="false">)</mml:mo></mml:math></disp-formula></p>
<p>Substituting the term <inline-formula id="ieqn-24"><mml:math id="mml-ieqn-24"><mml:mi>f</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is presented in <xref ref-type="disp-formula" rid="eqn-12">Eq. (12)</xref>.</p>
<p><disp-formula id="eqn-12">
<label>(12)</label>
<mml:math id="mml-eqn-12" display="block"><mml:mi>f</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mi>f</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">&#x2207;</mml:mi><mml:mi>x</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mi>f</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi mathvariant="normal">&#x2207;</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:mfrac><mml:mo>&#x2212;</mml:mo><mml:mi>R</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">&#x2207;</mml:mi><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></disp-formula></p>
<p>The aforementioned observations signify the differences among adjacent pixels, which provide an estimate of the first-order derivative with an accompanying error term <italic>R</italic>(<italic>&#x2207;</italic><sub><italic>x</italic></sub>) that depends on the magnitude of <italic>&#x2207;</italic><sub><italic>x</italic></sub> and the complexity of the edge. A high value of <italic>&#x2207;</italic><sub><italic>x</italic></sub> may result in a higher error. This assumption is considered appropriate for fast feature point selection and the compression of high-frequency content during training. Specifically, this involves computing the first-order difference between two adjacent pixels along the horizontal axis, such as <inline-formula id="ieqn-25"><mml:math id="mml-ieqn-25"><mml:msub><mml:mrow><mml:mtext>E</mml:mtext></mml:mrow><mml:mrow><mml:mi>g</mml:mi></mml:mrow></mml:msub><mml:mi>i</mml:mi><mml:mi>i</mml:mi></mml:math></inline-formula>, as expressed in <xref ref-type="disp-formula" rid="eqn-13">Eq. (13)</xref>.</p>
<p><disp-formula id="eqn-13">
<label>(13)</label>
<mml:math id="mml-eqn-13" display="block"><mml:mtable columnalign="right left right left right left right left right left right left" rowspacing="3pt" columnspacing="0em 2em 0em 2em 0em 2em 0em 2em 0em 2em 0em" displaystyle="true"><mml:mtr><mml:mtd><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mi>g</mml:mi></mml:mrow></mml:msub><mml:mi>i</mml:mi><mml:msub><mml:mi>i</mml:mi><mml:mrow><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:msub></mml:mtd><mml:mtd><mml:mi></mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mi>g</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>i</mml:mi><mml:mrow><mml:mi>x</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mi>g</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>i</mml:mi><mml:mrow><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:msub></mml:mtd></mml:mtr><mml:mtr><mml:mtd /><mml:mtd><mml:mi></mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi>&#x03C1;</mml:mi><mml:mrow><mml:mi>x</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>&#x03C1;</mml:mi><mml:mrow><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>&#x03C1;</mml:mi><mml:mrow><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>&#x03C1;</mml:mi><mml:mrow><mml:mi>x</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:msub></mml:mtd></mml:mtr><mml:mtr><mml:mtd /><mml:mtd><mml:mi></mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi>&#x03C1;</mml:mi><mml:mrow><mml:mi>x</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>&#x03C1;</mml:mi><mml:mrow><mml:mi>x</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:msub></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>which is equivalent to participating space to observe the edges <inline-formula id="ieqn-26"><mml:math id="mml-ieqn-26"><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mi>g</mml:mi></mml:mrow></mml:msub><mml:mi>i</mml:mi><mml:mi>i</mml:mi></mml:math></inline-formula> as presented in <xref ref-type="disp-formula" rid="eqn-14">Eq. (14)</xref>:</p>
<p><disp-formula id="eqn-14">
<label>(14)</label>
<mml:math id="mml-eqn-14" display="block"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mi>g</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mi>i</mml:mi><mml:msub><mml:mi>i</mml:mi><mml:mrow><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:msub><mml:mi>&#x03C1;</mml:mi><mml:mrow><mml:mi>x</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>&#x03C1;</mml:mi><mml:mrow><mml:mi>x</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mspace width="1em" /><mml:mi mathvariant="normal">&#x2200;</mml:mi><mml:mi>x</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mn>2</mml:mn><mml:mo>,</mml:mo><mml:mi>N</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mi>N</mml:mi></mml:math></disp-formula></p>
<p>Moreover, to assess the series of the Taylor, <inline-formula id="ieqn-27"><mml:math id="mml-ieqn-27"><mml:mi>f</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi mathvariant="normal">&#x2207;</mml:mi><mml:mi>x</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> has been extended in <xref ref-type="disp-formula" rid="eqn-15">Eq. (15)</xref>.</p>
<p><disp-formula id="eqn-15">
<label>(15)</label>
<mml:math id="mml-eqn-15" display="block"><mml:mi>f</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi mathvariant="normal">&#x2207;</mml:mi><mml:mi>x</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>f</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mi mathvariant="normal">&#x2207;</mml:mi><mml:mi>x</mml:mi><mml:mo>&#x00D7;</mml:mo><mml:mrow><mml:mover><mml:mi>f</mml:mi><mml:mo>&#x00B4;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:mfrac><mml:mrow><mml:mi mathvariant="normal">&#x2207;</mml:mi><mml:msup><mml:mi>x</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mo>!</mml:mo></mml:mrow></mml:mfrac><mml:mo>&#x00D7;</mml:mo><mml:msup><mml:mi>f</mml:mi><mml:mrow><mml:msup><mml:mi></mml:mi><mml:mo>&#x2033;</mml:mo></mml:msup></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mi>R</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">&#x2207;</mml:mi><mml:msup><mml:mi>x</mml:mi><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msup><mml:mo stretchy="false">)</mml:mo></mml:math></disp-formula></p>
<p>Combining <xref ref-type="disp-formula" rid="eqn-1">Eqs. (1)</xref> and <xref ref-type="disp-formula" rid="eqn-5">(5)</xref> to obtain <xref ref-type="disp-formula" rid="eqn-16">Eq. (16)</xref>.</p>
<p><disp-formula id="eqn-16">
<label>(16)</label>
<mml:math id="mml-eqn-16" display="block"><mml:mrow><mml:mover><mml:mi>f</mml:mi><mml:mo>&#x00B4;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mi>f</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">&#x2207;</mml:mi><mml:mi>x</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mi>f</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi mathvariant="normal">&#x2207;</mml:mi><mml:mi>x</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi mathvariant="normal">&#x2207;</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:mfrac><mml:mo>&#x2212;</mml:mo><mml:mi>R</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">&#x2207;</mml:mi><mml:msup><mml:mi>x</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo stretchy="false">)</mml:mo></mml:math></disp-formula></p>
<p><xref ref-type="disp-formula" rid="eqn-6">Eq. (6)</xref> suggests the approximation among the image pixels separated by one point accompanied by <inline-formula id="ieqn-28"><mml:math id="mml-ieqn-28"><mml:mi>Q</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">&#x2207;</mml:mi><mml:msup><mml:mi>i</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula>. If <inline-formula id="ieqn-29"><mml:math id="mml-ieqn-29"><mml:mi mathvariant="normal">&#x2207;</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x003C;</mml:mo><mml:mn>1</mml:mn></mml:math></inline-formula> that is significantly lower than the combined fault of one-on-one image pixels (like depicted in <xref ref-type="disp-formula" rid="eqn-6">Eq. (6)</xref>), it might be exploited for noise lessening using <xref ref-type="disp-formula" rid="eqn-17">Eq. (17)</xref>.</p>
<p><disp-formula id="eqn-17">
<label>(17)</label>
<mml:math id="mml-eqn-17" display="block"><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mrow><mml:msub><mml:mi>g</mml:mi><mml:mrow><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>m</mml:mi><mml:mi>a</mml:mi><mml:mi>x</mml:mi><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mo>|</mml:mo><mml:msup><mml:mi>K</mml:mi><mml:mrow><mml:mo>+</mml:mo></mml:mrow></mml:msup><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mi>&#x03C1;</mml:mi><mml:mrow><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:msub><mml:mo>|</mml:mo></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mo>|</mml:mo><mml:msup><mml:mi>K</mml:mi><mml:mrow><mml:mo>&#x2212;</mml:mo></mml:mrow></mml:msup><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mi>&#x03C1;</mml:mi><mml:mrow><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:msub><mml:mo>|</mml:mo></mml:mrow><mml:mo>}</mml:mo></mml:mrow><mml:mi mathvariant="normal">&#x2200;</mml:mi><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mi>N</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:math></disp-formula></p>
<p>During the implementation of edge detection, the distance M between the vector and the direction of the edges is measured. The patterns that provide the peak value during convolution are then kept as the values of an edge at corresponding pixels. This highest value of the pixel like <inline-formula id="ieqn-30"><mml:math id="mml-ieqn-30"><mml:msub><mml:mrow><mml:mtext>E</mml:mtext></mml:mrow><mml:mrow><mml:mi>g</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula> is obtained from the two image pattern convolutions at point <inline-formula id="ieqn-31"><mml:math id="mml-ieqn-31"><mml:mi>&#x03C1;</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula>. The other approach considers the maximum value to simply sum the results of the two patterns to generate edge vectors on respectively x-axis and y-axis. These two patterns are considered facilitating mechanisms that might detect different kinds of edges. Edge detection is used to differentiate between different features by detecting variations that may be due to noise and step-like differences in image intensity. Hence, practically, it includes averaging in the edge detection process. The horizontal (<inline-formula id="ieqn-32"><mml:math id="mml-ieqn-32"><mml:msub><mml:mrow><mml:mtext>K</mml:mtext></mml:mrow><mml:mrow><mml:mi>x</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>) and vertical (<inline-formula id="ieqn-33"><mml:math id="mml-ieqn-33"><mml:msub><mml:mrow><mml:mtext>K</mml:mtext></mml:mrow><mml:mrow><mml:mi>y</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>) templates can be spread with their corresponding rows and columns, to deliver certain results: the illumination on each axis and the size of the edge. The angle <inline-formula id="ieqn-34"><mml:math id="mml-ieqn-34"><mml:mi>&#x03C6;</mml:mi></mml:math></inline-formula> of the vector is described as in <xref ref-type="disp-formula" rid="eqn-18">Eqs. (18)</xref> and <xref ref-type="disp-formula" rid="eqn-19">(19)</xref>, respectively.</p>
<p><disp-formula id="eqn-18">
<label>(18)</label>
<mml:math id="mml-eqn-18" display="block"><mml:mi>K</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:msqrt><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi>x</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:msup><mml:mo stretchy="false">)</mml:mo><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo>+</mml:mo><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi>y</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:msup><mml:mo stretchy="false">)</mml:mo><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:msqrt></mml:math></disp-formula></p>
<p><disp-formula id="eqn-19">
<label>(19)</label>
<mml:math id="mml-eqn-19" display="block"><mml:mi>&#x03C6;</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mi>t</mml:mi><mml:mi>a</mml:mi><mml:msup><mml:mi>n</mml:mi><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi>x</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi>y</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mfrac><mml:mo>)</mml:mo></mml:mrow></mml:math></disp-formula></p>
<p>The distance <inline-formula id="ieqn-35"><mml:math id="mml-ieqn-35"><mml:mi>K</mml:mi></mml:math></inline-formula> among the direction of the edges and vector can be determined by utilizing <inline-formula id="ieqn-36"><mml:math id="mml-ieqn-36"><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi>x</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula id="ieqn-37"><mml:math id="mml-ieqn-37"><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi>y</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>. The proposed technique exploits the Sobel filter that outperforms other contemporary operators such as the gradient filter and also considers optimal averaging measures and alterations. In this approach, two windows are utilized that provide respectively two coefficient sets of triangle forms, as shown in <xref ref-type="fig" rid="fig-2">Fig. 2</xref>.</p>
<fig id="fig-2">
<label>Figure 2</label>
<caption>
<title>(a) shows the filter of the pascal triangle for addition; while (b) presents the filter of the pascal triangle for subtraction using a group of coefficients</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CSSE_42110-fig-2.tif"/>
</fig>
<p>In <xref ref-type="fig" rid="fig-2">Fig. 2a</xref>, the rows display the coefficients that are enlarged for the filter which further represents an optimum discrete sharpening operator. The sharpening coefficients in the Sobel operator are 3 &#x00D7; 3 in size. <xref ref-type="fig" rid="fig-2">Fig. 2b</xref> presents the coefficients of the Pascal triangle that are employed for subtraction. These coefficients can be obtained by subtracting the patterns inherited from the extension of one-on-one correspondence for the size of a minor mask. Hence, a filter is needed which delivers the coefficients of the Pascal triangle used for the parameters of the filter like the size <inline-formula id="ieqn-38"><mml:math id="mml-ieqn-38"><mml:mi>&#x03C1;</mml:mi></mml:math></inline-formula> and position <inline-formula id="ieqn-39"><mml:math id="mml-ieqn-39"><mml:mrow><mml:mi mathvariant="normal">&#x03B2;</mml:mi></mml:mrow></mml:math></inline-formula>. This filter is known as <inline-formula id="ieqn-40"><mml:math id="mml-ieqn-40"><mml:mrow><mml:mi>P</mml:mi><mml:mi>a</mml:mi><mml:mi>s</mml:mi><mml:mi>c</mml:mi><mml:mi>a</mml:mi><mml:mi>l</mml:mi></mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi mathvariant="normal">&#x03B2;</mml:mi></mml:mrow><mml:mo>,</mml:mo><mml:mi>&#x03C1;</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula>, which is demonstrated in <xref ref-type="disp-formula" rid="eqn-20">Eq. (20)</xref>.</p>
<p><disp-formula id="eqn-20">
<label>(20)</label>
<mml:math id="mml-eqn-20" display="block"><mml:mrow><mml:mi>P</mml:mi><mml:mi>a</mml:mi><mml:mi>s</mml:mi><mml:mi>c</mml:mi><mml:mi>a</mml:mi><mml:mi>l</mml:mi></mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi mathvariant="normal">&#x03B2;</mml:mi></mml:mrow><mml:mo>,</mml:mo><mml:mi>&#x03C1;</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mrow><mml:mo>|</mml:mo><mml:mtable columnalign="center left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mfrac><mml:mrow><mml:mi>&#x03C1;</mml:mi><mml:mo>!</mml:mo></mml:mrow><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mi>&#x03C1;</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mrow><mml:mi mathvariant="normal">&#x03B2;</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>!</mml:mo><mml:mo>&#x00D7;</mml:mo><mml:mrow><mml:mi mathvariant="normal">&#x03B2;</mml:mi></mml:mrow><mml:mo>!</mml:mo></mml:mrow></mml:mfrac></mml:mtd><mml:mtd><mml:mi>i</mml:mi><mml:mi>f</mml:mi><mml:mtext>&#x00A0;</mml:mtext><mml:mrow><mml:mo>(</mml:mo><mml:mn>0</mml:mn><mml:mo>&#x2264;</mml:mo><mml:mrow><mml:mi mathvariant="normal">&#x03B2;</mml:mi></mml:mrow><mml:mo>&#x2264;</mml:mo><mml:mi>&#x03C1;</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn>0</mml:mn></mml:mtd><mml:mtd><mml:mrow><mml:mrow><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:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo fence="true" stretchy="true" symmetric="true"></mml:mo></mml:mrow></mml:math></disp-formula></p>
<p>For the measurement of edges, there are four opportunities for measurement presented by the Sobel operator, as given in <xref ref-type="fig" rid="fig-3">Fig. 3</xref>.</p>
<fig id="fig-3">
<label>Figure 3</label>
<caption>
<title>Measurement of the direction of the edges; (a) shows (<italic>K</italic><sub><italic>x</italic></sub>, <italic>K</italic><sub><italic>y</italic></sub>), (b) presents (&#x2013;<italic>K</italic><sub><italic>x</italic></sub>, <italic>K</italic><sub><italic>y</italic></sub>), (c) describes (<italic>K</italic><sub><italic>y</italic></sub>, <italic>K</italic><sub><italic>x</italic></sub>), and (d) is (&#x2013;<italic>K</italic><sub><italic>y</italic></sub>, &#x2013;<italic>K</italic><sub><italic>x</italic></sub>)</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CSSE_42110-fig-3.tif"/>
</fig>
<p><xref ref-type="fig" rid="fig-3">Fig. 3</xref> illustrates that the retrogressive pattern of <italic>K</italic><sub><italic>x</italic></sub> does not stipulate the discontinuity at the corners, it means that the edge magnitude using the Sobel filter is not presented by the square, but it is similar to those filters that were generated from the application of other filters. If the patterns of the Sobel operator are changed, then the edge directions of measurement can be organized by itself. However, if the corresponding edges are required to be found, then the rearrangement may help in constructing the algorithm to find the target. Once the entire edges along with their respective directions are identified, the whole details are kept in a feature vector form that can be used in logistic regression for identifying different kinds of weed images.</p>
</sec>
<sec id="s3_3">
<label>3.3</label>
<title>Identification of Weeds Images Using Logistic Regression</title>
<p>Logistic regression is widely used in linear models for the classification of various images. This model utilizes a logistic function to model the likelihood of potential results in a single trial. This model may be binomial or multinomial, and it can be regularized with <italic>r</italic><sub><italic>1</italic></sub>, <italic>r</italic><sub><italic>2</italic></sub>, or Elastic-Net. For binary class <italic>r</italic><sub><italic>2</italic></sub> regularized logistic regression, the optimization problem seeks to minimize the cost function of <xref ref-type="disp-formula" rid="eqn-21">Eq. (21)</xref>.</p>
<p><disp-formula id="eqn-21">
<label>(21)</label>
<mml:math id="mml-eqn-21" display="block"><mml:munder><mml:mo movablelimits="true" form="prefix">min</mml:mo><mml:mrow><mml:mi>m</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:munder><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac><mml:msup><mml:mi>m</mml:mi><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msup><mml:mi>m</mml:mi><mml:mo>+</mml:mo><mml:mi>N</mml:mi><mml:msubsup><mml:mo movablelimits="false">&#x2211;</mml:mo><mml:mrow><mml:mi>x</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mi>l</mml:mi><mml:mi>n</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>e</mml:mi><mml:mi>x</mml:mi><mml:mi>p</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>j</mml:mi><mml:mrow><mml:mi>x</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:msubsup><mml:mi>I</mml:mi><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msubsup><mml:mi>m</mml:mi><mml:mo>+</mml:mo><mml:mi>n</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:math></disp-formula></p>
<p>Likewise, <italic>r</italic><sub><italic>1</italic></sub> is the normalized logistic regression which enhances the function of <xref ref-type="disp-formula" rid="eqn-22">Eq. (22)</xref>.</p>
<p><disp-formula id="eqn-22">
<label>(22)</label>
<mml:math id="mml-eqn-22" display="block"><mml:munder><mml:mo movablelimits="true" form="prefix">min</mml:mo><mml:mrow><mml:mi>m</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:munder><mml:msub><mml:mrow><mml:mo symmetric="true">&#x2016;</mml:mo><mml:mi>m</mml:mi><mml:mo symmetric="true">&#x2016;</mml:mo></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:mi>N</mml:mi><mml:msubsup><mml:mo movablelimits="false">&#x2211;</mml:mo><mml:mrow><mml:mi>x</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mi>l</mml:mi><mml:mi>n</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>e</mml:mi><mml:mi>x</mml:mi><mml:mi>p</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>j</mml:mi><mml:mrow><mml:mi>x</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:msubsup><mml:mi>I</mml:mi><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msubsup><mml:mi>m</mml:mi><mml:mo>+</mml:mo><mml:mi>n</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:math></disp-formula></p>
<p>The normalization of Elastic-Net is the integration of <italic>r</italic><sub><italic>1</italic></sub> and <italic>r</italic><sub><italic>2</italic></sub> that decreases the function of <xref ref-type="disp-formula" rid="eqn-23">Eq. (23)</xref>.</p>
<p><disp-formula id="eqn-23">
<label>(23)</label>
<mml:math id="mml-eqn-23" display="block"><mml:munder><mml:mo movablelimits="true" form="prefix">min</mml:mo><mml:mrow><mml:mi>m</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:munder><mml:mfrac><mml:mrow><mml:mn>1</mml:mn><mml:mo>&#x2212;</mml:mo><mml:mi mathvariant="normal">&#x03A6;</mml:mi></mml:mrow><mml:mn>2</mml:mn></mml:mfrac><mml:mspace width="thinmathspace" /><mml:msup><mml:mi>m</mml:mi><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msup><mml:mi>m</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">&#x03A6;</mml:mi><mml:msub><mml:mrow><mml:mo symmetric="true">&#x2016;</mml:mo><mml:mi>m</mml:mi><mml:mo symmetric="true">&#x2016;</mml:mo></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:mi>N</mml:mi><mml:msubsup><mml:mo movablelimits="false">&#x2211;</mml:mo><mml:mrow><mml:mi>x</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mi>l</mml:mi><mml:mi>n</mml:mi></mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>e</mml:mi><mml:mi>x</mml:mi><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>j</mml:mi><mml:mrow><mml:mi>x</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:msubsup><mml:mi>I</mml:mi><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msubsup><mml:mi>m</mml:mi><mml:mo>+</mml:mo><mml:mi>n</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>)</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false">)</mml:mo></mml:math></disp-formula>where <inline-formula id="ieqn-41"><mml:math id="mml-ieqn-41"><mml:mi mathvariant="normal">&#x03A6;</mml:mi></mml:math></inline-formula> controls the comparative magnitude of <italic>r</italic><sub>1</sub> regulation <italic>vs</italic>. <italic>r</italic><sub>2</sub> regulation. It should be noted that, according to this representation, the target variable <inline-formula id="ieqn-42"><mml:math id="mml-ieqn-42"><mml:msub><mml:mi>j</mml:mi><mml:mrow><mml:mi>x</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is assumed to take the values from the range of [&#x2212;1, 1] during trial <italic>x</italic>. Furthermore, when &#x03C1; &#x003D; 1, the Elastic-Net can be shown to be equivalent to <italic>r</italic><sub>1</sub>, and when &#x03C1; &#x003D; 0, it can be shown to be equivalent to <italic>r</italic><sub>2</sub>. For a more thorough explanation of logistic regression, please refer to [<xref ref-type="bibr" rid="ref-34">34</xref>].</p>
</sec>
</sec>
<sec id="s4">
<label>4</label>
<title>Methodology Evaluation</title>
<p>The proposed approach has been assessed under the following settings.</p>
<sec id="s4_1">
<label>4.1</label>
<title>Weed Images Dataset</title>
<p>The dataset used in this study consisted of 3000 (.jpg files) images that were respectively divided into three classes broads, narrow weeds, and mixed weeds. The images were taken in real agricultural farms against various naturalistic scenarios such as morning, noon, afternoon, and evening times on sunny days, cloudy days, and rainy days. Most of these pictures were taken in different farms of the Swat valley, Pakistan. Moreover, the images were taken at different angles. While collecting the images, the camera has flexible positions to produce robustness in the dataset. The images were manually annotated and taken through a Cannon 800D RGB camera. For a fair comparison, the size of the entire image is normalized to 340 &#x00D7; 280. The sample images for the three categories against different conditions are respectively presented in <xref ref-type="fig" rid="fig-4">Fig. 4</xref>.</p>
<fig id="fig-4">
<label>Figure 4</label>
<caption>
<title>Sample images of the broad, narrow, and mixed weeds in various environmental conditions</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CSSE_42110-fig-4.tif"/>
</fig>
</sec>
<sec id="s4_2">
<label>4.2</label>
<title>Experiments Arrangements</title>
<p>The proposed model has been assessed against the following comprehensive set of experiments. The entire experiments are performed in MATLAB under the presence of a 3.7 GHz processor and 8 GB RAM using offline lab settings.
<list list-type="bullet">
<list-item>
<p>The first experiment describes the significance of the proposed approach against the state-of-the-art dataset under the setting of a <italic>k</italic>-fold cross-validation scheme. In our case, the value for <italic>k</italic> &#x003D; 10.</p></list-item>
<list-item>
<p>The second experiment prescribes the strength of the developed approach in the systems of weed classification. In this experiment, a comprehensive set of sub-experiments is performed using various types of classifiers instead of employing the proposed technique.</p></list-item>
<list-item>
<p>The last experiment indicates the comparison results of the proposed technique along with the latest existing works under the exact situations as presented in their particular research. Moreover, in this experiment, the significance of the developed model along with the existing works are evaluated based on various evaluation indicators.</p></list-item>
</list></p>
</sec>
</sec>
<sec id="s5">
<label>5</label>
<title>Experimental Results</title>
<p>The comprehensive set of experiments are prescribed in the following order.</p>
<sec id="s5_1">
<label>5.1</label>
<title>Assessment of the First Experiment</title>
<p>The first experiment shows the performance of the developed technique against the state-of-the-art weed images dataset. The overall accuracy of classification is presented in <xref ref-type="fig" rid="fig-5">Fig. 5</xref> and <xref ref-type="table" rid="table-1">Table 1</xref>.</p>
<fig id="fig-5">
<label>Figure 5</label>
<caption>
<title>Accuracy of the proposed approach against weed images dataset</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CSSE_42110-fig-5.tif"/>
</fig><table-wrap id="table-1">
<label>Table 1</label>
<caption>
<title>The overall weed classification results of the proposed technique using the weeds image dataset</title>
</caption>
<table frame="hsides">
<colgroup>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
</colgroup>
<thead>
<tr>
<th></th>
<th align="center" colspan="4">Classification rates (%)</th>
</tr>
</thead>
<tbody>
<tr>
<td rowspan="5">Proposed approach</td>
<td></td>
<td>Broad</td>
<td>Narrow</td>
<td>Mix</td>
</tr>
<tr>
<td>Broad</td>
<td><bold>98.6</bold></td>
<td>0</td>
<td>1.4</td>
</tr>
<tr>
<td>Narrow</td>
<td>0.9</td>
<td><bold>99.1</bold></td>
<td>0</td>
</tr>
<tr>
<td>Mix</td>
<td>0.9</td>
<td>1.2</td>
<td><bold>97.9</bold></td>
</tr>
<tr>
<td>Average</td>
<td align="center" colspan="3"><bold>98.5</bold></td>
</tr>
</tbody>
</table>
</table-wrap>
<p>The results presented in <xref ref-type="fig" rid="fig-5">Fig. 5</xref> and <xref ref-type="table" rid="table-1">Table 1</xref> demonstrate that the proposed approach achieved a significantly high classification accuracy when tested against the weed images dataset. This high performance is attributed to the calculation of edge directions in the presence of non-maximum suppression. Furthermore, when processing weed images, some edges might appear as a step function, in which case, the proposed approach may outperform other operators.</p>

</sec>
<sec id="s5_2">
<label>5.2</label>
<title>Assessment of the Second Experiment</title>
<p>The significance of the developed approach in the weeds classification system is presented in the second experiment. In this experiment, the existing state-of-the-art feature extraction methods such as partial least squares, speeded-up robust features, semidefinite embedding, wrapper method, independent component analysis, gray texture features, latent semantic analysis, fusion feature, local binary pattern, curvelet transform are utilized instead of employing the proposed edge detection method. The over result is described in <xref ref-type="fig" rid="fig-6">Fig. 6</xref> and <xref ref-type="table" rid="table-2">Table 2</xref>.</p>
<fig id="fig-6">
<label>Figure 6</label>
<caption>
<title>Accuracy of the system using existing famous methods instead of utilizing the developed approach on weed images dataset</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CSSE_42110-fig-6.tif"/>
</fig><table-wrap id="table-2">
<label>Table 2</label>
<caption>
<title>The overall result of the weed identification system in the absence of the proposed feature extraction method against state-of-the-art weed images dataset</title>
</caption>
<table frame="hsides">
<colgroup>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
</colgroup>
<thead>
<tr>
<th>Well-known feature extraction methods</th>
<th style="background:#FFFFFF;" align="center" colspan="4">Classification rates (%)</th>
</tr>
</thead>
<tbody>
<tr>
<td rowspan="4">Speeded up robust features (SURF)</td>
<td></td>
<td>Broad</td>
<td>Narrow</td>
<td>Mix</td>
</tr>
<tr>
<td>Broad</td>
<td><bold>82</bold></td>
<td>8</td>
<td>10</td>
</tr>
<tr>
<td>Narrow</td>
<td>5</td>
<td><bold>85</bold></td>
<td>10</td>
</tr>
<tr>
<td>Mix</td>
<td>12</td>
<td>8</td>
<td><bold>80</bold></td>
</tr>
<tr>
<td rowspan="4">Gray texture features (GTF)</td>
<td></td>
<td>Broad</td>
<td>Narrow</td>
<td>Mix</td>
</tr>
<tr>
<td>Broad</td>
<td><bold>75</bold></td>
<td>10</td>
<td>15</td>
</tr>
<tr>
<td>Narrow</td>
<td>11</td>
<td><bold>77</bold></td>
<td>12</td>
</tr>
<tr>
<td>Mix</td>
<td>10</td>
<td>11</td>
<td><bold>81</bold></td>
</tr>
<tr>
<td rowspan="4">Wrapper method (WM)</td>
<td></td>
<td>Broad</td>
<td>Narrow</td>
<td>Mix</td>
</tr>
<tr>
<td>Broad</td>
<td><bold>88</bold></td>
<td>6</td>
<td>6</td>
</tr>
<tr>
<td>Narrow</td>
<td>5</td>
<td><bold>85</bold></td>
<td>10</td>
</tr>
<tr>
<td>Mix</td>
<td>7</td>
<td>3</td>
<td><bold>90</bold></td>
</tr>
<tr>
<td rowspan="4">Feature fusion (FF)</td>
<td></td>
<td>Broad</td>
<td>Narrow</td>
<td>Mix</td>
</tr>
<tr>
<td>Broad</td>
<td><bold>76</bold></td>
<td>9</td>
<td>15</td>
</tr>
<tr>
<td>Narrow</td>
<td>10</td>
<td><bold>79</bold></td>
<td>11</td>
</tr>
<tr>
<td>Mix</td>
<td>9</td>
<td>8</td>
<td><bold>83</bold></td>
</tr>
<tr>
<td rowspan="4">Latent semantic analysis (LSA)</td>
<td></td>
<td>Broad</td>
<td>Narrow</td>
<td>Mix</td>
</tr>
<tr>
<td>Broad</td>
<td><bold>85</bold></td>
<td>7</td>
<td>8</td>
</tr>
<tr>
<td>Narrow</td>
<td>0</td>
<td><bold>91</bold></td>
<td>9</td>
</tr>
<tr>
<td>Mix</td>
<td>8</td>
<td>12</td>
<td><bold>80</bold></td>
</tr>
<tr>
<td rowspan="4">Partial least squares (PLS)</td>
<td></td>
<td>Broad</td>
<td>Narrow</td>
<td>Mix</td>
</tr>
<tr>
<td>Broad</td>
<td><bold>71</bold></td>
<td>14</td>
<td>15</td>
</tr>
<tr>
<td>Narrow</td>
<td>10</td>
<td><bold>79</bold></td>
<td>11</td>
</tr>
<tr>
<td>Mix</td>
<td>10</td>
<td>15</td>
<td><bold>75</bold></td>
</tr>
<tr>
<td rowspan="4">Semidefinite embedding (SE)</td>
<td></td>
<td>Broad</td>
<td>Narrow</td>
<td>Mix</td>
</tr>
<tr>
<td>Broad</td>
<td><bold>88</bold></td>
<td>5</td>
<td>7</td>
</tr>
<tr>
<td>Narrow</td>
<td>2</td>
<td><bold>92</bold></td>
<td>6</td>
</tr>
<tr>
<td>Mix</td>
<td>6</td>
<td>5</td>
<td><bold>89</bold></td>
</tr>
<tr>
<td rowspan="4">Independent component analysis (ICA)</td>
<td></td>
<td>Broad</td>
<td>Narrow</td>
<td>Mix</td>
</tr>
<tr>
<td>Broad</td>
<td><bold>87</bold></td>
<td>6</td>
<td>7</td>
</tr>
<tr>
<td>Narrow</td>
<td>7</td>
<td><bold>90</bold></td>
<td>3</td>
</tr>
<tr>
<td>Mix</td>
<td>4</td>
<td>8</td>
<td><bold>88</bold></td>
</tr>
<tr>
<td rowspan="4">Local binary pattern (LBP)</td>
<td></td>
<td>Broad</td>
<td>Narrow</td>
<td>Mix</td>
</tr>
<tr>
<td>Broad</td>
<td><bold>91</bold></td>
<td>4</td>
<td>5</td>
</tr>
<tr>
<td>Narrow</td>
<td>8</td>
<td><bold>89</bold></td>
<td>3</td>
</tr>
<tr>
<td>Mix</td>
<td>7</td>
<td>3</td>
<td><bold>90</bold></td>
</tr>
<tr>
<td rowspan="4">Curvelet transform (CT)</td>
<td></td>
<td>Broad</td>
<td>Narrow</td>
<td>Mix</td>
</tr>
<tr>
<td>Broad</td>
<td><bold>86</bold></td>
<td>7</td>
<td>7</td>
</tr>
<tr>
<td>Narrow</td>
<td>5</td>
<td><bold>89</bold></td>
<td>6</td>
</tr>
<tr>
<td>Mix</td>
<td>4</td>
<td>6</td>
<td><bold>90</bold></td>
</tr>
</tbody>
</table>
</table-wrap>
<p>The results presented in <xref ref-type="fig" rid="fig-6">Fig. 6</xref> and <xref ref-type="table" rid="table-2">Table 2</xref> indicate that the system did not achieve the highest accuracy of classification with the existing famous methods. However, the proposed feature extraction technique demonstrated significant accuracy. This can be attributed to the fact that the developed model computes the edge directions using non-maximum conquest, providing the profits in terms of simplicity, modularity, and potential for extension to other kind of features. Typically, it is beneficial to excerpt additional subordinate details in terms of features when detecting edges.</p>

</sec>
<sec id="s5_3">
<label>5.3</label>
<title>Comparison</title>
<p>The accuracy of classification for the developed technique is compared against state-of-the-art systems in the last experiment. The existing systems are implemented under the exact settings as presented in their particular research. In this comparison, some systems are implemented; while the implementations for some of the systems were borrowed. The overall comparison results along with corresponding elapse times are respectively prescribed in <xref ref-type="fig" rid="fig-7">Fig. 7</xref> and <xref ref-type="table" rid="table-3">Table 3</xref>.</p>
<fig id="fig-7">
<label>Figure 7</label>
<caption>
<title>Comparison of the developed approach along with the latest existing systems using the weed images dataset</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CSSE_42110-fig-7.tif"/>
</fig><table-wrap id="table-3">
<label>Table 3</label>
<caption>
<title>The overall comparison of the proposed approach against state-of-the-art using weed images dataset</title>
</caption>
<table frame="hsides" >
<colgroup>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
</colgroup>
<thead>
<tr>
<th>State-of-the-art systems</th>
<th style="background:#FFFFFF;" align="center" colspan="4">Classification rates (%)</th>
<th>Elapsed time (ms)</th>
</tr>
</thead>
<tbody>
<tr>
<td rowspan="5"> <bold>[<xref ref-type="bibr" rid="ref-28">28</xref>]</bold></td>
<td></td>
<td>Broad</td>
<td>Narrow</td>
<td>Mix</td>
<td rowspan="5">662</td>
</tr>
<tr>
<td>Broad</td>
<td><bold>91</bold></td>
<td>3</td>
<td>6</td>
</tr>
<tr>
<td>Narrow</td>
<td>7</td>
<td><bold>88</bold></td>
<td>5</td>
</tr>
<tr>
<td>Mix</td>
<td>2</td>
<td>8</td>
<td><bold>90</bold></td>
</tr>
<tr>
<td><bold>Average</bold></td>
<td align="center" colspan="3"><bold>89.6</bold></td>
</tr>
<tr>
<td rowspan="5"> <bold>[<xref ref-type="bibr" rid="ref-29">29</xref>]</bold></td>
<td></td>
<td>Broad</td>
<td>Narrow</td>
<td>Mix</td>
<td rowspan="5">701</td>
</tr>
<tr>
<td>Broad</td>
<td><bold>85</bold></td>
<td>8</td>
<td>7</td>
</tr>
<tr>
<td>Narrow</td>
<td>8</td>
<td><bold>83</bold></td>
<td>9</td>
</tr>
<tr>
<td>Mix</td>
<td>4</td>
<td>9</td>
<td><bold>87</bold></td>
</tr>
<tr>
<td><bold>Average</bold></td>
<td align="center" colspan="3"><bold>85.0</bold></td>
</tr>
<tr>
<td rowspan="5"> <bold>[<xref ref-type="bibr" rid="ref-30">30</xref>]</bold></td>
<td></td>
<td>Broad</td>
<td>Narrow</td>
<td>Mix</td>
<td rowspan="5">981</td>
</tr>
<tr>
<td>Broad</td>
<td><bold>88</bold></td>
<td>7</td>
<td>5</td>
</tr>
<tr>
<td>Narrow</td>
<td>10</td>
<td><bold>81</bold></td>
<td>9</td>
</tr>
<tr>
<td>Mix</td>
<td>7</td>
<td>10</td>
<td><bold>83</bold></td>
</tr>
<tr>
<td><bold>Average</bold></td>
<td align="center" colspan="3"><bold>84.0</bold></td>
</tr>
<tr>
<td rowspan="5"> <bold>[<xref ref-type="bibr" rid="ref-31">31</xref>]</bold></td>
<td></td>
<td>Broad</td>
<td>Narrow</td>
<td>Mix</td>
<td rowspan="5">210</td>
</tr>
<tr>
<td>Broad</td>
<td><bold>86</bold></td>
<td>8</td>
<td>6</td>
</tr>
<tr>
<td>Narrow</td>
<td>8</td>
<td><bold>82</bold></td>
<td>10</td>
</tr>
<tr>
<td>Mix</td>
<td>6</td>
<td>3</td>
<td><bold>91</bold></td>
</tr>
<tr>
<td><bold>Average</bold></td>
<td align="center" colspan="3"><bold>86.3</bold></td>
</tr>
<tr>
<td rowspan="5"> <bold>[<xref ref-type="bibr" rid="ref-32">32</xref>]</bold></td>
<td></td>
<td>Broad</td>
<td>Narrow</td>
<td>Mix</td>
<td rowspan="5">480</td>
</tr>
<tr>
<td>Broad</td>
<td><bold>90</bold></td>
<td>3</td>
<td>7</td>
</tr>
<tr>
<td>Narrow</td>
<td>0</td>
<td><bold>93</bold></td>
<td>7</td>
</tr>
<tr>
<td>Mix</td>
<td>9</td>
<td>0</td>
<td><bold>91</bold></td>
</tr>
<tr>
<td><bold>Average</bold></td>
<td align="center" colspan="3"><bold>91.3</bold></td>
</tr>
<tr>
<td rowspan="5"> <bold>[<xref ref-type="bibr" rid="ref-33">33</xref>]</bold></td>
<td></td>
<td>Broad</td>
<td>Narrow</td>
<td>Mix</td>
<td rowspan="5">561</td>
</tr>
<tr>
<td>Broad</td>
<td><bold>92</bold></td>
<td>0</td>
<td>8</td>
</tr>
<tr>
<td>Narrow</td>
<td>0</td>
<td><bold>93</bold></td>
<td>7</td>
</tr>
<tr>
<td>Mix</td>
<td>4</td>
<td>7</td>
<td><bold>89</bold></td>
</tr>
<tr>
<td><bold>Average</bold></td>
<td align="center" colspan="3"><bold>91.3</bold></td>
</tr>
<tr>
<td rowspan="5"><bold>Proposed approach</bold></td>
<td></td>
<td>Broad</td>
<td>Narrow</td>
<td>Mix</td>
<td rowspan="5">250</td>
</tr>
<tr>
<td>Broad</td>
<td><bold>98.6</bold></td>
<td>0</td>
<td>1.4</td>
</tr>
<tr>
<td>Narrow</td>
<td>0.9</td>
<td><bold>99.1</bold></td>
<td>0</td>
</tr>
<tr>
<td>Mix</td>
<td>0.9</td>
<td>1.2</td>
<td><bold>97.9</bold></td>
</tr>
<tr>
<td><bold>Average</bold></td>
<td align="center" colspan="3"><bold>98.5</bold></td>
</tr>
</tbody>
</table>
</table-wrap>
<p>As illustrated in <xref ref-type="fig" rid="fig-7">Fig. 7</xref> and <xref ref-type="table" rid="table-3">Table 3</xref>, in comparison, the developed approach attained the best accuracy of classification on the weed images dataset as demonstrated. Also, comparatively, this algorithm showed the best efficiency rate during the identification of various weeds. This can be attributed to the proposed method&#x2019;s ability to process weed images, where certain edges may be verified as a footstep function, and our technique may outperform other operators such as gradient operators. The relevant details are extracted to generate a feature vector that is further given to a classifier for weed identification.</p>

</sec>
<sec id="s5_4">
<label>5.4</label>
<title>Evaluation Results Against Various Indicators</title>
<p>Furthermore, the proposed approach together with the existing works is assessed by various evaluation indicators like accuracy (as shown in <xref ref-type="disp-formula" rid="eqn-24">Eq. (24)</xref>), Precision (as shown in <xref ref-type="disp-formula" rid="eqn-25">Eq. (25)</xref>), Recall (as presented in <xref ref-type="disp-formula" rid="eqn-26">Eq. (26)</xref>), and <italic>F</italic><sub><italic>1</italic></sub>-score (as shown in <xref ref-type="disp-formula" rid="eqn-29">Eq. (29)</xref>). For evaluation, the below formulas are respectively utilized.</p>
<p><disp-formula id="eqn-24">
<label>(24)</label>
<mml:math id="mml-eqn-24" display="block"><mml:mrow><mml:mi>A</mml:mi><mml:mi>c</mml:mi><mml:mi>c</mml:mi><mml:mi>u</mml:mi><mml:mi>r</mml:mi><mml:mi>a</mml:mi><mml:mi>c</mml:mi><mml:mi>y</mml:mi></mml:mrow><mml:mtext>&#xA0;</mml:mtext><mml:mo stretchy="false">(</mml:mo><mml:mi>A</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mi>o</mml:mi><mml:mi>s</mml:mi><mml:mi>i</mml:mi><mml:mi>t</mml:mi><mml:mi>i</mml:mi><mml:mi>v</mml:mi><mml:mi>e</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mi>e</mml:mi><mml:mi>g</mml:mi><mml:mi>a</mml:mi><mml:mi>t</mml:mi><mml:mi>i</mml:mi><mml:mi>v</mml:mi><mml:mi>e</mml:mi></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mi>o</mml:mi><mml:mi>s</mml:mi><mml:mi>i</mml:mi><mml:mi>t</mml:mi><mml:mi>i</mml:mi><mml:mi>v</mml:mi><mml:mi>e</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mi>e</mml:mi><mml:mi>g</mml:mi><mml:mi>a</mml:mi><mml:mi>t</mml:mi><mml:mi>i</mml:mi><mml:mi>v</mml:mi><mml:mi>e</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mi>o</mml:mi><mml:mi>s</mml:mi><mml:mi>i</mml:mi><mml:mi>t</mml:mi><mml:mi>i</mml:mi><mml:mi>v</mml:mi><mml:mi>e</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mi>e</mml:mi><mml:mi>g</mml:mi><mml:mi>a</mml:mi><mml:mi>t</mml:mi><mml:mi>i</mml:mi><mml:mi>v</mml:mi><mml:mi>e</mml:mi></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:math></disp-formula></p>
<p><disp-formula id="eqn-25">
<label>(25)</label>
<mml:math id="mml-eqn-25" display="block"><mml:mrow><mml:mi>P</mml:mi><mml:mi>r</mml:mi><mml:mi>e</mml:mi><mml:mi>c</mml:mi><mml:mi>i</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:mtext>&#xA0;</mml:mtext><mml:mo stretchy="false">(</mml:mo><mml:mi>P</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mi>o</mml:mi><mml:mi>s</mml:mi><mml:mi>i</mml:mi><mml:mi>t</mml:mi><mml:mi>i</mml:mi><mml:mi>v</mml:mi><mml:mi>e</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mi>o</mml:mi><mml:mi>s</mml:mi><mml:mi>i</mml:mi><mml:mi>t</mml:mi><mml:mi>i</mml:mi><mml:mi>v</mml:mi><mml:mi>e</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mi>o</mml:mi><mml:mi>s</mml:mi><mml:mi>i</mml:mi><mml:mi>t</mml:mi><mml:mi>i</mml:mi><mml:mi>v</mml:mi><mml:mi>e</mml:mi></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:math></disp-formula></p>
<p><disp-formula id="eqn-26">
<label>(26)</label>
<mml:math id="mml-eqn-26" display="block"><mml:mrow><mml:mi>R</mml:mi><mml:mi>e</mml:mi><mml:mi>c</mml:mi><mml:mi>a</mml:mi><mml:mi>l</mml:mi><mml:mi>l</mml:mi></mml:mrow><mml:mtext>&#xA0;</mml:mtext><mml:mo stretchy="false">(</mml:mo><mml:mi>R</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mi>o</mml:mi><mml:mi>s</mml:mi><mml:mi>i</mml:mi><mml:mi>t</mml:mi><mml:mi>i</mml:mi><mml:mi>v</mml:mi><mml:mi>e</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mi>o</mml:mi><mml:mi>s</mml:mi><mml:mi>i</mml:mi><mml:mi>t</mml:mi><mml:mi>i</mml:mi><mml:mi>v</mml:mi><mml:mi>e</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mi>e</mml:mi><mml:mi>g</mml:mi><mml:mi>a</mml:mi><mml:mi>t</mml:mi><mml:mi>i</mml:mi><mml:mi>v</mml:mi><mml:mi>e</mml:mi></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:math></disp-formula></p>
<p>The average precision (<inline-formula id="ieqn-43"><mml:math id="mml-ieqn-43"><mml:msub><mml:mi>A</mml:mi><mml:mrow><mml:mi>P</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>) and average recall (<inline-formula id="ieqn-44"><mml:math id="mml-ieqn-44"><mml:msub><mml:mi>A</mml:mi><mml:mrow><mml:mi>R</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>) are respectively calculated in <xref ref-type="disp-formula" rid="eqn-27">Eqs. (27)</xref> and <xref ref-type="disp-formula" rid="eqn-28">(28)</xref>.</p>
<p><disp-formula id="eqn-27">
<label>(27)</label>
<mml:math id="mml-eqn-27" display="block"><mml:mrow><mml:mi>A</mml:mi><mml:mi>v</mml:mi><mml:mi>e</mml:mi><mml:mi>r</mml:mi><mml:mi>a</mml:mi><mml:mi>g</mml:mi><mml:mi>e</mml:mi></mml:mrow><mml:mtext>&#xA0;</mml:mtext><mml:mrow><mml:mi>P</mml:mi><mml:mi>r</mml:mi><mml:mi>e</mml:mi><mml:mi>c</mml:mi><mml:mi>i</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:mtext>&#xA0;</mml:mtext><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>A</mml:mi><mml:mrow><mml:mi>P</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mi>P</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>B</mml:mi><mml:mi>r</mml:mi><mml:mi>o</mml:mi><mml:mi>a</mml:mi><mml:mi>d</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:mi>P</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>N</mml:mi><mml:mi>a</mml:mi><mml:mi>r</mml:mi><mml:mi>r</mml:mi><mml:mi>o</mml:mi><mml:mi>w</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:mi>P</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>M</mml:mi><mml:mi>i</mml:mi><mml:mi>x</mml:mi><mml:mi>e</mml:mi><mml:mi>d</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mn>3</mml:mn></mml:mfrac></mml:math></disp-formula></p>
<p><disp-formula id="eqn-28">
<label>(28)</label>
<mml:math id="mml-eqn-28" display="block"><mml:mrow><mml:mi>A</mml:mi><mml:mi>v</mml:mi><mml:mi>e</mml:mi><mml:mi>r</mml:mi><mml:mi>a</mml:mi><mml:mi>g</mml:mi><mml:mi>e</mml:mi></mml:mrow><mml:mtext>&#xA0;</mml:mtext><mml:mrow><mml:mi>R</mml:mi><mml:mi>e</mml:mi><mml:mi>c</mml:mi><mml:mi>a</mml:mi><mml:mi>l</mml:mi><mml:mi>l</mml:mi></mml:mrow><mml:mtext>&#xA0;</mml:mtext><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>A</mml:mi><mml:mrow><mml:mi>R</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mi>R</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>B</mml:mi><mml:mi>r</mml:mi><mml:mi>o</mml:mi><mml:mi>a</mml:mi><mml:mi>d</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:mi>R</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>N</mml:mi><mml:mi>a</mml:mi><mml:mi>r</mml:mi><mml:mi>r</mml:mi><mml:mi>o</mml:mi><mml:mi>w</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:mi>R</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>M</mml:mi><mml:mi>i</mml:mi><mml:mi>x</mml:mi><mml:mi>e</mml:mi><mml:mi>d</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mn>3</mml:mn></mml:mfrac></mml:math></disp-formula></p>
<p>The mean of <inline-formula id="ieqn-45"><mml:math id="mml-ieqn-45"><mml:msub><mml:mi>A</mml:mi><mml:mrow><mml:mi>P</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> indicates the mean of the average precision and <inline-formula id="ieqn-46"><mml:math id="mml-ieqn-46"><mml:msub><mml:mi>A</mml:mi><mml:mrow><mml:mi>R</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> represents the average recall of all classes in the respective dataset.</p>
<p><disp-formula id="eqn-29">
<label>(29)</label>
<mml:math id="mml-eqn-29" display="block"><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mi>s</mml:mi><mml:mi>c</mml:mi><mml:mi>o</mml:mi><mml:mi>r</mml:mi><mml:mi>e</mml:mi></mml:mrow><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>2</mml:mn><mml:mo>&#x00D7;</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>A</mml:mi><mml:mrow><mml:mi>P</mml:mi></mml:mrow></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mi>A</mml:mi><mml:mrow><mml:mi>R</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mrow><mml:msub><mml:mi>A</mml:mi><mml:mrow><mml:mi>P</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>A</mml:mi><mml:mrow><mml:mi>R</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mo>&#x00D7;</mml:mo><mml:mn>100</mml:mn><mml:mi mathvariant="normal">&#x0025;</mml:mi></mml:math></disp-formula></p>
<p>The entire assessment results of the proposed approach along with the existing works against the abovementioned evaluation indicators are respectively shown in <xref ref-type="table" rid="table-4">Table 4</xref>.</p>
<table-wrap id="table-4">
<label>Table 4</label>
<caption>
<title>The performance comparison of the proposed approach along with existing works against the abovementioned evaluation indicators</title>
</caption>
<table frame="hsides">
<colgroup>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
</colgroup>
<thead>
<tr>
<th>Published methods</th>
<th>Accuracy (%)</th>
<th>Precision (%)</th>
<th>Recall (%)</th>
<th><inline-formula id="ieqn-47"><mml:math id="mml-ieqn-47"><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>-score</th>
<th>Average misclassification (%)</th>
</tr>
</thead>
<tbody>
<tr>
<td>[<xref ref-type="bibr" rid="ref-28">28</xref>]</td>
<td>89.6</td>
<td>81</td>
<td>91</td>
<td>0.86</td>
<td>10.4</td>
</tr>
<tr>
<td>[<xref ref-type="bibr" rid="ref-29">29</xref>]</td>
<td>85.0</td>
<td>75</td>
<td>87</td>
<td>0.80</td>
<td>15.0</td>
</tr>
<tr>
<td>[<xref ref-type="bibr" rid="ref-30">30</xref>]</td>
<td>84.0</td>
<td>77</td>
<td>85</td>
<td>0.81</td>
<td>16.0</td>
</tr>
<tr>
<td>[<xref ref-type="bibr" rid="ref-31">31</xref>]</td>
<td>86.3</td>
<td>79</td>
<td>87</td>
<td>0.83</td>
<td>15.7</td>
</tr>
<tr>
<td>[<xref ref-type="bibr" rid="ref-32">32</xref>]</td>
<td>91.3</td>
<td>83</td>
<td>83</td>
<td>0.83</td>
<td>8.7</td>
</tr>
<tr>
<td>[<xref ref-type="bibr" rid="ref-33">33</xref>]</td>
<td>91.3</td>
<td>85</td>
<td>92</td>
<td>0.88</td>
<td>8.7</td>
</tr>
<tr>
<td><bold>Proposed approach</bold></td>
<td><bold>98.2</bold></td>
<td><bold>95</bold></td>
<td><bold>99</bold></td>
<td><bold>0.97</bold></td>
<td><bold>1.8</bold></td>
</tr>
</tbody>
</table>
</table-wrap>
<p>As illustrated in <xref ref-type="table" rid="table-4">Table 4</xref> that the proposed approach along with the existing works has been assessed against various evaluation indicators. Hence, it is proved that the proposed approach showed significant performance compared to existing work.</p>

</sec>
<sec id="s5_5">
<label>5.5</label>
<title>Discussion</title>
<p>As described before, the proposed technique has been tested and validated using the naturalistic dataset of weed. The dataset contains three kinds of classes such as broad, narrow, and mixed respectively against various weather conditions like morning time, afternoon, and evening at sunny days, cloudy days, and rainy days. The proposed approach showed a significant recognition rate compared to state-of-the-art research (as shown in <xref ref-type="fig" rid="fig-5">Fig. 5</xref> and <xref ref-type="table" rid="table-1">Table 1</xref>). This is because the developed feature extraction technique computes the edge directions while accounting for non-maximum suppression. This method has several benefits, including its ease of use and ability to extend to other types of features. Typically, subordinate details in the term of features are extracted to identify weeds, and additional techniques for detecting cultured weeds are utilized if necessary. In the processing of weed images, certain edges may be verified as a footstep function, and our technique may outperform other operators such as gradient operators.</p>

<p>Furthermore, the weed classification was tested against various kinds of existing well-known feature extraction methods; however, at this stage, the proposed feature extraction method is removed for the experiments (as shown in <xref ref-type="fig" rid="fig-6">Fig. 6</xref> and <xref ref-type="table" rid="table-2">Table 2</xref>). Hence, it is proved that the weed classification system is unable to achieve best accuracy of classification without the proposed feature extraction method. Similarly, the accuracy of classification of the developed method is compared against existing works (as shown in <xref ref-type="fig" rid="fig-7">Fig. 7</xref> and <xref ref-type="table" rid="table-3">Table 3</xref>), which illustrates that the proposed approach is accurate and robust against the naturalistic weed images dataset.</p>

<p>Likewise, the proposed approach along with the existing works are assessed by various evaluation indicators such as precision, recall, and <italic>F</italic><sub><italic>1</italic></sub>-score (as shown in <xref ref-type="table" rid="table-4">Table 4</xref>). As can be seen that the proposed approach provides better results against precision and recall compared with existing systems.</p>

<p>The accuracy (as shown in <xref ref-type="disp-formula" rid="eqn-24">Eq. (24)</xref>) presents the ratio of examples across all the categories which were accurately classified. However, it does not offer the facts that how the approach is performing across every category of weeds. The averaged precision (as presented in <xref ref-type="disp-formula" rid="eqn-27">Eq. (27)</xref>) indicates the ratio of accurate categorization beyond the whole predictions made for the corresponding weed category. On the other hand, the recall (as described in <xref ref-type="disp-formula" rid="eqn-28">Eq. (28)</xref>) presents the ratio of accurate categorization beyond the total ground truth for the corresponding weed category. Commonly, the suitable level of significance for the above-mentioned metrics fluctuates depending upon the research domain.</p>
</sec>
</sec>
<sec id="s6">
<label>6</label>
<title>Conclusions</title>
<p>Weed harms crops because it competes with them for resources like water, light, nutrients, and space. This results in lower crop yields and less effective use of machinery. There are various spraying techniques that are related to these herbicide treatments, such as selective spraying, spot spraying, or intermittent spraying. Therefore, in this study, an adaptive system is developed for the analysis of various kinds of weeds.</p>
<p>In this system, a Homomorphic filter is employed to address environmental factors such as lighting effects and noise. The Homomorphic filter normalizes the brightness across the image while simultaneously enhancing the contrast. The image presented a challenge due to improper illumination, which makes it difficult to separate illumination and reflectance. However, it is possible to locate their approximate positions in the frequency domain. Since illumination and reflectance combine multiplicatively, the logarithm of the image intensity is considered to make their components additive. This allows the multiplicative components of the image to be separated linearly in the frequency domain. Illumination variations can be considered as a form of multiplicative noise that can be reduced by filtering in the log domain. Additionally, an adaptive feature extraction method is designed for weed classification systems. The proposed approach involves calculating the edge directions under the presence of non-maximum suppression. The advantage of this method lies in its simplicity, which relies on straightforward procedures, and its versatility in extracting other types of features. Typically, when identifying weeds, it is useful to excerpt additional subordinate details in terms of features, and to obtain the appropriate information, an additional process for detecting cultured weeds is either used or discarded. Moreover, the entire weed image dataset contains features known as sludge, which can be observed using different kinds of operators used for edge extraction, even in the presence of noise. The hysteresis thresholding is utilized to generate the feature vectors in the developed technique, with the manual selection of thresholds for optimal performance. The elementary factors in this method effectively respond to noise, making it difficult to select a threshold that reveals a significant part of the sludge borderline. However, this approach enhances the production of the SNR and the uppermost percentage of separation and localization. Furthermore, when processing weed images, some edges might appear as a step function, in which case, the proposed approach may outperform other operators. Relevant details are extracted to generate the feature vectors that further are given to the classifier for weed identification. The performance of the proposed edge-based feature extraction method is evaluated on the weed dataset and attained the best accuracy of classification compared to state-of-the-art systems.</p>
<p>In future work, our aim is to further improve and apply the proposed methodology in real-world agricultural fields to maintain the same level of accuracy and ease better crop management for farmers.</p>
</sec>
</body>
<back>
<ack>
<p>The authors would like to lengthen their thanks to Jouf University to support this work.</p>
</ack>
<sec><title>Funding Statement</title>
<p>The authors extend their appreciation to the Deputyship for Research &#x0026; Innovation, Ministry of Education in Saudi Arabia for funding this research work through the Project Number: 223202, Y. A.</p>
</sec>
<sec><title>Author Contributions</title>
<p>The authors confirm contribution to the paper as follows: study conception and design: Y. Alhwaiti, M. H. Siddiqi; data collection: I. Ahmad; analysis and interpretation of results: M. H. Siddiqi, I. Ahmad; draft manuscript preparation: M. H. Siddiqi. All authors reviewed the results and approved the final version of the manuscript.</p>
</sec>
<sec sec-type="data-availability"><title>Availability of Data and Materials</title>
<p>The data used for this study and simulation will be provided on demand.</p>
</sec>
<sec sec-type="COI-statement"><title>Conflicts of Interest</title>
<p>The authors declare that they have no conflicts of interest to report regarding the present study.</p>
</sec>
<ref-list content-type="authoryear">
<title>References</title>
<ref id="ref-1"><label>[1]</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name><given-names>N. P.</given-names> <surname>Daggupati</surname></string-name></person-group>, &#x201C;<article-title>Assessment of the varitarget nozzle for variable rate application of liquid crop protection products</article-title>,&#x201D; <comment>Ph.D. Dissertation, Department of Biological &#x0026; Agricultural Engineering, Kansas State University, Manhattan, KS 66506, United States</comment>, <year>2007</year>.</mixed-citation></ref>
<ref id="ref-2"><label>[2]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>J.</given-names> <surname>Bossu</surname></string-name>, <string-name><given-names>C.</given-names> <surname>G&#x00E9;e</surname></string-name>, <string-name><given-names>G.</given-names> <surname>Jones</surname></string-name> and <string-name><given-names>F.</given-names> <surname>Truchetet</surname></string-name></person-group>, &#x201C;<article-title>Wavelet transform to discriminate between crop and weed in perspective agronomic images</article-title>,&#x201D; <source>Computers and Electronics in Agriculture</source>, vol. <volume>65</volume>, no. <issue>1</issue>, pp. <fpage>133</fpage>&#x2013;<lpage>143</lpage>, <year>2009</year>.</mixed-citation></ref>
<ref id="ref-3"><label>[3]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>Y.</given-names> <surname>Chen</surname></string-name>, <string-name><given-names>P.</given-names> <surname>Lin</surname></string-name>, <string-name><given-names>Y.</given-names> <surname>He</surname></string-name> and <string-name><given-names>Z.</given-names> <surname>Xu</surname></string-name></person-group>, &#x201C;<article-title>Classification of broadleaf weed images using Gabor wavelets and Lie group structure of region covariance on Riemannian manifolds</article-title>,&#x201D; <source>Biosystems Engineering</source>, vol. <volume>109</volume>, no. <issue>3</issue>, pp. <fpage>220</fpage>&#x2013;<lpage>227</lpage>, <year>2011</year>.</mixed-citation></ref>
<ref id="ref-4"><label>[4]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>A.</given-names> <surname>Subeesh</surname></string-name>, <string-name><given-names>S.</given-names> <surname>Bhole</surname></string-name>, <string-name><given-names>K.</given-names> <surname>Singh</surname></string-name>, <string-name><given-names>N. S.</given-names> <surname>Chandel</surname></string-name>, <string-name><given-names>Y. A.</given-names> <surname>Rajwade</surname></string-name> <etal>et al.</etal></person-group><italic>,</italic> &#x201C;<article-title>Deep convolutional neural network models for weed detection in polyhouse grown bell peppers</article-title>,&#x201D; <source>Artificial Intelligence in Agriculture</source>, vol. <volume>6</volume>, pp. <fpage>47</fpage>&#x2013;<lpage>54</lpage>, <year>2022</year>.</mixed-citation></ref>
<ref id="ref-5"><label>[5]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>N.</given-names> <surname>Razfar</surname></string-name>, <string-name><given-names>J.</given-names> <surname>True</surname></string-name>, <string-name><given-names>R.</given-names> <surname>Bassiouny</surname></string-name>, <string-name><given-names>V.</given-names> <surname>Venkatesh</surname></string-name> and <string-name><given-names>R.</given-names> <surname>Kashef</surname></string-name></person-group>, &#x201C;<article-title>Weed detection in soybean crops using custom lightweight deep learning models</article-title>,&#x201D; <source>Journal of Agriculture and Food Research</source>, vol. <volume>8</volume>, pp. <fpage>100308</fpage>, <year>2022</year>.</mixed-citation></ref>
<ref id="ref-6"><label>[6]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>G. C.</given-names> <surname>Sunil</surname></string-name>, <string-name><given-names>Y.</given-names> <surname>Zhang</surname></string-name>, <string-name><given-names>C.</given-names> <surname>Koparan</surname></string-name>, <string-name><given-names>M. R.</given-names> <surname>Ahmed</surname></string-name>, <string-name><given-names>K.</given-names> <surname>Howatt</surname></string-name> <etal>et al.</etal></person-group><italic>,</italic> &#x201C;<article-title>Weed and crop species classification using computer vision and deep learning technologies in greenhouse conditions</article-title>,&#x201D; <source>Journal of Agriculture and Food Research</source>, vol. <volume>9</volume>, pp. <fpage>100325</fpage>, <year>2022</year>.</mixed-citation></ref>
<ref id="ref-7"><label>[7]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>A. M.</given-names> <surname>Hasan</surname></string-name>, <string-name><given-names>F.</given-names> <surname>Sohel</surname></string-name>, <string-name><given-names>D.</given-names> <surname>Diepeveen</surname></string-name>, <string-name><given-names>H.</given-names> <surname>Laga</surname></string-name> and <string-name><given-names>M. G.</given-names> <surname>Jones</surname></string-name></person-group>, &#x201C;<article-title>Weed recognition using deep learning techniques on class-imbalanced imagery</article-title>,&#x201D; <source>Crop and Pasture Science</source>, vol. <volume>74</volume>, no. <issue>6</issue>, pp. <fpage>1</fpage>&#x2013;<lpage>12</lpage>, <year>2022</year>.</mixed-citation></ref>
<ref id="ref-8"><label>[8]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>T.</given-names> <surname>Tao</surname></string-name> and <string-name><given-names>X.</given-names> <surname>Wei</surname></string-name></person-group>, &#x201C;<article-title>A hybrid CNN-SVM classifier for weed recognition in winter rape field</article-title>,&#x201D; <source>Plant Methods</source>, vol. <volume>18</volume>, no. <issue>1</issue>, pp. <fpage>29</fpage>, <year>2022</year>; <pub-id pub-id-type="pmid">35279179</pub-id></mixed-citation></ref>
<ref id="ref-9"><label>[9]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>F.</given-names> <surname>Arikan</surname></string-name>, <string-name><given-names>B. O. R. A.</given-names> <surname>&#x015E;ebnem</surname></string-name> and <string-name><given-names>U. G. U. R.</given-names> <surname>Aybars</surname></string-name></person-group>, &#x201C;<article-title>Weeds detection using deep learning methods and dataset balancing</article-title>,&#x201D; <source>International Journal of Multidisciplinary Studies and Innovative Technologies</source>, vol. <volume>6</volume>, no. <issue>1</issue>, pp. <fpage>19</fpage>&#x2013;<lpage>22</lpage>, <year>2022</year>.</mixed-citation></ref>
<ref id="ref-10"><label>[10]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><given-names>J.</given-names> <surname>Haichen</surname></string-name>, <string-name><given-names>C.</given-names> <surname>Qingrui</surname></string-name> and <string-name><given-names>G. L.</given-names> <surname>Zheng</surname></string-name></person-group>, &#x201C;<article-title>Weeds and crops classification using deep convolutional neural network</article-title>,&#x201D; in <conf-name>3rd Int. Conf. on Control and Computer Vision</conf-name>, <publisher-loc>Macau, China</publisher-loc>, pp. <fpage>40</fpage>&#x2013;<lpage>44</lpage>, <year>2022</year>.</mixed-citation></ref>
<ref id="ref-11"><label>[11]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>A.</given-names> <surname>Bouguettaya</surname></string-name>, <string-name><given-names>H.</given-names> <surname>Zarzour</surname></string-name>, <string-name><given-names>A.</given-names> <surname>Kechida</surname></string-name> and <string-name><given-names>A. M.</given-names> <surname>Taberkit</surname></string-name></person-group>, &#x201C;<article-title>Deep learning techniques to classify agricultural crops through UAV imagery: A review</article-title>,&#x201D; <source>Neural Computing and Applications</source>, vol. <volume>34</volume>, no. <issue>12</issue>, pp. <fpage>9511</fpage>&#x2013;<lpage>9536</lpage>, <year>2022</year>; <pub-id pub-id-type="pmid">35281624</pub-id></mixed-citation></ref>
<ref id="ref-12"><label>[12]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>M.</given-names> <surname>Vaidhehi</surname></string-name> and <string-name><given-names>C.</given-names> <surname>Malathy</surname></string-name></person-group>, &#x201C;<article-title>A unique model for weed and paddy detection using regional convolutional neural networks</article-title>,&#x201D; <source>Acta Agriculturae Scandinavica, Section B&#x2014;Soil &#x0026; Plant Science</source>, vol. <volume>72</volume>, no. <issue>1</issue>, pp. <fpage>463</fpage>&#x2013;<lpage>475</lpage>, <year>2022</year>.</mixed-citation></ref>
<ref id="ref-13"><label>[13]</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name><given-names>S. K.</given-names> <surname>Valicharla</surname></string-name></person-group>, &#x201C;<article-title>Weed recognition in agriculture: A mask R-CNN approach</article-title>,&#x201D; <comment>M.S. Thesis, Department of Computer Science and Electrical Engineering, West Virginia University, Morgantown, WV 26506, United States</comment>, <year>2021</year>.</mixed-citation></ref>
<ref id="ref-14"><label>[14]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>N.</given-names> <surname>Islam</surname></string-name>, <string-name><given-names>M. M.</given-names> <surname>Rashid</surname></string-name>, <string-name><given-names>S.</given-names> <surname>Wibowo</surname></string-name>, <string-name><given-names>C. Y.</given-names> <surname>Xu</surname></string-name>, <string-name><given-names>A.</given-names> <surname>Morshed</surname></string-name> <etal>et al.</etal></person-group><italic>,</italic> &#x201C;<article-title>Early weed detection using image processing and machine learning techniques in an Australian chilli farm</article-title>,&#x201D; <source>Agriculture</source>, vol. <volume>11</volume>, no. <issue>5</issue>, pp. <fpage>387</fpage>, <year>2021</year>.</mixed-citation></ref>
<ref id="ref-15"><label>[15]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>M. H.</given-names> <surname>Saleem</surname></string-name>, <string-name><given-names>J.</given-names> <surname>Potgieter</surname></string-name> and <string-name><given-names>K. M.</given-names> <surname>Arif</surname></string-name></person-group>, &#x201C;<article-title>Weed detection by faster RCNN model: An enhanced anchor box approach</article-title>,&#x201D; <source>Agronomy</source>, vol. <volume>12</volume>, no. <issue>7</issue>, pp. <fpage>1580</fpage>, <year>2022</year>.</mixed-citation></ref>
<ref id="ref-16"><label>[16]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>V.</given-names> <surname>Abhilash</surname></string-name></person-group>, &#x201C;<article-title>Weed detection using convolutional neural network</article-title>,&#x201D; <source>BOHR International Journal of Computer Science</source>, vol. <volume>1</volume>, no. <issue>1</issue>, pp. <fpage>46</fpage>&#x2013;<lpage>49</lpage>, <year>2022</year>.</mixed-citation></ref>
<ref id="ref-17"><label>[17]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>A. M.</given-names> <surname>Almalky</surname></string-name> and <string-name><given-names>K. P.</given-names> <surname>Ahmed</surname></string-name></person-group>, &#x201C;<article-title>Deep learning for detecting and classifying the growth stages of Consolida regalis weeds on fields</article-title>,&#x201D; <source>Agronomy</source>, vol. <volume>13</volume>, no. <issue>3</issue>, pp. <fpage>934</fpage>, <year>2023</year>.</mixed-citation></ref>
<ref id="ref-18"><label>[18]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>M. H.</given-names> <surname>Siddiqi</surname></string-name>, <string-name><given-names>S. W.</given-names> <surname>Lee</surname></string-name> and <string-name><given-names>A. M.</given-names> <surname>Khan</surname></string-name></person-group>, &#x201C;<article-title>Weed image classification using wavelet transform, stepwise linear discriminant analysis, and support vector machines for an automatic spray control system</article-title>,&#x201D; <source>Journal of Information Science &#x0026; Engineering</source>, vol. <volume>30</volume>, no. <issue>4</issue>, pp. <fpage>1253</fpage>&#x2013;<lpage>1270</lpage>, <year>2014</year>.</mixed-citation></ref>
<ref id="ref-19"><label>[19]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>A. X. P.</given-names> <surname>Burgos</surname></string-name>, <string-name><given-names>A.</given-names> <surname>Ribeiro</surname></string-name>, <string-name><given-names>M.</given-names> <surname>Guijarro</surname></string-name> and <string-name><given-names>G.</given-names> <surname>Pajares</surname></string-name></person-group>, &#x201C;<article-title>Real-time image processing for crop/weed discrimination in maize fields</article-title>,&#x201D; <source>Computers and Electronics in Agriculture</source>, vol. <volume>75</volume>, no. <issue>2</issue>, pp. <fpage>337</fpage>&#x2013;<lpage>346</lpage>, <year>2011</year>.</mixed-citation></ref>
<ref id="ref-20"><label>[20]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>A. A.</given-names> <surname>Nurhanna</surname></string-name> and <string-name><given-names>M. F.</given-names> <surname>Othman</surname></string-name></person-group>, &#x201C;<article-title>Multi-class support vector machine application in the field of agriculture and poultry: A review</article-title>,&#x201D; <source>Malaysian Journal of Mathematical Sciences</source>, vol. <volume>11</volume>, pp. <fpage>35</fpage>&#x2013;<lpage>52</lpage>, <year>2017</year>.</mixed-citation></ref>
<ref id="ref-21"><label>[21]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>B.</given-names> <surname>Urmashev</surname></string-name>, <string-name><given-names>Z.</given-names> <surname>Buribayev</surname></string-name>, <string-name><given-names>Z.</given-names> <surname>Amirgaliyeva</surname></string-name>, <string-name><given-names>A.</given-names> <surname>Ataniyazova</surname></string-name>, <string-name><given-names>M.</given-names> <surname>Zhassuzak</surname></string-name> <etal>et al.</etal></person-group><italic>,</italic> &#x201C;<article-title>Development of a weed detection system using machine learning and neural network algorithms</article-title>,&#x201D; <source>Eastern-European Journal of Enterprise Technologies</source>, vol. <volume>6</volume>, no. <issue>2</issue>, pp. <fpage>114</fpage>, <year>2021</year>.</mixed-citation></ref>
<ref id="ref-22"><label>[22]</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name><given-names>S.</given-names> <surname>Dridi</surname></string-name>, <string-name><given-names>V.</given-names> <surname>Machine</surname></string-name>, <string-name><given-names>D.</given-names> <surname>Tree</surname></string-name>, <string-name><given-names>R.</given-names> <surname>Forest</surname></string-name> and <string-name><given-names>L.</given-names> <surname>Regression</surname></string-name></person-group>, &#x201C;<article-title>Supervised learning&#x2014;A systematic literature review</article-title>,&#x201D; <year>2021</year>. [Online]. Available: <ext-link ext-link-type="uri" xlink:href="https://osf.io/tysr4">https://osf.io/tysr4</ext-link></mixed-citation></ref>
<ref id="ref-23"><label>[23]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>F. G.</given-names> <surname>M&#x00E1;rquez</surname></string-name>, <string-name><given-names>G.</given-names> <surname>Flores</surname></string-name>, <string-name><given-names>D. A. M.</given-names> <surname>Ravell</surname></string-name>, <string-name><given-names>A. R.</given-names> <surname>Pedraza</surname></string-name> and <string-name><given-names>L. M. V.</given-names> <surname>Coronado</surname></string-name></person-group>, &#x201C;<article-title>Weed classification from natural corn field-multi-plant images based on shallow and deep learning</article-title>,&#x201D; <source>Sensors</source>, vol. <volume>22</volume>, no. <issue>8</issue>, pp. <fpage>3021</fpage>, <year>2022</year>.</mixed-citation></ref>
<ref id="ref-24"><label>[24]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>A. M.</given-names> <surname>Mishra</surname></string-name>, <string-name><given-names>S.</given-names> <surname>Harnal</surname></string-name>, <string-name><given-names>K.</given-names> <surname>Mohiuddin</surname></string-name>, <string-name><given-names>V.</given-names> <surname>Gautam</surname></string-name>, <string-name><given-names>O. A.</given-names> <surname>Nasr</surname></string-name> <etal>et al.</etal></person-group><italic>,</italic> &#x201C;<article-title>A deep learning-based novel approach for weed growth estimation</article-title>,&#x201D; <source>Intelligent Automation &#x0026; Soft Computing</source>, vol. <volume>31</volume>, no. <issue>2</issue>, pp. <fpage>1157</fpage>&#x2013;<lpage>1172</lpage>, <year>2022</year>.</mixed-citation></ref>
<ref id="ref-25"><label>[25]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>R.</given-names> <surname>Gerhards</surname></string-name>, <string-name><given-names>D. A.</given-names> <surname>Sanchez</surname></string-name>, <string-name><given-names>P.</given-names> <surname>Hamouz</surname></string-name>, <string-name><given-names>G. G.</given-names> <surname>Peteinatos</surname></string-name>, <string-name><given-names>S.</given-names> <surname>Christensen</surname></string-name> <etal>et al.</etal></person-group><italic>,</italic> &#x201C;<article-title>Advances in site-specific weed management in agriculture&#x2014;A review</article-title>,&#x201D; <source>Weed Research</source>, vol. <volume>62</volume>, no. <issue>2</issue>, pp. <fpage>123</fpage>&#x2013;<lpage>133</lpage>, <year>2022</year>.</mixed-citation></ref>
<ref id="ref-26"><label>[26]</label><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><given-names>S.</given-names> <surname>Arif</surname></string-name>, <string-name><given-names>R.</given-names> <surname>Kumar</surname></string-name>, <string-name><given-names>S.</given-names> <surname>Abbasi</surname></string-name>, <string-name><given-names>K.</given-names> <surname>Mohammadani</surname></string-name> and <string-name><given-names>K.</given-names> <surname>Dev</surname></string-name></person-group>, <source>Weeds Detection and Classification Using Convolutional Long-Short-Term Memory</source>. <publisher-loc>Durham, NC, USA</publisher-loc>: <publisher-name>Research Square</publisher-name>, <year>2021</year>.</mixed-citation></ref>
<ref id="ref-27"><label>[27]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>S. T.</given-names> <surname>Namin</surname></string-name>, <string-name><given-names>M.</given-names> <surname>Esmaeilzadeh</surname></string-name>, <string-name><given-names>M.</given-names> <surname>Najafi</surname></string-name>, <string-name><given-names>T. B.</given-names> <surname>Brown</surname></string-name> and <string-name><given-names>J. O.</given-names> <surname>Borevitz</surname></string-name></person-group>, &#x201C;<article-title>Deep phenotyping: Deep learning for temporal phenotype/genotype classification</article-title>,&#x201D; <source>Plant Methods</source>, vol. <volume>14</volume>, no. <issue>1</issue>, pp. <fpage>1</fpage>&#x2013;<lpage>14</lpage>, <year>2018</year>.</mixed-citation></ref>
<ref id="ref-28"><label>[28]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>P.</given-names> <surname>Wang</surname></string-name>, <string-name><given-names>Y.</given-names> <surname>Tang</surname></string-name>, <string-name><given-names>F.</given-names> <surname>Luo</surname></string-name>, <string-name><given-names>L.</given-names> <surname>Wang</surname></string-name>, <string-name><given-names>C.</given-names> <surname>Li</surname></string-name> <etal>et al.</etal></person-group><italic>,</italic> &#x201C;<article-title>Weed25: A deep learning dataset for weed identification</article-title>,&#x201D; <source>Frontiers in Plant Science</source>, vol. <volume>13</volume>, pp. <fpage>1</fpage>&#x2013;<lpage>14</lpage>, <year>2022</year>.</mixed-citation></ref>
<ref id="ref-29"><label>[29]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>R.</given-names> <surname>Punithavathi</surname></string-name>, <string-name><given-names>A. D. C.</given-names> <surname>Rani</surname></string-name>, <string-name><given-names>K. R.</given-names> <surname>Sughashini</surname></string-name>, <string-name><given-names>C.</given-names> <surname>Kurangi</surname></string-name>, <string-name><given-names>M.</given-names> <surname>Nirmala</surname></string-name> <etal>et al.</etal></person-group><italic>,</italic> &#x201C;<article-title>Computer vision and deep learning-enabled weed detection model for precision agriculture</article-title>,&#x201D; <source>Computer Systems Science and Engineering</source>, vol. <volume>44</volume>, no. <issue>3</issue>, pp. <fpage>2759</fpage>&#x2013;<lpage>2774</lpage>, <year>2023</year>.</mixed-citation></ref>
<ref id="ref-30"><label>[30]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>T.</given-names> <surname>Luo</surname></string-name>, <string-name><given-names>J.</given-names> <surname>Zhao</surname></string-name>, <string-name><given-names>Y.</given-names> <surname>Gu</surname></string-name>, <string-name><given-names>S.</given-names> <surname>Zhang</surname></string-name>, <string-name><given-names>X.</given-names> <surname>Qiao</surname></string-name> <etal>et al.</etal></person-group><italic>,</italic> &#x201C;<article-title>Classification of weed seeds based on visual images and deep learning</article-title>,&#x201D; <source>Information Processing in Agriculture</source>, vol. <volume>10</volume>, no. <issue>1</issue>, pp. <fpage>40</fpage>&#x2013;<lpage>51</lpage>, <year>2023</year>.</mixed-citation></ref>
<ref id="ref-31"><label>[31]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><given-names>A.</given-names> <surname>Dheeraj</surname></string-name> and <string-name><given-names>S.</given-names> <surname>Chand</surname></string-name></person-group>, &#x201C;<article-title>Using deep learning models for crop and weed classification at early stage</article-title>,&#x201D; in <conf-name>2nd Int. Conf. on Sentiment Analysis and Deep Learning</conf-name>, <publisher-loc>Lalitpur, Nepal</publisher-loc>, pp. <fpage>931</fpage>&#x2013;<lpage>942</lpage>, <year>2022</year>.</mixed-citation></ref>
<ref id="ref-32"><label>[32]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>S.</given-names> <surname>Tiwari</surname></string-name>, <string-name><given-names>A. K.</given-names> <surname>Sharma</surname></string-name>, <string-name><given-names>A.</given-names> <surname>Jain</surname></string-name>, <string-name><given-names>D.</given-names> <surname>Gupta</surname></string-name> and <string-name><given-names>M.</given-names> <surname>Gono</surname></string-name></person-group> <etal>et al.</etal>, &#x201C;<article-title>IOT-enabled model for weed seedling classification: An application for smart agriculture</article-title>,&#x201D; <source>AgriEngineering</source>, vol. <volume>5</volume>, no. <issue>1</issue>, pp. <fpage>257</fpage>&#x2013;<lpage>272</lpage>, <year>2023</year>.</mixed-citation></ref>
<ref id="ref-33"><label>[33]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>S. M.</given-names> <surname>Mustaza</surname></string-name>, <string-name><given-names>M. F.</given-names> <surname>Ibrahim</surname></string-name>, <string-name><given-names>M. H. M.</given-names> <surname>Zaman</surname></string-name>, <string-name><given-names>N.</given-names> <surname>Zulkarnain</surname></string-name>, <string-name><given-names>N.</given-names> <surname>Zainal</surname></string-name> <etal>et al.</etal></person-group><italic>,</italic> &#x201C;<article-title>Directional shape feature extraction using modified line filter technique for weed classification</article-title>,&#x201D; <source>International Journal of Electrical and Electronics Research</source>, vol. <volume>10</volume>, no. <issue>3</issue>, pp. <fpage>564</fpage>&#x2013;<lpage>571</lpage>, <year>2022</year>.</mixed-citation></ref>
<ref id="ref-34"><label>[34]</label><mixed-citation publication-type="other"><person-group person-group-type="author"><collab>Logistic Regression</collab></person-group>, <year>2023</year>. [Online]. Available: <ext-link ext-link-type="uri" xlink:href="https://scikit-learn.org/stable/modules/linear_model.html#logistic-regression">https://scikit-learn.org/stable/modules/linear_model.html#logistic-regression</ext-link></mixed-citation></ref>
</ref-list>
</back></article>