<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xml:lang="en" article-type="research-article">
<front>
<journal-meta>
<journal-id journal-id-type="nlm-ta">Sensors</journal-id>
<journal-title>Sensors</journal-title>
<issn pub-type="epub">1424-8220</issn>
<publisher>
<publisher-name>Molecular Diversity Preservation International (MDPI)</publisher-name></publisher></journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3390/s110606015</article-id>
<article-id pub-id-type="publisher-id">sensors-11-06015</article-id>
<article-categories>
<subj-group>
<subject>Article</subject></subj-group></article-categories>
<title-group>
<article-title>Digital Image Sensor-Based Assessment of the Status of Oat (<italic>Avena sativa</italic> L.<italic>)</italic> Crops after Frost Damage</article-title></title-group>
<contrib-group>
<contrib contrib-type="author">
<name><surname>Macedo-Cruz</surname><given-names>Antonia</given-names></name><xref ref-type="aff" rid="af1-sensors-11-06015"><sup>1</sup></xref><xref ref-type="corresp" rid="c1-sensors-11-06015"><sup>*</sup></xref></contrib>
<contrib contrib-type="author">
<name><surname>Pajares</surname><given-names>Gonzalo</given-names></name><xref ref-type="aff" rid="af2-sensors-11-06015"><sup>2</sup></xref></contrib>
<contrib contrib-type="author">
<name><surname>Santos</surname><given-names>Matilde</given-names></name><xref ref-type="aff" rid="af2-sensors-11-06015"><sup>2</sup></xref></contrib>
<contrib contrib-type="author">
<name><surname>Villegas-Romero</surname><given-names>Isidro</given-names></name><xref ref-type="aff" rid="af3-sensors-11-06015"><sup>3</sup></xref></contrib></contrib-group>
<aff id="af1-sensors-11-06015">
<label>1</label> Colegio de Postgraduados, Campus Montecillo, km. 36.5 carretera México-Texcoco, cp 56230, Montecillo, Texcoco, Estado de México, C.P. 56230, México</aff>
<aff id="af2-sensors-11-06015">
<label>2</label> Facultad de Informática, Universidad Complutense de Madrid, 28040-Madrid, Spain; E-Mails: <email>pajares@fdi.ucm.es</email> (G.P.); <email>msantos@dacya.ucm.es</email> (M.S.)</aff>
<aff id="af3-sensors-11-06015">
<label>3</label> Universidad Autónoma Chapingo, km 38.5 carretera México-Texcoco, cp 56230, Chapingo, Texcoco, Estado de México, C.P. 56230, México; E-Mail: <email>isidrovr@colpos.mx</email> (I.V.-R.)</aff>
<author-notes>
<corresp id="c1-sensors-11-06015">
<label>*</label>Author to whom correspondence should be addressed; E-Mail: <email>macedoan@colpos.mx</email>; Tel.: +52-595-95-45559; Fax: +52-595-95-20237.</corresp></author-notes>
<pub-date pub-type="collection">
<year>2011</year></pub-date>
<pub-date pub-type="epub">
<day>3</day>
<month>6</month>
<year>2011</year></pub-date>
<volume>11</volume>
<issue>6</issue>
<fpage>6015</fpage>
<lpage>6036</lpage>
<history>
<date date-type="received">
<day>11</day>
<month>4</month>
<year>2011</year></date>
<date date-type="rev-recd">
<day>18</day>
<month>5</month>
<year>2011</year></date>
<date date-type="accepted">
<day>30</day>
<month>5</month>
<year>2011</year></date></history>
<permissions>
<copyright-statement>© 2011 by the authors; licensee MDPI, Basel, Switzerland.</copyright-statement>
<copyright-year>2011</copyright-year>
<license>
<p>This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution license (http://creativecommons.org/licenses/by/3.0/).</p></license></permissions>
<abstract>
<p>The aim of this paper is to classify the land covered with oat crops, and the quantification of frost damage on oats, while plants are still in the flowering stage. The images are taken by a digital colour camera CCD-based sensor. Unsupervised classification methods are applied because the plants present different spectral signatures, depending on two main factors: illumination and the affected state. The colour space used in this application is CIELab, based on the decomposition of the colour in three channels, because it is the closest to human colour perception. The histogram of each channel is successively split into regions by thresholding. The best threshold to be applied is automatically obtained as a combination of three thresholding strategies: (a) Otsu’s method, (b) Isodata algorithm, and (c) Fuzzy thresholding. The fusion of these automatic thresholding techniques and the design of the classification strategy are some of the main findings of the paper, which allows an estimation of the damages and a prediction of the oat production.</p></abstract>
<kwd-group>
<kwd>digital image sensor</kwd>
<kwd>agricultural images</kwd>
<kwd>unsupervised classification</kwd>
<kwd>automatic thresholding</kwd>
<kwd>CIELab colour space</kwd>
<kwd>fuzzy error matrix</kwd>
<kwd>oat frost damage</kwd></kwd-group></article-meta></front>
<body>
<sec sec-type="intro">
<label>1.</label>
<title>Introduction</title>
<p>Oat <italic>(Avena sativa</italic> L.<italic>)</italic> is one of the most cropped cereals in the World [<xref ref-type="bibr" rid="b1-sensors-11-06015">1</xref>], with an annual production of 26 million tons of grain [<xref ref-type="bibr" rid="b2-sensors-11-06015">2</xref>]. In Mexico, oats are cultivated on 810,412 ha. During the growing season 2005 and 2009 frost damage affected an area of 76,166 ha [<xref ref-type="bibr" rid="b3-sensors-11-06015">3</xref>,<xref ref-type="bibr" rid="b4-sensors-11-06015">4</xref>] causing substantial losses.</p>
<p>The degree of tolerance shown by a plant to freezing depends largely on the stage of development at which the stress occurs. Before the initiation of flowering, usually 8–10 weeks after germination, cereal plants are capable of withstanding extreme cold. But the most susceptible developmental stage to frost damage is the period from pre-heading to flowering, after ear emergence. The reaction of the oat plant to frost then changes markedly. To sum up the effects of frost damage on cereals: during and after ear emergence plants become very susceptible to frost injury. Frost damage after head-emergence often causes severe stem and head damage. Also, damaged tissues develop a water-soaked dark green colour (a bit like frozen lettuce) and later dry out and bleach. Therefore, the connection between the head and the rest of the plant is affected, and the head dies.</p>
<p>In Mexico, frost between October and December (10 to 60 days), with minimum temperatures as low as −13 °C, can damage substantially the oat crops. Freezing injury of leaves occurred over the range of −2 °C to −4 °C in both the winter and spring cultivars of oat [<xref ref-type="bibr" rid="b5-sensors-11-06015">5</xref>].</p>
<p>The estimation of the damage is of great interest because it would allow a more accurate forecast of the crop production. This paper is focused on the estimation of oat crop losses to frost, <italic>i.e.</italic>, produced by freezing temperatures. The proposal can also be applied to damages caused by other factors (including plant disease, hail, drought ...), and it can be useful in future to find specific treatments in order to control pests, diseases and other harmful agents.</p>
<p>Spatial analysis tools are currently used throughout agriculture, livestock and forestry with different specific objectives [<xref ref-type="bibr" rid="b6-sensors-11-06015">6</xref>,<xref ref-type="bibr" rid="b7-sensors-11-06015">7</xref>]. In this sense, the images acquired by remote sensors provide the necessary spatial resolution to obtain information about objects, areas, or phenomena on the earth’s surface, at different scales. These sensors measure the intensity of the energy emitted or reflected by objects using the electromagnetic spectrum [<xref ref-type="bibr" rid="b8-sensors-11-06015">8</xref>]. One of the most important medium and large term applications is the generation of thematic maps, where each pixel of a given image is labelled by a classification rule, which specifies the type of object that exists in the reference zone [<xref ref-type="bibr" rid="b9-sensors-11-06015">9</xref>]. Nevertheless, remote sensors are expensive and images are not always easy to obtain. The use of conventional digital camera in spite of other sensors has the advantages of providing the necessary spatial information for the analysis while digital images are easy to be obtained and more accessible. They have been proved successful for classification purposes in the agriculture field, such as for the identification of weeds [<xref ref-type="bibr" rid="b10-sensors-11-06015">10</xref>,<xref ref-type="bibr" rid="b11-sensors-11-06015">11</xref>], and to detect obstacles in the operation of automated farm machinery [<xref ref-type="bibr" rid="b12-sensors-11-06015">12</xref>]. There are many approaches to the identification of textures in agricultural images. Most of them can be grouped as follows.
<list list-type="order">
<list-item>
<p>Visible spectral indices for identifying green plants, including crops and weeds [<xref ref-type="bibr" rid="b13-sensors-11-06015">13</xref>–<xref ref-type="bibr" rid="b16-sensors-11-06015">16</xref>]. These methods, some of them automatic, are based on greenness (plants and weeds) and redness (soil, stones, debris, <italic>etc</italic>.) identification.</p></list-item>
<list-item>
<p>Specific histogram threshold-based approaches, including dynamic thresholding. A global thresholding technique is one that thresholds the entire image with a single threshold value; a local thresholding technique is one that first partitions a given image into subimages and then determines a threshold value for each of these subimages, whereas a dynamic thresholding technique assigns a possibly different threshold value to each pixel in the image [<xref ref-type="bibr" rid="b17-sensors-11-06015">17</xref>]. In [<xref ref-type="bibr" rid="b18-sensors-11-06015">18</xref>] a decision function is estimated under the assumption that the two classes follow Gaussian distributions. Otsu’s method [<xref ref-type="bibr" rid="b19-sensors-11-06015">19</xref>] has been applied to gray images considering a bi-class problem [<xref ref-type="bibr" rid="b20-sensors-11-06015">20</xref>,<xref ref-type="bibr" rid="b21-sensors-11-06015">21</xref>]. In [<xref ref-type="bibr" rid="b22-sensors-11-06015">22</xref>], a thresholding approach is applied to images previously transformed from RGB to gray scale. This method was later improved using local homogeneity and morphological operations in [<xref ref-type="bibr" rid="b23-sensors-11-06015">23</xref>]. In [<xref ref-type="bibr" rid="b24-sensors-11-06015">24</xref>], the authors apply a combination of greenness and intensity derived from the red and green spectral bands; they determine an automatic threshold for a bi-class problem assuming two Gaussian probability density functions associated to soil and vegetation, respectively. In [<xref ref-type="bibr" rid="b16-sensors-11-06015">16</xref>], the automatic Otsu histogram thresholding method is applied for binarizing the image once the greenness is extracted, and then the normalized difference index (NDI) is obtained. After different experiments, the authors conclude that a threshold of zero is enough for the proposed application, and therefore in the end Otsu’s method was not applied in that work.</p></list-item>
<list-item>
<p>Learning-based methods. In [<xref ref-type="bibr" rid="b25-sensors-11-06015">25</xref>], fuzzy clustering partitions images into regions of interest based on the greenness and redness. The environmentally adaptive segmentation algorithm (EASA) proposed in [<xref ref-type="bibr" rid="b26-sensors-11-06015">26</xref>] is based on its adaptability for detecting green plants through a supervised learning process. This method was tested in [<xref ref-type="bibr" rid="b27-sensors-11-06015">27</xref>], using the HSI (hue-saturation-intensity) colour space to deal with the illumination variability. The mean shift algorithm was applied in [<xref ref-type="bibr" rid="b28-sensors-11-06015">28</xref>], on the assumption that the segmentation of vegetation and background can be considered as a bi-class problem; the separation of classes was validated using neural networks and the Fisher linear discriminant; the colour spaces used were RGB, LUV and HIS. In remote sensing, unsupervised approaches have been designed for hyper-spectral images [<xref ref-type="bibr" rid="b29-sensors-11-06015">29</xref>,<xref ref-type="bibr" rid="b30-sensors-11-06015">30</xref>], where each pixel is supposed to be a linear combination of spectral signatures of the hyper-spectral space. In [<xref ref-type="bibr" rid="b31-sensors-11-06015">31</xref>], an automatic strategy is designed for remote sensing images classification in natural images based on Otsu’s histogram thresholding method.</p></list-item></list></p>
<p>Based on these considerations and to address the classification problem presented in this paper, a new automatic strategy has been designed according to the following guidelines:
<list list-type="roman-lower">
<list-item>
<p>Oat crop images can present very different spectral signatures due to several factors that can cause damage. On the other hand, supervised approaches cannot be appropriately trained as texture patterns are not known in advance. Therefore, an unsupervised automatic classification has to be designed.</p></list-item>
<list-item>
<p>Coverage becomes irrelevant when dealing with oat crops affected by frost, since the ground surface is usually completely covered by plants. Hence, methods based on computation of vegetation indices such as some of the mentioned are infeasible or not suitable. Besides, those approaches require setting a threshold for final segmentation, in contrast to the automatic procedure proposed in this paper where thresholds are automatically found.</p></list-item>
<list-item>
<p>Automatic histogram thresholding-based approaches appear as promising techniques in bi-class classification problems. Their extension for solving unsupervised multi-classification tasks with acceptable results, as in [<xref ref-type="bibr" rid="b10-sensors-11-06015">10</xref>], encourages us to apply it.</p></list-item>
<list-item>
<p>The CCD sensor of the digital camera captures images of the crop fields in outdoor environments, <italic>i.e</italic>., with high illumination variability. The sensor response is proportional to the light energy projected onto its surface. This energy depends on the visible wavelengths reflected by the objects (plants and soil). Each wavelength produces a different response which is assigned into a standard colour.</p></list-item></list></p>
<p>The CIELab colour model [<xref ref-type="bibr" rid="b32-sensors-11-06015">32</xref>] is less illumination-dependent. CIELab defines colors more closely to the human color perception [<xref ref-type="bibr" rid="b33-sensors-11-06015">33</xref>], and according to [<xref ref-type="bibr" rid="b34-sensors-11-06015">34</xref>], this colour model is considered approximately uniform, <italic>i.e.</italic>, the distance between two colours in a linear colour space corresponds to the differences perceived between them. The CIELab color space is based on the concept that colors can be considered as combinations of red and yellow, red and blue, green and yellow, and green and blue. To determine the exact combination of colors of a product, coordinates of a three dimensional color space are assigned (L*, a*, b*). The three color coordinates are the lightness, the red/green and the yellow/blue coordinate respectively. More details will be given in Section 2.3.</p>
<p>Different histogram thresholding approaches have been presented in the literature [<xref ref-type="bibr" rid="b17-sensors-11-06015">17</xref>]. In [<xref ref-type="bibr" rid="b35-sensors-11-06015">35</xref>], an evaluation of seven automatic thresholding algorithms has been carried out on images with high variability as in this classification problem. The analysed methods are: (1) Isodata algorithm [<xref ref-type="bibr" rid="b36-sensors-11-06015">36</xref>]; (2) Otsu’s algorithm [<xref ref-type="bibr" rid="b19-sensors-11-06015">19</xref>]; (3) Minimum error thresholding [<xref ref-type="bibr" rid="b37-sensors-11-06015">37</xref>]; (4) K-means clustering algorithm [<xref ref-type="bibr" rid="b38-sensors-11-06015">38</xref>]; (5) Entropic of the histogram [<xref ref-type="bibr" rid="b39-sensors-11-06015">39</xref>]; (6) Moment preserving method [<xref ref-type="bibr" rid="b40-sensors-11-06015">40</xref>]; and (7) Fuzzy thresholding [<xref ref-type="bibr" rid="b41-sensors-11-06015">41</xref>]. According to [<xref ref-type="bibr" rid="b35-sensors-11-06015">35</xref>], the best performances are obtained by Isodata, Otsu, Fuzzy thresholding and Moment preserving, being Isodata and Moment preserving quite similar. Based on this study, the three first ones have been selected to be conveniently combined in the proposed method. The synergy of those strategies is one of the main contributions of this paper as it improves the segmentation of agricultural images.</p>
<p>Automatic successive thresholding is applied to each one of the three spectral bands of the CIELab colour space, L*, a* and b*, allowing the partition of these histograms into several regions. The combination of these regions determines different classes where each pixel can be classified into. Depending on the nature of the problem the number of regions varies, but they must be enough to cope with the classification problem. Thanks to this flexibility, the proposed strategy becomes unsupervised with a variable number of clusters.</p>
<p>The rest of the paper is organized as follows. In Section 2, materials and methods are described. It includes digital image processing, sampling method, colour space transformation, the new combined thresholding approach, and the design of the unsupervised classification strategy. In Section 3, classification results are presented and discussed. Conclusions end the paper.</p></sec>
<sec sec-type="materials|methods">
<label>2.</label>
<title>Materials and Methods</title>
<sec>
<label>2.1.</label>
<title>Digital Images</title>
<p>The material used to test the proposal is the following. Digital photographs of oats in the flowering stage were taken 15 days after the last frost (November 2010, Mexico). The image sensor type was CCD 1/2.3″; focal length: 35 mm, Canon digital IXUS 85 IS, resolution 3,648 × 2,736 pixels. The digital image sensor was previously calibrated in order to estimate the intrinsic (focal length and radial distortion) and extrinsic parameters (translation displacements and rotation angles) [<xref ref-type="bibr" rid="b42-sensors-11-06015">42</xref>]. This is required for the determination of the surface that is imaged.</p></sec>
<sec>
<label>2.2.</label>
<title>Sampling Method</title>
<p>The whole oat crop population is split into two regions, according to the affectation degree: a highly affected by frost region (nearly dried) and a lower affected one. For each of these two regions, a random sampling is applied. It consists of taking 2,000 samples of a total surface of 20 ha, <italic>i.e</italic>., 100 samples/ha (50 images of the most affected area and 50 of the healthy area per hectare). Global Positioning System (GPS) measurements with the Universal Transverse Mercator (UTM) coordinate system were applied to ensure that samples do not overlap, and that they are significant enough to assure a high coverage of the crop surface. Four different GPS measurements o the distance to the centre of the sample were averaged. This value is assigned to the central pixel of the image. Accurate GPS measurements are not critical in this application.</p>
<p>Each sample was conveniently measured and posted. <xref ref-type="fig" rid="f1-sensors-11-06015">Figure 1(a)</xref> shows this process in a highly damaged field. Once the sample is selected, the camera is placed with its optical axis perpendicular to the ground and at a height of 1.5 m. <xref ref-type="fig" rid="f1-sensors-11-06015">Figure 1(b)</xref> displays the setup in a healthy oat area. <xref ref-type="fig" rid="f1-sensors-11-06015">Figure 1(c)</xref> shows the ground surface explored by the projection of the camera view. The posting process is required for the verification process (see Section 3.2) and also for future analysis of the development of the affected crops.</p></sec>
<sec>
<label>2.3.</label>
<title>Colour Image Pre-Processing</title>
<p>The images are originally captured in RGB colour model. Nevertheless, as it was explained in the introduction, the CIELab colour model (CIE L*a*b*) [<xref ref-type="bibr" rid="b32-sensors-11-06015">32</xref>] was selected as the most appropriate to deal with high illumination variability. CIE is the French abbreviation of the International Commission of Light (Commission Internationale d'Eclairage). The L* component represents the perceived lightness, and the other two, a* and b*, are the Chroma components (colour-opponent dimensions), a set of contrasting colour axes (red-green, and yellow-blue). The images are therefore transformed from RGB to CIE L*a*b* colour model by the mathematical transformation given by <xref ref-type="disp-formula" rid="FD1">Equation (1)</xref>:
<disp-formula id="FD1">
<label>(1)</label>
<mml:math display="block">
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mi>X</mml:mi></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mi>Y</mml:mi></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mi>Z</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:mrow>
<mml:mo>]</mml:mo></mml:mrow>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mn>0.490</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mn>0.310</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mn>0.200</mml:mn></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mn>0.177</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mn>0.813</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mn>0.011</mml:mn></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mn>0.000</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mn>0.010</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mn>0.990</mml:mn></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow>
<mml:mo>]</mml:mo></mml:mrow>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mi>R</mml:mi></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mi>G</mml:mi></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mi>B</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:mrow>
<mml:mo>]</mml:mo></mml:mrow></mml:math></disp-formula></p>
<p>In the new space X, Y, Z, the lightness is calculated by <xref ref-type="disp-formula" rid="FD2">Equation (2)</xref>:
<disp-formula id="FD2">
<label>(2)</label>
<mml:math display="block">
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:msup>
<mml:mrow>
<mml:mi>L</mml:mi></mml:mrow>
<mml:mo>*</mml:mo></mml:msup>
<mml:mo>=</mml:mo>
<mml:mo stretchy="true">{</mml:mo>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mn>116</mml:mn>
<mml:msup>
<mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mfrac>
<mml:mi>Y</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Y</mml:mi></mml:mrow>
<mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mrow>
<mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>/</mml:mo>
<mml:mn>3</mml:mn></mml:mrow></mml:msup>
<mml:mo>−</mml:mo>
<mml:mn>16</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mtext mathvariant="italic">if</mml:mtext>
<mml:mi> </mml:mi>
<mml:mfrac>
<mml:mi>Y</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Y</mml:mi></mml:mrow>
<mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:mfrac>
<mml:mo>&gt;</mml:mo>
<mml:mn>0.008856</mml:mn></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mn>903.3</mml:mn>
<mml:msup>
<mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mfrac>
<mml:mi>Y</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Y</mml:mi></mml:mrow>
<mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mrow>
<mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>/</mml:mo>
<mml:mn>3</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mtext>otherwise</mml:mtext></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow/></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula></p>
<p>The a* and b* components are obtained by:
<disp-formula id="FD3">
<label>(3)</label>
<mml:math display="block">
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:msup>
<mml:mrow>
<mml:mi>a</mml:mi></mml:mrow>
<mml:mo>*</mml:mo></mml:msup>
<mml:mo>=</mml:mo>
<mml:mn>500</mml:mn>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mfrac>
<mml:mi>X</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>X</mml:mi></mml:mrow>
<mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mrow>
<mml:mo>)</mml:mo></mml:mrow>
<mml:mo>−</mml:mo>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mfrac>
<mml:mi>Y</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Y</mml:mi></mml:mrow>
<mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mrow>
<mml:mo>)</mml:mo></mml:mrow></mml:mrow>
<mml:mo>]</mml:mo></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:msup>
<mml:mrow>
<mml:mi>b</mml:mi></mml:mrow>
<mml:mo>*</mml:mo></mml:msup>
<mml:mo>=</mml:mo>
<mml:mn>200</mml:mn>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mfrac>
<mml:mi>Y</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Y</mml:mi></mml:mrow>
<mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mrow>
<mml:mo>)</mml:mo></mml:mrow>
<mml:mo>−</mml:mo>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mfrac>
<mml:mi>Z</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Z</mml:mi></mml:mrow>
<mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mrow>
<mml:mo>)</mml:mo></mml:mrow></mml:mrow>
<mml:mo>]</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>where <italic>f</italic>(<italic>t</italic>) = <italic>t<sup>1/3</sup></italic> for <italic>t &gt;</italic> 0.008856, and <italic>f</italic>(<italic>t</italic>) = 7.787 <italic>t +</italic> 16/116 otherwise. Normalized <italic>X<sub>n</sub></italic>, <italic>Y<sub>n</sub></italic>, <italic>Z<sub>n</sub></italic><sub>,</sub> are the CIE XYZ tristimulus values of the reference white point (amount of three primary colours in a three-component additive colour model). The division of the <italic>f</italic>(<italic>t</italic>) function into two domains was done to prevent an infinite slope at <italic>t</italic> = 0; <italic>f</italic>(<italic>t</italic>) was assumed to be linear below some <italic>t = t<sub>0</sub></italic>, and it was also assumed to match the <italic>t<sup>1/3</sup></italic> part of the function at <italic>t<sub>0</sub></italic> in both, value 
<inline-formula>
<mml:math>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>t</mml:mi></mml:mrow>
<mml:mn>0</mml:mn>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>/</mml:mo>
<mml:mn>3</mml:mn></mml:mrow></mml:msubsup>
<mml:mo>=</mml:mo>
<mml:mi>a</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi></mml:mrow>
<mml:mn>0</mml:mn></mml:msub>
<mml:mo>+</mml:mo>
<mml:mi>b</mml:mi></mml:mrow></mml:math></inline-formula>, and slope 
<inline-formula>
<mml:math>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>/</mml:mo>
<mml:mo stretchy="false">(</mml:mo>
<mml:mn>3</mml:mn>
<mml:msubsup>
<mml:mrow>
<mml:mtext>t</mml:mtext></mml:mrow>
<mml:mn>0</mml:mn>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mo>/</mml:mo>
<mml:mn>3</mml:mn></mml:mrow></mml:msubsup>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mi>a</mml:mi></mml:mrow></mml:math></inline-formula>. The value of b was chosen to be 16/116 as usual.</p></sec>
<sec>
<label>2.4.</label>
<title>The Proposed Combined Thresholding Approach</title>
<p>Once the image has been transformed into the CIELab colour space, three components are now available: L*, a* and b*. For each component, a threshold is automatically computed based on the combination of the three following thresholding methods: Isodata, Otsu and Fuzzy. Some details about each method are briefly presented.</p>
<sec sec-type="methods">
<label>2.4.1.</label>
<title>Isodata Thresholding</title>
<p>The Iterative Self-Organizing Data Analysis Technique (Isodata) is a simple iterative technique for choosing a threshold developed in 1978 [<xref ref-type="bibr" rid="b36-sensors-11-06015">36</xref>]. The objective of the Isodata algorithm is to split non-homogeneous regions into two sub-regions (objects and background). According to [<xref ref-type="bibr" rid="b35-sensors-11-06015">35</xref>], initially a guess is made at a possible value of a threshold. Then, the mean values of the two categories (objects and background) produced with this threshold are estimated. The threshold is moved to the middle of the distance between the two mean values. The procedure is repeated again and a new threshold is obtained. The process continues until the threshold stops changing its value.</p>
<p>Let the histogram of pixel values be denoted by <italic>h</italic>(0), <italic>h</italic>(1),…, <italic>h</italic>(<italic>L</italic> − 1), where <italic>h</italic>(<italic>i</italic>) specifies the number of pixels of an image whose greyscale value is <italic>i</italic>, and <italic>L</italic> − 1 is the maximum pixel greyscale value of the image. The initial guess at <italic>t<sub>i</sub></italic> is set to the mean value. Then, for smaller or equal values than it, <italic>t</italic> ≤ <italic>t<sub>i</sub></italic>, the average, <italic>μ</italic><sub>1</sub>(<italic>t</italic>), is computed; otherwise, <italic>μ</italic><sub>2</sub>(<italic>t</italic>) is calculated <xref ref-type="disp-formula" rid="FD4">Equation (4)</xref>:
<disp-formula id="FD4">
<label>(4)</label>
<mml:math display="block">
<mml:msub>
<mml:mrow>
<mml:mi>μ</mml:mi></mml:mrow>
<mml:mn>1</mml:mn></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:munderover>
<mml:mo>∑</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>0</mml:mn></mml:mrow>
<mml:mi>t</mml:mi></mml:munderover>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>·</mml:mo>
<mml:mi>h</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:mrow>
<mml:mo stretchy="true">/</mml:mo>
<mml:munderover>
<mml:mo>∑</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>0</mml:mn></mml:mrow>
<mml:mi>t</mml:mi></mml:munderover>
<mml:mrow>
<mml:mi>h</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:mrow>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>μ</mml:mi></mml:mrow>
<mml:mn>2</mml:mn></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:munderover>
<mml:mo>∑</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn></mml:mrow>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mo>−</mml:mo>
<mml:mn>1</mml:mn></mml:mrow></mml:munderover>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>·</mml:mo>
<mml:mi>h</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:mrow>
<mml:mo stretchy="true">/</mml:mo>
<mml:munderover>
<mml:mo>∑</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn></mml:mrow>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mo>−</mml:mo>
<mml:mn>1</mml:mn></mml:mrow></mml:munderover>
<mml:mrow>
<mml:mi>h</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></disp-formula></p>
<p>The <italic>t<sub>i</sub></italic> value is re-estimated as the integer part of the mean value of <italic>μ</italic><sub>1</sub> and <italic>μ</italic><sub>2</sub>, until <italic>t<sub>i</sub></italic> stops changing. Then the last threshold value is renamed as <italic>t</italic><sub>I</sub>.</p></sec>
<sec>
<label>2.4.2.</label>
<title>Otsu’s Method</title>
<p>Otsu’s method is one of the most popular techniques of optimal thresholding, based on discriminant analysis [<xref ref-type="bibr" rid="b19-sensors-11-06015">19</xref>]. It maximizes the between-class variance of the histogram, 
<inline-formula>
<mml:math>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>σ</mml:mi></mml:mrow>
<mml:mi>B</mml:mi>
<mml:mn>2</mml:mn></mml:msubsup>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula>, and gives the best separation of classes in an image. Let the pixels of a given image be represented in <italic>L</italic> grey levels, [0, 1, 2, …, <italic>L</italic> − 1]. The number of pixels at level <italic>i</italic> is denoted by <italic>h</italic>(<italic>i</italic>), and the total number of pixels by <italic>N</italic>. The grey level histogram is normalized and considered as a probability distribution. The probability of occurrence of each grey level <italic>p</italic>(<italic>i</italic>) is then <xref ref-type="disp-formula" rid="FD5">Equation (5)</xref>:
<disp-formula id="FD5">
<label>(5)</label>
<mml:math display="block">
<mml:mi>p</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi>h</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:mrow>
<mml:mi>N</mml:mi></mml:mfrac>
<mml:mo>,</mml:mo>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi>p</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>≥</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:munderover>
<mml:mo>∑</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>0</mml:mn></mml:mrow>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mo>−</mml:mo>
<mml:mn>1</mml:mn></mml:mrow></mml:munderover>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn></mml:mrow></mml:math></disp-formula></p>
<p>The zero-th <italic>w</italic>(<italic>t</italic>) (accumulated probability), the first-order cumulative moments of the histogram up to the <italic>t-</italic>th level, <italic>μ</italic>(<italic>t</italic>), and the total mean level of the image, <italic>μ<sub>T</sub></italic>, are obtained by <xref ref-type="disp-formula" rid="FD6">Equation (6)</xref>:
<disp-formula id="FD6">
<label>(6)</label>
<mml:math display="block">
<mml:mrow>
<mml:mi>w</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:munderover>
<mml:mo>∑</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>0</mml:mn></mml:mrow>
<mml:mi>t</mml:mi></mml:munderover>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>;</mml:mo>
<mml:mi> </mml:mi></mml:mrow>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi>μ</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:munderover>
<mml:mo>∑</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>0</mml:mn></mml:mrow>
<mml:mi>t</mml:mi></mml:munderover>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>·</mml:mo>
<mml:mi>p</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>;</mml:mo></mml:mrow>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>μ</mml:mi></mml:mrow>
<mml:mi>T</mml:mi></mml:msub>
<mml:mo>=</mml:mo>
<mml:munderover>
<mml:mo>∑</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>0</mml:mn></mml:mrow>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mo>−</mml:mo>
<mml:mn>1</mml:mn></mml:mrow></mml:munderover>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>·</mml:mo>
<mml:mi>p</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:math></disp-formula></p>
<p>The optimal threshold <italic>t<sub>o</sub></italic> is then the value that maximizes <xref ref-type="disp-formula" rid="FD7">Equation (7)</xref>:
<disp-formula id="FD7">
<label>(7)</label>
<mml:math display="block">
<mml:msubsup>
<mml:mrow>
<mml:mi>σ</mml:mi></mml:mrow>
<mml:mi>B</mml:mi>
<mml:mn>2</mml:mn></mml:msubsup>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi></mml:mrow>
<mml:mi>O</mml:mi></mml:msub>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mtext>max</mml:mtext>
<mml:mi> </mml:mi>
<mml:msubsup>
<mml:mrow>
<mml:mi>σ</mml:mi></mml:mrow>
<mml:mi>B</mml:mi>
<mml:mn>2</mml:mn></mml:msubsup>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mtext>where</mml:mtext>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:msubsup>
<mml:mrow>
<mml:mi>σ</mml:mi></mml:mrow>
<mml:mi>B</mml:mi>
<mml:mn>2</mml:mn></mml:msubsup>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>μ</mml:mi></mml:mrow>
<mml:mi>T</mml:mi></mml:msub>
<mml:mi>w</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>−</mml:mo>
<mml:mi>μ</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:mrow>
<mml:mo stretchy="false">]</mml:mo></mml:mrow></mml:mrow></mml:mrow>
<mml:mn>2</mml:mn></mml:msup></mml:mrow>
<mml:mrow>
<mml:mi>w</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo stretchy="false">[</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>−</mml:mo>
<mml:mi>w</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo stretchy="false">]</mml:mo></mml:mrow></mml:mfrac></mml:math></disp-formula></p></sec>
<sec>
<label>2.4.3.</label>
<title>Fuzzy Thresholding</title>
<p>This algorithm is based on the fuzzy set theory and it was proposed in [<xref ref-type="bibr" rid="b41-sensors-11-06015">41</xref>]. It makes a partition of the image space by minimizing the measure of its fuzziness. This measurement can be expressed by different functions, one of them the entropy. The membership function, <italic>μ<sub>F</sub></italic>(<italic>I</italic>(<italic>x</italic>, <italic>y</italic>)), can be viewed as a characteristic function that represents the fuzziness of a given pixel (<italic>x</italic>,<italic>y</italic>) of the <italic>M</italic> × <italic>N</italic> image <italic>I</italic>:
<disp-formula id="FD8">
<label>(8)</label>
<mml:math display="block">
<mml:msub>
<mml:mrow>
<mml:mi>μ</mml:mi></mml:mrow>
<mml:mi>F</mml:mi></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>I</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi> </mml:mi>
<mml:mi>y</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mo>{</mml:mo>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>+</mml:mo>
<mml:mo>|</mml:mo>
<mml:mi>I</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi> </mml:mi>
<mml:mi>y</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>−</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>μ</mml:mi></mml:mrow>
<mml:mn>1</mml:mn></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>|</mml:mo></mml:mrow></mml:mfrac></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mtext mathvariant="italic">if</mml:mtext>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi>I</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi> </mml:mi>
<mml:mi>y</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>≤</mml:mo>
<mml:mi>t</mml:mi></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>+</mml:mo>
<mml:mo>|</mml:mo>
<mml:mi>I</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi> </mml:mi>
<mml:mi>y</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>−</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>μ</mml:mi></mml:mrow>
<mml:mn>2</mml:mn></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>|</mml:mo></mml:mrow></mml:mfrac></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mtext mathvariant="italic">if</mml:mtext>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi>I</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi> </mml:mi>
<mml:mi>y</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>&gt;</mml:mo>
<mml:mi>t</mml:mi></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>where <italic>μ</italic><sub>1</sub>(<italic>t</italic>) and <italic>μ</italic><sub>2</sub>(<italic>t</italic>) have been already defined in <xref ref-type="disp-formula" rid="FD4">Equation (4)</xref>. According to [<xref ref-type="bibr" rid="b35-sensors-11-06015">35</xref>], the entropy of an image <italic>I</italic>, named <italic>E</italic>(<italic>I</italic>), calculated by <xref ref-type="disp-formula" rid="FD9">Equation (9)</xref>, has been chosen as the measure of fuzziness by means of the Shanon’s function (10):
<disp-formula id="FD9">
<label>(9)</label>
<mml:math display="block">
<mml:mi>E</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>I</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mi>M</mml:mi>
<mml:mi>N</mml:mi>
<mml:mi> </mml:mi>
<mml:mtext>ln</mml:mtext>
<mml:mn>2</mml:mn></mml:mrow></mml:mfrac>
<mml:munderover>
<mml:mo>∑</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>0</mml:mn></mml:mrow>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mo>−</mml:mo>
<mml:mn>1</mml:mn></mml:mrow></mml:munderover>
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>μ</mml:mi></mml:mrow>
<mml:mi>F</mml:mi></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo stretchy="false">)</mml:mo>
<mml:mi>h</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></disp-formula>
<disp-formula id="FD10">
<label>(10)</label>
<mml:math display="block">
<mml:mi>S</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>μ</mml:mi></mml:mrow>
<mml:mi>F</mml:mi></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mo>−</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>μ</mml:mi></mml:mrow>
<mml:mi>F</mml:mi></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mi> </mml:mi>
<mml:mtext>ln</mml:mtext>
<mml:mi> </mml:mi>
<mml:mo stretchy="false">[</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>μ</mml:mi></mml:mrow>
<mml:mi>F</mml:mi></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo stretchy="false">]</mml:mo>
<mml:mo>−</mml:mo>
<mml:mo stretchy="false">[</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>−</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>μ</mml:mi></mml:mrow>
<mml:mi>F</mml:mi></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo stretchy="false">]</mml:mo>
<mml:mtext>ln</mml:mtext>
<mml:mo stretchy="false">[</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>−</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>μ</mml:mi></mml:mrow>
<mml:mi>F</mml:mi></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo stretchy="false">]</mml:mo></mml:math></disp-formula></p>
<p>The optimal threshold, <italic>t<sub>F</sub></italic>, can be estimated by minimizing the measure of fuzziness <italic>E</italic>(<italic>I</italic>) as follows <xref ref-type="disp-formula" rid="FD11">Equation (11)</xref>:
<disp-formula id="FD11">
<label>(11)</label>
<mml:math display="block">
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi></mml:mrow>
<mml:mi>F</mml:mi></mml:msub>
<mml:mo>=</mml:mo>
<mml:mtext>arg</mml:mtext>
<mml:mi> </mml:mi>
<mml:mtext>min</mml:mtext>
<mml:mi> </mml:mi>
<mml:mi>E</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>I</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:math></disp-formula></p></sec>
<sec>
<label>2.4.4.</label>
<title>Combination of Thresholds</title>
<p>For each of the three spectral component in the CIE colour space, three different thresholds, <italic>t<sub>I</sub></italic>, <italic>t<sub>o</sub></italic> and <italic>t<sub>F</sub></italic>, are obtained as the result of applying the three thresholding algorithms. Several combinations derived from the classification theory can be applied [<xref ref-type="bibr" rid="b43-sensors-11-06015">43</xref>] to find a unique threshold value in order to improve the results of the classification. The average, <italic>i.e.</italic>, <italic>t</italic> = (<italic>t<sub>I</sub></italic> + <italic>t<sub>O</sub></italic> + <italic>t<sub>F</sub></italic>)/3, is the simplest function. One advantage of the average is that the highest and lowest values of the threshold are smoothed. The combined threshold is denoted <italic>t<sub>L</sub></italic>, <italic>t<sub>a</sub></italic>, and <italic>t<sub>b</sub></italic>, for each spectral component, L*, a* and b*, respectively. Then, each spectral channel is partitioned into two regions by its corresponding threshold.</p></sec></sec>
<sec>
<label>2.5.</label>
<title>Unsupervised Classification Strategy</title>
<p>There are three steps in the proposed classification strategy. First, the assignment process, that consists in assigning one of the possible classes to each pixel. Second, the codification of each cluster, which is identified by a label. Finally, a regrouping process so that very similar classes are merged into one.</p>
<sec>
<label>2.5.1.</label>
<title>Assignment Process</title>
<p>Given a pixel <italic>i</italic> located at (<italic>x</italic>, <italic>y</italic>) in the original RGB image, it is transformed to the CIE L*a*b* colour space. Its three spectral components in this space are obtained, namely L*(<italic>x</italic>, <italic>y</italic>) = <italic>i<sub>L</sub></italic>, a*(<italic>x</italic>, <italic>y</italic>) = <italic>i<sub>a</sub></italic> and b*(<italic>x</italic>, <italic>y</italic>) = <italic>i<sub>b</sub></italic>.</p>
<p>As already mentioned, the thresholding methods split the histogram into two regions. As there are three spectral components, six sub-regions are obtained. If necessary, successive thresholding can be applied to each spectral channel. The second thresholding produces three partitions per channel. If a third thresholding is applied, four regions per component are obtained and so on. Therefore, assuming that eventually the number of thresholds per channel is <italic>M</italic>, there will be <italic>t<sub>L</sub></italic><sub>1</sub>, <italic>t<sub>L</sub></italic><sub>2,</sub> … <italic>t<sub>LM</sub></italic>, thresholds for channel L*, and in the same way, <italic>t<sub>a</sub></italic><sub>1</sub>, <italic>t<sub>a</sub></italic><sub>2</sub>, …, <italic>t<sub>aM</sub></italic> for component a*, and <italic>t<sub>b</sub></italic><sub>1</sub>, <italic>t<sub>b</sub></italic><sub>2</sub>, …, <italic>t<sub>bM</sub></italic>, for component b*. Based on this, each pixel <italic>i</italic> can be coded as 
<inline-formula>
<mml:math>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>ι</mml:mi></mml:mrow>
<mml:mi>s</mml:mi></mml:msub></mml:mrow>
<mml:mo stretchy="true">˜</mml:mo></mml:mover></mml:mrow></mml:math></inline-formula> according to its spectral components by <xref ref-type="disp-formula" rid="FD12">Equation (12)</xref>:
<disp-formula id="FD12">
<label>(12)</label>
<mml:math display="block">
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>i</mml:mi>
<mml:mo>˜</mml:mo></mml:mover></mml:mrow>
<mml:mi>s</mml:mi></mml:msub>
<mml:mo>{</mml:mo>
<mml:mtable columnalign="left">
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mn>0</mml:mn></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mtext mathvariant="italic">if</mml:mtext></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>i</mml:mi></mml:mrow>
<mml:mi>s</mml:mi></mml:msub>
<mml:mo>≤</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi></mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mn>1</mml:mn></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mtext mathvariant="italic">if</mml:mtext></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi></mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mn>1</mml:mn></mml:mrow></mml:msub>
<mml:mo>&lt;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>i</mml:mi></mml:mrow>
<mml:mi>s</mml:mi></mml:msub>
<mml:mo>≤</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi></mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mn>2</mml:mn></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mtext mathvariant="italic">if</mml:mtext></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi></mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mn>2</mml:mn></mml:mrow></mml:msub>
<mml:mo>&lt;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>i</mml:mi></mml:mrow>
<mml:mi>s</mml:mi></mml:msub>
<mml:mo>≤</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi></mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mn>3</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow/></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow/></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mi> </mml:mi>
<mml:mo>⋮</mml:mo></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mi>M</mml:mi></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mtext mathvariant="italic">if</mml:mtext></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>i</mml:mi></mml:mrow>
<mml:mi>s</mml:mi></mml:msub>
<mml:mo>&gt;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi></mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mi>M</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>where <italic>s</italic> denotes the spectral component, <italic>i.e.</italic>, <italic>s</italic> = L, a or b, and <italic>t<sub>si</sub></italic> are the consecutive thresholds.</p>
<p>For example, it is known that in the CIE L*a*b* colour space values for L* are in the range [0, 100] while a* and b* are in the interval [ 110, 110]. So, considering the spectral component a* with two thresholds, <italic>t<sub>a</sub></italic><sub>1</sub> = 20 and <italic>t<sub>a</sub></italic><sub>2</sub> = 60, a pixel will be coded as 0, 1, or 2, if its spectral value a* is smaller than 20, between 20 and 60, or greater than 60, respectively.</p></sec>
<sec>
<label>2.5.2.</label>
<title>Cluster Labelling</title>
<p>Once the whole image has been coded, the next step is the labelling of the existing classes. If <italic>M</italic> thresholds haven been obtained, there are <italic>n</italic> = <italic>M</italic> + 1 histogram partitions per channel, and therefore the number of possible combinations is <italic>n<sup>d</sup></italic>, where <italic>d</italic> is the number of spectral components, <italic>i.e.</italic>, <italic>d</italic> = 3 in the CIE L*a*b* colour space. This number of combinations represents the number of classes. Each cluster is identified by its label. Every pixel is assigned its corresponding label according to <xref ref-type="disp-formula" rid="FD13">Equation (13)</xref>. So, given the pixel <italic>i</italic> ≡ (<italic>x</italic>, <italic>y</italic>) with codes 
<inline-formula>
<mml:math>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>ι</mml:mi></mml:mrow>
<mml:mi>L</mml:mi></mml:msub></mml:mrow>
<mml:mo stretchy="true">˜</mml:mo></mml:mover></mml:mrow></mml:math></inline-formula>, 
<inline-formula>
<mml:math>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>ι</mml:mi></mml:mrow>
<mml:mi>a</mml:mi></mml:msub></mml:mrow>
<mml:mo stretchy="true">˜</mml:mo></mml:mover></mml:mrow></mml:math></inline-formula>, and 
<inline-formula>
<mml:math>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>ι</mml:mi></mml:mrow>
<mml:mi>b</mml:mi></mml:msub></mml:mrow>
<mml:mo stretchy="true">˜</mml:mo></mml:mover></mml:mrow></mml:math></inline-formula>, its label will be given by <italic>P̃<sub>ι</sub></italic> as follows:
<disp-formula id="FD13">
<label>(13)</label>
<mml:math display="block">
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>p</mml:mi>
<mml:mo>˜</mml:mo></mml:mover></mml:mrow>
<mml:mi>i</mml:mi></mml:msub>
<mml:mo>=</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>n</mml:mi></mml:mrow>
<mml:mn>2</mml:mn></mml:msup>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>i</mml:mi>
<mml:mo>˜</mml:mo></mml:mover></mml:mrow>
<mml:mi>L</mml:mi></mml:msub>
<mml:mo>+</mml:mo>
<mml:mi>n</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>i</mml:mi>
<mml:mo>˜</mml:mo></mml:mover></mml:mrow>
<mml:mi>a</mml:mi></mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>i</mml:mi>
<mml:mo>˜</mml:mo></mml:mover></mml:mrow>
<mml:mi>b</mml:mi></mml:msub></mml:math></disp-formula></p></sec>
<sec>
<label>2.5.3.</label>
<title>Merging Process</title>
<p>Let <italic>C<sub>k</sub></italic> be the number of clusters obtained by the classification procedure, where <italic>k</italic> identifies a class between 1 and <italic>n<sup>d</sup></italic>, each class containing <italic>N<sub>k</sub></italic> pixels of the original image. It could be said that each class is defined by a tri-dimensional vector (<italic>d</italic> = 3). The elements of that vector are the spectral components of the pixels according to the CIELab colour model, <italic>i.e.</italic>, 
<inline-formula>
<mml:math>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mtext mathvariant="bold-italic">i</mml:mtext></mml:mrow>
<mml:mi>k</mml:mi></mml:msub>
<mml:mo>≡</mml:mo>
<mml:mo stretchy="false">(</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>i</mml:mi></mml:mrow>
<mml:mi>L</mml:mi>
<mml:mi>k</mml:mi></mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>i</mml:mi></mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>k</mml:mi></mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>i</mml:mi></mml:mrow>
<mml:mi>b</mml:mi>
<mml:mi>k</mml:mi></mml:msubsup>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> for the pixel <italic>i</italic> ≡ (<italic>x</italic>, <italic>y</italic>), if the pixel and its spectral components belong to class <italic>C<sub>k</sub></italic>.</p>
<p>For each class, the average value of the membership degrees to that class is calculated by <xref ref-type="disp-formula" rid="FD14">Equation (14)</xref>:
<disp-formula id="FD14">
<label>(14)</label>
<mml:math display="block">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mo mathvariant="bold-italic">μ</mml:mo></mml:mrow>
<mml:mi>k</mml:mi></mml:msub>
<mml:mo>≡</mml:mo>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>μ</mml:mi></mml:mrow>
<mml:mi>L</mml:mi>
<mml:mi>k</mml:mi></mml:msubsup>
<mml:mo>,</mml:mo>
<mml:mi> </mml:mi>
<mml:msubsup>
<mml:mrow>
<mml:mi>μ</mml:mi></mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>k</mml:mi></mml:msubsup>
<mml:mo>,</mml:mo>
<mml:mi> </mml:mi>
<mml:msubsup>
<mml:mrow>
<mml:mi>μ</mml:mi></mml:mrow>
<mml:mi>b</mml:mi>
<mml:mi>k</mml:mi></mml:msubsup></mml:mrow>
<mml:mo>)</mml:mo></mml:mrow>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>N</mml:mi></mml:mrow>
<mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:mfrac>
<mml:munder>
<mml:mo>∑</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>i</mml:mi></mml:mrow>
<mml:mi>k</mml:mi></mml:msub>
<mml:mo>∈</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi></mml:mrow>
<mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:munder>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mtext mathvariant="bold-italic">i</mml:mtext></mml:mrow>
<mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:mrow></mml:math></disp-formula></p>
<p>Based on the potential of Otsu’s method, it is possible to estimate the <italic>within-class</italic> and the <italic>between-classes</italic> spectral variances, denoted by <italic>σ<sub>k</sub></italic> and <italic>σ<sub>kh</sub></italic> respectively, according to <xref ref-type="disp-formula" rid="FD15">Equations (15)</xref> and <xref ref-type="disp-formula" rid="FD16">(16)</xref>. Obviously, <italic>σ<sub>k</sub></italic> is only related to class <italic>C<sub>k</sub></italic> and, as expected, <italic>σ<sub>kh</sub></italic> involves the two classes <italic>C<sub>k</sub></italic> and <italic>C<sub>h</sub></italic>, <italic>k</italic> ≠ <italic>h</italic>:
<disp-formula id="FD15">
<label>(15)</label>
<mml:math display="block">
<mml:msub>
<mml:mrow>
<mml:mi>σ</mml:mi></mml:mrow>
<mml:mi>k</mml:mi></mml:msub>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mo>·</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>N</mml:mi></mml:mrow>
<mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:mfrac>
<mml:munder>
<mml:mo>∑</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mtext mathvariant="bold-italic">i</mml:mtext></mml:mrow>
<mml:mi>k</mml:mi></mml:msub>
<mml:mo>∈</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi></mml:mrow>
<mml:mi>K</mml:mi></mml:msub></mml:mrow></mml:munder>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>i</mml:mi></mml:mrow>
<mml:mi>L</mml:mi>
<mml:mi>k</mml:mi></mml:msubsup>
<mml:mo>−</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>μ</mml:mi></mml:mrow>
<mml:mi>L</mml:mi>
<mml:mi>k</mml:mi></mml:msubsup></mml:mrow>
<mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mrow>
<mml:mn>2</mml:mn></mml:msup>
<mml:mo>+</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>i</mml:mi></mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>k</mml:mi></mml:msubsup>
<mml:mo>−</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>μ</mml:mi></mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>k</mml:mi></mml:msubsup></mml:mrow>
<mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mrow>
<mml:mn>2</mml:mn></mml:msup>
<mml:mo>+</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>i</mml:mi></mml:mrow>
<mml:mi>b</mml:mi>
<mml:mi>k</mml:mi></mml:msubsup>
<mml:mo>−</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>μ</mml:mi></mml:mrow>
<mml:mi>b</mml:mi>
<mml:mi>k</mml:mi></mml:msubsup></mml:mrow>
<mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mrow>
<mml:mn>2</mml:mn></mml:msup></mml:mrow>
<mml:mo>]</mml:mo></mml:mrow></mml:mrow></mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>/</mml:mo>
<mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></disp-formula>
<disp-formula id="FD16">
<label>(16)</label>
<mml:math display="block">
<mml:msub>
<mml:mrow>
<mml:mi>σ</mml:mi></mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mi>h</mml:mi></mml:mrow></mml:msub>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mi>d</mml:mi></mml:mfrac>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>μ</mml:mi></mml:mrow>
<mml:mi>L</mml:mi>
<mml:mi>k</mml:mi></mml:msubsup>
<mml:mo>−</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>μ</mml:mi></mml:mrow>
<mml:mi>L</mml:mi>
<mml:mi>h</mml:mi></mml:msubsup></mml:mrow>
<mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mrow>
<mml:mn>2</mml:mn></mml:msup>
<mml:mo>+</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>μ</mml:mi></mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>k</mml:mi></mml:msubsup>
<mml:mo>−</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>μ</mml:mi></mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>h</mml:mi></mml:msubsup></mml:mrow>
<mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mrow>
<mml:mn>2</mml:mn></mml:msup>
<mml:mo>+</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>μ</mml:mi></mml:mrow>
<mml:mi>b</mml:mi>
<mml:mi>k</mml:mi></mml:msubsup>
<mml:mo>−</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>μ</mml:mi></mml:mrow>
<mml:mi>b</mml:mi>
<mml:mi>h</mml:mi></mml:msubsup></mml:mrow>
<mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mrow>
<mml:mn>2</mml:mn></mml:msup></mml:mrow>
<mml:mo>]</mml:mo></mml:mrow></mml:math></disp-formula></p>
<p>Based on those variances, some classes can be fused due to their spectral similarities. The similarity is a concept defined as follows. Given the classes <italic>C<sub>k</sub></italic> and <italic>C<sub>h</sub></italic>, <italic>k</italic> ≠ <italic>h</italic>, both are merged into one class if <italic>σ<sub>k</sub></italic> ≥ <italic>σ<sub>kh</sub></italic> or <italic>σ<sub>h</sub></italic> ≥ <italic>σ<sub>kh</sub></italic>. This is based on the hypothesis that if a good partition is already achieved, the classes obtained are properly separated, without overlapping, and then no further fusion is required. On the contrary, if classes overlap, the between-class variance <italic>σ<sub>kh</sub></italic> is greater than the individual within-class variances, <italic>σ<sub>k</sub></italic> and <italic>σ<sub>h</sub></italic>. This re-clustering process is repeated until all the between-class variances are greater than their corresponding within-class variances. Without lost of generality, if two classes are merged, the resulting fused class will be re-labelled with the name of the class with the smaller variance value. This does not affect the classification process because only labels are modified.</p>
<p>After the fusion process, it must be checked if more clusters are necessary. This is carried out on the basis that if after the combination process no class has been fused, it means that more clusters are needed. A new clustering process starts again with the number of thresholds increased by one. This is repeated until a fusion occurs.</p></sec></sec></sec>
<sec sec-type="results|discussion">
<label>3.</label>
<title>Results and Discussion</title>
<p>In order to show the performance of the proposed automatic unsupervised strategy, the images under study are briefly described and the new classification strategy is explained.</p>
<sec>
<label>3.1.</label>
<title>Oat Crop Description</title>
<p>The selected oat crop surface is 20 ha. Two thousand samples of 1 m<sup>2</sup> were imaged by the CCD sensor. The images were taken two consecutive days in order to prevent significant changes in the plants. The weather conditions of these two days were different. One was a consistently sunny day and the other was a cloudy day. Moreover, the samples were obtained at different times of the day (morning, midday and afternoon). This was intended to verify the robustness of the proposed method against illumination variability.</p>
<p>Two oat crop areas with quite different degrees of damage were selected; <xref ref-type="fig" rid="f2-sensors-11-06015">Figures 2(a)</xref> and <xref ref-type="fig" rid="f3-sensors-11-06015">3(a)</xref> are representative samples of those areas. The degree of damage was assessed by an expert in agriculture and loss management.
<list list-type="order">
<list-item>
<p><bold>Description of the first area,</bold><xref ref-type="fig" rid="f2-sensors-11-06015">Figure 2(a)</xref>: The green region density is 53.15% on average. The whole area is considered to show a low degree of frost damage. Some of the 1,000 samples of the healthy crop were used as reference data (10%) and the rest, <italic>i.e.</italic>, 900 images, were classified and compared to the test images.</p></list-item>
<list-item>
<p><bold>Description of the second area,</bold> <xref ref-type="fig" rid="f3-sensors-11-06015">Figure 3(a)</xref>: On average, the estimated green plant density is 26.6% and the rest are considered dried plants. Therefore this area is an example of high degree frost damage.</p></list-item></list></p>
<p>The aim of the classification process is to identify four classes depending on the degree of damage that due to very low temperatures. The first class is the healthy crop, which shows mostly green spectral components. The second cluster is the heavily damaged, dried crop, <italic>i.e.</italic>, mainly yellowish components. The third one represents an intermediate state, where the oat plants can be considered neither green nor yellow. The fourth class corresponds to shady ground. Plants belonging to the first group grow and develop regularly unless other stresses (e.g., frost or drought) affect them. Therefore, this group, once set in a certain number of kernels per square meter, is likely to fill them and produce certain yield levels. The second group does not contribute to the oat production. Experts estimate the usable harvested area of the third class at about 40–60%. Obviously, this quantification is calculated at the time of sensing, and therefore posterior damages are not considered.</p>
<p>Therefore, there are three different classes of oat plants textures that have to be recognized in order to identify the state of the crop; the fourth class is the shady ground. According to the procedure described in Section 2.5, one threshold is enough. As there are three components in the colour space, this will result in eight classes. The final solution will require a fusion of the eight classes into the four categories that correspond to the reality. This can be achieved by relaxing the merging criterion in order to force the fusion of the classes with the highest degrees of overlapping, which is determined by measuring the biggest difference between <italic>σ<sub>k</sub></italic> or <italic>σ<sub>h</sub></italic> and <italic>σ<sub>kh</sub></italic>, <xref ref-type="disp-formula" rid="FD15">Equations (15)</xref> and <xref ref-type="disp-formula" rid="FD16">(16)</xref>.</p>
<p><xref ref-type="fig" rid="f2-sensors-11-06015">Figures 2(b)</xref> and <xref ref-type="fig" rid="f3-sensors-11-06015">3(b)</xref> show the classification results of the original images presented in <xref ref-type="fig" rid="f2-sensors-11-06015">Figures 2(a)</xref> and <xref ref-type="fig" rid="f3-sensors-11-06015">3(a)</xref>, respectively. The labels of the four classes are represented by colours: (1) green for the first class; healthy oat (its real colour); (2) yellow for the dried plants; (3) red for the oat plants at an intermediate state between green and dried; (4) blue corresponds to shady ground category. The name of the classes are GO (Green oat), DO (Dried oat), HD (Half dried oat) and SG (Shady ground), respectively.</p></sec>
<sec>
<label>3.2.</label>
<title>Validation of the Classifier</title>
<p>The validation of a classification process refers to the degree of concordance between the classes assigned to each pixel of the classified image and a set of reference data given by an expert. That is, if the classification agrees with the labelling of the expert. To obtain a quantitative estimation of the classifier performance, a fuzzy error matrix has been built [<xref ref-type="bibr" rid="b44-sensors-11-06015">44</xref>,<xref ref-type="bibr" rid="b45-sensors-11-06015">45</xref>]. This method has been proved as a good way to assess the validity of an image classifier. An error matrix is a square array of numbers that express the number of sample units (<italic>i.e</italic>., pixels or groups of pixels) assigned to a particular category by a classification process (rows) <italic>vs</italic>. sample units assigned to that particular category by another classification procedure that are taken as reference data (columns). In this case, the second classification procedure is the one carried out by the expert. The comparison between them gives the number of bad or good classified samples. Given the wide acceptance of the error matrix, an approach is used that combines both the error matrix and some measure of fuzziness, called the fuzzy error matrix approach, introduced by [<xref ref-type="bibr" rid="b45-sensors-11-06015">45</xref>]. Both the size and the shape of the sample units that are going to be used have to be described before defining the reference data.
<list list-type="bullet">
<list-item>
<p><italic>Selection of the Sample Units</italic></p>
<p>Historically, a single pixel has often been chosen as the sample unit. However, it is extremely difficult to know exactly where that pixel is located at the original image. Therefore, using a single pixel as sampling unit causes many of the errors represented in the fuzzy error matrix to be positional errors rather than thematic errors. Since the goal of the fuzzy error matrix is to measure thematic errors, it is better to take steps to avoid including positional errors. Based on the foregoing, polygons (groups of pixels, with different shape and size) have been chosen as sample units instead of single pixels. They are called polygons or sample units without distinction.</p></list-item>
<list-item>
<p><italic>Determination of the Number of Polygons or Sample Units</italic></p>
<p>There are several ways to estimate the minimum size of the polygons. It depends on the size of the image and the number of classes. In this case, a multinomial distribution has been applied [<xref ref-type="bibr" rid="b44-sensors-11-06015">44</xref>]. The number of reference sample units is obtained by using the chi-square distribution, the desired confidence level, and the percentage of the image that is covered by each class, according to <xref ref-type="disp-formula" rid="FD17">Equation (17)</xref>:
<disp-formula id="FD17">
<label>(17)</label>
<mml:math display="block">
<mml:msub>
<mml:mrow>
<mml:mi>n</mml:mi></mml:mrow>
<mml:mi>s</mml:mi></mml:msub>
<mml:mo>=</mml:mo>
<mml:mi>B</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="normal">Π</mml:mi></mml:mrow>
<mml:mi>k</mml:mi></mml:msub>
<mml:mi> </mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>−</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="normal">Π</mml:mi></mml:mrow>
<mml:mi>k</mml:mi></mml:msub>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>/</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>b</mml:mi></mml:mrow>
<mml:mi>k</mml:mi>
<mml:mn>2</mml:mn></mml:msubsup></mml:math></disp-formula>where Π<italic><sub>k</sub></italic> is the fraction of the image surface of the image that belongs to class <italic>k; B</italic> is a coefficient obtained by the chi-square distribution with one degree of freedom and parameter <italic>1</italic> − <italic>b</italic>/<italic>k</italic>, <italic>b</italic> is the accuracy (in this case, <italic>b</italic> = 0.05 because the confidence degree has been set to 95%) and <italic>k</italic> is the number of classes or categories. For example, if there are four categories (<italic>k</italic> = 4), and the desired confidence level is 95% (b = 5%), it would be said that a particular class covers 16% of the image pixels (Π<italic><sub>k</sub></italic> = 16%). The value of <italic>B</italic> must be determined from a chi-square table with 1 degree of freedom and <italic>1</italic> − <italic>b</italic>/<italic>k</italic> = 1 − 0.05/4. In this case, the value of <italic>B</italic> is χ<sup>2</sup>(1, 0.9875) = 6.36640. Therefore, the number of sample units will be <italic>n<sub>s</sub></italic> <italic>=</italic> 6.36640(0.16)(1 − 0.16)/0.05<sup>2</sup> = 345. If the pixels of the image correspond to four classes, and each class covers 35%, 16%, 16% and 33% of the whole image, then the 345 polygons will be distributed into the four classes: 121, 55, 55 and 111, respectively.</p></list-item>
<list-item>
<p><italic>Sampling Scheme</italic></p>
<p>Once the number of polygons for each class has been determined according to <xref ref-type="disp-formula" rid="FD17">Equation (17)</xref>, the original image is analysed by an expert who assigns these polygons to their corresponding classes. This assignment is carried out based on the following criteria:</p>
<list list-type="alpha-lower">
<list-item>
<p>Each polygon should contain only pixels of one class; therefore the size and shape of each polygon must be adjusted to the objects of the image. For example, polygons related to classes involving oat leaves (majority in the analysed images) must have irregular shapes as shown in <xref ref-type="fig" rid="f4-sensors-11-06015">Figure 4</xref>.</p></list-item>
<list-item>
<p>The polygons depicted in the original image (<xref ref-type="fig" rid="f4-sensors-11-06015">Figure 4(a)</xref>) are known as reference data or ground truth data. An expert is asked to validate them.</p></list-item>
<list-item>
<p>The original images, with the polygons drawn, and the classified images are matched by using ArcView 3.2 GIS tool, considering that both images have identical UTM coordinates. So the corresponding polygons are drawn in the classified images and therefore the labels of the classes they belong to.</p></list-item></list></list-item></list></p>
<p><xref ref-type="fig" rid="f4-sensors-11-06015">Figure 4</xref> shows the distribution of these polygons for the shady ground category (white line), the green oat (red line), dried oat (black line) and intermediate state (pink line), on both images. The reference image has been labelled by the expert (<xref ref-type="fig" rid="f4-sensors-11-06015">Figure 4(a)</xref>), and <xref ref-type="fig" rid="f4-sensors-11-06015">Figure 4(b)</xref> is the image classified by the proposed strategy.</p>
<p>For any polygon in the classified image (<xref ref-type="fig" rid="f4-sensors-11-06015">Figure 4 (b)</xref>), whose location and label are both known, it is be possible to calculate the number of its pixels that have been correctly or incorrectly classified. This is the basis for computing the error matrices as described in the next section.</p>
<sec>
<label>3.2.1.</label>
<title>Calculation of the Deterministic and Fuzzy Error Matrices</title>
<p>An error matrix is a very effective way to obtain and represent the classifier accuracy. The individual accuracies of each class are plainly described along with both the errors of inclusion (commission errors) and errors of exclusion (omission errors). A commission error is simply defined as including an area in a category when it does not belong to that class. An omission error is when a pixel is excluded from the category to which it belongs. We have compared 200 polygons out of the 2,000 samples. The results for each class are shown in <xref ref-type="table" rid="t2-sensors-11-06015">Table 2</xref>, which represents simultaneously both the error matrix and the fuzzy error matrix.</p>
<p>The values of the main diagonal represent the number of correctly classified sample units. The off-diagonal cells contain a pair of values, separated by a semicolon. The first value represents those sample units that, although no absolutely correct, are considered as to be acceptably classified according to some fuzzy rules. The second value indicates those sample units that are unacceptably classified under the same fuzzy rules, <italic>i.e</italic>., they are considered as errors. For the deterministic matrix, those two values are added giving a unique value for incorrectly classified.</p>
<p>For example, the two values of the first row, third column are: 400 and 600. From the deterministic point of view, 1,000 sample units or polygons (400 + 600) have been wrongly classified into the GO category by our method, when they should have been classified as HD according to the reference data (columns). This means that 1,000 polygons are excluded from the correct HD category and included into the incorrect GO category. Under the fuzzy criterion, 400 polygons were considered acceptable classified and 600 sample units are unacceptable. The set of fuzzy rules to explain or capture the variation of this classification is the following:
<list list-type="bullet">
<list-item>
<p>Absolutely correct: for a particular class, 100% of the surface of the reference polygons and the corresponding locations on the classified image overlap (major diagonal of the error matrix).</p></list-item>
<list-item>
<p>Acceptable: at least 50% of overlap between the locations on the original image (reference) and that sample unit on the classified image for every class. For example, a polygon on the original image (reference) that belongs to class GO is projected into two classes on the classified image, GO and SG. But if at least 50% of that location matches up to the GO class, it is considered acceptable. This will add 1 to the counter at the left in the cell that corresponds to column GO, row SG.</p></list-item>
<list-item>
<p>Error (unacceptable): more than 50% of a location that belongs to class <italic>k</italic> overlaps a different category. For instance, a polygon that in the reference image belongs to DO class, overlaps class GO on the classified image. This will add 1 to the value at the right of the cell (row GO, column DO).</p></list-item></list></p>
<p>In addition to clearly showing errors of omission and commission, the error and fuzzy error matrices can be used to compute other accuracy measures such as the overall accuracy, expert’s accuracy and classifier’s accuracy, which are of interest for agriculture inventories.</p></sec>
<sec>
<label>3.2.2.</label>
<title>Classifier’s Accuracy and Commission Errors</title>
<p>An overall accuracy level of 85% was adopted to represent the cut off between acceptable and unacceptable results. This standard was first described in 1976 by Anderson [<xref ref-type="bibr" rid="b46-sensors-11-06015">46</xref>], and seems to be almost universally accepted [<xref ref-type="bibr" rid="b47-sensors-11-06015">47</xref>]. The classifier accuracy represents the probability of a pixel to be correctly classified.</p>
<p>The deterministic (traditional) overall accuracy is simply the sum of the major diagonal (correctly classified sample units) divided by the total number of sample units in the entire error matrix, <italic>i.e</italic>., 63,400/68,800 = 92%.</p>
<p>The fuzzy assessment overall accuracy is estimated as the percentage of sites where the “good” and “acceptable” reference label(s) matched the classified image label; therefore the sum of the values along the major diagonal (absolutely correct sample units) and those deemed acceptable (first value in the off-diagonal) divided by the total number of sample units in the entire fuzzy error matrix, <italic>i.e</italic>., 66,200/68,800 = 96%.</p>
<p>The individual accuracy of each category is described together with the errors of inclusion (commission errors) in the classification. A commission error was defined as including a polygon of the classified image in a category when it does not belong to that class. The deterministic individual class accuracy is estimated by the major diagonal value (<italic>i.e</italic>., number of correctly classified sample units for this class) divided by the total number of classified locations; and the fuzzy assessment individual class accuracy is estimated by the sum of value the major diagonal (<italic>i.e</italic>., the correctly classified sample units for this class) and those deemed acceptable (<italic>i.e</italic>., the first value of each cell in the row) divided by the total polygons classified.</p>
<p>The values of this categories’ accuracy, for both the deterministic and fuzzy errors, are displayed in <xref ref-type="table" rid="t3-sensors-11-06015">Table 3</xref>. The total, as it was said, is calculated by the values of the major diagonal (for the deterministic case) plus the non-diagonal first value of each cell (row), for the fuzzy assessment. Classifier accuracy is then obtained as Total/Total Classified. Commission error is computed as 100% minus Classifier’s accuracy for each class. The error values were taken from the results shown in <xref ref-type="table" rid="t2-sensors-11-06015">Table 2</xref>.</p>
<p>For example, the classifier’s accuracy for the DO category is calculated by dividing the total number of correctly classified locations in that category (8,800 for the deterministic matrix and 9,400 for the fuzzy one) by the total number of polygons classified as dried oats (9,800, see <xref ref-type="table" rid="t2-sensors-11-06015">Table 2</xref>). The value obtained is 90% and 96% for the deterministic and fuzzy cases respectively.</p></sec>
<sec>
<label>3.2.3.</label>
<title>Expert’s Accuracy and Omission Errors</title>
<p>The expert’s accuracy is calculated for every class, and it describes the ability to classify a particular category. This calculation is performed by dividing the total number of correct sample units in a particular category by the total number of sample units of that class as indicated by the reference data (<italic>i.e</italic>., 22,600/24,000 = 0.94 for GO). In this case, only the errors of exclusion (omission errors) are taken into account. An omission error means excluding an area from the category to which it belongs.</p>
<p><xref ref-type="table" rid="t4-sensors-11-06015">Table 4</xref> shows the expert’s accuracy for the deterministic and fuzzy approaches when using the corresponding values of <xref ref-type="table" rid="t2-sensors-11-06015">Table 2</xref>.</p>
<p>For example, the ability to classify DO can be obtained by dividing the total number of correctly classified sample units of this category (8,800 in the deterministic matrix, and 10,000 in the fuzzy one) by the total number of dried oat polygons as indicated by the reference data (10,800, column “total sample units”). This division results in an accuracy of 81% (deterministic) and 93% (fuzzy), which are quite good.</p>
<p>The Total columns of <xref ref-type="table" rid="t4-sensors-11-06015">Table 4</xref> represent the values of the major diagonal (for the deterministic approach) or these values plus the non-diagonal first value of each cell (column), for the fuzzy case. Then, Expert’s accuracy is obtained as Total/Total sample units. Omission error is the subtraction of the Expert’s accuracy from 100%.</p></sec>
<sec>
<label>3.2.4.</label>
<title>Accuracy and Errors for Simple and Combined Thresholding</title>
<p><xref ref-type="table" rid="t5-sensors-11-06015">Table 5</xref> summarizes classifier and expert’s accuracy and commission and omission errors. Four thresholding approaches are compare: combined thresholding approach (CT), and the simple thresholding strategies Isodata (IS), Otsu’s (OT) and Fuzzy (FU), from both the deterministic and fuzzy points of view. The values presented in <xref ref-type="table" rid="t5-sensors-11-06015">Table 5</xref> are the average of the results for the four categories (GO, DO, HD, SG). As it can be seen in <xref ref-type="table" rid="t5-sensors-11-06015">Table 5</xref>, the best performance is obtained by the proposed CT strategy in terms of both accuracy and error.</p></sec></sec>
<sec sec-type="discussion|conclusions">
<label>3.3.</label>
<title>Summary and Discussion</title>
<p>To identify the level of damage in oat crops due to frost, an unsupervised classification strategy has been developed. It involves three main procedures: (a) an automatic thresholding; (b) fusion of thresholds and determination of frost damage using this merged value; (c) validation and accuracy estimation of the classifier by computing the error matrices.</p>
<p>The automatic thresholding is carried out by combining the three following thresholding strategies: Otsu’s, Isodata and Fuzzy. Combination of different classifiers has been proved to be useful to improve the classification results [<xref ref-type="bibr" rid="b43-sensors-11-06015">43</xref>,<xref ref-type="bibr" rid="b48-sensors-11-06015">48</xref>]. In this proposal, the average of these three thresholds for each spectral band of CIELab colour space is considered. For this agricultural application, the merging gives better results than the results gained when taking each of them separately.</p>
<p>The accuracy of a classification process refers to the degree of agreement between the classified image and the ground truth; to show quantitatively this accuracy, an error matrix has been calculated that allows us to identify some sources of confusion and not simply the “error”. The fuzzy error matrix was used to extend the results in order to consider uncertainty in the labelling. Each category can be analysed by studying the values of the rows. As shown in <xref ref-type="table" rid="t2-sensors-11-06015">Table 2</xref>, the classes that have more classification errors are HD and DO. In this Table, the value of the third column (HD), last row (Total sample units), <italic>i.e</italic>., 11,200, stands for the number of sample units or polygons that were classified as HD by the expert. Our classifier assigned this category to 10,000 polygons (third row, last column). In the fuzzy error matrix it is possible to see that out of these 10,000, 9,200 were correctly classified (diagonal value). Furthermore, there are 200 sample units than were classified as HD when the reference data shows that they actually belong to the DO class. The other 600 sample units were classified as something between DO and HD, and therefore this classification was considered acceptable in a fuzzy way (see third row, second column, 600; 200). As the total number of classified sample units of this class is 10,000, the deterministic class accuracy is 92% (9,200/10,000), and 98% (9,800/10,000) for the fuzzy approach, <xref ref-type="table" rid="t3-sensors-11-06015">Table 3</xref>.</p>
<p>The expert’s accuracy for the same category, HD, can be analysed taking into account the columns of <xref ref-type="table" rid="t4-sensors-11-06015">Table 4</xref>. Out of 11,200 sample units classified as HD by the expert, 9,200 matched correctly, 600 were misclassified as GO, and 400 as DO. Regarding the fuzzy approach, 400 were located between GO and HD, and 600 between DO and HD, these classifications were considered acceptable. Therefore, the expert’s accuracy (<xref ref-type="table" rid="t4-sensors-11-06015">Table 4</xref>), for the HD category is 82% (9,200/11,200), with an omission error of 18%, in the deterministic case. The fuzzy expert’s accuracy is 91% (10,200/11,200), with a fuzzy omission error of 9%. The same analysis can be done for every category.</p>
<p>These results allow the quantification of the oat crop damage due to very low temperatures. On 20 ha, an area of 7.6 ha has not been affected by frost. But low temperatures have partially damaged an area of 2.7 ha and caused a loss of 9.7 ha. Based on the protocol suggested by the SIAP [<xref ref-type="bibr" rid="b3-sensors-11-06015">3</xref>] and using the historical data, it is possible to predict that 126.92 t ha<sup>−1</sup> can still be produced from the healthy 7.6 ha.</p></sec></sec>
<sec sec-type="conclusions">
<label>4.</label>
<title>Conclusions</title>
<p>A new unsupervised classifier has been designed that allows us to predict the quantification of the damage due to low temperatures on oats. The images are taken by a digital camera CCD sensor, <italic>i.e</italic>., with relative low cost. The CIELab colour model is used as it is closer to human perception and therefore more useful in agricultural applications.</p>
<p>The classification strategy is based on the fusion of three thresholding techniques. It generates as many classes as required by the application in an automatic way (called dynamic clustering, [<xref ref-type="bibr" rid="b49-sensors-11-06015">49</xref>]). This flexibility on the number of classes is one of the main advantages of this method. The automatic classifier is able to correctly identify oats affected by very low temperatures (frost) from green oats and areas without vegetation (ground).</p>
<p>This methodology is useful for large-scale producers that can monitor their crops and thus to estimate the lost production. It is also useful for agricultural insurance purposes, as it facilitates the assessment of harvested areas. The same procedure could be applicable for quantifying the effects of pests, diseases, or droughts and therefore, extending the range of applicability.</p>
<p>Another agricultural application of such conventional sensors, that has not yet been developed, would be to assess the phenological state of short-cycle crops, such as oats, wheat and barley after being affected by weather.</p>
<p>An important contribution of this proposal, with respect to visual observations of experts, is the quantitative damage estimation. The decisions made by experts and growers, who are sometimes influenced by fatigue, are mainly based on qualitative aspects. This advantage justifies the use of the automatic vision system.</p>
<p>The implementation of this strategy to monitor crops could be quite useful. It will allow more accurate predictions on the production. It can also help to make a decision on the right treatment for the crop if necessary. Nevertheless, the application of this strategy to harvested areas should be done only after damage, as the changes in the oat crop are almost imperceptible day-to-day.</p></sec></body>
<back>
<ack>
<p>The authors would like to thank the World Bank from the Robert S. McNamara Fellowships Program (RSM) and the Carolina Foundation and SRE Mexico for partially co-financing the doctoral studies. This work has been partially support by the Spanish project DPI2009-14552-C02-01 and also with technical support from FONCICYT 93829 project granted by the European Union and CONACYT. The “Colegio de Postgraduados (Hidrociencias)” Mexico, by the grant. Thanks are due to the anonymous referees for their valuable comments and suggestions.</p></ack>
<ref-list>
<title>References</title>
<ref id="b1-sensors-11-06015"><label>1.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chawade</surname><given-names>A</given-names></name><name><surname>Sikora</surname><given-names>P</given-names></name><name><surname>Bräutigam</surname><given-names>M</given-names></name><name><surname>Larsson</surname><given-names>M</given-names></name><name><surname>Nakash</surname><given-names>MA</given-names></name><name><surname>Chen</surname><given-names>T</given-names></name><name><surname>Olsson</surname><given-names>O</given-names></name></person-group><article-title>Development and characterization of an oat TILLING-population and identification of mutations in lignin and β-glucan biosynthesis genes</article-title><source>BMC Plant Biol</source><year>2010</year><pub-id pub-id-type="doi">10.1186/1471-2229-10-86.</pub-id></citation></ref>
<ref id="b2-sensors-11-06015"><label>2.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gold</surname><given-names>SJ</given-names></name><name><surname>Fetch</surname><given-names>JM</given-names></name><name><surname>Fetch</surname><given-names>TG</given-names></name></person-group><article-title>Evaluation of <italic>Avena</italic> spp. accessions for resistance to oat stem rust</article-title><source>Plant Dis</source><year>2005</year><volume>89</volume><fpage>521</fpage><lpage>525</lpage><pub-id pub-id-type="doi">10.1094/PD-89-0521</pub-id></citation></ref>
<ref id="b3-sensors-11-06015"><label>3.</label><citation citation-type="web"><collab>SIAP</collab><source>Anuario Estadístico de la Producción Agrícola</source><comment>Available online: <ext-link xlink:href="http://www.siap.gob.mx" ext-link-type="uri">http://www.siap.gob.mx</ext-link> (accessed on 11 April 2011).</comment></citation></ref>
<ref id="b4-sensors-11-06015"><label>4.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Mariscal-Amaro</surname><given-names>LA</given-names></name><name><surname>Huerta-Espino</surname><given-names>J</given-names></name><name><surname>Villaseñor-Mir</surname><given-names>HE</given-names></name><name><surname>Leyva-Mir</surname><given-names>SG</given-names></name><name><surname>Sandoval-Islas</surname><given-names>JS</given-names></name><name><surname>Benítez-Riquelme</surname><given-names>I</given-names></name></person-group><article-title>Genetics of resistance to stem (<italic>Puccinia graminis f. sp. avenae</italic>) in three genotypes of oat (<italic>Avena sativa</italic> L.)</article-title><source>Agrociencia</source><year>2009</year><volume>43</volume><fpage>869</fpage><lpage>897</lpage></citation></ref>
<ref id="b5-sensors-11-06015"><label>5.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Webb</surname><given-names>MS</given-names></name><name><surname>Uemura</surname><given-names>M</given-names></name><name><surname>Steponkus</surname><given-names>PA</given-names></name></person-group><article-title>Comparison of freezing injury in oat and rye: Two cereals at the extremes of freezing tolerance</article-title><source>Plant Physiol</source><year>1994</year><volume>104</volume><fpage>467</fpage><lpage>478</lpage><pub-id pub-id-type="pmid">12232096</pub-id></citation></ref>
<ref id="b6-sensors-11-06015"><label>6.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hunt</surname><given-names>ER</given-names></name><name><surname>Cavigelli</surname><given-names>M</given-names></name><name><surname>Daughtry</surname><given-names>CT</given-names></name><name><surname>McMurtrey</surname><given-names>J</given-names></name><name><surname>Walthall</surname><given-names>SL</given-names></name></person-group><article-title>Evaluation of digital photography from model aircraft for remote sensing of crop biomass</article-title><source>Precis. Agric</source><year>2005</year><volume>6</volume><fpage>359</fpage><lpage>378</lpage><pub-id pub-id-type="doi">10.1007/s11119-005-2324-5</pub-id></citation></ref>
<ref id="b7-sensors-11-06015"><label>7.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zhu</surname><given-names>ZL</given-names></name><name><surname>Yang</surname><given-names>LM</given-names></name><name><surname>Stehman</surname><given-names>SV</given-names></name><name><surname>Czaplewski</surname><given-names>RL</given-names></name></person-group><article-title>Accuracy assessment for the U.S. geological survey regional land-cover mapping program: New York and New Jersey region</article-title><source>Photogramm. Eng. Remote Sens</source><year>2000</year><volume>66</volume><fpage>425</fpage><lpage>1435</lpage></citation></ref>
<ref id="b8-sensors-11-06015"><label>8.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lu</surname><given-names>D</given-names></name><name><surname>Weng</surname><given-names>Q</given-names></name></person-group><article-title>A survey of image classification methods and techniques for improving classification performance</article-title><source>Int. J. Remote Sens</source><year>2007</year><volume>28</volume><fpage>823</fpage><lpage>870</lpage><pub-id pub-id-type="doi">10.1080/01431160600746456</pub-id></citation></ref>
<ref id="b9-sensors-11-06015"><label>9.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Cortijo</surname><given-names>FJ</given-names></name><name><surname>Pérez de la Blanca</surname><given-names>N</given-names></name><name><surname>Abad</surname><given-names>J</given-names></name><name><surname>Damas</surname><given-names>S</given-names></name></person-group><article-title>A comparison of multispectral image classifiers using high dimensional simulated data sets</article-title><conf-name>Proceedings of VII National Symposium on Pattern Recognition and Image Analysis</conf-name><conf-loc>Barcelona, Spain</conf-loc><conf-date>April 1997</conf-date><fpage>365</fpage><lpage>370</lpage></citation></ref>
<ref id="b10-sensors-11-06015"><label>10.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Burgos-Artizzu</surname><given-names>XP</given-names></name><name><surname>Ribeiro</surname><given-names>A</given-names></name><name><surname>Tellaeche</surname><given-names>A</given-names></name><name><surname>Pajares</surname><given-names>G</given-names></name><name><surname>Fernández-Quintanilla</surname><given-names>C</given-names></name></person-group><article-title>Analysis of natural images processing for the extraction of agricultural elements</article-title><source>Image Vision Comput</source><year>2010</year><volume>28</volume><fpage>138</fpage><lpage>149</lpage><pub-id pub-id-type="doi">10.1016/j.imavis.2009.05.009</pub-id></citation></ref>
<ref id="b11-sensors-11-06015"><label>11.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gottschalk</surname><given-names>R</given-names></name><name><surname>Burgos-Artizzu</surname><given-names>XP</given-names></name><name><surname>Ribeiro</surname><given-names>A</given-names></name><name><surname>Pajares</surname><given-names>G</given-names></name><name><surname>Miralles</surname><given-names>AS</given-names></name></person-group><article-title>Real-time image processing for the guidance of a small agricultural field inspection vehicle</article-title><source>Int. J. Intell. Syst. Tech. Appl</source><year>2010</year><volume>8</volume><fpage>434</fpage><lpage>443</lpage></citation></ref>
<ref id="b12-sensors-11-06015"><label>12.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Eaton</surname><given-names>R</given-names></name><name><surname>Katupitiya</surname><given-names>J</given-names></name><name><surname>Siew</surname><given-names>KW</given-names></name><name><surname>Howarth</surname><given-names>B</given-names></name></person-group><article-title>Autonomous farming: Modelling and control of agricultural machinery in a unified framework</article-title><source>Intell. Syst. Tech. Appl</source><year>2010</year><volume>8</volume><fpage>444</fpage><lpage>457</lpage></citation></ref>
<ref id="b13-sensors-11-06015"><label>13.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Guijarro</surname><given-names>M</given-names></name><name><surname>Pajares</surname><given-names>G</given-names></name><name><surname>Riomoros</surname><given-names>I</given-names></name><name><surname>Herrera</surname><given-names>PJ</given-names></name><name><surname>Burgos-Artizzu</surname><given-names>X</given-names></name><name><surname>Ribeiro</surname><given-names>A</given-names></name></person-group><article-title>Automatic segmentation of relevant textures in agricultural images</article-title><source>Comput. Electron. Agric</source><year>2011</year><volume>75</volume><fpage>75</fpage><lpage>83</lpage><pub-id pub-id-type="doi">10.1016/j.compag.2010.09.013</pub-id></citation></ref>
<ref id="b14-sensors-11-06015"><label>14.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Tellaeche</surname><given-names>A</given-names></name><name><surname>Burgos-Artizzu</surname><given-names>XP</given-names></name><name><surname>Pajares</surname><given-names>G</given-names></name><name><surname>Ribeiro</surname><given-names>A</given-names></name></person-group><article-title>A vision-based method for weeds identification through the Bayesian precision theory</article-title><source>Patt. Recog</source><year>2008</year><volume>41</volume><fpage>521</fpage><lpage>530</lpage><pub-id pub-id-type="doi">10.1016/j.patcog.2007.07.007</pub-id></citation></ref>
<ref id="b15-sensors-11-06015"><label>15.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Woebbecke</surname><given-names>DM</given-names></name><name><surname>Meyer</surname><given-names>GE</given-names></name><name><surname>Bargen</surname><given-names>KV</given-names></name><name><surname>Mortensen</surname><given-names>DA</given-names></name></person-group><article-title>Shape features for identifying young weeds using image analysis</article-title><source>Trans. ASAE</source><year>1995</year><volume>38</volume><fpage>271</fpage><lpage>281</lpage></citation></ref>
<ref id="b16-sensors-11-06015"><label>16.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Meyer</surname><given-names>GE</given-names></name><name><surname>Camargo-Neto</surname><given-names>J</given-names></name></person-group><article-title>Verification of color vegetation indices for automated crop imaging applications</article-title><source>Comput. Electron. Agric</source><year>2008</year><volume>63</volume><fpage>282</fpage><lpage>293</lpage><pub-id pub-id-type="doi">10.1016/j.compag.2008.03.009</pub-id></citation></ref>
<ref id="b17-sensors-11-06015"><label>17.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Martin</surname><given-names>HJA</given-names></name><name><surname>Santos</surname><given-names>M</given-names></name><name><surname>Farias</surname><given-names>G</given-names></name><name><surname>Duro</surname><given-names>N</given-names></name><name><surname>Sanchez</surname><given-names>J</given-names></name><name><surname>Dormido</surname><given-names>R</given-names></name><name><surname>Dormido-Canto</surname><given-names>S</given-names></name><name><surname>Vega</surname><given-names>J</given-names></name><name><surname>Vargas</surname><given-names>H</given-names></name></person-group><article-title>Dynamic clustering and modeling approaches for fusion plasma signals</article-title><source>IEEE Trans. Instrum. Meas</source><year>2009</year><volume>58</volume><fpage>2969</fpage><lpage>2978</lpage><pub-id pub-id-type="doi">10.1109/TIM.2009.2016798</pub-id></citation></ref>
<ref id="b18-sensors-11-06015"><label>18.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Reid</surname><given-names>JF</given-names></name><name><surname>Searcy</surname><given-names>SW</given-names></name></person-group><article-title>Vision-based guidance of an agricultural tractor</article-title><source>IEEE Control Syst</source><year>1887</year><volume>7</volume><fpage>39</fpage><lpage>43</lpage></citation></ref>
<ref id="b19-sensors-11-06015"><label>19.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Otsu</surname><given-names>N</given-names></name></person-group><article-title>A threshold selection method from gray level histogram</article-title><source>IEEE Trans. Syst. Man Cybern</source><year>1979</year><volume>9</volume><fpage>62</fpage><lpage>66</lpage><pub-id pub-id-type="doi">10.1109/TSMC.1979.4310076</pub-id></citation></ref>
<ref id="b20-sensors-11-06015"><label>20.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ling</surname><given-names>PP</given-names></name><name><surname>Ruzhitsky</surname><given-names>VN</given-names></name></person-group><article-title>Machine vision techniques for measuring the canopy of tomato seedling</article-title><source>J. Agric. Eng. Res</source><year>1996</year><volume>65</volume><fpage>85</fpage><lpage>95</lpage><pub-id pub-id-type="doi">10.1006/jaer.1996.0082</pub-id></citation></ref>
<ref id="b21-sensors-11-06015"><label>21.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Shrestha</surname><given-names>DS</given-names></name><name><surname>Steward</surname><given-names>BL</given-names></name><name><surname>Birrell</surname><given-names>SJ</given-names></name></person-group><article-title>Video processing for early stage maize plant detection</article-title><source>Biosyst. Eng</source><year>2004</year><volume>89</volume><fpage>119</fpage><lpage>129</lpage><pub-id pub-id-type="doi">10.1016/j.biosystemseng.2004.06.007</pub-id></citation></ref>
<ref id="b22-sensors-11-06015"><label>22.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gebhardt</surname><given-names>S</given-names></name><name><surname>Schellberg</surname><given-names>J</given-names></name><name><surname>Lock</surname><given-names>R</given-names></name><name><surname>Kaühbauch</surname><given-names>WA</given-names></name></person-group><article-title>Identification of broad-leaved dock (<italic>Rumex obtusifolius</italic> L.) on grass land by means of digital image processing</article-title><source>Precis. Agric</source><year>2006</year><volume>7</volume><fpage>165</fpage><lpage>178</lpage><pub-id pub-id-type="doi">10.1007/s11119-006-9006-9</pub-id></citation></ref>
<ref id="b23-sensors-11-06015"><label>23.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gebhardt</surname><given-names>S</given-names></name><name><surname>Kaühbauch</surname><given-names>WA</given-names></name></person-group><article-title>A new algorithm for automatic Rumex obtusifolius detection in digital image using colour and texture features and the influence of image resolution</article-title><source>Precis. Agric</source><year>2007</year><volume>8</volume><fpage>1</fpage><lpage>13</lpage><pub-id pub-id-type="doi">10.1007/s11119-006-9024-7</pub-id></citation></ref>
<ref id="b24-sensors-11-06015"><label>24.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kirk</surname><given-names>K</given-names></name><name><surname>Andersen</surname><given-names>HJ</given-names></name><name><surname>Thomsen</surname><given-names>AG</given-names></name><name><surname>Jørgensen</surname><given-names>JR</given-names></name></person-group><article-title>Estimation of leaf area index in cereal crops using red-green images</article-title><source>Biosyst. Eng</source><year>2009</year><volume>104</volume><fpage>308</fpage><lpage>317</lpage><pub-id pub-id-type="doi">10.1016/j.biosystemseng.2009.07.001</pub-id></citation></ref>
<ref id="b25-sensors-11-06015"><label>25.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Meyer</surname><given-names>GE</given-names></name><name><surname>Camargo-Neto</surname><given-names>J</given-names></name><name><surname>Jones</surname><given-names>DD</given-names></name><name><surname>Hindman</surname><given-names>TW</given-names></name></person-group><article-title>Intensified fuzzy clusters for classifying plant, soil, and residue regions of interest from color images</article-title><source>Comput. Electron. Agric</source><year>2004</year><volume>42</volume><fpage>161</fpage><lpage>180</lpage><pub-id pub-id-type="doi">10.1016/j.compag.2003.08.002</pub-id></citation></ref>
<ref id="b26-sensors-11-06015"><label>26.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Tian</surname><given-names>S</given-names></name></person-group><article-title>Environmentally adaptive segmentation algorithm for out-door image segmentation</article-title><source>Comput. Electron. Agric</source><year>1998</year><volume>21</volume><fpage>153</fpage><lpage>168</lpage><pub-id pub-id-type="doi">10.1016/S0168-1699(98)00037-4</pub-id></citation></ref>
<ref id="b27-sensors-11-06015"><label>27.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ruiz-Ruiz</surname><given-names>G</given-names></name><name><surname>Gómez-Gil</surname><given-names>J</given-names></name><name><surname>Navas-Gracia</surname><given-names>LM</given-names></name></person-group><article-title>Testing different color spaces based on hue for the environmentally adaptive segmentation algorithm (EASA)</article-title><source>Comput. Electron. Agric</source><year>2009</year><volume>68</volume><fpage>88</fpage><lpage>96</lpage><pub-id pub-id-type="doi">10.1016/j.compag.2009.04.009</pub-id></citation></ref>
<ref id="b28-sensors-11-06015"><label>28.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zheng</surname><given-names>L</given-names></name><name><surname>Zhang</surname><given-names>J</given-names></name><name><surname>Wang</surname><given-names>Q</given-names></name></person-group><article-title>Mean-shift-based color segmentation of images containing green vegetation</article-title><source>Comput. Electron. Agric</source><year>2009</year><volume>65</volume><fpage>93</fpage><lpage>98</lpage><pub-id pub-id-type="doi">10.1016/j.compag.2008.08.002</pub-id></citation></ref>
<ref id="b29-sensors-11-06015"><label>29.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Du</surname><given-names>Q</given-names></name></person-group><article-title>Unsupervised real-time constrained linear discriminant analysis to hyperspectral image classification</article-title><source>Patt. Recog</source><year>2007</year><volume>40</volume><fpage>1510</fpage><lpage>1519</lpage><pub-id pub-id-type="doi">10.1016/j.patcog.2006.08.006</pub-id></citation></ref>
<ref id="b30-sensors-11-06015"><label>30.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Shah</surname><given-names>CA</given-names></name><name><surname>Arora</surname><given-names>MK</given-names></name><name><surname>Varshney</surname><given-names>PK</given-names></name></person-group><article-title>Unsupervised classification of hyperspectral data: An ICA mixture model based approach</article-title><source>Int. J. Remote Sens</source><year>2004</year><volume>25</volume><fpage>481</fpage><lpage>487</lpage><pub-id pub-id-type="doi">10.1080/01431160310001618040</pub-id></citation></ref>
<ref id="b31-sensors-11-06015"><label>31.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Macedo</surname><given-names>A</given-names></name><name><surname>Pajares</surname><given-names>G</given-names></name><name><surname>Santos</surname><given-names>M</given-names></name></person-group><article-title>Unsupervised classification with ground color cover images</article-title><source>Agrociencia</source><year>2010</year><volume>44</volume><fpage>711</fpage><lpage>722</lpage></citation></ref>
<ref id="b32-sensors-11-06015"><label>32.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Robertson</surname><given-names>AL</given-names></name></person-group><article-title>The CIE 1976 color difference formulae</article-title><source>Color Res. Appl</source><year>1976</year><volume>2</volume><fpage>7</fpage><lpage>11</lpage></citation></ref>
<ref id="b33-sensors-11-06015"><label>33.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sangwine</surname><given-names>SJ</given-names></name></person-group><article-title>Colour in image processing</article-title><source>Electron. Commun. Eng. J</source><year>2000</year><volume>12</volume><fpage>211</fpage><lpage>219</lpage><pub-id pub-id-type="doi">10.1049/ecej:20000503</pub-id></citation></ref>
<ref id="b34-sensors-11-06015"><label>34.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Mendoza</surname><given-names>F</given-names></name><name><surname>Dejmek</surname><given-names>P</given-names></name><name><surname>Aguilera</surname><given-names>JM</given-names></name></person-group><article-title>Calibrated color measurements of agricultural foods using image analysis</article-title><source>Postharvest Biol. Technol</source><year>2006</year><volume>41</volume><fpage>285</fpage><lpage>295</lpage><pub-id pub-id-type="doi">10.1016/j.postharvbio.2006.04.004</pub-id></citation></ref>
<ref id="b35-sensors-11-06015"><label>35.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gonzales-Barron</surname><given-names>U</given-names></name><name><surname>Butler</surname><given-names>F</given-names></name></person-group><article-title>A comparison of seven thresholding techniques with the k-means clustering algorithm for measurement of bread-crumb features by digital image analysis</article-title><source>J. Food Eng</source><year>2006</year><volume>74</volume><fpage>268</fpage><lpage>278</lpage><pub-id pub-id-type="doi">10.1016/j.jfoodeng.2005.03.007</pub-id></citation></ref>
<ref id="b36-sensors-11-06015"><label>36.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ridler</surname><given-names>TW</given-names></name><name><surname>Calvard</surname><given-names>S</given-names></name></person-group><article-title>Picture thresholding using an iterative selection method</article-title><source>IEEE Trans. Syst. Man Cybern</source><year>1978</year><volume>8</volume><fpage>630</fpage><lpage>632</lpage><pub-id pub-id-type="doi">10.1109/TSMC.1978.4310039</pub-id></citation></ref>
<ref id="b37-sensors-11-06015"><label>37.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kittler</surname><given-names>J</given-names></name><name><surname>Illingworth</surname><given-names>J</given-names></name></person-group><article-title>Minimum error thresholding</article-title><source>Patt. Recog</source><year>1986</year><volume>19</volume><fpage>41</fpage><lpage>47</lpage><pub-id pub-id-type="doi">10.1016/0031-3203(86)90030-0</pub-id></citation></ref>
<ref id="b38-sensors-11-06015"><label>38.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Hartigan</surname><given-names>JA</given-names></name></person-group><source>Clustering Algorithms</source><publisher-name>Wiley</publisher-name><publisher-loc>New York, NY, USA</publisher-loc><year>1975</year></citation></ref>
<ref id="b39-sensors-11-06015"><label>39.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Pun</surname><given-names>T</given-names></name></person-group><article-title>A new method for grey-level picture thresholding using the entropy of the histogram</article-title><source>Signal Process</source><year>1980</year><volume>2</volume><fpage>223</fpage><lpage>237</lpage><pub-id pub-id-type="doi">10.1016/0165-1684(80)90020-1</pub-id></citation></ref>
<ref id="b40-sensors-11-06015"><label>40.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Tsai</surname><given-names>WH</given-names></name></person-group><article-title>Moment-preserving thresholding: A new approach</article-title><source>Comput. Vis. Graph. Image Process</source><year>1985</year><volume>29</volume><fpage>377</fpage><lpage>393</lpage><pub-id pub-id-type="doi">10.1016/0734-189X(85)90133-1</pub-id></citation></ref>
<ref id="b41-sensors-11-06015"><label>41.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Huang</surname><given-names>LK</given-names></name><name><surname>Wang</surname><given-names>MJ</given-names></name></person-group><article-title>Image thresholding by minimising the measures of fuzziness</article-title><source>Patt. Recog</source><year>1995</year><volume>21</volume><fpage>41</fpage><lpage>51</lpage></citation></ref>
<ref id="b42-sensors-11-06015"><label>42.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Tsai</surname><given-names>RY</given-names></name></person-group><article-title>Metrology using off-the-shelf TV cameras and lenses</article-title><source>IEEE J. Robotic. Autom</source><year>1987</year><volume>3</volume><fpage>323</fpage><lpage>344</lpage><pub-id pub-id-type="doi">10.1109/JRA.1987.1087109</pub-id></citation></ref>
<ref id="b43-sensors-11-06015"><label>43.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Kuncheva</surname><given-names>LI</given-names></name></person-group><source>Combining Pattern Classifiers: Methods and Algorithms</source><publisher-name>Wiley</publisher-name><publisher-loc>New York, NY, USA</publisher-loc><year>2004</year><fpage>376</fpage></citation></ref>
<ref id="b44-sensors-11-06015"><label>44.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Congalton</surname><given-names>RG</given-names></name><name><surname>Green</surname><given-names>K</given-names></name></person-group><source>Assessing the Accuracy of Remotely Sensed Data: Principles and Practices</source><edition>2nd ed</edition><publisher-name>CRC/Taylor &amp; Francis</publisher-name><publisher-loc>Boca Raton, FL, USA</publisher-loc><year>2009</year><fpage>178</fpage></citation></ref>
<ref id="b45-sensors-11-06015"><label>45.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Congalton</surname><given-names>RG</given-names></name></person-group><article-title>Putting the map back in map accuracy assessment</article-title><source>Remote Sensing and GIS Accuracy Assessment</source><person-group person-group-type="editor"><name><surname>Lunetta</surname><given-names>RS</given-names></name><name><surname>Lyon</surname><given-names>JG</given-names></name></person-group><publisher-name>Lewis</publisher-name><publisher-loc>Boca Raton, FL, USA</publisher-loc><year>2004</year><fpage>292</fpage></citation></ref>
<ref id="b46-sensors-11-06015"><label>46.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Anderson</surname><given-names>JR</given-names></name><name><surname>Hardy</surname><given-names>EE</given-names></name><name><surname>Roach</surname><given-names>JT</given-names></name><name><surname>Witmer</surname><given-names>RE</given-names></name></person-group><article-title>A land use and land cover classification system for use with remote sensor data</article-title><source>Geological Survey</source><publisher-name>Government Printing Office</publisher-name><publisher-loc>Washington, DC, USA</publisher-loc><year>1976</year></citation></ref>
<ref id="b47-sensors-11-06015"><label>47.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Martín-H</surname><given-names>JA</given-names></name><name><surname>Santos</surname><given-names>M</given-names></name><name><surname>de Lope</surname><given-names>J</given-names></name></person-group><article-title>Orthogonal variant moment features in image analysis</article-title><source>Inform. Sci</source><year>2010</year><volume>180</volume><fpage>846</fpage><lpage>860</lpage><pub-id pub-id-type="doi">10.1016/j.ins.2009.08.032</pub-id></citation></ref>
<ref id="b48-sensors-11-06015"><label>48.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Valdovinos</surname><given-names>RM</given-names></name><name><surname>Sánchez</surname><given-names>JS</given-names></name></person-group><article-title>Performance analysis of classifier ensembles: Neural networks <italic>versus</italic> nearest neighbor rule</article-title><conf-name>Proceedings of the 3rd Iberian Conference on Pattern Recognition and Image Analysis (IbPRIA)</conf-name><conf-loc>Girona, Spain</conf-loc><conf-date>6–8 June 2007</conf-date><fpage>105</fpage><lpage>112</lpage></citation></ref>
<ref id="b49-sensors-11-06015"><label>49.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Weszka</surname><given-names>JS</given-names></name></person-group><article-title>A survey of threshold selection techniques</article-title><source>Comput. Graph. Image Process</source><year>1978</year><volume>72</volume><fpage>259</fpage><lpage>265</lpage></citation></ref></ref-list>
<sec sec-type="display-objects">
<title>Figures and Tables</title>
<fig id="f1-sensors-11-06015" position="float">
<label>Figure 1.</label>
<caption>
<p><bold>(a)</bold> and <bold>(b)</bold> Selection and sample delimitation of the oat crop to be photog aphed; <bold>(c)</bold> system geometry with the optical axis perpendicular to the ground.</p></caption>
<graphic xlink:href="sensors-11-06015f1.gif"/></fig>
<fig id="f2-sensors-11-06015" position="float">
<label>Figure 2.</label>
<caption>
<p><bold>(a)</bold> Original digital image; <bold>(b)</bold> Classification results obtained by the unsupervised strategy (four re-clustering).</p></caption>
<graphic xlink:href="sensors-11-06015f2.gif"/></fig>
<fig id="f3-sensors-11-06015" position="float">
<label>Figure 3.</label>
<caption>
<p><bold>(a)</bold> Original image; <bold>(b)</bold> Classification results obtained by the unsupervised strategy (four re-clustering).</p></caption>
<graphic xlink:href="sensors-11-06015f3.gif"/></fig>
<fig id="f4-sensors-11-06015" position="float">
<label>Figure 4.</label>
<caption>
<p><bold>(a)</bold> Reference Data: sample units on the original image. <bold>(b)</bold> Sample units on the classified image.</p></caption>
<graphic xlink:href="sensors-11-06015f4.gif"/></fig>
<table-wrap id="t2-sensors-11-06015" position="float">
<label>Table 2.</label>
<caption>
<p>Deterministic and fuzzy error matrices.</p></caption>
<graphic xlink:href="sensors-11-06015t2.gif"/></table-wrap>
<table-wrap id="t3-sensors-11-06015" position="float">
<label>Table 3.</label>
<caption>
<p>Classifier’s accuracy and categories’ accuracy (commission errors).</p></caption>
<table frame="below" rules="groups">
<thead>
<tr>
<th align="center" valign="middle"/>
<th colspan="6" align="center" valign="middle">
<hr/></th></tr>
<tr>
<th align="center" valign="middle"/>
<th colspan="3" align="center" valign="middle"><bold>Deterministic</bold></th>
<th colspan="3" align="center" valign="middle"><bold>Fuzzy</bold></th></tr>
<tr>
<th colspan="7" align="center" valign="middle">
<hr/></th></tr>
<tr>
<th align="center" valign="top"><bold>Classes</bold></th>
<th align="center" valign="top"><bold>Total</bold></th>
<th align="center" valign="top"><bold>Classifier’s accuracy</bold></th>
<th align="center" valign="top"><bold>Commission errors</bold></th>
<th align="center" valign="top"><bold>Total</bold></th>
<th align="center" valign="middle"><bold>Classifier’s accuracy</bold></th>
<th align="center" valign="top"><bold>Commission errors</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="top"><bold>GO</bold></td>
<td align="center" valign="top">22,600</td>
<td align="center" valign="top">91%</td>
<td align="center" valign="top">9%</td>
<td align="center" valign="top">23,600</td>
<td align="center" valign="top">95%</td>
<td align="center" valign="top">5%</td></tr>
<tr>
<td align="center" valign="top"><bold>DO</bold></td>
<td align="center" valign="top">8,800</td>
<td align="center" valign="top">90%</td>
<td align="center" valign="top">10%</td>
<td align="center" valign="top">9,400</td>
<td align="center" valign="top">96%</td>
<td align="center" valign="top">4%</td></tr>
<tr>
<td align="center" valign="top"><bold>HD</bold></td>
<td align="center" valign="top">9,200</td>
<td align="center" valign="top">92%</td>
<td align="center" valign="top">8%</td>
<td align="center" valign="top">9,800</td>
<td align="center" valign="top">98%</td>
<td align="center" valign="top">2%</td></tr>
<tr>
<td align="center" valign="top"><bold>SG</bold></td>
<td align="center" valign="top">22,800</td>
<td align="center" valign="top">94%</td>
<td align="center" valign="top">6%</td>
<td align="center" valign="top">23,400</td>
<td align="center" valign="top">97%</td>
<td align="center" valign="top">3%</td></tr></tbody></table></table-wrap>
<table-wrap id="t4-sensors-11-06015" position="float">
<label>Table 4.</label>
<caption>
<p>Expert’s accuracy and omission errors.</p></caption>
<table frame="below" rules="groups">
<thead>
<tr>
<th align="center" valign="middle"/>
<th colspan="6" align="center" valign="middle">
<hr/></th></tr>
<tr>
<th align="center" valign="middle"/>
<th colspan="3" align="center" valign="middle"><bold>Deterministic</bold></th>
<th colspan="3" align="center" valign="middle"><bold>Fuzzy</bold></th></tr>
<tr>
<th colspan="7" align="center" valign="middle">
<hr/></th></tr>
<tr>
<th align="center" valign="middle"><bold>Classes</bold></th>
<th align="center" valign="middle"><bold>Total</bold></th>
<th align="center" valign="middle"><bold>Expert’s accuracy</bold></th>
<th align="center" valign="middle"><bold>Omission errors</bold></th>
<th align="center" valign="middle"><bold>Total</bold></th>
<th align="center" valign="middle"><bold>Expert’s accuracy</bold></th>
<th align="center" valign="middle"><bold>Omission errors</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="top"><bold>GO</bold></td>
<td align="center" valign="top">22,600</td>
<td align="center" valign="top">94%</td>
<td align="center" valign="top">6%</td>
<td align="center" valign="top">23,200</td>
<td align="center" valign="top">97%</td>
<td align="center" valign="top">3%</td></tr>
<tr>
<td align="center" valign="top"><bold>DO</bold></td>
<td align="center" valign="top">8,800</td>
<td align="center" valign="top">81%</td>
<td align="center" valign="top">19%</td>
<td align="center" valign="top">10,000</td>
<td align="center" valign="top">93%</td>
<td align="center" valign="top">7%</td></tr>
<tr>
<td align="center" valign="top"><bold>HD</bold></td>
<td align="center" valign="top">9,200</td>
<td align="center" valign="top">82%</td>
<td align="center" valign="top">18%</td>
<td align="center" valign="top">10,200</td>
<td align="center" valign="top">91%</td>
<td align="center" valign="top">9%</td></tr>
<tr>
<td align="center" valign="top"><bold>SG</bold></td>
<td align="center" valign="top">22,800</td>
<td align="center" valign="top">100%</td>
<td align="center" valign="top">0%</td>
<td align="center" valign="top">22,800</td>
<td align="center" valign="top">100%</td>
<td align="center" valign="top">0%</td></tr></tbody></table></table-wrap>
<table-wrap id="t5-sensors-11-06015" position="float">
<label>Table 5.</label>
<caption>
<p>Classifier and expert’s accuracy and errors for the combined (CT) and simple (IS, OT, FU) thresholding approaches.</p></caption>
<table frame="below" rules="groups">
<thead>
<tr>
<th align="center" valign="middle"/>
<th colspan="8" align="center" valign="middle">
<hr/></th></tr>
<tr>
<th align="center" valign="middle" rowspan="5"/>
<th colspan="4" align="center" valign="middle"><bold>Deterministic</bold></th>
<th colspan="4" align="center" valign="middle"><bold>Fuzzy</bold></th></tr>
<tr>
<th colspan="8" align="left" valign="middle">
<hr/></th></tr>
<tr>
<th colspan="2" align="center" valign="middle"><bold>Accuracy (%)</bold></th>
<th colspan="2" align="center" valign="middle"><bold>Errors (%)</bold></th>
<th colspan="2" align="center" valign="middle"><bold>Accuracy (%)</bold></th>
<th colspan="2" align="center" valign="middle"><bold>Errors (%)</bold></th></tr>
<tr>
<th colspan="8" align="left" valign="middle">
<hr/></th></tr>
<tr>
<th align="center" valign="middle"><bold>Classifier</bold></th>
<th align="center" valign="middle"><bold>Expert</bold></th>
<th align="center" valign="middle"><bold>Commission</bold></th>
<th align="center" valign="middle"><bold>Omission</bold></th>
<th align="center" valign="middle"><bold>Classifier</bold></th>
<th align="center" valign="middle"><bold>Expert</bold></th>
<th align="center" valign="middle"><bold>Commission</bold></th>
<th align="center" valign="middle"><bold>Omission</bold></th></tr></thead>
<tbody>
<tr>
<td align="left" valign="top"><bold>CT</bold></td>
<td align="center" valign="top">91.78</td>
<td align="center" valign="top">89.45</td>
<td align="center" valign="top">8.22</td>
<td align="center" valign="top">10.55</td>
<td align="center" valign="top">96.44</td>
<td align="center" valign="top">95.08</td>
<td align="center" valign="top">3.56</td>
<td align="center" valign="top">4.92</td></tr>
<tr>
<td align="left" valign="top">IS</td>
<td align="center" valign="top">87.71</td>
<td align="center" valign="top">87.70</td>
<td align="center" valign="top">12.29</td>
<td align="center" valign="top">12.30</td>
<td align="center" valign="top">94.83</td>
<td align="center" valign="top">94.01</td>
<td align="center" valign="top">5.17</td>
<td align="center" valign="top">5.99</td></tr>
<tr>
<td align="left" valign="top">OT</td>
<td align="center" valign="top">85.67</td>
<td align="center" valign="top">83.10</td>
<td align="center" valign="top">14.33</td>
<td align="center" valign="top">16.90</td>
<td align="center" valign="top">90.99</td>
<td align="center" valign="top">88.20</td>
<td align="center" valign="top">9.01</td>
<td align="center" valign="top">11.80</td></tr>
<tr>
<td align="left" valign="top">FU</td>
<td align="center" valign="top">88.44</td>
<td align="center" valign="top">89.03</td>
<td align="center" valign="top">11.56</td>
<td align="center" valign="top">10.97</td>
<td align="center" valign="top">94.97</td>
<td align="center" valign="top">94.89</td>
<td align="center" valign="top">5.03</td>
<td align="center" valign="top">5.11</td></tr></tbody></table></table-wrap></sec></back></article>
