<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article">
 <front>
  <journal-meta>
   <journal-id journal-id-type="publisher-id">
    ajps
   </journal-id>
   <journal-title-group>
    <journal-title>
     American Journal of Plant Sciences
    </journal-title>
   </journal-title-group>
   <issn pub-type="epub">
    2158-2742
   </issn>
   <issn publication-format="print">
    2158-2750
   </issn>
   <publisher>
    <publisher-name>
     Scientific Research Publishing
    </publisher-name>
   </publisher>
  </journal-meta>
  <article-meta>
   <article-id pub-id-type="doi">
    10.4236/ajps.2024.158042
   </article-id>
   <article-id pub-id-type="publisher-id">
    ajps-135291
   </article-id>
   <article-categories>
    <subj-group subj-group-type="heading">
     <subject>
      Articles
     </subject>
    </subj-group>
    <subj-group subj-group-type="Discipline-v2">
     <subject>
      Biomedical 
     </subject>
     <subject>
       Life Sciences
     </subject>
    </subj-group>
   </article-categories>
   <title-group>
    Estimation of Peanut Maturity Using Color Image Analysis
   </title-group>
   <contrib-group>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Wei-Zhen
      </surname>
      <given-names>
       Liang
      </given-names>
     </name> 
     <xref ref-type="aff" rid="aff1"> 
      <sup>1</sup>
     </xref> 
     <xref ref-type="aff" rid="aff2"> 
      <sup>2</sup>
     </xref>
    </contrib>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Kendall R.
      </surname>
      <given-names>
       Kirk
      </given-names>
     </name> 
     <xref ref-type="aff" rid="aff3"> 
      <sup>3</sup>
     </xref> 
     <xref ref-type="aff" rid="aff4"> 
      <sup>4</sup>
     </xref>
    </contrib>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       James S.
      </surname>
      <given-names>
       Thomas
      </given-names>
     </name> 
     <xref ref-type="aff" rid="aff3"> 
      <sup>3</sup>
     </xref> 
     <xref ref-type="aff" rid="aff4"> 
      <sup>4</sup>
     </xref>
    </contrib>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Andrew C.
      </surname>
      <given-names>
       Warner
      </given-names>
     </name> 
     <xref ref-type="aff" rid="aff5"> 
      <sup>5</sup>
     </xref>
    </contrib>
   </contrib-group> 
   <aff id="aff1">
    <addr-line>
     aDepartment of Biological Systems Engineering, University of Nebraska-Lincoln, Lincoln, NE, USA
    </addr-line> 
   </aff> 
   <aff id="aff2">
    <addr-line>
     aPanhandle Research and Extension Center, University of Nebraska-Lincoln, Scottsbluff, NE, USA
    </addr-line> 
   </aff> 
   <aff id="aff3">
    <addr-line>
     aDepartment of Plant Environmental Science, Clemson University, Clemson, SC, USA
    </addr-line> 
   </aff> 
   <aff id="aff4">
    <addr-line>
     aEdisto Research and Education Center, Clemson University, Blackville, SC, USA
    </addr-line> 
   </aff> 
   <aff id="aff5">
    <addr-line>
     aUniversity of Georgia-Athens Cooperative Extension, Athens, GA, USA
    </addr-line> 
   </aff> 
   <pub-date pub-type="epub">
    <day>
     12
    </day> 
    <month>
     08
    </month>
    <year>
     2024
    </year>
   </pub-date> 
   <volume>
    15
   </volume> 
   <issue>
    08
   </issue>
   <fpage>
    617
   </fpage>
   <lpage>
    635
   </lpage>
   <history>
    <date date-type="received">
     <day>
      13,
     </day>
     <month>
      May
     </month>
     <year>
      2024
     </year>
    </date>
    <date date-type="published">
     <day>
      13,
     </day>
     <month>
      May
     </month>
     <year>
      2024
     </year> 
    </date> 
    <date date-type="accepted">
     <day>
      13,
     </day>
     <month>
      August
     </month>
     <year>
      2024
     </year> 
    </date>
   </history>
   <permissions>
    <copyright-statement>
     © Copyright 2014 by authors and Scientific Research Publishing Inc. 
    </copyright-statement>
    <copyright-year>
     2014
    </copyright-year>
    <license>
     <license-p>
      This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/
     </license-p>
    </license>
   </permissions>
   <abstract>
    Peanuts pods grow underground and mature unevenly, resulting that choosing the correct time to harvest is more complicated than other crops. Pod maturity can be determined by blasting with a pressure washer to remove outer skin of the pod (exocarp) to expose the color of the middle layer (mesocarp). The mesocarp color changes with maturity from white to yellow, orange, brown and finally black. The sum of percentage from orange, brown, and black mesocarp (OBB) color and black color (BL) represents the kernels that are mature enough to harvest. The goal of this research is to identify methodologies to estimate OBB and BL of the pods using RGB images taken in the field and validate the proposed model using other pod images. The Mahalanobis distance classification method was used to process sets of images and calculate pod area (number of pixels) corresponding to two classes (mesocarp and background) with nine different color groups. The results showed a performance of 94% effectiveness for mesocarp using Mahalanobis distance classification. Statistical regression for OBB and BL was developed based on 315 images of peanut pods taken from the field. The R
    <sup>2</sup> and root mean square error of predicted and actual OBB were 0.93 and 4.1%, respectively. The R
    <sup>2</sup> and root mean square error of predicted and actual BL were 0.88 and 1.8%, respectively. The validation of OBB using other images provided reasonable estimation (R
    <sup>2</sup> = 0.98 and RMSE = 2.73%). This study introduces a novel, cost-effective, and non-destructive method for estimating peanut maturity using RGB imagery and Mahalanobis distance classification in the field. This innovative approach addresses the limitations of traditional methods and offers a robust alternative for real-time maturity assessment.
   </abstract>
   <kwd-group> 
    <kwd>
     Peanut Maturity
    </kwd> 
    <kwd>
      Mesocarp
    </kwd> 
    <kwd>
      Exocarp
    </kwd> 
    <kwd>
      Mahalanobis Distance
    </kwd> 
    <kwd>
      Statistical Regression
    </kwd>
   </kwd-group>
  </article-meta>
 </front>
 <body>
  <sec id="s1">
   <title>1. Introduction</title>
   <p>Peanuts are an important crop in the United States, providing a source of food crop and oil in the country. Domestic production of peanuts in 2017 is estimated by USDA to be 5.57 billion pounds <xref ref-type="bibr" rid="scirp.135291-1">
     [1]
    </xref>. The U.S. peanuts fall into four basic types: Runner, Virginia, Spanish and Valencia <xref ref-type="bibr" rid="scirp.135291-2">
     [2]
    </xref>. Each of these peanuts is distinctive in size and flavor. economic value of peanuts production in 2022 was estimated by USDA to be $1.6 billion <xref ref-type="bibr" rid="scirp.135291-1">
     [1]
    </xref>. Peanuts pods grow underground and often mature unevenly, resulting that choosing the correct time to harvest peanuts is more complicated than other crops. Determining when to dig is important because peanut maturity determines flavor, grade, and yield <xref ref-type="bibr" rid="scirp.135291-3">
     [3]
    </xref>.</p>
   <p>Peanut maturity can be predicted with four different methodologies: days after planting (DAP) method, growing degree day (GDD) method, shell-out method, and hull scrape method (mesocarp classification method) <xref ref-type="bibr" rid="scirp.135291-4">
     [4]
    </xref>-<xref ref-type="bibr" rid="scirp.135291-6">
     [6]
    </xref>. Peanuts can reach harvest maturity from 120 to more than 150 days after planting, and 1900-2500 GDDs, depending on variety and growing season <xref ref-type="bibr" rid="scirp.135291-7">
     [7]
    </xref>. Days after planting method and GDD method can be good guideline for when to check fields and can be used in combination with other methods, but DAP method or GDD method is not recommended to be used as the sole basis for determining digging date due to different soil moisture and ambient temperature conditions in the field <xref ref-type="bibr" rid="scirp.135291-6">
     [6]
    </xref>.</p>
   <p>In the shell-out method, pod samples are collected and opened to expose the inner shell lining, known as the endocarp, along with the seed coats <xref ref-type="bibr" rid="scirp.135291-6">
     [6]
    </xref>. The color of these components is then assessed to predict the maturity of the peanuts. As the peanuts mature, the seed coat color transitions from white to dark pink <xref ref-type="bibr" rid="scirp.135291-8">
     [8]
    </xref>. Despite its effectiveness, the shell-out method is quite subjective and time-consuming, requiring careful visual examination and assessment of the color changes in the seed coats and endocarp. This subjectivity and the detailed nature of the process can lead to variability in results and extended evaluation times.</p>
   <p>The most popular method of assessing peanut pod maturity is hull scrape method, which is also known as the mesocarp classification method <xref ref-type="bibr" rid="scirp.135291-6">
     [6]
    </xref> <xref ref-type="bibr" rid="scirp.135291-7">
     [7]
    </xref> <xref ref-type="bibr" rid="scirp.135291-9">
     [9]
    </xref>. Pod maturity can be determined by scraping away the outer hull layer with a knife or blasting with a pressure washer with 1300 - 1600 psi to remove the outer skin of the pod (called the exocarp) to expose the color of the middle layer (called the mesocarp) <xref ref-type="bibr" rid="scirp.135291-6">
     [6]
    </xref> <xref ref-type="bibr" rid="scirp.135291-9">
     [9]
    </xref>. To avoid damaging the pods, the sprayer should hold the pressure washer about one meter away from the pods <xref ref-type="bibr" rid="scirp.135291-5">
     [5]
    </xref>. This ensures that the exocarp is effectively removed without harming the fruit inside. By examining the exposed mesocarp, researchers can determine the maturity of the peanuts more accurately. This method, while widely used and more objective than the shell-out method, still requires careful handling and attention to detail to ensure the integrity of the pods during the assessment process.</p>
   <p>The color of the mesocarp changes as the peanut matures, transitioning from white to pale yellow, deep yellow, orange, brown, and finally black <xref ref-type="bibr" rid="scirp.135291-10">
     [10]
    </xref>. The presence of orange, brown, and black mesocarp colors indicates that the kernels are mature enough for harvest <xref ref-type="bibr" rid="scirp.135291-6">
     [6]
    </xref>. Two key parameters are used to determine the maturity target: the percentage of pods in the orange, brown, and black categories combined (OBB), and the percentage of pods that are black (BL) <xref ref-type="bibr" rid="scirp.135291-6">
     [6]
    </xref>. For Virginia peanut types, the target is to have 70% of the pods in the OBB category and 1% - 2% in the BL category <xref ref-type="bibr" rid="scirp.135291-6">
     [6]
    </xref>. For runner types, the target is to have 75% - 80% of the pods in the OBB category and 5% in the BL category <xref ref-type="bibr" rid="scirp.135291-6">
     [6]
    </xref>. While this method provides a clear framework for assessing peanut maturity, it does have its limitations. A significant drawback is that it relies heavily on the assessor’s ability to accurately determine the color of the mesocarp through visual inspection, which can introduce variability and potential for error. Proper training and experience are crucial to mitigate this limitation and ensure consistent and accurate maturity assessments.</p>
   <p>In 1981, Williams and Drexler proposed a manual method for classifying peanut development stages that is widely used by farmers today. About 150 - 200 pods are collected, blasted to reveal mesocarp color, and placed onto a color chart called peanut maturity profile board <xref ref-type="bibr" rid="scirp.135291-10">
     [10]
    </xref> to predict days to maturity. Profile board displays colors associated with 7 maturity classes, with each class divided into 4 subclasses <xref ref-type="bibr" rid="scirp.135291-10">
     [10]
    </xref> <xref ref-type="bibr" rid="scirp.135291-11">
     [11]
    </xref> (<xref ref-type="fig" rid="fig1">
     Figure 1
    </xref>). The pods are placed in columns according to colors on the profile board that mostly closely match the mesocarp of each pod <xref ref-type="bibr" rid="scirp.135291-10">
     [10]
    </xref>. Based on the shape of distribution from pods, guidelines are provided to estimate the number of days remaining until the peanut should be harvested. Color separation can be highly susceptible to an individual’s ability to determine which color column pods should be placed on profile board. The individual placing the pods in the columns will only gain the knowledge to properly place the pods through experience. This method is still subjective and time-consuming.</p>
   <p>Estimating the peanut maturity using profile board or counting manually can be a frustrating and time-consuming process; therefore, accurate estimation of maturity will help save producers time and increase accuracy to determine when to dig. It would be beneficial to develop and apply image processing to assess features of peanut mesocarp for improving measurement and estimation of maturity.</p>
   <p>There have been many studies that have classified peanut pod maturity using the image analysis technique. Ghate et al. <xref ref-type="bibr" rid="scirp.135291-8">
     [8]
    </xref> classified peanuts into immature, mid-mature, and mature categories by analyzing the visual texture of the peanut pod’s outer coat of the seed. Bolder et al. <xref ref-type="bibr" rid="scirp.135291-12">
     [12]
    </xref> classified peanut mesocarp color into 5 color categories: yellow, orange A, orange B, brown, and black. Colvin et al. <xref ref-type="bibr" rid="scirp.135291-13">
     [13]
    </xref> also classified mesocarp color based on the proportion of brown and black pods in a sample. Bindlish et al. <xref ref-type="bibr" rid="scirp.135291-14">
     [14]
    </xref> determined pod maturity based on the 10 mesocarp colors and 7 different pod sizes. These studies used the seven maturity categories proposed by Williams and Drexler <xref ref-type="bibr" rid="scirp.135291-10">
     [10]
    </xref> as basic color categories to develop maturity model.</p>
   <fig id="fig1" position="float">
    <label>Figure 1</label>
    <caption>
     <title>Figure 1. Peanut maturity profile board developed by Williams and Drexler <xref ref-type="bibr" rid="scirp.135291-10">
       [10]
      </xref>.</title>
    </caption>
    <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/2605914-rId13.jpeg?20240909100533" />
   </fig>
   <p>Recent advancements in image analysis and sensing technologies have significantly improved the accuracy and efficiency of agricultural monitoring and yield estimation. Studies have demonstrated the potential of RGB and hyperspectral imaging for various crop assessments, including disease detection, yield calculation, and phenotyping <xref ref-type="bibr" rid="scirp.135291-15">
     [15]
    </xref> <xref ref-type="bibr" rid="scirp.135291-16">
     [16]
    </xref>. Hyperspectral imaging has become a popular method for estimating peanut maturity. Zou et al. <xref ref-type="bibr" rid="scirp.135291-17">
     [17]
    </xref> used hyperspectral imaging to determine pod maturity, leveraging spectral differences between mature and immature pods within a classification algorithm, but their method still required pod blasting. In contrast, Balasubramaniyan and Navaneethan <xref ref-type="bibr" rid="scirp.135291-18">
     [18]
    </xref> developed a method that combines Hyper Spectral Invariant Scaled Feature Selection (HSISFS) and an Adaptive Dense Net Recurrent Neural Network (ADNRNN), achieving a classification accuracy of 91% without the need for pod blasting.</p>
   <p>Hyperspectral cameras, while effective, are expensive compared to digital cameras or cell phones. This makes it challenging for county educators and peanut growers in southern US states to afford such equipment for determining peanut pod maturity. Therefore, our study aims to develop a fast, robust, and inexpensive methodology for straightforward image processing and interpretation using Red-Green-Blue (RGB) imagery captured with digital cameras or cell phones in the field. This approach will allow for accurate definition of the mesocarp area and estimation of peanut maturity.</p>
   <p>Color classification techniques in the RGB color spectrum can be used to distinguish peanuts from background (e.g. cardboard and shadow) in images. Several statistical measurements of similarity between groups, in terms of multiple characteristics, have been proposed, such as Kolmogorov’s variation distance, Bhattacharyya distance, and Mahalanobis distance <xref ref-type="bibr" rid="scirp.135291-19">
     [19]
    </xref>. Mahalanobis distance classification is widely used for pattern recognition and data analyses when groups have different means but similar standard deviations <xref ref-type="bibr" rid="scirp.135291-19">
     [19]
    </xref> and is most suitable in image processing for precision agriculture <xref ref-type="bibr" rid="scirp.135291-20">
     [20]
    </xref>-<xref ref-type="bibr" rid="scirp.135291-22">
     [22]
    </xref>. Chena et al. <xref ref-type="bibr" rid="scirp.135291-20">
     [20]
    </xref> extracted 28 color features from imagery for identifying corn varieties at a success rate of 90%. Diago et al. <xref ref-type="bibr" rid="scirp.135291-21">
     [21]
    </xref> extracted 40 colors in 7 groups to characterize grapevines, leaves, and background, and the segmentation results showed a performance of 92% for leaves and 98% for grapes. Liang et al. <xref ref-type="bibr" rid="scirp.135291-22">
     [22]
    </xref> extracted 20 - 25 colors in 8 groups to characterize soybean leaves and background, and showed 96% of correct classification for leaves and background.</p>
   <p>Estimation of peanut maturity using image analysis highly depends on the completeness of pod blasting process. As pod blasting time is too short, yellow exocarp can’t be removed completely, resulting in underestimation of peanut maturity. When pod blasting time is too long, the peanut maturity is also underestimation due to damage of endocarp and fruit. However, there are no studies for image analysis that have evaluated peanut maturity of OBB percentage at different pod blasting times with different peanut types. Therefore, our study will also address the impact of pod blasting time on the maturity model and develop efficient methods for color classification, in areas that have not been previously explored.</p>
   <p>Our research aims to develop a practical solution for peanut maturity estimation using RGB imagery and color classification. The objectives of this paper are to: 1) compare Mahalanobis distance algorithms and without Mahalanobis distance for classifying colors of peanut mesocarp, 2) develop maturity model to estimate percentage of peanut maturity in the OBB and BL, 3) validate the proposed maturity model using other peanut pod images and compare the results, 4) compare peanut maturity at different pod blasting times with different peanut type and varieties.</p>
  </sec><sec id="s2">
   <title>2. Materials and Methods</title>
   <p>Our methodology employs RGB imagery, which is more accessible and cost-effective compared to hyperspectral imaging, combined with the Mahalanobis distance classification method. This approach aligns with recent trends in precision agriculture that favor non-destructive, high-accuracy techniques for crop monitoring <xref ref-type="bibr" rid="scirp.135291-16">
     [16]
    </xref>. In our developed software, the area of interest can be drawn manually in rectangle by the user for peanut management and assessment. The image digitization performed by the software involves scanning each pixel in the image taken from field, outputting pixel brightness, red, green, and blue color space values, different colors of peanut mesocarp (%), estimation of OBB (OBB<sub>est</sub>) and BL (BL<sub>est</sub>).</p>
   <p>To be able to correlate the estimated mesocarp maturity with real pod counts, a detailed experimental setup for the acquisition of images was developed based on individual images of peanut pods photos taken from the field. Calculations were used to correlate the estimated colors of OBB<sub>est</sub> and BL<sub>est</sub> (%) with actual pod counts.</p>
   <sec id="s2_1">
    <title>2.1. Experimental Site and Image Acquisition</title>
    <p>During 2014, 2016, and 2017, images were acquired from Virginia and Georgia runner types planted at the Edisto Research and Education Center of Clemson University. Pod sample size were roughly 100 pods. The pods were blasted with a pressure washer of 1500 psi and then counted manually to determine the observed percentage of OBB<sub>obs</sub> and BL<sub>obs</sub>. The 323 images of peanut were randomly selected for photography with a conventional RGB camera (MOTOROLA XT1030) at a distance of approximately 30 cm from cardboard. The images were captured as a resolution 6000 × 4000. The peanut maturity profile board (<xref ref-type="fig" rid="fig1">
      Figure 1
     </xref>) and twenty-eight representative peanut pod images proposed by William and Drexler <xref ref-type="bibr" rid="scirp.135291-10">
      [10]
     </xref> (<xref ref-type="fig" rid="fig2">
      Figure 2
     </xref>) were selected to classify 6 maturity color groups and train software for estimating different colors of mesocarp (%), color saturation, brightness, and two maturity target OBB and BL (%) (<xref ref-type="fig" rid="fig1">
      Figure 1
     </xref> and <xref ref-type="fig" rid="fig2">
      Figure 2
     </xref>). The 323 images were used to develop the peanut maturity model of the OBB<sub>est</sub> and BL<sub>est</sub> (%). The images taken in 2017 were used to test peanut maturity model and compared the results of estimated OBB<sub>est</sub>, BL<sub>est</sub> and actual pod counts of OBB and BL.</p>
    <fig id="fig2" position="float">
     <label>Figure 2</label>
     <caption>
      <title>Figure 2. Mesocarps of 7 maturity classes developed by William and Drexler <xref ref-type="bibr" rid="scirp.135291-10">
        [10]
       </xref>.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/2605914-rId14.jpeg?20240909100534" />
    </fig>
   </sec>
   <sec id="s2_2">
    <title>2.2. Pod Colors Determination</title>
    <p>Mahalanobis distance is an adequate classification method for analyzing pods color. The Mahalanobis distance (Equation (1)) measures the similarity between an unknown sample group and a known one. It accounts for the fact that the variances in each direction are different as well as for the covariance between variables <xref ref-type="bibr" rid="scirp.135291-23">
      [23]
     </xref>. The Mahalanobis distance between two random vectors (X, Y) with the same distribution, and covariance matrix S, can be defined as:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mtext>
         Mahalanobis 
       </mtext> 
       <mtext>
           
       </mtext> 
       <mtext>
         distance 
       </mtext> 
       <mo>
         = 
       </mo> 
       <msqrt> 
        <mrow> 
         <msup> 
          <mrow> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mrow> 
             <mi>
               X 
             </mi> 
             <mo>
               − 
             </mo> 
             <mi>
               Y 
             </mi> 
            </mrow> 
            <mo>
              ) 
            </mo> 
           </mrow> 
          </mrow> 
          <mtext>
            T 
          </mtext> 
         </msup> 
         <msup> 
          <mi>
            S 
          </mi> 
          <mrow> 
           <mo>
             − 
           </mo> 
           <mn>
             1 
           </mn> 
          </mrow> 
         </msup> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <mi>
             X 
           </mi> 
           <mo>
             − 
           </mo> 
           <mi>
             Y 
           </mi> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
       </msqrt> 
      </mrow> 
     </math>(1)</p>
    <p>The Mahalanobis color distance standardizes the influence of the distribution of each feature considering the correlation between each pair of terms. In the case of RGB color images, S is computed as (Equation (2)):</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         S 
       </mi> 
       <mo>
         = 
       </mo> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mrow> 
         <mtable> 
          <mtr> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                σ 
              </mi> 
              <mrow> 
               <msub> 
                <mi>
                  R 
                </mi> 
                <mrow> 
                 <mi>
                   r 
                 </mi> 
                 <mi>
                   e 
                 </mi> 
                 <mi>
                   f 
                 </mi> 
                </mrow> 
               </msub> 
               <msub> 
                <mi>
                  R 
                </mi> 
                <mrow> 
                 <mi>
                   r 
                 </mi> 
                 <mi>
                   e 
                 </mi> 
                 <mi>
                   f 
                 </mi> 
                </mrow> 
               </msub> 
              </mrow> 
             </msub> 
            </mrow> 
           </mtd> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                σ 
              </mi> 
              <mrow> 
               <msub> 
                <mi>
                  R 
                </mi> 
                <mrow> 
                 <mi>
                   r 
                 </mi> 
                 <mi>
                   e 
                 </mi> 
                 <mi>
                   f 
                 </mi> 
                </mrow> 
               </msub> 
               <msub> 
                <mi>
                  G 
                </mi> 
                <mrow> 
                 <mi>
                   r 
                 </mi> 
                 <mi>
                   e 
                 </mi> 
                 <mi>
                   f 
                 </mi> 
                </mrow> 
               </msub> 
              </mrow> 
             </msub> 
            </mrow> 
           </mtd> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                σ 
              </mi> 
              <mrow> 
               <msub> 
                <mi>
                  R 
                </mi> 
                <mrow> 
                 <mi>
                   r 
                 </mi> 
                 <mi>
                   e 
                 </mi> 
                 <mi>
                   f 
                 </mi> 
                </mrow> 
               </msub> 
               <msub> 
                <mi>
                  B 
                </mi> 
                <mrow> 
                 <mi>
                   r 
                 </mi> 
                 <mi>
                   e 
                 </mi> 
                 <mi>
                   f 
                 </mi> 
                </mrow> 
               </msub> 
              </mrow> 
             </msub> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                σ 
              </mi> 
              <mrow> 
               <msub> 
                <mi>
                  G 
                </mi> 
                <mrow> 
                 <mi>
                   r 
                 </mi> 
                 <mi>
                   e 
                 </mi> 
                 <mi>
                   f 
                 </mi> 
                </mrow> 
               </msub> 
               <msub> 
                <mi>
                  R 
                </mi> 
                <mrow> 
                 <mi>
                   r 
                 </mi> 
                 <mi>
                   e 
                 </mi> 
                 <mi>
                   f 
                 </mi> 
                </mrow> 
               </msub> 
              </mrow> 
             </msub> 
            </mrow> 
           </mtd> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                σ 
              </mi> 
              <mrow> 
               <msub> 
                <mi>
                  G 
                </mi> 
                <mrow> 
                 <mi>
                   r 
                 </mi> 
                 <mi>
                   e 
                 </mi> 
                 <mi>
                   f 
                 </mi> 
                </mrow> 
               </msub> 
               <msub> 
                <mi>
                  G 
                </mi> 
                <mrow> 
                 <mi>
                   r 
                 </mi> 
                 <mi>
                   e 
                 </mi> 
                 <mi>
                   f 
                 </mi> 
                </mrow> 
               </msub> 
              </mrow> 
             </msub> 
            </mrow> 
           </mtd> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                σ 
              </mi> 
              <mrow> 
               <msub> 
                <mi>
                  G 
                </mi> 
                <mrow> 
                 <mi>
                   r 
                 </mi> 
                 <mi>
                   e 
                 </mi> 
                 <mi>
                   f 
                 </mi> 
                </mrow> 
               </msub> 
               <msub> 
                <mi>
                  B 
                </mi> 
                <mrow> 
                 <mi>
                   r 
                 </mi> 
                 <mi>
                   e 
                 </mi> 
                 <mi>
                   f 
                 </mi> 
                </mrow> 
               </msub> 
              </mrow> 
             </msub> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                σ 
              </mi> 
              <mrow> 
               <msub> 
                <mi>
                  B 
                </mi> 
                <mrow> 
                 <mi>
                   r 
                 </mi> 
                 <mi>
                   e 
                 </mi> 
                 <mi>
                   f 
                 </mi> 
                </mrow> 
               </msub> 
               <msub> 
                <mi>
                  R 
                </mi> 
                <mrow> 
                 <mi>
                   r 
                 </mi> 
                 <mi>
                   e 
                 </mi> 
                 <mi>
                   f 
                 </mi> 
                </mrow> 
               </msub> 
              </mrow> 
             </msub> 
            </mrow> 
           </mtd> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                σ 
              </mi> 
              <mrow> 
               <msub> 
                <mi>
                  B 
                </mi> 
                <mrow> 
                 <mi>
                   r 
                 </mi> 
                 <mi>
                   e 
                 </mi> 
                 <mi>
                   f 
                 </mi> 
                </mrow> 
               </msub> 
               <msub> 
                <mi>
                  G 
                </mi> 
                <mrow> 
                 <mi>
                   r 
                 </mi> 
                 <mi>
                   e 
                 </mi> 
                 <mi>
                   f 
                 </mi> 
                </mrow> 
               </msub> 
              </mrow> 
             </msub> 
            </mrow> 
           </mtd> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                σ 
              </mi> 
              <mrow> 
               <msub> 
                <mi>
                  B 
                </mi> 
                <mrow> 
                 <mi>
                   r 
                 </mi> 
                 <mi>
                   e 
                 </mi> 
                 <mi>
                   f 
                 </mi> 
                </mrow> 
               </msub> 
               <msub> 
                <mi>
                  B 
                </mi> 
                <mrow> 
                 <mi>
                   r 
                 </mi> 
                 <mi>
                   e 
                 </mi> 
                 <mi>
                   f 
                 </mi> 
                </mrow> 
               </msub> 
              </mrow> 
             </msub> 
            </mrow> 
           </mtd> 
          </mtr> 
         </mtable> 
        </mrow> 
        <mo>
          ] 
        </mo> 
       </mrow> 
      </mrow> 
     </math>(2)</p>
    <p>and the element of S is calculated as:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          σ 
        </mi> 
        <mrow> 
         <msub> 
          <mi>
            G 
          </mi> 
          <mrow> 
           <mi>
             r 
           </mi> 
           <mi>
             e 
           </mi> 
           <mi>
             f 
           </mi> 
          </mrow> 
         </msub> 
         <msub> 
          <mi>
            R 
          </mi> 
          <mrow> 
           <mi>
             r 
           </mi> 
           <mi>
             e 
           </mi> 
           <mi>
             f 
           </mi> 
          </mrow> 
         </msub> 
        </mrow> 
       </msub> 
       <mo>
         = 
       </mo> 
       <msub> 
        <mi>
          σ 
        </mi> 
        <mrow> 
         <msub> 
          <mi>
            R 
          </mi> 
          <mrow> 
           <mi>
             r 
           </mi> 
           <mi>
             e 
           </mi> 
           <mi>
             f 
           </mi> 
          </mrow> 
         </msub> 
         <msub> 
          <mi>
            G 
          </mi> 
          <mrow> 
           <mi>
             r 
           </mi> 
           <mi>
             e 
           </mi> 
           <mi>
             f 
           </mi> 
          </mrow> 
         </msub> 
        </mrow> 
       </msub> 
       <mo>
         = 
       </mo> 
       <mfrac> 
        <mrow> 
         <msubsup> 
          <mstyle mathsize="140%" displaystyle="true"> 
           <mo>
             ∑ 
           </mo> 
          </mstyle> 
          <mrow> 
           <mi>
             i 
           </mi> 
           <mo>
             = 
           </mo> 
           <mn>
             1 
           </mn> 
          </mrow> 
          <mi>
            n 
          </mi> 
         </msubsup> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <msub> 
            <mi>
              R 
            </mi> 
            <mi>
              i 
            </mi> 
           </msub> 
           <mo>
             − 
           </mo> 
           <mover accent="true"> 
            <mi>
              R 
            </mi> 
            <mo>
              ¯ 
            </mo> 
           </mover> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <msub> 
            <mi>
              G 
            </mi> 
            <mi>
              i 
            </mi> 
           </msub> 
           <mo>
             − 
           </mo> 
           <mover accent="true"> 
            <mi>
              G 
            </mi> 
            <mo>
              ¯ 
            </mo> 
           </mover> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mrow> 
         <mi>
           n 
         </mi> 
         <mo>
           − 
         </mo> 
         <mn>
           1 
         </mn> 
        </mrow> 
       </mfrac> 
      </mrow> 
     </math>(3)</p>
    <p>where R<sub>i</sub>, G<sub>i</sub>, B<sub>i</sub> are the values of the i<sup>th</sup> match ( 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         i 
       </mi> 
       <mo>
         = 
       </mo> 
       <mn>
         1 
       </mn> 
       <mo>
         , 
       </mo> 
       <mn>
         2 
       </mn> 
       <mo>
         , 
       </mo> 
       <mn>
         3 
       </mn> 
       <mo>
         , 
       </mo> 
       <mo>
         ⋯ 
       </mo> 
       <mo>
         , 
       </mo> 
       <mi>
         n 
       </mi> 
      </mrow> 
     </math>), and 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mover accent="true"> 
       <mi>
         R 
       </mi> 
       <mo>
         ¯ 
       </mo> 
      </mover> 
     </math>, 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mover accent="true"> 
       <mi>
         G 
       </mi> 
       <mo>
         ¯ 
       </mo> 
      </mover> 
     </math>, 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mover accent="true"> 
       <mi>
         B 
       </mi> 
       <mo>
         ¯ 
       </mo> 
      </mover> 
     </math> are the mean color values for R, G, B in the given images, respectively.</p>
    <p>X was a three-dimensional vector (R, G, B), which represented pixels from the image to be processed. Y was also a three dimensional vector ( 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mover accent="true"> 
       <mi>
         R 
       </mi> 
       <mo>
         ¯ 
       </mo> 
      </mover> 
     </math>, 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mover accent="true"> 
       <mi>
         G 
       </mi> 
       <mo>
         ¯ 
       </mo> 
      </mover> 
     </math>, 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mover accent="true"> 
       <mi>
         B 
       </mi> 
       <mo>
         ¯ 
       </mo> 
      </mover> 
     </math>), which represented the reference pixels (reference group) for each class to be identified.</p>
    <p>In the proposed methodology of this work, 9 reference groups of pixels were selected to generate the classification, in which every group represented relevant characteristics of peanut pods and background classes. The 9 groups identified were: peanut pods (white, pale yellow, deep yellow, orange, brown, and black pods groups) and background (red, blue, and green cardboard). If any group was not present, or a new color group appeared on the image, the number and/or the group labels could be modified in the program.</p>
    <p>Each reference group of peanut pods was manually selected from peanut maturity profile board (<xref ref-type="fig" rid="fig1">
      Figure 1
     </xref>) and a set of 28 representative images (<xref ref-type="fig" rid="fig2">
      Figure 2
     </xref>) proposed by William and Drexler and a set of 20 colors in each reference group was chosen <xref ref-type="bibr" rid="scirp.135291-10">
      [10]
     </xref>. Mahalanobis distance was computed over a set of 323 images in our developed software to obtain the percentage of each color group, OBB<sub>est</sub> and BL<sub>est</sub>. To implement the classification and provide graphical interface to the user, the software was developed based on Visual Basic 2017. These images were used to train the model for the OBB<sub>est</sub> and BL<sub>est</sub>. Details of the identified peanut pods were shown original color in the output figures and background in the output figures were transformed to pink color (<xref ref-type="fig" rid="fig3">
      Figure 3
     </xref>). All selected group colors, including pod and background classes, were also analyzed for the images without using classification method.</p>
    <fig-group id="fig3" position="float">
     <fig id="fig3" position="float">
      <label>Figure 3</label>
      <caption>
       <title>(a)--(b)--Figure 3. Example performed over a peanut pod image: (a) Original image; (b) Processed image to obtain complete pod area.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/2605914-rId35.jpeg?20240909100534" />
     </fig>
     <fig id="fig3" position="float">
      <label>Figure 3</label>
      <caption>
       <title>(a)--(b)--Figure 3. Example performed over a peanut pod image: (a) Original image; (b) Processed image to obtain complete pod area.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/2605914-rId36.jpeg?20240909100534" />
     </fig>
    </fig-group>
   </sec>
   <sec id="s2_3">
    <title>2.3. Peanut Pods Maturity Determination</title>
    <p>Two parameters are used to determine maturity target: one is the percentage of pods in the orange, brown, and black categories combined (OBB); the other is the percentage of pods in black (BL). The representative images mentioned above were selected to classify 6 maturity color groups (white, pale yellow, deep yellow, orange, brown, black) and train software for estimating different colors of mesocarp (%) and two maturity targets (OBB and BL) (%). The selected pod colors were defined as: C1 (white), C2 (pale yellow), C3 (deep yellow), C4 (orange), C5 (brown) and C6 (black); each image was analyzed by the software program and pixels were classified accordingly. After analysis, individual pixel number for each color class (C1 through C6) were mathematically calculated. Equations (4) and (5) were used to compute OBB and BL pods percentage for 323 images. The actual number of OBB<sub>obs</sub> and BL<sub>obs</sub> pods were also counted for 323 images. These actual pod counts were performed by experienced county educators and peanut specialists.</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         O 
       </mi> 
       <mi>
         B 
       </mi> 
       <msub> 
        <mi>
          B 
        </mi> 
        <mrow> 
         <mi>
           e 
         </mi> 
         <mi>
           s 
         </mi> 
         <mi>
           t 
         </mi> 
        </mrow> 
       </msub> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          % 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mfrac> 
        <mrow> 
         <mo>
           ∑ 
         </mo> 
         <mi>
           C 
         </mi> 
         <mn>
           4 
         </mn> 
         <mo>
           , 
         </mo> 
         <mi>
           C 
         </mi> 
         <mn>
           5 
         </mn> 
         <mo>
           , 
         </mo> 
         <mi>
           C 
         </mi> 
         <mn>
           6 
         </mn> 
         <mtext>
             
         </mtext> 
         <mi>
           p 
         </mi> 
         <mi>
           i 
         </mi> 
         <mi>
           x 
         </mi> 
         <mi>
           e 
         </mi> 
         <mi>
           l 
         </mi> 
         <mtext>
             
         </mtext> 
         <mi>
           n 
         </mi> 
         <mi>
           u 
         </mi> 
         <mi>
           m 
         </mi> 
         <mi>
           b 
         </mi> 
         <mi>
           e 
         </mi> 
         <mi>
           r 
         </mi> 
        </mrow> 
        <mrow> 
         <mo>
           ∑ 
         </mo> 
         <mi>
           T 
         </mi> 
         <mi>
           o 
         </mi> 
         <mi>
           t 
         </mi> 
         <mi>
           a 
         </mi> 
         <mi>
           l 
         </mi> 
         <mtext>
             
         </mtext> 
         <mi>
           C 
         </mi> 
         <mn>
           1 
         </mn> 
         <mo>
           , 
         </mo> 
         <mi>
           C 
         </mi> 
         <mn>
           2 
         </mn> 
         <mo>
           , 
         </mo> 
         <mi>
           C 
         </mi> 
         <mn>
           3 
         </mn> 
         <mo>
           , 
         </mo> 
         <mi>
           C 
         </mi> 
         <mn>
           4 
         </mn> 
         <mo>
           , 
         </mo> 
         <mi>
           C 
         </mi> 
         <mn>
           5 
         </mn> 
         <mo>
           , 
         </mo> 
         <mi>
           C 
         </mi> 
         <mn>
           6 
         </mn> 
         <mtext>
             
         </mtext> 
         <mi>
           p 
         </mi> 
         <mi>
           i 
         </mi> 
         <mi>
           x 
         </mi> 
         <mi>
           e 
         </mi> 
         <mi>
           l 
         </mi> 
         <mtext>
             
         </mtext> 
         <mi>
           n 
         </mi> 
         <mi>
           u 
         </mi> 
         <mi>
           m 
         </mi> 
         <mi>
           b 
         </mi> 
         <mi>
           e 
         </mi> 
         <mi>
           r 
         </mi> 
        </mrow> 
       </mfrac> 
       <mo>
         × 
       </mo> 
       <mn>
         100 
       </mn> 
      </mrow> 
     </math>(4)</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         B 
       </mi> 
       <msub> 
        <mi>
          L 
        </mi> 
        <mrow> 
         <mi>
           e 
         </mi> 
         <mi>
           s 
         </mi> 
         <mi>
           t 
         </mi> 
        </mrow> 
       </msub> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          % 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mfrac> 
        <mrow> 
         <mo>
           ∑ 
         </mo> 
         <mi>
           C 
         </mi> 
         <mn>
           6 
         </mn> 
         <mtext>
             
         </mtext> 
         <mi>
           p 
         </mi> 
         <mi>
           i 
         </mi> 
         <mi>
           x 
         </mi> 
         <mi>
           e 
         </mi> 
         <mi>
           l 
         </mi> 
         <mtext>
             
         </mtext> 
         <mi>
           n 
         </mi> 
         <mi>
           u 
         </mi> 
         <mi>
           m 
         </mi> 
         <mi>
           b 
         </mi> 
         <mi>
           e 
         </mi> 
         <mi>
           r 
         </mi> 
        </mrow> 
        <mrow> 
         <mo>
           ∑ 
         </mo> 
         <mi>
           C 
         </mi> 
         <mn>
           1 
         </mn> 
         <mo>
           , 
         </mo> 
         <mi>
           C 
         </mi> 
         <mn>
           2 
         </mn> 
         <mo>
           , 
         </mo> 
         <mi>
           C 
         </mi> 
         <mn>
           3 
         </mn> 
         <mo>
           , 
         </mo> 
         <mi>
           C 
         </mi> 
         <mn>
           4 
         </mn> 
         <mo>
           , 
         </mo> 
         <mi>
           C 
         </mi> 
         <mn>
           5 
         </mn> 
         <mo>
           , 
         </mo> 
         <mi>
           C 
         </mi> 
         <mn>
           6 
         </mn> 
         <mtext>
             
         </mtext> 
         <mi>
           p 
         </mi> 
         <mi>
           i 
         </mi> 
         <mi>
           x 
         </mi> 
         <mi>
           e 
         </mi> 
         <mi>
           l 
         </mi> 
         <mtext>
             
         </mtext> 
         <mi>
           n 
         </mi> 
         <mi>
           u 
         </mi> 
         <mi>
           m 
         </mi> 
         <mi>
           b 
         </mi> 
         <mi>
           e 
         </mi> 
         <mi>
           r 
         </mi> 
        </mrow> 
       </mfrac> 
       <mo>
         × 
       </mo> 
       <mn>
         100 
       </mn> 
      </mrow> 
     </math>(5)</p>
    <p>A linear relationship was found between the OBB<sub>est</sub> percentage obtained from image analysis and the OBB percentage from OBB<sub>obs</sub>. Empirical models for OBB<sub>est</sub> percentage were developed to evaluate statistical trends in the data. The trends were studied by conducting percentage of 6 color group, and OBB<sub>obs</sub> using SAS (SAS, 2017, Institute SAS Inc., Cary, NC). The correlations between the OBB<sub>est</sub> and OBB<sub>obs</sub> were analyzed, and the R<sup>2</sup>, error, and root mean square error (RMSE) were calculated (Equation (6) and Equation (7)).</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mtext>
         Error 
       </mtext> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          % 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <msub> 
        <mi>
          r 
        </mi> 
        <mrow> 
         <mi>
           e 
         </mi> 
         <mi>
           s 
         </mi> 
         <mi>
           t 
         </mi> 
        </mrow> 
       </msub> 
       <mo>
         − 
       </mo> 
       <msub> 
        <mi>
          r 
        </mi> 
        <mrow> 
         <mi>
           o 
         </mi> 
         <mi>
           b 
         </mi> 
         <mi>
           s 
         </mi> 
        </mrow> 
       </msub> 
      </mrow> 
     </math>(6)</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mtext>
         RMSE 
       </mtext> 
       <mo>
         = 
       </mo> 
       <msqrt> 
        <mrow> 
         <mfrac> 
          <mrow> 
           <msubsup> 
            <mstyle mathsize="140%" displaystyle="true"> 
             <mo>
               ∑ 
             </mo> 
            </mstyle> 
            <mrow> 
             <mi>
               i 
             </mi> 
             <mo>
               = 
             </mo> 
             <mn>
               1 
             </mn> 
            </mrow> 
            <mi>
              n 
            </mi> 
           </msubsup> 
           <msubsup> 
            <mrow> 
             <mrow> 
              <mo>
                ( 
              </mo> 
              <mrow> 
               <msub> 
                <mi>
                  r 
                </mi> 
                <mrow> 
                 <mi>
                   e 
                 </mi> 
                 <mi>
                   s 
                 </mi> 
                 <mi>
                   t 
                 </mi> 
                </mrow> 
               </msub> 
               <mo>
                 − 
               </mo> 
               <msub> 
                <mi>
                  r 
                </mi> 
                <mrow> 
                 <mi>
                   o 
                 </mi> 
                 <mi>
                   b 
                 </mi> 
                 <mi>
                   s 
                 </mi> 
                </mrow> 
               </msub> 
              </mrow> 
              <mo>
                ) 
              </mo> 
             </mrow> 
            </mrow> 
            <mi>
              i 
            </mi> 
            <mn>
              2 
            </mn> 
           </msubsup> 
          </mrow> 
          <mi>
            n 
          </mi> 
         </mfrac> 
        </mrow> 
       </msqrt> 
      </mrow> 
     </math>(7)</p>
    <p>where n is number of photos; and r<sub>est</sub> and r<sub>obs</sub> are modeled and observed OBB percentage, respectively. The hypothesis is that the total pixel number of OBB can be applied to estimate the actual OBB percentage.</p>
   </sec>
   <sec id="s2_4">
    <title>2.4. Peanut Maturity Model Validation</title>
    <p>Based on the data and images collected in 2014, 2016, and 2017, a comprehensive and predictive OBB and BL model was developed for estimating peanut maturity. To validate this model, additional data were collected in 2017 from studies conducted at the Edisto Research Station of Clemson University on August 28th, and in Orange County, SC on September 14th and October 20th. The 27 pod samples were randomly selected for photography using a conventional RGB camera or digital cell phone at a distance of approximately 30 cm on a green cardboard background. The number of pods in each color class was then counted. The data and images obtained in 2017 were used to test the peanut maturity model and compare the results with the actual pods categorized as OBB<sub>obs</sub> and BL<sub>obs</sub>. These actual pod counts were performed by experienced county educators and peanut specialists.</p>
   </sec>
   <sec id="s2_5">
    <title>2.5. Peanut Blasting Time Determination</title>
    <p>Six peanut cultivars, Bell, Emery, Sullivan, GA-06G, GA-16H0, and AU-17, were planted at Edisto Research Station of Clemson University. To determine the optimal pod blasting time for image analysis, 100 pod samples were randomly selected with three replicates and poured into a picker basket, and the basket is placed in a five-gallon bucket. The pods were blasted with a lightweight pressure washer at 1500 psi each minute, then laid on the cardboard and photographed. Each image was taken with a conventional RGB camera (MOTOROLA XT1030) at a distance of approximately 30 cm on a green cardboard. Pods numbers were also counted according to color classes.</p>
   </sec>
  </sec><sec id="s3">
   <title>3. Results and Discussion</title>
   <sec id="s3_1">
    <title>3.1. Pods Area Performance</title>
    <p>The reference pixels of 6 pods color group selected from Williams and Drexler <xref ref-type="bibr" rid="scirp.135291-10">
      [10]
     </xref> for calculating Y and S (Equations (1)-(3)) were shown in <xref ref-type="fig" rid="fig1">
      Figure 1
     </xref> and <xref ref-type="fig" rid="fig2">
      Figure 2
     </xref> to generate classification (<xref ref-type="fig" rid="fig4">
      Figure 4
     </xref>). Mahalanobis distance method identified more surface area of pods from an image (6000 × 4000 pixels) when evaluating algorithms for pattern recognition (<xref ref-type="fig" rid="fig4">
      Figure 4
     </xref>). For unknown color pixels (not selected in the reference groups), Mahalanobis distance computed for each reference group and determined whether unknown pixels were classified as pods color or background. The classifiers for 9 reference groups performed well without any adjustments to contrast, brightness, or color (<xref ref-type="fig" rid="fig5(c)">
      Figure 5(c)
     </xref>). Manual validation showed 73% and 94% of correct classification for pods or background with the unclassified image and Mahalanobis distance processing, respectively (<xref ref-type="fig" rid="fig5(b)">
      Figure 5(b)
     </xref>, <xref ref-type="fig" rid="fig5(c)">
      Figure 5(c)
     </xref>). Most of the misclassifications were due to the shadow of black pods, which exhibited similar color as black pods group. <xref ref-type="fig" rid="fig5(a)">
      Figure 5(a)
     </xref> was taken from author’s experiment.</p>
    <fig id="fig4" position="float">
     <label>Figure 4</label>
     <caption>
      <title>Figure 4. Selection of 6 reference color pixel groups proposed by Williams and Drexler <xref ref-type="bibr" rid="scirp.135291-10">
        [10]
       </xref>.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/2605914-rId45.jpeg?20240909100537" />
    </fig>
    <fig-group id="fig5" position="float">
     <fig id="fig5" position="float">
      <label>Figure 5</label>
      <caption>
       <title>(a)--(b)--(c)--Figure 5. (a) Example of original peanut pod image; (b) Area of identified peanut pod without classification; (c) Area of identified peanut pod using Mahalanobis distance.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/2605914-rId46.jpeg?20240909100537" />
     </fig>
     <fig id="fig5" position="float">
      <label>Figure 5</label>
      <caption>
       <title>(a)--(b)--(c)--Figure 5. (a) Example of original peanut pod image; (b) Area of identified peanut pod without classification; (c) Area of identified peanut pod using Mahalanobis distance.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/2605914-rId47.jpeg?20240909100537" />
     </fig>
     <fig id="fig5" position="float">
      <label>Figure 5</label>
      <caption>
       <title>(a)--(b)--(c)--Figure 5. (a) Example of original peanut pod image; (b) Area of identified peanut pod without classification; (c) Area of identified peanut pod using Mahalanobis distance.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/2605914-rId48.jpeg?20240909100537" />
     </fig>
    </fig-group>
   </sec>
   <sec id="s3_2">
    <title>3.2. Peanut Pods Maturity Estimation</title>
    <p>The OBB<sub>obs</sub> (<xref ref-type="fig" rid="fig3(a)">
      Figure 3(a)
     </xref>) and a processed photo (<xref ref-type="fig" rid="fig3(b)">
      Figure 3(b)
     </xref>) using Mahalanobis distance showed that OBB<sub>est</sub> was positively influenced by the sum of orange (r = 0.30, p &lt; 0.001), brown (r = 0.61, p &lt; 0.001), and black (r = 0.69, p &lt; 0.001) percentage based on image analysis (<xref ref-type="fig" rid="fig6">
      Figure 6
     </xref>). Actual counts showed negatively relationships with brightness (r = −0.23, p &lt; 0001) and saturation (r = −0.21, p &lt; 0.001). The most dominant direct effects on OBB<sub>est</sub> were brightness, saturation, and 6 color pixel (%) from image analysis. Multiple linear regression analysis (SAS procedure PROC REG) was used to generate linear equation (Equation (8)). However, saturation and brightness exhibited multicollinearity based on a VIF (variance inflation factor) test. Therefore, only brightness was selected as an independent parameter, which had a greater effect on OBB. Adding saturation on top of brightness didn’t improve the model based on Cp, AIC, BIC, and adjusted R<sup>2</sup>. The residual plot showed no linearity violation and constant variances, and QQ plot depicted the data is normally distributed. Statistical interactions were also introduced (Equation (8)) to perform better estimation.</p>
    <fig id="fig6" position="float">
     <label>Figure 6</label>
     <caption>
      <title>Figure 6. Influence of sum OBB from image analysis on actual OBB. Note: n = 315 (p &lt; 0.001).</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/2605914-rId49.jpeg?20240909100537" />
    </fig>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mtable columnalign="left"> 
       <mtr> 
        <mtd> 
         <mi>
           O 
         </mi> 
         <mi>
           B 
         </mi> 
         <msub> 
          <mi>
            B 
          </mi> 
          <mrow> 
           <mi>
             e 
           </mi> 
           <mi>
             s 
           </mi> 
           <mi>
             t 
           </mi> 
          </mrow> 
         </msub> 
         <mo>
           = 
         </mo> 
         <mn>
           50.88 
         </mn> 
         <mo>
           − 
         </mo> 
         <mn>
           0.01 
         </mn> 
         <mi>
           B 
         </mi> 
         <mi>
           r 
         </mi> 
         <mi>
           i 
         </mi> 
         <mi>
           g 
         </mi> 
         <mi>
           h 
         </mi> 
         <mi>
           t 
         </mi> 
         <mi>
           n 
         </mi> 
         <mi>
           e 
         </mi> 
         <mi>
           s 
         </mi> 
         <mi>
           s 
         </mi> 
         <mo>
           − 
         </mo> 
         <mn>
           0.83 
         </mn> 
         <mi>
           P 
         </mi> 
         <mi>
           a 
         </mi> 
         <mi>
           l 
         </mi> 
         <mi>
           e 
         </mi> 
         <mi>
           Y 
         </mi> 
         <mo>
           − 
         </mo> 
         <mn>
           1.86 
         </mn> 
         <mi>
           D 
         </mi> 
         <mi>
           e 
         </mi> 
         <mi>
           e 
         </mi> 
         <mi>
           p 
         </mi> 
         <mi>
           Y 
         </mi> 
        </mtd> 
       </mtr> 
       <mtr> 
        <mtd> 
         <mtext>
             
         </mtext> 
         <mtext>
             
         </mtext> 
         <mtext>
             
         </mtext> 
         <mtext>
             
         </mtext> 
         <mtext>
             
         </mtext> 
         <mtext>
             
         </mtext> 
         <mtext>
             
         </mtext> 
         <mtext>
             
         </mtext> 
         <mtext>
             
         </mtext> 
         <mtext>
             
         </mtext> 
         <mtext>
             
         </mtext> 
         <mtext>
             
         </mtext> 
         <mtext>
             
         </mtext> 
         <mo>
           + 
         </mo> 
         <mn>
           0.04 
         </mn> 
         <mi>
           O 
         </mi> 
         <mi>
           r 
         </mi> 
         <mi>
           a 
         </mi> 
         <mi>
           n 
         </mi> 
         <mi>
           g 
         </mi> 
         <mi>
           e 
         </mi> 
         <mo>
           + 
         </mo> 
         <mn>
           1.18 
         </mn> 
         <mi>
           B 
         </mi> 
         <mi>
           r 
         </mi> 
         <mi>
           o 
         </mi> 
         <mi>
           w 
         </mi> 
         <mi>
           n 
         </mi> 
         <mo>
           + 
         </mo> 
         <mn>
           0.80 
         </mn> 
         <mi>
           B 
         </mi> 
         <mi>
           l 
         </mi> 
         <mi>
           a 
         </mi> 
         <mi>
           c 
         </mi> 
         <mi>
           k 
         </mi> 
         <mo>
           + 
         </mo> 
         <mn>
           0.03 
         </mn> 
         <mi>
           P 
         </mi> 
         <mi>
           a 
         </mi> 
         <mi>
           l 
         </mi> 
         <mi>
           e 
         </mi> 
         <mi>
           Y 
         </mi> 
         <mo>
           × 
         </mo> 
         <mi>
           D 
         </mi> 
         <mi>
           e 
         </mi> 
         <mi>
           e 
         </mi> 
         <mi>
           p 
         </mi> 
         <mi>
           Y 
         </mi> 
        </mtd> 
       </mtr> 
       <mtr> 
        <mtd> 
         <mtext>
             
         </mtext> 
         <mtext>
             
         </mtext> 
         <mtext>
             
         </mtext> 
         <mtext>
             
         </mtext> 
         <mtext>
             
         </mtext> 
         <mtext>
             
         </mtext> 
         <mtext>
             
         </mtext> 
         <mtext>
             
         </mtext> 
         <mtext>
             
         </mtext> 
         <mtext>
             
         </mtext> 
         <mtext>
             
         </mtext> 
         <mtext>
             
         </mtext> 
         <mtext>
             
         </mtext> 
         <mo>
           + 
         </mo> 
         <mn>
           0.03 
         </mn> 
         <mi>
           D 
         </mi> 
         <mi>
           e 
         </mi> 
         <mi>
           e 
         </mi> 
         <mi>
           p 
         </mi> 
         <mi>
           Y 
         </mi> 
         <mo>
           × 
         </mo> 
         <mi>
           O 
         </mi> 
         <mi>
           r 
         </mi> 
         <mi>
           a 
         </mi> 
         <mi>
           n 
         </mi> 
         <mi>
           g 
         </mi> 
         <mi>
           e 
         </mi> 
         <mo>
           + 
         </mo> 
         <mn>
           0.01 
         </mn> 
         <mi>
           B 
         </mi> 
         <mi>
           r 
         </mi> 
         <mi>
           o 
         </mi> 
         <mi>
           w 
         </mi> 
         <mi>
           n 
         </mi> 
         <mo>
           × 
         </mo> 
         <mi>
           B 
         </mi> 
         <mi>
           l 
         </mi> 
         <mi>
           a 
         </mi> 
         <mi>
           c 
         </mi> 
         <mi>
           k 
         </mi> 
         <mtext>
             
         </mtext> 
         <mtext>
             
         </mtext> 
         <mtext>
             
         </mtext> 
         <msup> 
          <mi>
            R 
          </mi> 
          <mn>
            2 
          </mn> 
         </msup> 
         <mo>
           = 
         </mo> 
         <mn>
           0.93 
         </mn> 
        </mtd> 
       </mtr> 
      </mtable> 
     </math>(8)</p>
    <p>where 15.2 &lt; OBB<sub>est</sub> &lt; 86.2%; 311 &lt; Brightness &lt; 730; 0 &lt; PaleY &lt; 38.2%; 3.8 &lt; DeepY &lt; 44.6%; 6.6 &lt; Orange &lt; 47.6%; 8.7 &lt; Brown &lt; 36.9%; and 0 &lt; Black &lt; 48.6%.</p>
    <p>The validation curves for the estimated and observed OBB using linear equations indicated that the correlation between the observed and predicted defoliation were both close to the 1:1 line and the values of R<sup>2</sup> of linear regression was 0.93 (<xref ref-type="fig" rid="fig7">
      Figure 7
     </xref>). Plot of correlation curve of OBB<sub>est</sub> and OBB<sub>obs</sub> (<xref ref-type="fig" rid="fig7">
      Figure 7
     </xref>) showed the RMSE produced by linear equation at 4.1%.</p>
    <fig id="fig7" position="float">
     <label>Figure 7</label>
     <caption>
      <title>Figure 7. Linear correlation between the actual OBB percentage (%) and OBB<sub>est</sub> from images. Note: n = 315 (R<sup>2</sup> = 0.93, RMSE = 4.1%, p &lt; 0.001). Dotted line is 1:1 line.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/2605914-rId52.jpeg?20240909100537" />
    </fig>
    <p>The BL<sub>est</sub> (<xref ref-type="fig" rid="fig3(a)">
      Figure 3(a)
     </xref>) and a processed photo (<xref ref-type="fig" rid="fig3(b)">
      Figure 3(b)
     </xref>) using Mahalanobis distance showed that BL<sub>est</sub> was influenced by the sum of orange (r = −0.42, p &lt; 0.001), and black (r = 0.86, p &lt; 0.001) percentage based on image analysis. The most dominant direct effects on BL<sub>est</sub> were orange and black pixel (%) from image analysis. Multiple linear regression analysis (SAS procedure PROC REG) was also used to generate linear equation (Equation (9)). The residual plot also showed no linearity violation and constant variances, and QQ plot depicted the data is normally distributed. Statistical interactions were also introduced (Equation (9) to perform better estimation.</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         B 
       </mi> 
       <msub> 
        <mi>
          L 
        </mi> 
        <mrow> 
         <mi>
           e 
         </mi> 
         <mi>
           s 
         </mi> 
         <mi>
           t 
         </mi> 
        </mrow> 
       </msub> 
       <mo>
         = 
       </mo> 
       <mo>
         − 
       </mo> 
       <mn>
         3.00 
       </mn> 
       <mo>
         + 
       </mo> 
       <mn>
         0.09 
       </mn> 
       <mi>
         O 
       </mi> 
       <mi>
         r 
       </mi> 
       <mi>
         a 
       </mi> 
       <mi>
         n 
       </mi> 
       <mi>
         g 
       </mi> 
       <mi>
         e 
       </mi> 
       <mo>
         + 
       </mo> 
       <mn>
         0.74 
       </mn> 
       <mi>
         B 
       </mi> 
       <mi>
         l 
       </mi> 
       <mi>
         a 
       </mi> 
       <mi>
         c 
       </mi> 
       <mi>
         k 
       </mi> 
       <mo>
         − 
       </mo> 
       <mn>
         0.02 
       </mn> 
       <mi>
         O 
       </mi> 
       <mi>
         r 
       </mi> 
       <mi>
         a 
       </mi> 
       <mi>
         n 
       </mi> 
       <mi>
         g 
       </mi> 
       <mi>
         e 
       </mi> 
       <mo>
         × 
       </mo> 
       <mi>
         B 
       </mi> 
       <mi>
         l 
       </mi> 
       <mi>
         a 
       </mi> 
       <mi>
         c 
       </mi> 
       <mi>
         k 
       </mi> 
       <mtext>
           
       </mtext> 
       <mtext>
           
       </mtext> 
       <mtext>
           
       </mtext> 
       <mtext>
           
       </mtext> 
       <msup> 
        <mi>
          R 
        </mi> 
        <mn>
          2 
        </mn> 
       </msup> 
       <mo>
         = 
       </mo> 
       <mn>
         0.88 
       </mn> 
      </mrow> 
     </math>(9)</p>
    <p>where 6.6 &lt; Orange &lt; 47.6%, and 0 &lt; Black &lt; 48.6%.</p>
    <p>The validation curves for the BL<sub>est</sub> and BL<sub>obs</sub> using linear equations indicated that the correlation between the observed and predicted values were both close to the 1:1 line and the values of R<sup>2</sup> of linear regression was 0.88 (<xref ref-type="fig" rid="fig8">
      Figure 8
     </xref>). Plot of correlation curve of BL<sub>est</sub> and BL<sub>obs</sub> (<xref ref-type="fig" rid="fig8">
      Figure 8
     </xref>) showed the RMSE produced by linear equation at 1.8%.</p>
    <fig id="fig8" position="float">
     <label>Figure 8</label>
     <caption>
      <title>Figure 8. Linear correlation between the BL<sub>obs</sub> (%) and BL<sub>est</sub> (%) from images. Note: n = 132 (R<sup>2</sup> = 0.88, RMSE = 1.8%, p &lt; 0.001). Dotted line is 1:1 line.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/2605914-rId55.jpeg?20240909100537" />
    </fig>
   </sec>
   <sec id="s3_3">
    <title>3.3. Validation of Peanut Pod Maturity Model</title>
    <p>To validate the maturity model, the images taken on August 28<sup>th</sup>, September 4<sup>th</sup>, and October 15<sup>th</sup>, 2017 were selected for photography with a conventional RGB camera (MOTOROLA XT1030) at a distance of approximately 30 cm. The ability of the developed maturity model to predict OBB and BL as computed image in 2017 was evaluated and compared (<xref ref-type="table" rid="table1">
      Table 1
     </xref>). The validation of OBB using other images from field provided reasonable estimation (R<sup>2</sup> = 0.98 and RMSE = 2.73%). The average error between OBB<sub>est</sub> and OBB<sub>obs</sub> was 2.37% (<xref ref-type="table" rid="table1">
      Table 1
     </xref>). The average error between BL<sub>est</sub> and BL<sub>obs</sub> was 0.76% (<xref ref-type="table" rid="table1">
      Table 1
     </xref>). The peanut maturity model provided reasonable estimation compared to OBB<sub>obs</sub> and BL<sub>obs</sub> obtained in 2017 images for validation. This maturity model currently only can be used in images with resolution (1000 × 750 pixels) or above, which can provide reasonable estimation. When the resolution is under 1000 × 750 pixels, the OBB<sub>est</sub> is underestimated due to the insensitivity of color detection. To make the model more suitable for use in the field, future work can focus on making the proposed software more robust against different weather conditions of pod color classification.</p>
    <table-wrap id="table1">
     <label>
      <xref ref-type="table" rid="table1">
       Table 1
      </xref></label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.135291-"></xref>Table 1. Error analysis of peanut pod maturity model based on 27 images from the 2017 harvest season in South Carolina.</title>
     </caption>
     <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
      <tr> 
       <td class="custom-bottom-td acenter" width="9.60%">Type<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="9.15%">Variety<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="8.33%">OBB<sub>est</sub> (%)<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="8.33%">BL<sub>est</sub> (%)<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="8.33%">OBB (#)<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="8.33%">BL (#)<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="7.30%">Other (#)<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="9.37%">OBB<sub>obs</sub> (%)<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="8.33%">BL<sub>obs</sub> (%)<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="8.33%">Error<sup>1</sup> (%)<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="8.33%">Error<sup>2</sup> (%)<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="custom-top-td acenter" width="9.60%">Virginia<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="9.15%">N/A<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="8.33%">55.65<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="8.33%">0.12<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="8.33%">168<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="8.33%">2<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="7.30%">118<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="9.37%">58.74<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="8.33%">0.69<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="8.33%">−3.09<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="8.33%">−0.57<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="9.60%">Virginia<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.15%">Bell<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">88.99<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">12.31<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">89<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">12<p style="text-align:center"></p></td> 
       <td class="acenter" width="7.30%">11<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.37%">89.00<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">10.71<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">−0.01<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">1.60<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="9.60%">Virginia<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.15%">Bell<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">87.86<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">10.33<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">98<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">11<p style="text-align:center"></p></td> 
       <td class="acenter" width="7.30%">17<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.37%">85.22<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">8.73<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">2.64<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">1.60<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="9.60%">Virginia<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.15%">Bell<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">95.27<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">11.4<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">100<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">14<p style="text-align:center"></p></td> 
       <td class="acenter" width="7.30%">9<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.37%">91.74<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">11.38<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">3.53<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">0.02<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="9.60%">Virginia<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.15%">Emery<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">73.42<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">2.21<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">78<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">5<p style="text-align:center"></p></td> 
       <td class="acenter" width="7.30%">31<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.37%">71.56<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">4.39<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">1.86<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">−2.18<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="9.60%">Virginia<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.15%">Emery<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">78.39<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">3.52<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">84<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">6<p style="text-align:center"></p></td> 
       <td class="acenter" width="7.30%">20<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.37%">80.77<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">5.45<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">−2.38<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">−1.93<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="9.60%">Virginia<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.15%">Emery<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">69.04<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">4.44<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">82<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">5<p style="text-align:center"></p></td> 
       <td class="acenter" width="7.30%">30<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.37%">73.21<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">4.27<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">−4.17<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">0.17<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="9.60%">Virginia<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.15%">Sullivan<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">56.05<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">0.32<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">64<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">2<p style="text-align:center"></p></td> 
       <td class="acenter" width="7.30%">46<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.37%">58.18<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">1.79<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">−2.13<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">−1.47<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="9.60%">Virginia<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.15%">Sullivan<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">60.90<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">2.08<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">72<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">3<p style="text-align:center"></p></td> 
       <td class="acenter" width="7.30%">44<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.37%">62.07<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">2.52<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">−1.17<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">−0.44<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="9.60%">Virginia<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.15%">Sullivan<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">64.06<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">2.32<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">77<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">4<p style="text-align:center"></p></td> 
       <td class="acenter" width="7.30%">39<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.37%">66.38<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">3.33<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">−2.32<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">−1.01<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="9.60%">Runner<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.15%">N/A<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">53.05<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">0.21<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">177<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">2<p style="text-align:center"></p></td> 
       <td class="acenter" width="7.30%">137<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.37%">56.37<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">0.63<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">−3.32<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">−0.42<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="9.60%">Runner<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.15%">N/A<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">20.55<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">0.01<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">65<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">0<p style="text-align:center"></p></td> 
       <td class="acenter" width="7.30%">231<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.37%">21.96<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">0.00<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">−1.41<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">0.01<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="9.60%">Runner<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.15%">N/A<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">33.74<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">0.03<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">90<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">0<p style="text-align:center"></p></td> 
       <td class="acenter" width="7.30%">178<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.37%">33.58<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">0.00<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">0.16<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">0.03<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="9.60%">Runner<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.15%">N/A<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">55.89<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">0.57<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">115<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">1<p style="text-align:center"></p></td> 
       <td class="acenter" width="7.30%">87<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.37%">56.93<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">0.49<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">−1.04<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">0.08<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="9.60%">Runner<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.15%">N/A<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">39.95<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">0.03<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">177<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">0<p style="text-align:center"></p></td> 
       <td class="acenter" width="7.30%">225<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.37%">44.02<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">0.00<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">−4.07<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">0.03<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="9.60%">Runner<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.15%">N/A<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">65.84<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">1.52<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">155<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">3<p style="text-align:center"></p></td> 
       <td class="acenter" width="7.30%">75<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.37%">67.39<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">1.29<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">−1.55<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">0.23<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="9.60%">Runner<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.15%">N/A<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">64.03<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">1.18<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">169<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">3<p style="text-align:center"></p></td> 
       <td class="acenter" width="7.30%">78<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.37%">68.42<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">1.20<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">−4.39<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">−0.02<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="9.60%">Runner<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.15%">N/A<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">63.03<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">2.3<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">155<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">4<p style="text-align:center"></p></td> 
       <td class="acenter" width="7.30%">81<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.37%">65.68<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">1.67<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">−2.65<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">0.63<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="9.60%">Runner<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.15%">AU-17<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">77.02<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">6.88<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">86<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">6<p style="text-align:center"></p></td> 
       <td class="acenter" width="7.30%">27<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.37%">76.11<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">5.04<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">0.91<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">1.84<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="9.60%">Runner<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.15%">AU-17<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">81.04<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">7.21<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">85<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">7<p style="text-align:center"></p></td> 
       <td class="acenter" width="7.30%">25<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.37%">77.27<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">5.98<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">3.77<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">1.23<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="9.60%">Runner<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.15%">AU-17<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">86.87<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">5.66<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">94<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">7<p style="text-align:center"></p></td> 
       <td class="acenter" width="7.30%">20<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.37%">82.46<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">5.79<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">4.41<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">−0.13<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="9.60%">Runner<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.15%">GA-06G<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">73.73<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">5.21<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">79<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">5<p style="text-align:center"></p></td> 
       <td class="acenter" width="7.30%">30<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.37%">72.48<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">4.39<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">1.25<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">0.82<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="9.60%">Runner<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.15%">GA-06G<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">84.23<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">8.93<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">88<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">8<p style="text-align:center"></p></td> 
       <td class="acenter" width="7.30%">17<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.37%">83.81<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">7.08<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">0.42<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">1.85<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="9.60%">Runner<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.15%">GA-06G<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">72.43<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">4.53<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">78<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">4<p style="text-align:center"></p></td> 
       <td class="acenter" width="7.30%">35<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.37%">69.03<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">3.42<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">3.4<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">1.11<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="9.60%">Runner<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.15%">GA-16H0<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">78.27<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">4.66<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">85<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">5<p style="text-align:center"></p></td> 
       <td class="acenter" width="7.30%">23<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.37%">78.70<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">4.42<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">−0.43<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">0.24<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="9.60%">Runner<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.15%">GA-16H0<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">58.60<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">1.93<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">53<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">2<p style="text-align:center"></p></td> 
       <td class="acenter" width="7.30%">43<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.37%">55.21<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">2.04<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">3.39<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">−0.11<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="9.60%">Runner<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.15%">GA-16H0<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">77.74<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">6.02<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">78<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">6<p style="text-align:center"></p></td> 
       <td class="acenter" width="7.30%">28<p style="text-align:center"></p></td> 
       <td class="acenter" width="9.37%">73.58<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">5.36<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">4.16<p style="text-align:center"></p></td> 
       <td class="acenter" width="8.33%">0.66<p style="text-align:center"></p></td> 
      </tr> 
     </table>
    </table-wrap>
    <p>Note: <sup>1</sup>Error = OBB<sub>est</sub> − OBB<sub>obs</sub>; <sup>2</sup>Error = BL<sub>est</sub> − BL<sub>obs</sub>.</p>
   </sec>
   <sec id="s3_4">
    <title>3.4. Pod Blasting Time for Peanut Maturity Estimation</title>
    <p>To determine the optimal pod blasting time for image analysis, six peanut cultivars—Bell, Emery, Sullivan, GA-06G, GA-16H0, and AU-17 were selected. Approximately 100 pods from each cultivar were randomly chosen and photographed at one-minute intervals during pod blasting. <xref ref-type="fig" rid="fig9">
      Figure 9
     </xref> illustrates the peanut pod images of the AU-17 variety at different blasting times. The OBB<sub>est</sub> values increased with pod blasting time, eventually plateauing for several minutes before decreasing due to mesocarp damage from the pressure washer, as shown in <xref ref-type="fig" rid="fig10">
      Figure 10
     </xref> and <xref ref-type="fig" rid="fig11">
      Figure 11
     </xref>. The red frame in <xref ref-type="fig" rid="fig9(i)">
      Figure 9(i)
     </xref> highlights the white kernels. The optimal pod blasting times for each cultivar are summarized in <xref ref-type="table" rid="table2">
      Table 2
     </xref>. On average, Runner type peanuts required 1 - 2 minutes longer than Virginia type peanuts to achieve thorough pod blasting. When the optimal pod blasting time was reached, the average error between the estimated OBB<sub>est</sub> and the observed OBB<sub>obs</sub> was only 1.18%.</p>
    <fig id="fig9" position="float">
     <label>Figure 9</label>
     <caption>
      <title>(a) (b) (c)<p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2605914-rId59.jpeg?20240909100538" /></p><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2605914-rId60.jpeg?20240909100538" /></p><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2605914-rId61.jpeg?20240909100538" /></p>(d) (e) (f)<p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2605914-rId62.jpeg?20240909100538" /></p><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2605914-rId63.jpeg?20240909100538" /></p><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2605914-rId64.jpeg?20240909100538" /></p>(g) (h) (i)Figure 9. Example of original peanut pod image (AU-17) at (a) 1 min, (b) 2 min, (c) 3 min, (d) 4 min, (e) 5 min, (f) 6 min, (g) 7 min, (h) 8 min, and (i) 9 min.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="" />
    </fig>
    <fig id="fig9" position="float">
     <label>Figure 9</label>
     <caption>
      <title>(a) (b) (c)<p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2605914-rId59.jpeg?20240909100538" /></p><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2605914-rId60.jpeg?20240909100538" /></p><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2605914-rId61.jpeg?20240909100538" /></p>(d) (e) (f)<p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2605914-rId62.jpeg?20240909100538" /></p><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2605914-rId63.jpeg?20240909100538" /></p><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2605914-rId64.jpeg?20240909100538" /></p>(g) (h) (i)Figure 9. Example of original peanut pod image (AU-17) at (a) 1 min, (b) 2 min, (c) 3 min, (d) 4 min, (e) 5 min, (f) 6 min, (g) 7 min, (h) 8 min, and (i) 9 min.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/2605914-rId56.jpeg?20240909100538" />
    </fig>
    <fig id="fig9" position="float">
     <label>Figure 9</label>
     <caption>
      <title>(a) (b) (c)<p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2605914-rId59.jpeg?20240909100538" /></p><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2605914-rId60.jpeg?20240909100538" /></p><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2605914-rId61.jpeg?20240909100538" /></p>(d) (e) (f)<p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2605914-rId62.jpeg?20240909100538" /></p><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2605914-rId63.jpeg?20240909100538" /></p><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2605914-rId64.jpeg?20240909100538" /></p>(g) (h) (i)Figure 9. Example of original peanut pod image (AU-17) at (a) 1 min, (b) 2 min, (c) 3 min, (d) 4 min, (e) 5 min, (f) 6 min, (g) 7 min, (h) 8 min, and (i) 9 min.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/2605914-rId57.jpeg?20240909100538" />
    </fig>
    <fig id="fig9" position="float">
     <label>Figure 9</label>
     <caption>
      <title>(a) (b) (c)<p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2605914-rId59.jpeg?20240909100538" /></p><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2605914-rId60.jpeg?20240909100538" /></p><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2605914-rId61.jpeg?20240909100538" /></p>(d) (e) (f)<p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2605914-rId62.jpeg?20240909100538" /></p><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2605914-rId63.jpeg?20240909100538" /></p><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2605914-rId64.jpeg?20240909100538" /></p>(g) (h) (i)Figure 9. Example of original peanut pod image (AU-17) at (a) 1 min, (b) 2 min, (c) 3 min, (d) 4 min, (e) 5 min, (f) 6 min, (g) 7 min, (h) 8 min, and (i) 9 min.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/2605914-rId58.jpeg?20240909100538" />
    </fig>
    <fig id="fig10" position="float">
     <label>Figure 10</label>
     <caption>
      <title>Figure 10. Pod blasting time for selected variety of Virginia type.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/2605914-rId65.jpeg?20240909100538" />
    </fig>
    <fig id="fig11" position="float">
     <label>Figure 11</label>
     <caption>
      <title>Figure 11. Pod blasting time for selected variety of Runner type.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/2605914-rId66.jpeg?20240909100538" />
    </fig>
    <table-wrap id="table2">
     <label>
      <xref ref-type="table" rid="table2">
       Table 2
      </xref></label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.135291-"></xref>Table 2. Optimal pod blasting time for different peanut varieties.</title>
     </caption>
     <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
      <tr> 
       <td class="custom-bottom-td acenter" width="16.60%">Type<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="16.72%">Variety<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="19.26%">Optimal blasting time (min)<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="15.80%">OBB<sub>est</sub> (%)<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="15.80%">OBB<sub>obs</sub> (%)<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="15.81%">Error (%)<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="custom-top-td acenter" width="16.60%">Virginia<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="16.72%">Bell<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="19.26%">6<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="15.80%">88.99<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="15.80%">89.00<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="15.81%">−0.01<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="16.60%">Virginia<p style="text-align:center"></p></td> 
       <td class="acenter" width="16.72%">Emery<p style="text-align:center"></p></td> 
       <td class="acenter" width="19.26%">5<p style="text-align:center"></p></td> 
       <td class="acenter" width="15.80%">73.92<p style="text-align:center"></p></td> 
       <td class="acenter" width="15.80%">71.56<p style="text-align:center"></p></td> 
       <td class="acenter" width="15.81%">2.36<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="16.60%">Virginia<p style="text-align:center"></p></td> 
       <td class="acenter" width="16.72%">Sullivan<p style="text-align:center"></p></td> 
       <td class="acenter" width="19.26%">6<p style="text-align:center"></p></td> 
       <td class="acenter" width="15.80%">56.05<p style="text-align:center"></p></td> 
       <td class="acenter" width="15.80%">58.18<p style="text-align:center"></p></td> 
       <td class="acenter" width="15.81%">−2.13<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="16.60%">Runner<p style="text-align:center"></p></td> 
       <td class="acenter" width="16.72%">AU-17<p style="text-align:center"></p></td> 
       <td class="acenter" width="19.26%">7<p style="text-align:center"></p></td> 
       <td class="acenter" width="15.80%">77.02<p style="text-align:center"></p></td> 
       <td class="acenter" width="15.80%">76.11<p style="text-align:center"></p></td> 
       <td class="acenter" width="15.81%">0.91<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="16.60%">Runner<p style="text-align:center"></p></td> 
       <td class="acenter" width="16.72%">GA-06G<p style="text-align:center"></p></td> 
       <td class="acenter" width="19.26%">8<p style="text-align:center"></p></td> 
       <td class="acenter" width="15.80%">73.73<p style="text-align:center"></p></td> 
       <td class="acenter" width="15.80%">72.48<p style="text-align:center"></p></td> 
       <td class="acenter" width="15.81%">1.25<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="16.60%">Runner<p style="text-align:center"></p></td> 
       <td class="acenter" width="16.72%">GA-16H0<p style="text-align:center"></p></td> 
       <td class="acenter" width="19.26%">7<p style="text-align:center"></p></td> 
       <td class="acenter" width="15.80%">78.27<p style="text-align:center"></p></td> 
       <td class="acenter" width="15.80%">78.70<p style="text-align:center"></p></td> 
       <td class="acenter" width="15.81%">−0.43<p style="text-align:center"></p></td> 
      </tr> 
     </table>
    </table-wrap>
    <p>Although various studies have estimated peanut pod maturity <xref ref-type="bibr" rid="scirp.135291-8">
      [8]
     </xref> <xref ref-type="bibr" rid="scirp.135291-10">
      [10]
     </xref> <xref ref-type="bibr" rid="scirp.135291-12">
      [12]
     </xref> <xref ref-type="bibr" rid="scirp.135291-17">
      [17]
     </xref> <xref ref-type="bibr" rid="scirp.135291-18">
      [18]
     </xref> <xref ref-type="bibr" rid="scirp.135291-24">
      [24]
     </xref>, they employed a range of methods, most of which were manual and relied on scanners or hyperspectral sensors. These methods can be time-consuming and costly for growers to implement. Therefore, this study has developed an accurate, fast, and non-destructive method for estimating peanut maturity, which can significantly enhance the efficiency of scouting for color classification, making it more practical for widespread use.</p>
   </sec>
  </sec><sec id="s4">
   <title>4. Conclusions</title>
   <p>This paper described the methodology that calculates OBB<sub>est</sub> and BL<sub>est</sub> of peanut maturity. The following conclusions are drawn from this paper:</p>
   <p>1) This paper has presented a new automated approach for classifying peanut pod maturity. The Mahalanobis distance processing methodology to estimate peanut maturity is highly adaptable and robust and the classification methodology allows discriminating 2 different classes, corresponding to pods and background images. The classifier’s performance for the identification of mesocarp had 94% effectiveness.</p>
   <p>2) The two empirical equations have the potential to estimate OBB<sub>est</sub> and BL<sub>est</sub> (%) from images of peanut pods taken from the field. The average error between OBB<sub>est</sub> and OBB<sub>obs</sub> was 2.37%. The average error between BL<sub>est</sub> and BL<sub>obs</sub> was 0.76%.</p>
   <p>3) Pod blasting time affected image analysis results. The optimal pod blasting time for Virginia type and Runner type were 5 - 6 min and 7 - 8 min, respectively. The average error between OBB<sub>est</sub> and OBB<sub>obs</sub> was only 1.18% when optimal pod blasting time was reached.</p>
   <p>4) This software proposed a simple, inexpensive, and non-destructive method for image acquisition as only a commercial camera or smartphone is needed. The accurate estimation of peanut maturity during harvest season will provide valuable information and help reduce the level of subjectivity that is associated with human assessment of peanut pod maturity.</p>
  </sec><sec id="s5">
   <title>Acknowledgements</title>
   <p>This project is currently funded by the Public Service and Agriculture of Clemson University.</p>
  </sec>
 </body><back>
  <ref-list>
   <title>References</title>
   <ref id="scirp.135291-ref1">
    <label>1</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     USDA (2023) Georgia Leads U.S. Production of Peanuts, Outproducing All Other States Combined. &gt;https://www.ers.usda.gov/data-products/chart-gallery/gallery/chart-detail/?chartId=106192
    </mixed-citation>
   </ref>
   <ref id="scirp.135291-ref2">
    <label>2</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     USDA (2016) USDA Commodity Requirements. &gt;https://www.ams.usda.gov/sites/default/files/2000007618%20-%20Peanut%20Products%20CRD.pdf 
    </mixed-citation>
   </ref>
   <ref id="scirp.135291-ref3">
    <label>3</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Sanders, T.H., Williams, E.J., Schubert, A.M. and Pattee, H.E. (1980) Peanut Maturity Method Evaluations. I. Southeast. Peanut Science, 7, 78-82. &gt;https://doi.org/10.3146/i0095-3679-7-2-5 
    </mixed-citation>
   </ref>
   <ref id="scirp.135291-ref4">
    <label>4</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Rowland, D.L., Sorensen, R.B., Butts, C.L. and Faircloth, W.H. (2006) Determination of Maturity and Degree Day Indices and Their Success in Predicting Peanut Maturity. Peanut Science, 33, 125-136. 
    </mixed-citation>
   </ref>
   <ref id="scirp.135291-ref5">
    <label>5</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Rowland, D.L., Sorensen, R.B., Butts, C.L. and Faircloth, W.H. (2006) Determination of Maturity and Degree Day Indices and Their Success in Predicting Peanut Maturity1. Peanut Science, 33, 125-136. &gt;https://doi.org/10.3146/0095-3679(2006)33[125:domadd]2.0.co;2 
    </mixed-citation>
   </ref>
   <ref id="scirp.135291-ref6">
    <label>6</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     College of Agriculture, Forestry and Sciences (2024) 2024 South Carolina Pest Management Handbook. &gt;https://www.clemson.edu/extension/agronomy/_files/pest-management-handbook-clemson-extension.pdf 
    </mixed-citation>
   </ref>
   <ref id="scirp.135291-ref7">
    <label>7</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     University of Florida (2013) Peanut Maturity Update. &gt;http://nwdistrict.ifas.ufl.edu/phag/2013/08/16/peanut-maturity-update/
    </mixed-citation>
   </ref>
   <ref id="scirp.135291-ref8">
    <label>8</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Ghate, S.R., Evans, M.D., Kvien, C.K. and Rucker, K.S. (1993) Maturity Detection in Peanuts (Arachis Hypogaea L.) Using Machine Vision. Transactions of the ASAE, 36, 1941-1947. &gt;https://doi.org/10.13031/2013.28546 
    </mixed-citation>
   </ref>
   <ref id="scirp.135291-ref9">
    <label>9</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     University of Georgia (2003) Cooperative Extension Service. &gt;https://www.ars.usda.gov/ARSUserFiles/60440000/ResearchandExtensionReports/2003GAReport.pdf
    </mixed-citation>
   </ref>
   <ref id="scirp.135291-ref10">
    <label>10</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Williams, E.J. and Drexler, J.S. (1981) A Non-Destructive Method for Determining Peanut Pod Maturity. Peanut Science, 8, 134-141. &gt;https://doi.org/10.3146/i0095-3679-8-2-15 
    </mixed-citation>
   </ref>
   <ref id="scirp.135291-ref11">
    <label>11</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Baldwin, J.A., and Beasley, J.P. (1990) Producing Quality Peanuts. University of Georgia-Athens.
    </mixed-citation>
   </ref>
   <ref id="scirp.135291-ref12">
    <label>12</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Boldor, D., Sanders, T.H., Swartzel, K.R. and Simunovic, J. (2002) Computer-Assisted Color Classification of Peanut Pods1. Peanut Science, 29, 41-46. &gt;https://doi.org/10.3146/pnut.29.1.0008 
    </mixed-citation>
   </ref>
   <ref id="scirp.135291-ref13">
    <label>13</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Colvin, B.C., Rowland, D.L., Ferrell, J.A. and Faircloth, W.H. (2014) Development of a Digital Analysis System to Evaluate Peanut Maturity. Peanut Science, 41, 8-16. &gt;https://doi.org/10.3146/ps13-9.1 
    </mixed-citation>
   </ref>
   <ref id="scirp.135291-ref14">
    <label>14</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Bindlish, E., Abbott, A.L. and Balota, M. (2017). Assessment of Peanut Pod Maturity. 2017 IEEE Winter Conference on Applications of Computer Vision, Santa Rosa, 24-31 March 2017, 688-696. &gt;https://doi.org/10.1109/wacv.2017.82 
    </mixed-citation>
   </ref>
   <ref id="scirp.135291-ref15">
    <label>15</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Manley, A., Ravelombola, W., Cason, J., Bennett, B., Pham, H., Kimura, E., et al. (2023) Use of Unmanned Aerial System (UAS) Phenotyping to Predict Pod and Seed Yield in Organic Peanuts. American Journal of Plant Sciences, 14, 415-426. &gt;https://doi.org/10.4236/ajps.2023.143027 
    </mixed-citation>
   </ref>
   <ref id="scirp.135291-ref16">
    <label>16</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Yu, F., Wang, M., Xiao, J., Zhang, Q., Zhang, J., Liu, X., et al. (2024) Advancements in Utilizing Image-Analysis Technology for Crop-Yield Estimation. Remote Sensing, 16, Article 1003. &gt;https://doi.org/10.3390/rs16061003 
    </mixed-citation>
   </ref>
   <ref id="scirp.135291-ref17">
    <label>17</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Zou, S., Tseng, Y., Zare, A., Rowland, D.L., Tillman, B.L. and Yoon, S. (2019) Peanut Maturity Classification Using Hyperspectral Imagery. Biosystems Engineering, 188, 165-177. &gt;https://doi.org/10.1016/j.biosystemseng.2019.10.019 
    </mixed-citation>
   </ref>
   <ref id="scirp.135291-ref18">
    <label>18</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Balasubramaniyan, M. and Navaneethan, C. (2022) Identifying Peanut Maturity Based on Hyper Spectral Invariant Scaled Feature Selection Using Adaptive Dense Net Recurrent Neural Network. Measurement: Sensors, 24, Article ID: 100500. &gt;https://doi.org/10.1016/j.measen.2022.100500 
    </mixed-citation>
   </ref>
   <ref id="scirp.135291-ref19">
    <label>19</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Devroye, L., Györfi, L. and Lugosi, G. (1996) Introduction. In: Devroye, L., Györfi, L. and Lugosi, G., Eds., A Probabilistic Theory of Pattern Recognition, Springer, 1-8. &gt;https://doi.org/10.1007/978-1-4612-0711-5_1 
    </mixed-citation>
   </ref>
   <ref id="scirp.135291-ref20">
    <label>20</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Chen, X., Xun, Y., Li, W. and Zhang, J. (2010) Combining Discriminant Analysis and Neural Networks for Corn Variety Identification. Computers and Electronics in Agriculture, 71, S48-S53. &gt;https://doi.org/10.1016/j.compag.2009.09.003 
    </mixed-citation>
   </ref>
   <ref id="scirp.135291-ref21">
    <label>21</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Diago, M., Correa, C., Millán, B., Barreiro, P., Valero, C. and Tardaguila, J. (2012) Grapevine Yield and Leaf Area Estimation Using Supervised Classification Methodology on RGB Images Taken under Field Conditions. Sensors, 12, 16988-17006. &gt;https://doi.org/10.3390/s121216988 
    </mixed-citation>
   </ref>
   <ref id="scirp.135291-ref22">
    <label>22</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Liang, W., Kirk, K.R. and Greene, J.K. (2018) Estimation of Soybean Leaf Area, Edge, and Defoliation Using Color Image Analysis. Computers and Electronics in Agriculture, 150, 41-51. &gt;https://doi.org/10.1016/j.compag.2018.03.021 
    </mixed-citation>
   </ref>
   <ref id="scirp.135291-ref23">
    <label>23</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Xiang, S., Nie, F. and Zhang, C. (2008) Learning a Mahalanobis Distance Metric for Data Clustering and Classification. Pattern Recognition, 41, 3600-3612. &gt;https://doi.org/10.1016/j.patcog.2008.05.018 
    </mixed-citation>
   </ref>
   <ref id="scirp.135291-ref24">
    <label>24</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Rucker, K.S., Kvien, C.K., Vellidis, G., Hill, N.S. and Sharpe, J.K. (1994) A Visual Method of Determining Maturity of Shelled Peanuts1. Peanut Science, 21, 143-146. &gt;https://doi.org/10.3146/i0095-3679-21-2-16
    </mixed-citation>
   </ref>
  </ref-list>
 </back>
</article>