<?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/s110505337</article-id>
<article-id pub-id-type="publisher-id">sensors-11-05337</article-id>
<article-categories>
<subj-group>
<subject>Article</subject></subj-group></article-categories>
<title-group>
<article-title>A Novel Cloning Template Designing Method by Using an Artificial Bee Colony Algorithm for Edge Detection of CNN Based Imaging Sensors</article-title></title-group>
<contrib-group>
<contrib contrib-type="author">
<name><surname>Parmaksızoğlu</surname><given-names>Selami</given-names></name><xref ref-type="corresp" rid="c1-sensors-11-05337"><sup>*</sup></xref></contrib>
<contrib contrib-type="author">
<name><surname>Alçı</surname><given-names>Mustafa</given-names></name></contrib>
<aff id="af1-sensors-11-05337">Electrical and Electronics Engineering, Engineering Faculty, Erciyes University, Turkey; E-Mail: <email>malci@erciyes.edu.tr</email></aff></contrib-group>
<author-notes>
<corresp id="c1-sensors-11-05337">
<label>*</label>Author to whom correspondence should be addressed; E-Mail: <email>selamiparmaksizoglu@gmail.com</email>; Tel.: +90-352-4374901-32000; Fax: +90-352-4375784.</corresp></author-notes>
<pub-date pub-type="collection">
<year>2011</year></pub-date>
<pub-date pub-type="epub">
<day>17</day>
<month>5</month>
<year>2011</year></pub-date>
<volume>11</volume>
<fpage>5337</fpage>
<lpage>5359</lpage>
<history>
<date date-type="received">
<day>1</day>
<month>4</month>
<year>2011</year></date>
<date date-type="rev-recd">
<day>27</day>
<month>4</month>
<year>2011</year></date>
<date date-type="accepted">
<day>13</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>Cellular Neural Networks (CNNs) have been widely used recently in applications such as edge detection, noise reduction and object detection, which are among the main computer imaging processes. They can also be realized as hardware based imaging sensors. The fact that hardware CNN models produce robust and effective results has attracted the attention of researchers using these structures within image sensors. Realization of desired CNN behavior such as edge detection can be achieved by correctly setting a cloning template without changing the structure of the CNN. To achieve different behaviors effectively, designing a cloning template is one of the most important research topics in this field. In this study, the edge detecting process that is used as a preliminary process for segmentation, identification and coding applications is conducted by using CNN structures. In order to design the cloning template of goal-oriented CNN architecture, an Artificial Bee Colony (ABC) algorithm which is inspired from the foraging behavior of honeybees is used and the performance analysis of ABC for this application is examined with multiple runs. The CNN template generated by the ABC algorithm is tested by using artificial and real test images. The results are subjectively and quantitatively compared with well-known classical edge detection methods, and other CNN based edge detector cloning templates available in the imaging literature. The results show that the proposed method is more successful than other methods.</p></abstract>
<kwd-group>
<kwd>cellular neural networks</kwd>
<kwd>edge detection</kwd>
<kwd>artificial bee colony algorithm</kwd>
<kwd>real time imaging sensors</kwd></kwd-group></article-meta></front>
<body>
<sec sec-type="intro">
<label>1.</label>
<title>Introduction</title>
<p>Chua and Yang introduced the Cellular Neural Network (CNN) model, which enables new possibilities in signal processing and which can be appropriately implemented as an integrated circuit. The CNN is formed in a way that the cells are connected in a two-dimensional (2D) network structure, and it is also able to make simultaneous signal processing [<xref ref-type="bibr" rid="b1-sensors-11-05337">1</xref>,<xref ref-type="bibr" rid="b2-sensors-11-05337">2</xref>]. In the network structure, a cell is connected with only the neighboring cells by means of a certain set of parameters. The set of these parameters determines the dynamic behavior of the CNN and are called “cloning template”. The two dimensional network architecture of CNNs provides a convenient structure for image processing applications and real time imaging sensors and, therefore, the major application field of CNNs is image processing [<xref ref-type="bibr" rid="b3-sensors-11-05337">3</xref>,<xref ref-type="bibr" rid="b4-sensors-11-05337">4</xref>]. Because of the faster image processing ability of CNN-based imaging sensors and circuits, complex image processing tasks can also be accomplished successfully. Several complex image processing applications have been successfully carried out through CNNs [<xref ref-type="bibr" rid="b5-sensors-11-05337">5</xref>–<xref ref-type="bibr" rid="b11-sensors-11-05337">11</xref>]. For realizing complex image processing applications based on the CNN structure, preliminary image processing techniques such as edge detection, diffusion and dilation must be used. Therefore the overall performance of such task depends strongly on the quality of the preliminary process.</p>
<p>Edge detection is a very important area in the field of computer vision, due to the fact it is used as a main task or preliminary task for complex image processing techniques such as segmentation, registration and object recognition and identification. An ideal edge detection process is finalized by an image which is formed as the set of connected curves of the objects boundaries in an image. The main indicators demonstrating the quality of edge detection are continuous line detection of the details and boundaries of the objects, the thinness of the lines and the lack of noise in edge detected image. Edge detection processes have been widely studied in the literature and several techniques have been suggested for this purpose. The Canny, Sobel, Prewitt and Robert methods are some of the better-known edge detection techniques [<xref ref-type="bibr" rid="b12-sensors-11-05337">12</xref>]. Each technique used for edge detection has advantages and disadvantages compared to others when analyzed in terms of the quality indicators of edge detection. In any case, perfect edge detection on real images is quite difficult because brightness and sharpness in gray level intensity that distinguishes objects from background in complicated images are not apparent. Since there are no certain conclusions within the studies introduced in the literature about perfect edge detection [<xref ref-type="bibr" rid="b13-sensors-11-05337">13</xref>], there have been ongoing, extensive studies regarding the edge detection methods that produce almost perfect results [<xref ref-type="bibr" rid="b14-sensors-11-05337">14</xref>,<xref ref-type="bibr" rid="b15-sensors-11-05337">15</xref>]. Indeed, the operation principle of CNN is different from the operation of standard image processing techniques when it is interpreted in term of image processing. Due to the fact the mask parameter of well-known classical edge techniques is not used in the CNN structure, the CNN cloning template is designed according to the CNN structure. Design of the cloning template which determines the dynamic behavior of CNN is an important difficulty because a generalized template design method does not exist. Various methods have been proposed to determine such templates. These methods can be classified as analytical methods [<xref ref-type="bibr" rid="b16-sensors-11-05337">16</xref>–<xref ref-type="bibr" rid="b19-sensors-11-05337">19</xref>], local learning algorithms [<xref ref-type="bibr" rid="b20-sensors-11-05337">20</xref>,<xref ref-type="bibr" rid="b21-sensors-11-05337">21</xref>] and global learning algorithms [<xref ref-type="bibr" rid="b22-sensors-11-05337">22</xref>,<xref ref-type="bibr" rid="b23-sensors-11-05337">23</xref>]. The difficulty level of the problem increases depending on the number of variables and the type of data in all developed methods. However the solution for such problems using deterministic methods includes difficulties in both the modeling and solution processes, depending on the structure of the problem. Heuristic methods have been developed in order to overcome these disadvantages and produce a general solution that does not depend on the problem structure. The heuristic methods, which are based on population, can reach a solution fast, due to multiple search procedures [<xref ref-type="bibr" rid="b24-sensors-11-05337">24</xref>]. If an appropriate quality metric for use in the heuristic methods can be defined, the optimal cloning template of CNNs, that must be adjusted correctly to realize the desired image processing practice, can be designed effectively by using the heuristic algorithms. Determining the cloning template of CNNs has been dealt with as an important optimization study and therefore several artificial intelligence based methods (such as Particle Swarm Optimization (PSO), Genetic Algorithm (GA), Differential Evolution (DE), <italic>etc</italic>.) have been proposed [<xref ref-type="bibr" rid="b25-sensors-11-05337">25</xref>–<xref ref-type="bibr" rid="b33-sensors-11-05337">33</xref>]. However, it is a shortcoming of these studies that results have not been assessed or compared visually or numerically with known classical techniques and previous studies made in the CNN area. It is required that the problem to be solved and the artificial intelligent optimization method should be in conformity and the control parameters of the optimization method should be set effectively. Since the results obtained with a single run are not sufficient to give a reliable interpretation of the technique used and the results obtained, determining optimal control parameter values of the optimization algorithm is possible by examining of results obtained with multiple running on different control parameter values of optimization. In this way, an idea can be suggested about whether the optimization technique selected is appropriate for the problem.</p>
<p>The Artificial Bee Colony (ABC) algorithm, inspired by the foraging behavior of honeybees, is a recently developed optimization algorithm [<xref ref-type="bibr" rid="b34-sensors-11-05337">34</xref>]. For several problems, quite successful results have been obtained by using the ABC algorithm [<xref ref-type="bibr" rid="b35-sensors-11-05337">35</xref>]. In addition to the successful results, it has been observed that the application areas of ABC increase rapidly due to its aspects such as easy applicability, less dependence on problem type, sensitive research in neighboring space, balancing of exploration and exploitation properties adaptively, producing effective and robust results regardless from the initial conditions at any time and fast convergence to the optimal solution when using only a few control parameters [<xref ref-type="bibr" rid="b36-sensors-11-05337">36</xref>–<xref ref-type="bibr" rid="b38-sensors-11-05337">38</xref>].</p>
<p>Due to the lack of a robust and effective structure in determining the cloning template, template designing studies are one of the most attractive research areas in the CNN field and this study aims to design the edge detecting CNN template through ABC algorithm. To examine the effects of ABC control parameters, performance analysis is made with multiple runs and the most effective control parameters for this application are identified by means of the data produced. The design template from the obtained results of ABC in this study is compared with other heuristic method-based CNN templates. The results are visually and quantitatively compared with the well-known classical edge detection methods and the other CNN based edge detectors in the literature by using artificial and real images.</p>
<p>The organization of the paper is as follows: firstly the CNN structure, cell concept and cloning template are explained in Section 2. Secondly, in Section 3, the structure of ABC is briefly described. Section 4 includes the information about how the training image used in the optimization is acquired. Optimization mechanism used to design cloning template of CNN by means of ABC for this application is presented in this section. Edge detection is made on different images and the results are compared with those of the widely used edge detection methods and the other CNN based cloning template in literature. The advantages of the results obtained by means of ABC are determined using several comparison metrics. Lastly, conclusions and suggestions are provided in Section 5.</p></sec>
<sec>
<label>2.</label>
<title>Cellular Neural Networks (CNNs)</title>
<p>In this section, the structure of CNNs is briefly described. The two-dimensional (2D) network of a CNN structure is formed by the connection of “<italic>cells</italic>”. Each <italic>cell</italic> is connected only to its neighbor cells, in contrast to artificial neural networks [<xref ref-type="bibr" rid="b1-sensors-11-05337">1</xref>–<xref ref-type="bibr" rid="b3-sensors-11-05337">3</xref>]. This 2D network structure is also convenient for parallel processing applications and real time signal processing. With its capability of parallel processing, a CNN can easily perform image processing applications which pose a heavy load in terms of time and operation. Differently from a general Central Processor Unit (CPU), the CNN runs in parallel on its cells. CNN has many advantages over others in term of speed and capability. A general architectural structure for CNNs is shown in <xref ref-type="fig" rid="f1-sensors-11-05337">Figure 1</xref>.</p>
<p>As shown in <xref ref-type="fig" rid="f1-sensors-11-05337">Figure 1</xref>, each cell in a CNN is directly connected only with the neighbor cells. Due to the regional inner-cell connections in CNNs, a cell directly affects only its neighbor cells. Cells which are not directly connected to this cell are indirectly affected while transiting from the initial phase to a stable phase as a result of the propagation of CNN’s continuous time dynamics [<xref ref-type="bibr" rid="b1-sensors-11-05337">1</xref>]. The cell concept and the cloning template terms are defined in the following subsections.</p>
<sec>
<label>2.1.</label>
<title>Cell</title>
<p>The cell, which is the basic element of the CNN structure, is composed of structurally linear and non-linear circuit elements, such as capacitors, linear resistances, linear and non-linear controlled sources and independent sources. The first CNN cell structure in the literature proposed by Chua [<xref ref-type="bibr" rid="b1-sensors-11-05337">1</xref>] is shown in <xref ref-type="fig" rid="f2-sensors-11-05337">Figure 2</xref>.</p>
<p>In <xref ref-type="fig" rid="f2-sensors-11-05337">Figure 2, <italic>E</italic></xref><italic><sub>ij</sub></italic> is the independent voltage source, <italic>I</italic><italic><sub>ij</sub></italic> is the independent current source, <italic>C</italic><italic><sub>x</sub></italic> is the capacitor, <italic>R</italic><italic><sub>x</sub></italic> and <italic>R</italic><italic><sub>y</sub></italic> are linear resistors, <italic>I</italic><italic><sub>xu</sub></italic>(<italic>i</italic>,<italic>j;k</italic>,<italic>l</italic>) and <italic>I</italic><italic><sub>xy</sub></italic>(<italic>i</italic>,<italic>j;k</italic>,<italic>l</italic>) are linear voltage controlled current sources with the characteristics of <italic>I</italic><italic><sub>xu</sub></italic>(<italic>i</italic>,<italic>j;k</italic>,<italic>l</italic>) = <italic>B</italic>(<italic>i</italic>,<italic>j;k</italic>,<italic>l</italic>)<italic>v</italic><italic><sub>ukl</sub></italic> and <italic>I</italic><italic><sub>xy</sub></italic>(<italic>i</italic>,<italic>j;k</italic>,<italic>l</italic>) = <italic>A</italic>(<italic>i</italic>,<italic>j;k</italic>,<italic>l</italic>)<italic>v</italic><italic><sub>ykl</sub></italic>, respectively. <italic>i</italic> and <italic>j</italic> indicate inner-cell index and <italic>k</italic> and <italic>l</italic> are neighborhood indexes of <italic>M</italic> × <italic>N</italic> size network. <italic>v</italic><italic><sub>xij</sub></italic> and <italic>I</italic><italic><sub>ij</sub></italic> shows the state voltage and bias current values of inner-cell (<italic>C</italic>(<italic>i</italic>,<italic>j</italic>)), respectively. These templates are described more clearly in Section 2.2. The only nonlinear element is piecewise linear voltage controlled current source with the characteristics of 
<inline-formula>
<mml:math>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mi>y</mml:mi>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi></mml:mrow></mml:msub>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo stretchy="true">/</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:msub>
<mml:mi>R</mml:mi>
<mml:mi>y</mml:mi></mml:msub></mml:mrow></mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mo>|</mml:mo>
<mml:msub>
<mml:mi>v</mml:mi>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi></mml:mrow></mml:msub>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>|</mml:mo>
<mml:mo>−</mml:mo>
<mml:mo>|</mml:mo>
<mml:msub>
<mml:mi>v</mml:mi>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi></mml:mrow></mml:msub>
<mml:mo>−</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>|</mml:mo>
<mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula>.</p>
<p>In <xref ref-type="disp-formula" rid="FD1">Equation (1)</xref>, the radius (<italic>r</italic>) neighborhood of a <italic>C</italic>(<italic>i</italic>,<italic>j</italic>) cell in the CNN is given:
<disp-formula id="FD1">
<label>(1)</label>
<mml:math display="block">
<mml:mrow>
<mml:msub>
<mml:mi>N</mml:mi>
<mml:mi>r</mml:mi></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:mi>j</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mo>{</mml:mo>
<mml:mi>C</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>l</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>|</mml:mo>
<mml:mtext>max</mml:mtext>
<mml:mo>{</mml:mo>
<mml:mo>|</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>−</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>|</mml:mo>
<mml:mo>,</mml:mo>
<mml:mo>|</mml:mo>
<mml:mi>l</mml:mi>
<mml:mo>−</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>|</mml:mo>
<mml:mo>}</mml:mo>
<mml:mo>≤</mml:mo>
<mml:mi>r</mml:mi>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>≤</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>≤</mml:mo>
<mml:mi>M</mml:mi>
<mml:mo>;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>≤</mml:mo>
<mml:mi>l</mml:mi>
<mml:mo>≤</mml:mo>
<mml:mi>N</mml:mi>
<mml:mo>}</mml:mo></mml:mrow></mml:math></disp-formula></p>
<p>When the symmetry property is applied to all CNN, if <italic>C</italic>(<italic>i</italic>,<italic>j</italic>) ∈ <italic>N</italic><italic><sub>r</sub></italic>(<italic>k</italic>,<italic>l</italic>), then <italic>C</italic>(<italic>k</italic>,<italic>l</italic>) ∈ <italic>N</italic><italic><sub>r</sub></italic>(<italic>i</italic>,<italic>j</italic>), for all <italic>C(i</italic>,<italic>j)</italic> and <italic>C(k</italic>,<italic>l)</italic> cells. For a CNN, the time dependent (<italic>t</italic>) situations and output formulas are given in <xref ref-type="disp-formula" rid="FD2">Equations (2)</xref> and <xref ref-type="disp-formula" rid="FD3">(3)</xref>, respectively:</p>
<p><italic>State Equation:</italic>
<disp-formula id="FD2">
<label>(2)</label>
<mml:math display="block">
<mml:mi>C</mml:mi>
<mml:mfrac>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:msub>
<mml:mi>v</mml:mi>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi></mml:mrow></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:mrow>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>t</mml:mi></mml:mrow></mml:mfrac>
<mml:mo>=</mml:mo>
<mml:mo>−</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:msub>
<mml:mi>R</mml:mi>
<mml:mi>x</mml:mi></mml:msub></mml:mrow></mml:mfrac>
<mml:msub>
<mml:mi>v</mml:mi>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi></mml:mrow></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>+</mml:mo>
<mml:munder>
<mml:mo>∑</mml:mo>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>l</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>∈</mml:mo>
<mml:msub>
<mml:mi>N</mml:mi>
<mml:mi>r</mml:mi></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:munder>
<mml:mrow>
<mml:mi>A</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>;</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>l</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:mrow>
<mml:msub>
<mml:mi>v</mml:mi>
<mml:mrow>
<mml:mi>y</mml:mi>
<mml:mi>k</mml:mi>
<mml:mi>l</mml:mi></mml:mrow></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>+</mml:mo>
<mml:munder>
<mml:mo>∑</mml:mo>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>l</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>∈</mml:mo>
<mml:msub>
<mml:mi>N</mml:mi>
<mml:mi>r</mml:mi></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:munder>
<mml:mrow>
<mml:mi>B</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>;</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>l</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:msub>
<mml:mi>v</mml:mi>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mi>k</mml:mi>
<mml:mi>l</mml:mi></mml:mrow></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>≤</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>≤</mml:mo>
<mml:mi>M</mml:mi>
<mml:mo>;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>≤</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>≤</mml:mo>
<mml:mi>N</mml:mi></mml:math></disp-formula></p>
<p><italic>Output Equation:</italic>
<disp-formula id="FD3">
<label>(3)</label>
<mml:math display="block">
<mml:msub>
<mml:mi>v</mml:mi>
<mml:mrow>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi></mml:mrow></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mn>2</mml:mn></mml:mfrac>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mrow>
<mml:mo>|</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>v</mml:mi>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi></mml:mrow></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn></mml:mrow>
<mml:mo>|</mml:mo></mml:mrow>
<mml:mo>−</mml:mo>
<mml:mrow>
<mml:mo>|</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>v</mml:mi>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi></mml:mrow></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>−</mml:mo>
<mml:mn>1</mml:mn></mml:mrow>
<mml:mo>|</mml:mo></mml:mrow></mml:mrow>
<mml:mo>)</mml:mo></mml:mrow>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>≤</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>≤</mml:mo>
<mml:mi>M</mml:mi>
<mml:mo>;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>≤</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>≤</mml:mo>
<mml:mi>N</mml:mi></mml:math></disp-formula></p>
<p>In <xref ref-type="disp-formula" rid="FD2">Equation (2)</xref>, <italic>v</italic><italic><sub>ukl</sub></italic>(<italic>t</italic>) and <italic>v</italic><italic><sub>ykl</sub></italic>(<italic>t</italic>) are the input voltage and output voltage of the (<italic>k,l</italic>)th neighbor cell. <italic>v</italic><italic><sub>xij</sub></italic>(<italic>t</italic>) and <italic>I</italic><italic><sub>ij</sub></italic> as described above are the state and the bias current values of the cell <italic>C</italic>(<italic>i</italic>,<italic>j</italic>), respectively. <italic>v</italic><italic><sub>yij</sub></italic>(<italic>t</italic>) given in <xref ref-type="disp-formula" rid="FD3">Equation (3)</xref> is the output voltage equation of piecewise linear function and it is called the output function. In image processing applications, the input and output voltage of any cell represent the values of same index number pixel of input image and output image, respectively. The operation limit of a CNN is between –<italic>1</italic> and <italic>1</italic>, while any pixel value of an image changes from <italic>1</italic> to <italic>255</italic>. Therefore, pixel values of image are converted into operation limits of the CNN. Eventually, (–<italic>1</italic>) and (<italic>1</italic>) values indicate ‘<italic>black pixel</italic>’ and ‘<italic>white pixel</italic>’, and middle values represent ‘<italic>gray-level pixel</italic>’. In other words, <italic>v</italic><italic><sub>uij</sub></italic>(<italic>t</italic>) and <italic>v</italic><italic><sub>ukl</sub></italic>(<italic>t</italic>) indicates values of inner pixel and neighbor pixel in input image while <italic>v</italic><italic><sub>yij</sub></italic>(<italic>t</italic>) and <italic>v</italic><italic><sub>ykl</sub></italic>(<italic>t</italic>) indicates value of inner pixel and neighbor pixel in output image, respectively.</p></sec>
<sec>
<label>2.2.</label>
<title>CNN Cloning Template</title>
<p>The dynamic behavior of a CNN is determined by the cloning template that can be considered as the indirect ratio of the inter-cell connections. The feedback cloning template <italic>A</italic>(<italic>i</italic>,<italic>j;k</italic>,<italic>l</italic>), the feed-forward cloning template <italic>B</italic>(<italic>i</italic>,<italic>j;k</italic>,<italic>l</italic>) and threshold cloning template <italic>I</italic>(<italic>i</italic>,<italic>j</italic>) given in <xref ref-type="disp-formula" rid="FD2">Equation (2)</xref>, form the cloning template for a cell. The feedback and feed-forward template are related with the outputs and inputs of neighbor cells. However, the threshold template is only related with the inner-cell. The <italic>C</italic>(<italic>i</italic>,<italic>j</italic>) cell is connected to neighboring cells at a ratio determined by these cloning template. Realizing the desired image processing can be done by arranging the values of this cloning template appropriately. For the <italic>r = 1</italic> neighborhood of the cell, the matrix structure of the cloning template <italic>A</italic>(<italic>i</italic>,<italic>j;k</italic>,<italic>l</italic>), <italic>B</italic>(<italic>i</italic>,<italic>j;k</italic>,<italic>l</italic>) and <italic>I</italic>(<italic>i</italic>,<italic>j</italic>) are given in <xref ref-type="disp-formula" rid="FD4">Equation (4)</xref>.
<disp-formula id="FD4">
<label>(4)</label>
<mml:math display="block">
<mml:mi>A</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>;</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>l</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>−</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>−</mml:mo>
<mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>−</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>−</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>−</mml:mo>
<mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>−</mml:mo>
<mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow>
<mml:mo>]</mml:mo></mml:mrow>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mi>B</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>;</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>l</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>−</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>−</mml:mo>
<mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>−</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>−</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>−</mml:mo>
<mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>−</mml:mo>
<mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow>
<mml:mo>]</mml:mo></mml:mrow>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mi>I</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mi>z</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:math></disp-formula></p>
<p>The statement of <xref ref-type="disp-formula" rid="FD4">Equation (4)</xref> can be stated as a general definition as in <xref ref-type="disp-formula" rid="FD5">Equation (5)</xref>:
<disp-formula id="FD5">
<label>(5)</label>
<mml:math display="block">
<mml:mi>A</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>1</mml:mn></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>2</mml:mn></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>3</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>4</mml:mn></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>5</mml:mn></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>6</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>7</mml:mn></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>8</mml:mn></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>9</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow>
<mml:mo>]</mml:mo></mml:mrow>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mi>B</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>1</mml:mn></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>2</mml:mn></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>3</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>4</mml:mn></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>5</mml:mn></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>6</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>7</mml:mn></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>8</mml:mn></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>9</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow>
<mml:mo>]</mml:mo></mml:mrow>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mi>I</mml:mi>
<mml:mo>=</mml:mo>
<mml:mi>z</mml:mi></mml:math></disp-formula>where <italic>A</italic>, <italic>B</italic> and <italic>I</italic> are represented as the template set, and this set, which is designed for the desired application, is given in <xref ref-type="disp-formula" rid="FD6">Equation (6)</xref> as a vector:
<disp-formula id="FD6">
<label>(6)</label>
<mml:math display="block">
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi></mml:msub>
<mml:mo>=</mml:mo>
<mml:mo stretchy="false">[</mml:mo>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>1</mml:mn></mml:msub>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>2</mml:mn></mml:msub>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>3</mml:mn></mml:msub>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>4</mml:mn></mml:msub>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>5</mml:mn></mml:msub>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>6</mml:mn></mml:msub>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>7</mml:mn></mml:msub>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>8</mml:mn></mml:msub>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>9</mml:mn></mml:msub>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>1</mml:mn></mml:msub>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>2</mml:mn></mml:msub>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>3</mml:mn></mml:msub>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>4</mml:mn></mml:msub>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>5</mml:mn></mml:msub>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>6</mml:mn></mml:msub>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>7</mml:mn></mml:msub>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>8</mml:mn></mml:msub>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>9</mml:mn></mml:msub>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:mi>z</mml:mi>
<mml:mo stretchy="false">]</mml:mo></mml:math></disp-formula></p>
<p>If the network cloning template of CNN can be arranged according to its purpose, the CNN can realize the desired simultaneous image processing successfully due to its ability to perform parallel processing. In the following section, the desired <italic>x</italic><italic><sub>i</sub></italic> template set is obtained by using the ABC optimization algorithm for realizing edge detection processes on a CNN structure. The optimization structure and architecture of ABC algorithm are defined the following section.</p></sec></sec>
<sec>
<label>3.</label>
<title>Artificial Bee Colony (ABC) Algorithm</title>
<p>The Artificial Bee Colony (ABC) algorithm is inspired by the foraging behavior of honeybees. The most prominent properties of an ABC algorithm are easy applicability, less dependence on problem type, sensitive research, balancing of exploration and exploitation properties adaptively, producing effective and robust results with using only a few control parameters. In this section, the working mechanism of the ABC is presented and explained as a new approach to design cloning templates in this study.</p>
<sec>
<label>3.1.</label>
<title>Basic Principles of ABC Algorithm</title>
<p>This algorithm is developed based on the foraging principle of honeybees. There are three types of foraging bees in a honey bee colony; employed bees, onlooker bees and the scout bees. At the first stage, half of the colony is composed as employed bees (<italic>n</italic><italic><sub>e</sub></italic>) and the other half is composed as onlooker bees (<italic>n</italic><italic><sub>o</sub></italic>). There is only one employed bee for each nectar source. Nectar sources symbolize possible solutions. That is, the number of employed bees is equal to the number of nectar sources. The basic steps of the algorithm can be stated as follows:
<list list-type="simple">
<list-item>
<p><bold>Step 1:</bold> <italic>Assign the control parameter values</italic></p></list-item>
<list-item>
<p><bold>Step 2:</bold> <italic>Initialize the population of solutions</italic></p></list-item>
<list-item>
<p><bold>Step 3:</bold> <bold><italic>Repeat as long as the stopping criteria is met</italic></bold></p>
<list list-type="bullet">
<list-item>
<p><italic>Send the employed bees to the sources (solutions) and calculate their nectar amounts</italic></p></list-item>
<list-item>
<p><italic>Send the onlooker bees to the sources (solutions) and calculate their nectar amounts</italic></p></list-item>
<list-item>
<p><italic>Send the scout bees to find new sources randomly</italic></p></list-item>
<list-item>
<p><italic>Memorize the best sources achieved so far</italic></p></list-item></list></list-item>
<list-item>
<p><bold>Step 4:</bold> <bold><italic>Stop</italic></bold></p></list-item></list></p>
<p>Each cycle is mainly composed of three phases. For the first phase, the employed bees are sent to the sources and the nectar amounts of the sources visited are calculated. For the second phase, onlooker bees are sent to their sources and their nectar amounts are determined. For the third phase, it is ensured that the scout bee is located on a randomly selected new source. A food source corresponds to a possible solution to the problem where optimization is being attempted. The nectar amount of any source represents the quality level of the solution represented by that source. There are scout bees searching randomly in each colony. These bees do not use any kind of preliminary knowledge while searching for food and the search procedure is completely random. In the ABC algorithm, one of the employed bees is selected and made scout bee. This selection process is made based on the “<italic>limit</italic>” parameter. If a solution representing a source couldn’t be developed with a certain number of trials, this source is abandoned and the employed bee visiting this source becomes the scout bee. The number of trials determined for abandoning the source is identified by the “<italic>limit</italic>” parameter. In a robust search process, both exploration and exploitation occur simultaneously. The employed and onlooker bees are in charge of exploiting sources while scout bees are responsible for the exploration process. The bees work to maximize the energy function, stating the amount of food brought to the hive at any given unit time. The selection possibility is based on a probability function. After watching the dance of the employed bees and selecting the source at its position with the calculated probability value, the onlooker bee determines a source within the neighborhood of this source and starts collecting the nectar of this source. The position of the selected neighbor is calculated. If the nectar amount of the source at the new position is more than old one, then the bee visits the hive and shares her information with others and new position is memorized. Otherwise, old position is still kept in memory. If the nectar source at the a position remained constant without improving through cycles defined by the number of the “<italic>limit</italic>” parameter, the source at this position is abandoned and the employed bee of that source becomes the scout bee, doing random research. The newly found source is assigned instead of abandoned position [<xref ref-type="bibr" rid="b36-sensors-11-05337">36</xref>–<xref ref-type="bibr" rid="b38-sensors-11-05337">38</xref>]. The mathematical description of the ABC algorithm is explained exhaustively in the following section.</p></sec>
<sec>
<label>3.2.</label>
<title>Mathematical Description of ABC Algorithm</title>
<p>In this section, the working mechanism of ABC is presented mathematically. The position of a food source (<italic>x</italic><italic><sub>i</sub></italic>) represents a feasible solution of problem and the amount of nectar of the food source indicates the fitness value of the associated solution in the ABC algorithm. The colony size of employed bees (<italic>n</italic><italic><sub>e</sub></italic>) is equal to the colony size of onlooker bees (<italic>n</italic><italic><sub>o</sub></italic>) in the population. A set of food sources positions (<italic>x</italic><italic><sub>1</sub></italic><italic>,…, x</italic><italic><sub>ne</sub></italic>) is produced randomly:
<disp-formula id="FD7">
<label>(7)</label>
<mml:math display="block">
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi></mml:msub>
<mml:mo>=</mml:mo>
<mml:msubsup>
<mml:mi>x</mml:mi>
<mml:mi>j</mml:mi>
<mml:mrow>
<mml:mtext mathvariant="italic">min</mml:mtext></mml:mrow></mml:msubsup>
<mml:mo>+</mml:mo>
<mml:mi>r</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>d</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo>,</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo stretchy="false">)</mml:mo>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mi>x</mml:mi>
<mml:mi>j</mml:mi>
<mml:mrow>
<mml:mtext>max</mml:mtext></mml:mrow></mml:msubsup>
<mml:mo>−</mml:mo>
<mml:msubsup>
<mml:mi>x</mml:mi>
<mml:mi>j</mml:mi>
<mml:mrow>
<mml:mtext mathvariant="italic">min</mml:mtext></mml:mrow></mml:msubsup></mml:mrow>
<mml:mo>)</mml:mo></mml:mrow></mml:math></disp-formula>where <italic>i</italic> = <italic>1</italic>,…,<italic>SN</italic> and <italic>j</italic> = <italic>1</italic>,..,<italic>D. SN</italic> is the number of food sources and <italic>D</italic> is number of optimization parameters. Also, it must be noted that <italic>SN</italic> = <italic>n</italic><italic><sub>e</sub></italic> = <italic>n</italic><italic><sub>o</sub></italic>. All counters associated with solutions are reset to 0 in this phase. The colony of employed bees can be expressed by <italic>n</italic><italic><sub>e</sub></italic> dimension vector <italic>x</italic>⃗(<italic>n</italic>) = (<italic>x</italic><sub>1</sub> (<italic>n</italic>), ..., <italic>x</italic><sub><italic>n</italic><italic><sub>e</sub></italic></sub> (<italic>n</italic>)), where <italic>n</italic> is cycle value of ABC algorithm. In additional, individual search space can be signified as <italic>S. x</italic><italic><sub>i</sub></italic> ∈ <italic>S</italic> and <italic>i</italic> ≤ <italic>n</italic><italic><sub>e</sub></italic> in <italic>x</italic>⃗. After initialization, the fitness value of each solution is calculated and <italic>x</italic>⃗(0) is obtained. To evolve quality of solutions, employed bees change their position from the current position to neighboring source positions by using the following equation:
<disp-formula id="FD8">
<label>(8)</label>
<mml:math display="block">
<mml:msub>
<mml:mi>v</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi></mml:mrow></mml:msub>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi></mml:mrow></mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>ϕ</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi></mml:mrow></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi></mml:mrow></mml:msub>
<mml:mo>−</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mi>j</mml:mi></mml:mrow></mml:msub>
<mml:mo stretchy="false">)</mml:mo></mml:math></disp-formula>where <italic>j</italic> ∈ {1, ..., <italic>D</italic>}, <italic>k</italic> ∈ {1, ..., <italic>SN</italic>}, <italic>k</italic> ≠ <italic>j</italic>, <italic>j</italic> and <italic>k</italic> are randomly chosen index. Ø<italic><sub>ij</sub></italic> is a real number produced randomly in the range [–1,1]. Values of parameters produced in this process are within in determined boundaries (<italic>v</italic> ∈ <italic>S</italic> and <italic>S</italic> → <italic>S</italic>). After producing <italic>v</italic><italic><sub>i</sub></italic>, to select better solution for next generation, greedy selection operator is applied. Probability distribution of this operator can be given as follows:
<disp-formula id="FD9">
<label>(9)</label>
<mml:math display="block">
<mml:mi>P</mml:mi>
<mml:mo stretchy="false">{</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi></mml:msub>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:msub>
<mml:mi>v</mml:mi>
<mml:mi>i</mml:mi></mml:msub>
<mml:mo stretchy="false">}</mml:mo>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:mo>{</mml:mo>
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>v</mml:mi>
<mml:mi>i</mml:mi></mml:msub>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>≥</mml:mo>
<mml:mi>f</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi></mml:msub>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>,</mml:mo></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>v</mml:mi>
<mml:mi>i</mml:mi></mml:msub>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>&lt;</mml:mo>
<mml:mi>f</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi></mml:msub>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mrow></mml:math></disp-formula>where <italic>f</italic>(<italic>v</italic><italic><sub>i</sub></italic>) and <italic>f</italic>(<italic>x</italic><italic><sub>i</sub></italic>) are nectar amounts of food sources at <italic>v</italic><italic><sub>i</sub></italic> and <italic>x</italic><italic><sub>i</sub></italic>, respectively. If <italic>v</italic><italic><sub>i</sub></italic> is better solution than <italic>x</italic><italic><sub>i</sub></italic>, the employed bee memorizes position of <italic>v</italic><italic><sub>i</sub></italic>, otherwise position of <italic>x</italic><italic><sub>i</sub></italic> is retained. In the end of this process, if a better solution cannot be obtained, the trials counter associated with the solution is incremented by 1, and otherwise it is reset to 0.</p>
<p>After the employed bees phase is completed, the phase of onlooker bees is started by selecting an employed bee from the colony. The probability of the selection process depends on the fitness values of the solutions and many selection schemas such as roulette wheel and stochastic universal sampling can be used. Probabilistic function of roulette wheel mostly used ABC can be described as follows:
<disp-formula id="FD10">
<label>(10)</label>
<mml:math display="block">
<mml:mi>P</mml:mi>
<mml:mo stretchy="false">{</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi></mml:msub>
<mml:mo stretchy="false">}</mml:mo>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi></mml:msub>
<mml:mo stretchy="false">)</mml:mo></mml:mrow>
<mml:mrow>
<mml:munderover>
<mml:mo>∑</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn></mml:mrow>
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mi>N</mml:mi></mml:mrow></mml:munderover>
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi></mml:msub>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mfrac></mml:math></disp-formula></p>
<p>This function means that, if the fitness value of a solution increases, the visiting number of onlooker bees to that source increases too. To decide if a modification will be made on an onlooker bee position, a random real number within the range [0,1] is generated for each source. If the generated number is less than the probability value in <xref ref-type="disp-formula" rid="FD10">Equation (10)</xref>, then the onlooker bee changes position by using <xref ref-type="disp-formula" rid="FD8">Equation (8)</xref> to find new solutions. Greedy selection is applied to the modified source and then if the new position is better than the old position, the memory of the onlooker bee is updated, otherwise the old position is kept. According to the result of this process, the counter associated with onlooker bees is incremented by 1 or reset to 0 similar to the operation in the employed bee phase.</p>
<p>To end a cycle, if a counter value of employed bees and onlooker bees reaches its “<italic>limit</italic>” value, the source of this counter is abandoned. A new food source is discovered by the scout bee and it replaces the abandoned source. This operation can be defined as follows:
<disp-formula id="FD11">
<label>(11)</label>
<mml:math display="block">
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>n</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:mo>{</mml:mo>
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mtext>min</mml:mtext></mml:mrow></mml:msub>
<mml:mo>+</mml:mo>
<mml:mtext mathvariant="italic">rand</mml:mtext>
<mml:mo stretchy="false">(</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo>,</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mtext>max</mml:mtext></mml:mrow></mml:msub>
<mml:mo>−</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mtext>min</mml:mtext></mml:mrow></mml:msub>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>,</mml:mo></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mtext mathvariant="italic">counter</mml:mtext>
<mml:mo>≥</mml:mo>
<mml:mtext mathvariant="italic">limit</mml:mtext></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>n</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>,</mml:mo></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mtext mathvariant="italic">counter</mml:mtext>
<mml:mo>&lt;</mml:mo>
<mml:mtext mathvariant="italic">limit</mml:mtext></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mrow></mml:math></disp-formula></p>
<p>This operation is a noticeable property of ABC algorithms because this operation is different from other algorithms and it can improve the search efficiency of the ABC. A detail theoretical explanation about convergence and complexity analysis of ABC can be found in [<xref ref-type="bibr" rid="b39-sensors-11-05337">39</xref>]. ABC optimization study is explained exhaustively in order to realize proposed application by using ABC in the following section.</p></sec></sec>
<sec>
<label>4.</label>
<title>Proposed Method</title>
<p>It is the aim of this study to effectively determine the edge detection cloning template of the CNN with an optimization mechanism set up using suitable quality metric and training images. In this section, the training image used in optimization, the quality metrics and the optimization study are explained.</p>
<sec>
<label>4.1.</label>
<title>Preparation of Training Images for ABC Optimization</title>
<p>Ideal edge detection of a noise free image which has homogenous objects or regions is achieved by using the pseudo code given below. The image obtained by using this method is used as the desired output image of the proposed method in this paper:
<disp-quote>
<p><italic>start</italic></p>
<p><italic>for i=1:m</italic></p>
<p>  <italic>for j=1:n</italic></p>
<p>    <italic>if eP</italic><italic><sub>i,j</sub></italic> <italic>&lt; eP</italic><italic><sub>i+1,j</sub></italic> <italic>then dP</italic><italic><sub>i,j</sub></italic><italic>=1</italic></p>
<p>    <italic>if eP</italic><italic><sub>i,j</sub></italic> <italic>&lt; eP</italic><italic><sub>i,j+1</sub></italic> <italic>then dP</italic><italic><sub>i,j</sub></italic><italic>=1</italic></p>
<p>    <italic>if eP</italic><italic><sub>i,j</sub></italic> <italic>&gt; eP</italic><italic><sub>i+1,j</sub></italic> <italic>then dP</italic><italic><sub>i+1,j</sub></italic><italic>=1</italic></p>
<p>    <italic>if eP</italic><italic><sub>i,j</sub></italic> <italic>&gt; eP</italic><italic><sub>i,j+1</sub></italic> <italic>then dP</italic><italic><sub>i,j+1</sub></italic><italic>=1</italic></p>
<p>  <italic>end</italic></p>
<p><italic>end</italic></p></disp-quote></p>
<p>Here, <italic>i</italic> and <italic>j</italic> indicate the coordinate index of the pixels in the image, <italic>eP</italic> indicates the pixel value of the training input image, <italic>dP</italic> indicates the pixel value of the training output image. In order to explain how the Pseudo code works, a part of the pixel values of an artificial image given in <xref ref-type="fig" rid="f3-sensors-11-05337">Figure 3(a)</xref> is used. The lines with pixel changes is detected using the given pseudo code and the ideal edge detection in <xref ref-type="fig" rid="f3-sensors-11-05337">Figure 3(b)</xref> is made and the result is obtained. It is important that the lines be determined in one pixel thinness and with continuous lines for the edge detection quality.</p>
<p>The image of <italic>374</italic> × <italic>374</italic> pixel size given in <xref ref-type="fig" rid="f4-sensors-11-05337">Figure 4(a)</xref> is used as the training input image. The training input image is an artificial image that is formed in a way that it covered 62% of the grayscale. Each octahedral part has a homogeneous area with the same pixel value. As explained in above, the ideal edge detection process is performed by determining the edge lines where homogeneous octahedral areas intersect. Hence, the desired output image is obtained, which is given in <xref ref-type="fig" rid="f4-sensors-11-05337">Figure 4(b)</xref>. Moreover, the image histograms of input and desired images are demonstrated in <xref ref-type="fig" rid="f4-sensors-11-05337">Figure 4(c,d)</xref>, respectively.</p></sec>
<sec sec-type="methods">
<label>4.2.</label>
<title>Designing the CNN Cloning Template Using ABC Algorithm</title>
<p>In this section, the assumptions and the optimization structure that are used to design the CNN’s cloning template are explained. In order to guarantee the stability of the CNN, the symmetry assumption given in <xref ref-type="disp-formula" rid="FD12">Equation (12)</xref> is applied to the cloning template defined in <xref ref-type="disp-formula" rid="FD5">Equation (5)</xref> and eventually <xref ref-type="disp-formula" rid="FD13">Equations (13</xref>,<xref ref-type="disp-formula" rid="FD14">14</xref>) are obtained [<xref ref-type="bibr" rid="b3-sensors-11-05337">3</xref>]. As a result, the duration of the optimization is reduced by decreasing the template parameters to be optimized and additionally it is ensured that stable outputs can be acquired for the CNN:
<disp-formula id="FD12">
<label>(12)</label>
<mml:math display="block">
<mml:mrow>
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mi>A</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>;</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>l</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mi>A</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>l</mml:mi>
<mml:mo>;</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mi>B</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>;</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>l</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mi>B</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>l</mml:mi>
<mml:mo>;</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow>
<mml:mo>}</mml:mo></mml:mrow>
<mml:mo>|</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi></mml:mrow></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>|</mml:mo>
<mml:mo>≤</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo>|</mml:mo>
<mml:msub>
<mml:mi>u</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi></mml:mrow></mml:msub>
<mml:mo>|</mml:mo>
<mml:mo>≤</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>≤</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>≤</mml:mo>
<mml:mi>M</mml:mi>
<mml:mo>;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>≤</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>≤</mml:mo>
<mml:mi>N</mml:mi></mml:math></disp-formula>
<disp-formula id="FD13">
<label>(13)</label>
<mml:math display="block">
<mml:mi>A</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>1</mml:mn></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>2</mml:mn></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>3</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>4</mml:mn></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>5</mml:mn></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>4</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>3</mml:mn></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>2</mml:mn></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>1</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow>
<mml:mo>]</mml:mo></mml:mrow>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mi>B</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>1</mml:mn></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>2</mml:mn></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>3</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>4</mml:mn></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>5</mml:mn></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>4</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>3</mml:mn></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>2</mml:mn></mml:msub></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>1</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow>
<mml:mo>]</mml:mo></mml:mrow>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mi>I</mml:mi>
<mml:mo>=</mml:mo>
<mml:mi>z</mml:mi></mml:math></disp-formula>
<disp-formula id="FD14">
<label>(14)</label>
<mml:math display="block">
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi></mml:msub>
<mml:mo>=</mml:mo>
<mml:mo stretchy="false">[</mml:mo>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>1</mml:mn></mml:msub>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>2</mml:mn></mml:msub>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>3</mml:mn></mml:msub>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>4</mml:mn></mml:msub>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>5</mml:mn></mml:msub>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>1</mml:mn></mml:msub>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>2</mml:mn></mml:msub>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mrow>
<mml:mn>3</mml:mn>
<mml:mo>,</mml:mo></mml:mrow></mml:msub>
<mml:mo> </mml:mo>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>4</mml:mn></mml:msub>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>5</mml:mn></mml:msub>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:mi>z</mml:mi>
<mml:mo stretchy="false">]</mml:mo></mml:math></disp-formula></p>
<p>The ABC design mechanism of the cloning template is shown in <xref ref-type="fig" rid="f5-sensors-11-05337">Figure 5</xref>. In this mechanism, the output image of the CNN converges to the desired image by adjusting the cloning template of the CNN by means of the ABC algorithm. The ABC algorithm produces template set and sends this set to the the CNN. CNN runs by using this set and training image, and it generates an output image. The fitness value of the objective function is calculated by comparing the output image of the CNN and the ideal edge detected image. The ABC algorithm evaluates with this fitness value in order to obtain better results.</p>
<p>Running of ABC optimization can be explained as follows: a <italic>D</italic> × <italic>SN</italic> size matrix is randomly selected as the initial colony and each row of the matrix represents a cloning template set, a possible solution to the problem, in the ABC optimization. <italic>D</italic> is the dimension of the problem and <italic>SN</italic> is the size of the colony. There are three main phases in the ABC algorithm; the employed bees phase, the onlooker bees phase and the scout bees phase.</p>
<p>The fitness value of each bee in the employed bee’s colony (<italic>n</italic><italic><sub>e</sub></italic>) is calculated by using <xref ref-type="disp-formula" rid="FD16">Equation (16)</xref> which is based on the correlation between output image of the CNN mechanism and the desired output <xref ref-type="fig" rid="f4-sensors-11-05337">Figure 4(b)</xref>. Local search is applied by <xref ref-type="disp-formula" rid="FD10">Equation (10)</xref> at neighbors of all existing cloning templates. If better fitness values are obtained after the local search process, these templates are included in the population and the employed bees phase is completed. The onlooker bees phase is similar to the previous phase. The only difference from the other is the operation of the local search mechanism. This operation is not applied to all template sets, it is applied to some template set which is the probability selected with the roulette wheel. Thus, the selection of the worse template is as much possible as selection of a better template and therefore diversity in the population is ensured. If a solution is not improved in both phases, the testing counter that is related with the solution is incremented by 1, otherwise the counter reset to 0. In the scout bees phase, which template is removed from population is arranged by controlling the testing counters by comparing these counters with the parameter named “<italic>limit</italic>”. If the testing counter value of a template set reaches the <italic>limit</italic> value, this set is removed from the population and a new cloning template set produced randomly is replaced instead of the removed templates. All the explained processes are repeated as many times as indicated by the as number of cycles of the ABC:
<disp-formula id="FD15">
<label>(15)</label>
<mml:math display="block">
<mml:mi>C</mml:mi>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:munderover>
<mml:mo>∑</mml:mo>
<mml:mi>i</mml:mi>
<mml:mi>m</mml:mi></mml:munderover>
<mml:mrow>
<mml:munderover>
<mml:mo>∑</mml:mo>
<mml:mi>j</mml:mi>
<mml:mi>n</mml:mi></mml:munderover>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>z</mml:mi>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi></mml:mrow></mml:msub>
<mml:mo>−</mml:mo>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>z</mml:mi>
<mml:mi>P</mml:mi></mml:mrow>
<mml:mo>¯</mml:mo></mml:mover>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi></mml:mrow></mml:msub>
<mml:mo>−</mml:mo>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>P</mml:mi></mml:mrow>
<mml:mo>¯</mml:mo></mml:mover>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mrow>
<mml:mrow>
<mml:msqrt>
<mml:mrow>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:munderover>
<mml:mo>∑</mml:mo>
<mml:mi>i</mml:mi>
<mml:mi>m</mml:mi></mml:munderover>
<mml:mrow>
<mml:munderover>
<mml:mo>∑</mml:mo>
<mml:mi>j</mml:mi>
<mml:mi>n</mml:mi></mml:munderover>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>z</mml:mi>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi></mml:mrow></mml:msub>
<mml:mo>−</mml:mo>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>z</mml:mi>
<mml:mi>P</mml:mi></mml:mrow>
<mml:mo>¯</mml:mo></mml:mover>
<mml:mo stretchy="false">)</mml:mo></mml:mrow>
<mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:mrow></mml:mrow>
<mml:mo>)</mml:mo></mml:mrow>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:munderover>
<mml:mo>∑</mml:mo>
<mml:mi>i</mml:mi>
<mml:mi>m</mml:mi></mml:munderover>
<mml:mrow>
<mml:munderover>
<mml:mo>∑</mml:mo>
<mml:mi>j</mml:mi>
<mml:mi>n</mml:mi></mml:munderover>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi></mml:mrow></mml:msub>
<mml:mo>−</mml:mo>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>P</mml:mi></mml:mrow>
<mml:mo>¯</mml:mo></mml:mover>
<mml:mo stretchy="false">)</mml:mo></mml:mrow>
<mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:mrow></mml:mrow>
<mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:msqrt></mml:mrow></mml:mfrac></mml:math></disp-formula>
<disp-formula id="FD16">
<label>(16)</label>
<mml:math display="block">
<mml:mi>f</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi></mml:msub>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mo>+</mml:mo>
<mml:mi>ɛ</mml:mi></mml:mrow></mml:mfrac>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mn>0</mml:mn>
<mml:mo>≤</mml:mo>
<mml:mi>r</mml:mi>
<mml:mo>≤</mml:mo>
<mml:mn>1</mml:mn></mml:math></disp-formula>where <italic>i</italic> and <italic>j</italic> are pixel index on the image, <italic>zP</italic> is pixel value of the CNN output image, <italic>tP</italic> is pixel value of the edge detected training image, 
<inline-formula>
<mml:math>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>z</mml:mi>
<mml:mi>P</mml:mi></mml:mrow>
<mml:mo>¯</mml:mo></mml:mover></mml:math></inline-formula> is mean of the output image, 
<inline-formula>
<mml:math>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>P</mml:mi></mml:mrow>
<mml:mo>¯</mml:mo></mml:mover></mml:math></inline-formula> is mean of the edge detected training image, ɛ is a small positive constant, and <italic>f</italic> is objective function. The <italic>C</italic> value in <xref ref-type="disp-formula" rid="FD16">Equation (16)</xref> is the correlation between the two images and this is given in <xref ref-type="disp-formula" rid="FD15">Equation (15)</xref>.</p>
<p>By calculating the similarity between the output images of the CNN and the ideal edge detected image, the optimization process is continued to prove better results by the ABC algorithm. Simulations are developed on a MATLAB platform and the processing of the CNN structure is realized using the MATCNN library [<xref ref-type="bibr" rid="b40-sensors-11-05337">40</xref>,<xref ref-type="bibr" rid="b41-sensors-11-05337">41</xref>].</p></sec>
<sec sec-type="results">
<label>4.3.</label>
<title>The Simulation Results</title>
<p>The performance and robustness of ABC algorithm in determining the edge detecting CNN cloning template are assessed statistically. The optimization results are obtained with multiple runs on different control parameters of ABC; “<italic>limit</italic>” and the “<italic>size of colony</italic>” (<italic>NP</italic>), which are the control parameters of ABC, are considered in the simulations [<xref ref-type="bibr" rid="b36-sensors-11-05337">36</xref>].</p>
<p>In order to show the effect of the scout production mechanism on the performance of the algorithm, the average of the best function values found for the different “<italic>limit</italic>” values (<italic>1</italic> × <italic>n</italic><italic><sub>e</sub></italic> × <italic>D</italic>, <italic>2</italic> × <italic>n</italic><italic><sub>e</sub></italic> × <italic>D</italic>, <italic>4</italic> × <italic>n</italic><italic><sub>e</sub></italic> × <italic>D</italic> and “<italic>without scout</italic>”) and colony sizes (<italic>20</italic>, <italic>40</italic> and <italic>80</italic>) is given in <xref ref-type="table" rid="t1-sensors-11-05337">Table 1</xref>. In the simulations, the cycle and time step constant of the CNN are selected as <italic>30</italic> and <italic>0.3</italic>, respectively. Three thousand cycles are set for each combination of <italic>NP</italic>, and “<italic>limit</italic>” value and ABC is run independently <italic>30</italic> times and the results obtained (<italic>f</italic> values in <xref ref-type="disp-formula" rid="FD16">Equation (16)</xref>) are given in <xref ref-type="table" rid="t1-sensors-11-05337">Table 1</xref> as mean (<italic>MEAN</italic>) and standard deviation (<italic>STD</italic>).</p>
<p>In <xref ref-type="table" rid="t1-sensors-11-05337">Table 1</xref>, it is seen that <italic>STD</italic> values are very low in all combinations of <italic>NP</italic> and “<italic>limit</italic>” values. Therefore, it can be stated that the ABC optimization technique for this problem is quite a robust algorithm. Moreover, the fact that the <italic>MEAN</italic> value gets smaller as the <italic>n</italic> value gets bigger supports the assumption that choosing a smaller <italic>n</italic> value can lead to better results. Beside the results of <xref ref-type="table" rid="t1-sensors-11-05337">Table 1</xref>, in order to present a stable evaluation of the effect of control parameters of the ABC on its performance, ANalysis Of the VAriance (ANOVA) based on the mean variance is used. ANOVA examines the statistical difference of one, two or more groups over one quantitative one. The null hypothesis we established for ANOVA is that all population means are equal and the other hypothesis is that at least one mean is different from the others. Calculated F value is compared to the value coming from the F distribution associated with the degrees of freedom and significance value. If this value is lower than 0.05, the effect of the variable is considered to be statistically significant. ANOVA statistics are calculated by using 12 different values of control parameters on MATLAB platform. Each data group has 30 <italic>f</italic> values coming from each run. Results of ANOVA test for <italic>NP</italic> and <italic>limit</italic> control parameters are presented in <xref ref-type="table" rid="t2-sensors-11-05337">Table 2</xref>. In the table, each column presents values of the sum of squares (SS), the degrees of freedom (df), Mean Squares (MS), which is the ratio SS/df and F statistics, which is the ratio of the mean squares. From the results in <xref ref-type="table" rid="t2-sensors-11-05337">Table 2</xref>, it can be said that <italic>f</italic> function is influenced significantly by the values of <italic>NP</italic> and <italic>limit</italic>.</p>
<p>At the values of <italic>MEAN = 0.7935</italic> and <italic>STD = 0.0521</italic> where optimization is at its best and most effective, the population size and <italic>limit</italic> values are <italic>80</italic> and <italic>440</italic>, respectively. The best <italic>C</italic> value obtained so far is <italic>C = 0.9331</italic> and the cloning template obtained that correspond to this value are presented in <xref ref-type="disp-formula" rid="FD17">Equation (17)</xref>:</p>
<disp-formula id="FD17">
<label>(17)</label>
<mml:math display="block">
<mml:mi>A</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mi>0.2481</mml:mi></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mi>5.4392</mml:mi></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mi>1.2947</mml:mi></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mi>7.3106</mml:mi></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mi>62.7200</mml:mi></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mi>7.3106</mml:mi></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mi>1.2947</mml:mi></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mi>5.4392</mml:mi></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mi>0.2481</mml:mi></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow>
<mml:mo>]</mml:mo></mml:mrow>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mi>B</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mi>0.0051</mml:mi></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mi>0.0610</mml:mi></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mi>0.1331</mml:mi></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mi>0.0739</mml:mi></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mi>34.2720</mml:mi></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mi>0.0739</mml:mi></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mi>0.1331</mml:mi></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mi>0.0610</mml:mi></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mi>0.0051</mml:mi></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow>
<mml:mo>]</mml:mo></mml:mrow>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:mi>I</mml:mi>
<mml:mo>=</mml:mo>
<mml:mo>−</mml:mo>
<mml:mi>1.6937</mml:mi></mml:math></disp-formula>
<p>The cloning template given in <xref ref-type="disp-formula" rid="FD17">Equation (17)</xref> is the optimal template designed by the ABC algorithm in this study for the purpose of edge detection.</p></sec>
<sec>
<label>4.4.</label>
<title>Related Works</title>
<p>In this section, cloning templates of previous studies are presented and used to compare with the ABC results. Designing the cloning template of CNN is an important task to achieve the desired results and several technique-based analytic methods, local learning algorithms and heuristic methods are proposed. Some of heuristic methods also used are Differential Evolution (DE) [<xref ref-type="bibr" rid="b27-sensors-11-05337">27</xref>], Evolution Strategies (ES) [<xref ref-type="bibr" rid="b28-sensors-11-05337">28</xref>] techniques and Genetic Algorithm (GA) [<xref ref-type="bibr" rid="b22-sensors-11-05337">22</xref>,<xref ref-type="bibr" rid="b32-sensors-11-05337">32</xref>]. The first studies in the CNN area were concentrated around binary images and later, some studies including gray-level images are presented. Most template design studies do not include performance analyses of heuristic methods for edge detection application and they are only introduced for design studies. In addition, templates presented in previous studies are not compared subjectively and quantitatively with other templates determined in the same area. Furthermore, edge detection studies based on CNN introduced without applying threshold process with grayscale real images first are very limited. Therefore, there are doubts about the reliability of heuristic methods in this kind of applications. In order to alleviate these deficiencies, a performance analysis of the ABC is performed with multiple runs using its different control parameters. The cloning template obtained with the ABC algorithm is compared subjectively and quantitatively with other well-known techniques and previous studies on designing CNN cloning templates. In the following tables, cloning templates determined in previous studies for edge detection applications are presented. One of the presented cloning templates is from the MATCNN Template Library (EDT-ML) [<xref ref-type="bibr" rid="b41-sensors-11-05337">41</xref>]. The other cloning template is obtained by using the Differential Evolution method (DE-CNN) [<xref ref-type="bibr" rid="b27-sensors-11-05337">27</xref>]. Another cloning template is introduced by using Evolution Strategies (ES-CNN) [<xref ref-type="bibr" rid="b28-sensors-11-05337">28</xref>] and Xavier [<xref ref-type="bibr" rid="b29-sensors-11-05337">29</xref>]. In the following sections, comparisons are made using these templates.</p></sec>
<sec>
<label>4.5.</label>
<title>The Method of Comparison and Parameters</title>
<p>The edge detection quality of the templates in <xref ref-type="disp-formula" rid="FD17">Equation (17)</xref>, determined as a result of optimization, is assessed by using both artificial binary and grayscale images, and real images. Edge detection is performed on all images by using the well-known classical edge detector and the previously proposed CNN based edge detectors and the novel CNN templates in <xref ref-type="disp-formula" rid="FD17">Equation (17)</xref>.</p>
<p>Firstly, subjective comparisons are presented in <xref ref-type="fig" rid="f6-sensors-11-05337">Figures 6</xref>–<xref ref-type="fig" rid="f9-sensors-11-05337">9</xref>. For better evaluation of these subjective comparisons, the proposed method is given at the end of the rows of figures. The study is continued with objective evaluation based on results of accepted comparison metrics.</p>
<p>Subjective comparisons of obtained cloning template and well-known edge detection methods by use of the binary/grayscale artificial images are given in <xref ref-type="fig" rid="f6-sensors-11-05337">Figure 6</xref>.</p>
<p><xref ref-type="fig" rid="f6-sensors-11-05337">Figure 6(a)</xref> shows that all classic edge methods determined the ideal edges of the Text image successfully. For the Shape image, as can be seen in <xref ref-type="fig" rid="f6-sensors-11-05337">Figure 6(b)</xref>, it is seen that compared with the proposed method the other methods are unsuccessful as indicated by the duplicate lines that occur in the output edge image. It is obvious that for the gray-level artificial images, the Check, Honeycomb and Ledge, as shown in <xref ref-type="fig" rid="f6-sensors-11-05337">Figure 6(c–e)</xref>, respectively, the proposed method detected the edges as well as the ideal edge detection, and, in fact is considerably more successful than well-known edge detection methods. Subjective comparisons of obtained cloning template and previous studies based on CNN by use of the binary/grayscale artificial images are given in <xref ref-type="fig" rid="f7-sensors-11-05337">Figure 7</xref>.</p>
<p><xref ref-type="fig" rid="f7-sensors-11-05337">Figure 7(a)</xref> shows that methods based on CNN, except for DE-CNN, determined the ideal edges of the Text image successfully. For the Shape image, as can be seen in <xref ref-type="fig" rid="f7-sensors-11-05337">Figure 7(b)</xref>, ES-CNN templates, Xavier templates and ABC-CNN templates detects all boundaries as single lines. However the DT-CNN method is unsuccessful as indicated by the duplicate lines that occur in the output edge image and the results of the ED-TML method are unclear. It is obvious that for the gray-level artificial images, the Check, Honeycomb and Ledge, as shown in <xref ref-type="fig" rid="f7-sensors-11-05337">Figure 7(c–e)</xref>, respectively, the proposed method detected the edges as well as the ideal and noiseless edge detection, and, in fact is considerably more successful than other methods. Subjective comparisons of obtained cloning template and well-known edge detection methods by use of the binary/grayscale real images are given in <xref ref-type="fig" rid="f8-sensors-11-05337">Figure 8</xref>.</p>
<p>For real images, Coin, Wheel, Flowers and Church, the edge detection results are given in <xref ref-type="fig" rid="f8-sensors-11-05337">Figure 8(a–d)</xref>, respectively. As can be seen from <xref ref-type="fig" rid="f8-sensors-11-05337">Figure 8</xref>, the results of Roberts, Prewitt and Sobel are unsatisfactory. The results obtained by the Canny methods are a bit better than the others; however, the proposed ABC-based CNN method has the best results, with more details and less noise in the edge images. For example, the results of the Canny method have duplicate edge lines for the outer borders of the coins in <xref ref-type="fig" rid="f8-sensors-11-05337">Figure 8(a)</xref> and loss of details for <xref ref-type="fig" rid="f8-sensors-11-05337">Figure 8(b–d)</xref>. Subjective comparisons of obtained cloning template and previous studies based on CNN by use of the binary/grayscale real images are given in <xref ref-type="fig" rid="f9-sensors-11-05337">Figure 9</xref>.</p>
<p>As can be seen the results of ED-TML are unsatisfactory. In the Xavier and ES-CNN method results, the output images have too much noise, which reduces the perception of the edge detection output. There are many undetected objects in the DE-CNN results, especially for <xref ref-type="fig" rid="f9-sensors-11-05337">Figure 9(b,c)</xref>. It is obvious that the results of the proposed ABC-based CNN method have more distinctive details than other methods and less noise in the edge images.</p>
<p>Besides visual evaluation of the edge detection quality on binary and grayscale artificial images, it is also the aim of the study to assess the edge detection quality quantitatively. For this reason, the similarity between the results shown in <xref ref-type="fig" rid="f6-sensors-11-05337">Figures 6</xref> and <xref ref-type="fig" rid="f7-sensors-11-05337">7</xref> and the ideal edge detection results given in <xref ref-type="fig" rid="f10-sensors-11-05337">Figure 10</xref> are compared.</p>
<p>Correlation (<italic>C</italic>), structural similarity (<italic>SSIM</italic>) [<xref ref-type="bibr" rid="b43-sensors-11-05337">43</xref>] and mean squared error (<italic>MSE</italic>) values are used as the comparison operators and results are presented in <xref ref-type="table" rid="t4-sensors-11-05337">Table 4</xref>. To calculate the correlation, the equation given in <xref ref-type="disp-formula" rid="FD15">Equation (15)</xref> is used. Mean Squared Error (<italic>MSE</italic>) is given in <xref ref-type="disp-formula" rid="FD18">Equation (18)</xref>:
<disp-formula id="FD18">
<label>(18)</label>
<mml:math display="block">
<mml:mi>M</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>E</mml:mi>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>n</mml:mi></mml:mrow></mml:mfrac>
<mml:munderover>
<mml:mo>∑</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>0</mml:mn></mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>−</mml:mo>
<mml:mn>1</mml:mn></mml:mrow></mml:munderover>
<mml:mrow>
<mml:munderover>
<mml:mo>∑</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>0</mml:mn></mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo>−</mml:mo>
<mml:mn>1</mml:mn></mml:mrow></mml:munderover>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>z</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>−</mml:mo>
<mml:mi>t</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo stretchy="false">)</mml:mo></mml:mrow>
<mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:mrow></mml:math></disp-formula>where <italic>m</italic> × <italic>n</italic> is size of image, <italic>i</italic> and <italic>j</italic> are coordinate index of the pixels in the image. SSIM, which is another similarity operator used for comparison, is given in <xref ref-type="disp-formula" rid="FD19">Equation (19)</xref> [<xref ref-type="bibr" rid="b43-sensors-11-05337">43</xref>]:
<disp-formula id="FD19">
<label>(19)</label>
<mml:math display="block">
<mml:mi>S</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>I</mml:mi>
<mml:mi>M</mml:mi>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mn>2</mml:mn>
<mml:msub>
<mml:mi>μ</mml:mi>
<mml:mrow>
<mml:mi>z</mml:mi>
<mml:mi>R</mml:mi></mml:mrow></mml:msub>
<mml:msub>
<mml:mi>μ</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>R</mml:mi></mml:mrow></mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mn>1</mml:mn></mml:msub>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo> </mml:mo>
<mml:mo stretchy="false">(</mml:mo>
<mml:mn>2</mml:mn>
<mml:msub>
<mml:mi>σ</mml:mi>
<mml:mrow>
<mml:mi>z</mml:mi>
<mml:mi>R</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>R</mml:mi></mml:mrow></mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mn>2</mml:mn></mml:msub>
<mml:mo stretchy="false">)</mml:mo></mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:msubsup>
<mml:mi>μ</mml:mi>
<mml:mrow>
<mml:mi>z</mml:mi>
<mml:mi>R</mml:mi></mml:mrow>
<mml:mn>2</mml:mn></mml:msubsup>
<mml:mo>+</mml:mo>
<mml:msubsup>
<mml:mi>μ</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>R</mml:mi></mml:mrow>
<mml:mn>2</mml:mn></mml:msubsup>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mn>1</mml:mn></mml:msub>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo> </mml:mo>
<mml:mo stretchy="false">(</mml:mo>
<mml:msubsup>
<mml:mi>σ</mml:mi>
<mml:mrow>
<mml:mi>z</mml:mi>
<mml:mi>R</mml:mi></mml:mrow>
<mml:mn>2</mml:mn></mml:msubsup>
<mml:mo>+</mml:mo>
<mml:msubsup>
<mml:mi>σ</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>R</mml:mi></mml:mrow>
<mml:mn>2</mml:mn></mml:msubsup>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mn>2</mml:mn></mml:msub>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mfrac></mml:math></disp-formula>
<disp-formula id="FD20">
<label>(20)</label>
<mml:math display="block">
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mn>1</mml:mn></mml:msub>
<mml:mo>=</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>k</mml:mi>
<mml:mn>1</mml:mn></mml:msub>
<mml:mi>L</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:mrow>
<mml:mn>2</mml:mn></mml:msup>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:mo> </mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mn>2</mml:mn></mml:msub>
<mml:mo>=</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>k</mml:mi>
<mml:mn>2</mml:mn></mml:msub>
<mml:mi>L</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:mrow>
<mml:mn>2</mml:mn></mml:msup></mml:math></disp-formula></p>
<p>Here, <italic>μ</italic><italic><sub>zR</sub></italic>, <italic>μ</italic><italic><sub>tR</sub></italic> are the mean gray-level intensity values of <italic>zR</italic> and <italic>tR</italic> images, respectively. σ<italic><sub>zR</sub></italic> <sup>2</sup> and σ<italic><sub>tR</sub></italic> <sup>2</sup> are the variance of <italic>zR</italic> and <italic>tR</italic> images, respectively. <italic>σ</italic><italic><sub>zRtR</sub></italic> is the covariance of <italic>zR</italic> and <italic>tR</italic> images. <italic>L</italic> is the dynamic interval of the pixel value and <italic>k</italic><italic><sub>1</sub></italic> and <italic>k</italic><italic><sub>2</sub></italic> are the constant numbers that are <italic>0.01</italic> and <italic>0.03</italic> [<xref ref-type="bibr" rid="b43-sensors-11-05337">43</xref>].</p>
<p>The higher values for <italic>C</italic> and <italic>SSIM</italic>, and the lower values for <italic>MSE</italic> in <xref ref-type="table" rid="t4-sensors-11-05337">Table 4</xref> imply better results. As previously mentioned for the visual evaluation of the Text image results, all methods give better results. However, the quantitative results given in <xref ref-type="table" rid="t4-sensors-11-05337">Table 4</xref> show that some of the methods are unsuccessful in terms of <italic>C</italic> and <italic>MSE</italic>. This is because the output edge images have drifts along the edge borders in comparison to the ideal edge image. A similar situation can be seen on the results of other images. As a result, it is clearly seen from <xref ref-type="table" rid="t4-sensors-11-05337">Table 4</xref> that the ABC-based CNN method performs better than others in terms of <italic>C</italic>, <italic>MSE</italic> and <italic>SSIM</italic>. Also, these numerical results confirm the previously mentioned visual evaluations.</p></sec></sec>
<sec sec-type="conclusions">
<label>5.</label>
<title>Conclusions</title>
<p>By using the ABC algorithm, optimal templates for edge detection were established. In this study, first, in order to inspect the suitability of ABC for this problem, a statistical evaluation of the algorithm was made. Based on the statistical results, it was seen that lower <italic>STD</italic> values show that ABC is a stable and robust algorithm, and higher <italic>MEAN</italic> values show that ABC optimization technique is a convenient technique for this problem. Moreover, the control parameter values where the algorithm gives the best results were detected as <italic>NP = 80</italic> and <italic>limit = 440</italic>. By using these control parameter values, the CNN cloning template used for edge detection were obtained. Next, the templates found were employed for edge detection of binary and grayscale artificial images and real images. Furthermore, edge detection results of well-known edge detection methods were obtained. As a result of the subjective evaluations, it was concluded that the results obtained through ABC-CNN templates were more appropriate. In order to confirm the subjective evaluations, quantitative evaluations were made with numerical comparisons by using the well-known <italic>C</italic>, <italic>MSE</italic> and <italic>SSIM</italic> functions in literature. Similar to the visual subjective evaluation, the quantitative evaluation results also suggest that the results obtained by ABC-CNN templates are more qualified.</p>
<p>The main contributions of this study can be summarized as follows:
<list list-type="bullet">
<list-item>
<p>This is the first study employing ABC technique for determining CNN templates.</p></list-item>
<list-item>
<p>In this study, the performance of ABC optimization in determining CNN templates was investigated statistically, due to the random nature of the heuristic algorithms.</p></list-item>
<list-item>
<p>The results of the detected templates were assessed on binary and grayscale images. Visual and numerical comparisons are limited in the literature. In this study, both the results were compared visually and numerical comparisons were made in order to confirm the visual assessment.</p></list-item>
<list-item>
<p>The results obtained with ABC-CNN templates gave quite successful outputs compared to the well-known classical edge detection techniques and the CNN templates reported in the literature.</p></list-item></list></p></sec></body>
<back>
<ack>
<p>This work is supported by the Research Foundation of Erciyes University, Kayseri, Turkey under Grant No. FBD-09-835.</p></ack>
<ref-list>
<title>References</title>
<ref id="b1-sensors-11-05337"><label>1.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chua</surname><given-names>LO</given-names></name><name><surname>Yang</surname><given-names>L</given-names></name></person-group><article-title>Cellular Neural Networks: Theory</article-title><source>IEEE Trans. Circ. Syst. Fund. Theor. Appl</source><year>1988</year><volume>35</volume><fpage>1257</fpage><lpage>1272</lpage><pub-id pub-id-type="doi">10.1109/31.7600</pub-id></citation></ref>
<ref id="b2-sensors-11-05337"><label>2.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chua</surname><given-names>LO</given-names></name><name><surname>Yang</surname><given-names>L</given-names></name></person-group><article-title>Cellular Neural Networks: Applications</article-title><source>IEEE Trans. Circ. Syst. Fund. Theor. Appl</source><year>1988</year><volume>35</volume><fpage>1273</fpage><lpage>1290</lpage><pub-id pub-id-type="doi">10.1109/31.7601</pub-id></citation></ref>
<ref id="b3-sensors-11-05337"><label>3.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chua</surname><given-names>LO</given-names></name><name><surname>Roska</surname><given-names>T</given-names></name></person-group><article-title>The CNN Paradigm</article-title><source>IEEE Trans. Circ. Syst. Fund. Theor. Appl</source><year>1993</year><volume>40</volume><fpage>147</fpage><lpage>156</lpage><pub-id pub-id-type="doi">10.1109/81.222795</pub-id></citation></ref>
<ref id="b4-sensors-11-05337"><label>4.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Chua</surname><given-names>LO</given-names></name><name><surname>Roska</surname><given-names>T</given-names></name></person-group><source>Cellular Neural Network and Visual Computing</source><edition>1st ed</edition><publisher-name>Cambridge University Press</publisher-name><publisher-loc>Cambridge, UK</publisher-loc><year>2002</year><fpage>35</fpage><lpage>50</lpage></citation></ref>
<ref id="b5-sensors-11-05337"><label>5.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Matsumoto</surname><given-names>T</given-names></name><name><surname>Chua</surname><given-names>LO</given-names></name><name><surname>Yokohama</surname><given-names>T</given-names></name></person-group><article-title>Image Thinning with a Cellular Neural Network</article-title><source>IEEE Trans. Circ. Syst</source><year>1990</year><volume>37</volume><fpage>638</fpage><lpage>640</lpage><pub-id pub-id-type="doi">10.1109/31.55005</pub-id></citation></ref>
<ref id="b6-sensors-11-05337"><label>6.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Matsumoto</surname><given-names>T</given-names></name><name><surname>Chua</surname><given-names>LO</given-names></name><name><surname>Suzuki</surname><given-names>H</given-names></name></person-group><article-title>CNN Cloning Template: Shadow Detector</article-title><source>IEEE Trans. Circ. Syst</source><year>1990</year><volume>37</volume><fpage>1070</fpage><lpage>1073</lpage><pub-id pub-id-type="doi">10.1109/31.56083</pub-id></citation></ref>
<ref id="b7-sensors-11-05337"><label>7.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Crounse</surname><given-names>KR</given-names></name><name><surname>Chua</surname><given-names>LO</given-names></name></person-group><article-title>Methods for Image Processing in Cellular Neural Networks: A Tutorial</article-title><source>IEEE Trans. Circ. Syst</source><year>1995</year><volume>42</volume><fpage>583</fpage><lpage>601</lpage><pub-id pub-id-type="doi">10.1109/81.473566</pub-id></citation></ref>
<ref id="b8-sensors-11-05337"><label>8.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Venetianer</surname><given-names>PL</given-names></name><name><surname>Werblin</surname><given-names>F</given-names></name><name><surname>Roska</surname><given-names>T</given-names></name><name><surname>Chua</surname><given-names>LO</given-names></name></person-group><article-title>Analogic CNN Algorithms for Some Image Compression and Restoration Tasks</article-title><source>IEEE Trans. Circ. Syst. Fund. Theor. Appl</source><year>1995</year><volume>42</volume><fpage>278</fpage><lpage>284</lpage><pub-id pub-id-type="doi">10.1109/81.386161</pub-id></citation></ref>
<ref id="b9-sensors-11-05337"><label>9.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Julian</surname><given-names>P</given-names></name><name><surname>Dogaru</surname><given-names>R</given-names></name><name><surname>Chua</surname><given-names>LO</given-names></name></person-group><article-title>A Piecewise-Linear Simplicial Coupling Cell for CNN Gray-Level Image Processing</article-title><source>IEEE Trans. Circ. Syst</source><year>2002</year><volume>49</volume><fpage>904</fpage><lpage>913</lpage><pub-id pub-id-type="doi">10.1109/TCSI.2002.800464</pub-id></citation></ref>
<ref id="b10-sensors-11-05337"><label>10.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gaobo</surname><given-names>Y</given-names></name><name><surname>Zhaoyang</surname><given-names>Z</given-names></name></person-group><article-title>Video Object Segmentation for Head-Shoulder Sequences in the Cellular Neural Networks Architecture</article-title><source>Real-Time Imag</source><year>2003</year><volume>9</volume><fpage>171</fpage><lpage>178</lpage><pub-id pub-id-type="doi">10.1016/S1077-2014(03)00039-1</pub-id></citation></ref>
<ref id="b11-sensors-11-05337"><label>11.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Nishio</surname><given-names>T</given-names></name><name><surname>Nishio</surname><given-names>Y</given-names></name></person-group><article-title>Periodic Pattern Formation and Its Applications in Cellular Neural Networks</article-title><source>IEEE Trans. Circ. Syst</source><year>2008</year><volume>55</volume><fpage>2736</fpage><lpage>2742</lpage><pub-id pub-id-type="doi">10.1109/TCSI.2008.922020</pub-id></citation></ref>
<ref id="b12-sensors-11-05337"><label>12.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Gonzalez</surname><given-names>RC</given-names></name><name><surname>Wood</surname><given-names>RE</given-names></name><name><surname>Eddins</surname><given-names>SL</given-names></name></person-group><source>Digital Image Processing Using MATLAB</source><edition>2nd ed</edition><publisher-name>Gatesmark Publishing</publisher-name><publisher-loc>Knoxville, TN, USA</publisher-loc><year>2009</year><fpage>536</fpage><lpage>548</lpage></citation></ref>
<ref id="b13-sensors-11-05337"><label>13.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Pratt</surname><given-names>WK</given-names></name></person-group><source>Digital Image Processing</source><edition>4th ed</edition><publisher-name>Wiley-Interscience</publisher-name><publisher-loc>Malden, MA, USA</publisher-loc><year>2007</year><fpage>465</fpage><lpage>534</lpage></citation></ref>
<ref id="b14-sensors-11-05337"><label>14.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Yi</surname><given-names>S</given-names></name><name><surname>Labate</surname><given-names>D</given-names></name><name><surname>Easley</surname><given-names>GR</given-names></name><name><surname>Krim</surname><given-names>H</given-names></name></person-group><article-title>A Shearlet Approach to Edge Analysis and Detection</article-title><source>IEEE Trans. Image Process</source><year>2009</year><volume>18</volume><fpage>929</fpage><lpage>941</lpage><pub-id pub-id-type="doi">10.1109/TIP.2009.2013082</pub-id><pub-id pub-id-type="pmid">19336304</pub-id></citation></ref>
<ref id="b15-sensors-11-05337"><label>15.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lin</surname><given-names>Z</given-names></name><name><surname>Jiang</surname><given-names>J</given-names></name><name><surname>Wang</surname><given-names>Z</given-names></name></person-group><article-title>Edge Detection in the Feature Space</article-title><source>Image Vision Comput</source><year>2010</year><volume>29</volume><fpage>142</fpage><lpage>154</lpage></citation></ref>
<ref id="b16-sensors-11-05337"><label>16.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chua</surname><given-names>LO</given-names></name><name><surname>Thiran</surname><given-names>P</given-names></name></person-group><article-title>An Analytic Method for Designing Simple Cellular Neural Network</article-title><source>IEEE Trans. Circ. Syst</source><year>1991</year><volume>38</volume><fpage>1332</fpage><lpage>1341</lpage><pub-id pub-id-type="doi">10.1109/31.99162</pub-id></citation></ref>
<ref id="b17-sensors-11-05337"><label>17.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Fajfar</surname><given-names>I</given-names></name><name><surname>Bratkovic</surname><given-names>F</given-names></name></person-group><article-title>Design of Monotonic Binary-Valued Cellular Neural Networks</article-title><conf-name>Proceedings of IEEE International Workshop on Cellular Neural Networks and Their Applications (CNNA’96)</conf-name><conf-loc>Seville, Spain</conf-loc><conf-date>24–26 June 1996</conf-date><fpage>321</fpage><lpage>326</lpage></citation></ref>
<ref id="b18-sensors-11-05337"><label>18.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hanggi</surname><given-names>M</given-names></name><name><surname>Moschytz</surname><given-names>GS</given-names></name></person-group><article-title>An Exact and Direct Analytical Method for the Design of Optimally Robust CNN Templates</article-title><source>IEEE Trans. Circ. Syst</source><year>1999</year><volume>46</volume><fpage>304</fpage><lpage>311</lpage><pub-id pub-id-type="doi">10.1109/81.747207</pub-id></citation></ref>
<ref id="b19-sensors-11-05337"><label>19.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zarandy</surname><given-names>A</given-names></name></person-group><article-title>The Art of Template Design</article-title><source>Int. J. Circ. Theor. Appl</source><year>1998</year><volume>26</volume><fpage>5</fpage><lpage>23</lpage></citation></ref>
<ref id="b20-sensors-11-05337"><label>20.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Zou</surname><given-names>F</given-names></name><name><surname>Schwarz</surname><given-names>S</given-names></name><name><surname>Nossek</surname><given-names>JA</given-names></name></person-group><article-title>Cellular Neural Network Design Using a Learning Algorithm</article-title><conf-name>Proceedings of IEEE International Workshop on Cellular Neural Networks and Their Applications (CNNA’90)</conf-name><conf-loc>Budapest, Hungary</conf-loc><conf-date>16–19 December 1990</conf-date><fpage>73</fpage><lpage>81</lpage></citation></ref>
<ref id="b21-sensors-11-05337"><label>21.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Tetzlaff</surname><given-names>R</given-names></name><name><surname>Wolf</surname><given-names>D</given-names></name></person-group><article-title>A Learning Algorithm for the Dynamics of CNN with Nonlinear Templates Part I: Discrete-Time Case</article-title><conf-name>Proceedings of IEEE International Workshop on Cellular Neural Networks and Their Applications (CNNA’96)</conf-name><conf-loc>Seville, Spain</conf-loc><conf-date>24–26 June 1996</conf-date><fpage>461</fpage><lpage>466</lpage></citation></ref>
<ref id="b22-sensors-11-05337"><label>22.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kozek</surname><given-names>T</given-names></name><name><surname>Roska</surname><given-names>T</given-names></name><name><surname>Chua</surname><given-names>LO</given-names></name></person-group><article-title>Genetic Algorithm for CNN Template Learning</article-title><source>IEEE Trans. Circ. Syst. Fund. Theor. Appl</source><year>1993</year><volume>40</volume><fpage>392</fpage><lpage>402</lpage><pub-id pub-id-type="doi">10.1109/81.238343</pub-id></citation></ref>
<ref id="b23-sensors-11-05337"><label>23.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Shou</surname><given-names>YW</given-names></name><name><surname>Lin</surname><given-names>CT</given-names></name></person-group><article-title>Image Descreening by GA-CNN Based Texture Classification</article-title><source>IEEE Trans. Circ. Syst</source><year>2004</year><volume>51</volume><fpage>2287</fpage><lpage>2299</lpage><pub-id pub-id-type="doi">10.1109/TCSI.2004.836861</pub-id></citation></ref>
<ref id="b24-sensors-11-05337"><label>24.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Pham</surname><given-names>DT</given-names></name><name><surname>Karaboga</surname><given-names>D</given-names></name></person-group><source>Intelligent Optimization Techniques</source><edition>1st ed</edition><publisher-name>Springer</publisher-name><publisher-loc>London, UK</publisher-loc><year>2000</year><fpage>1</fpage><lpage>299</lpage></citation></ref>
<ref id="b25-sensors-11-05337"><label>25.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chang</surname><given-names>CL</given-names></name><name><surname>Fan</surname><given-names>KW</given-names></name><name><surname>Chung</surname><given-names>IF</given-names></name><name><surname>Lin</surname><given-names>CT</given-names></name></person-group><article-title>A Recurrent Fuzzy Coupled Cellular Neural Network System with Automatic Structure and Template Learning</article-title><source>IEEE Trans Circ Syst</source><year>2006</year><volume>53</volume><fpage>602</fpage><lpage>606</lpage><pub-id pub-id-type="doi">10.1109/TCSII.2006.876388</pub-id></citation></ref>
<ref id="b26-sensors-11-05337"><label>26.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Giaquinto</surname><given-names>A</given-names></name><name><surname>Fornarelli</surname><given-names>G</given-names></name></person-group><article-title>PSO-Based Cloning Template Design for CNN Associative Memories</article-title><source>IEEE Trans. Neural Netw</source><year>2009</year><volume>20</volume><fpage>1837</fpage><lpage>1841</lpage><pub-id pub-id-type="doi">10.1109/TNN.2009.2031870</pub-id><pub-id pub-id-type="pmid">19783502</pub-id></citation></ref>
<ref id="b27-sensors-11-05337"><label>27.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Basturk</surname><given-names>A</given-names></name><name><surname>Gunay</surname><given-names>E</given-names></name></person-group><article-title>Efficient Edge Detection in Digital Images Using a Cellular Neural Network Optimized by Differential Evolution Algorithm</article-title><source>Expert Syst. Appl</source><year>2009</year><volume>36</volume><fpage>2645</fpage><lpage>2650</lpage><pub-id pub-id-type="doi">10.1016/j.eswa.2008.01.082</pub-id></citation></ref>
<ref id="b28-sensors-11-05337"><label>28.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Parmaksizoglu</surname><given-names>S</given-names></name><name><surname>Alci</surname><given-names>M</given-names></name></person-group><article-title>Designing CNN Templates for Edge Detection by Using Evolution Strategies</article-title><conf-name>Proceedings of International Symposium on Innovations in Intelligent Systems and Applications</conf-name><conf-loc>Kayseri, Turkey</conf-loc><conf-date>June 2010</conf-date><fpage>396</fpage><lpage>399</lpage></citation></ref>
<ref id="b29-sensors-11-05337"><label>29.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Xavier-de-Souza</surname><given-names>S</given-names></name><name><surname>Yalcin</surname><given-names>ME</given-names></name><name><surname>Suykens</surname><given-names>JAK</given-names></name><name><surname>Vandewalle</surname><given-names>J</given-names></name></person-group><article-title>Toward CNN Chip-Specific Robustness</article-title><source>IEEE Trans. Circ. Syst. Fund. Theor. Appl</source><year>2004</year><volume>51</volume><fpage>892</fpage><lpage>902</lpage><pub-id pub-id-type="doi">10.1109/TCSI.2004.827618</pub-id></citation></ref>
<ref id="b30-sensors-11-05337"><label>30.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Lu</surname><given-names>Z</given-names></name><name><surname>Liu</surname><given-names>D</given-names></name></person-group><article-title>Design of Cellular Neural Networks with Space-Invariant Cloning Template</article-title><conf-name>Proceedings of the IEEE International Symposium on Circuits and Systems</conf-name><conf-loc>Monterey, CA, USA</conf-loc><conf-date>31 May–3 June 1998</conf-date><fpage>215</fpage><lpage>218</lpage></citation></ref>
<ref id="b31-sensors-11-05337"><label>31.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Yin</surname><given-names>C-L</given-names></name><name><surname>Wan</surname><given-names>J-L</given-names></name><name><surname>Lin</surname><given-names>H</given-names></name><name><surname>Chen</surname><given-names>W-K</given-names></name></person-group><article-title>The Cloning Template Design of a Cellular Neural Network</article-title><source>Brief Commun</source><year>1999</year><volume>336</volume><fpage>903</fpage><lpage>909</lpage></citation></ref>
<ref id="b32-sensors-11-05337"><label>32.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Khan</surname><given-names>U-A</given-names></name><name><surname>Fasih</surname><given-names>A</given-names></name><name><surname>Kyamakya</surname><given-names>K</given-names></name><name><surname>Chedjou</surname><given-names>J-C</given-names></name></person-group><article-title>Genetic Algorithm Based Template Optimization for Vision System: Obstacle Detection</article-title><conf-name>Proceedings of International Symposium on Theoretical Electrical Engineering</conf-name><conf-loc>Lübeck, Germany</conf-loc><conf-date>22–24 June 2009</conf-date><fpage>164</fpage><lpage>168</lpage></citation></ref>
<ref id="b33-sensors-11-05337"><label>33.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Su</surname><given-names>T-J</given-names></name><name><surname>Huang</surname><given-names>M-Y</given-names></name><name><surname>Hou</surname><given-names>C-L</given-names></name><name><surname>Lin</surname><given-names>Y-J</given-names></name></person-group><article-title>Cellular Neural Networks for Gray Image Noise Cancellation Based on a Hybrid Linear Matrix Inequality and Particle Swarm Optimization Approach</article-title><source>Neural Process Lett</source><year>2010</year><volume>32</volume><fpage>147</fpage><lpage>165</lpage><pub-id pub-id-type="doi">10.1007/s11063-010-9150-0</pub-id></citation></ref>
<ref id="b34-sensors-11-05337"><label>34.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Karaboga</surname><given-names>D</given-names></name></person-group><source>An Idea Based On Honey Bee Swarm for Numerical Optimization</source><comment>Technical Report-TR06</comment><publisher-name>Computer Engineering Department, Erciyes University</publisher-name><publisher-loc>Kayseri, Turkey</publisher-loc><year>2005</year></citation></ref>
<ref id="b35-sensors-11-05337"><label>35.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kurban</surname><given-names>T</given-names></name><name><surname>Beşdok</surname><given-names>E</given-names></name></person-group><article-title>A Comparison of RBF Neural Network Training Algorithms for Inertial Sensor Based Terrain Classification</article-title><source>Sensors</source><year>2009</year><volume>9</volume><fpage>6312</fpage><lpage>6329</lpage><pub-id pub-id-type="doi">10.3390/s90806312</pub-id><pub-id pub-id-type="pmid">22454587</pub-id></citation></ref>
<ref id="b36-sensors-11-05337"><label>36.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Karaboga</surname><given-names>D</given-names></name><name><surname>Basturk</surname><given-names>B</given-names></name></person-group><article-title>A Powerful and Efficient Algorithm for Numerical Function Optimization: Artificial Bee Colony (ABC) Algorithm</article-title><source>J. Global Optim</source><year>2007</year><volume>39</volume><fpage>459</fpage><lpage>471</lpage><pub-id pub-id-type="doi">10.1007/s10898-007-9149-x</pub-id></citation></ref>
<ref id="b37-sensors-11-05337"><label>37.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Karaboga</surname><given-names>D</given-names></name><name><surname>Basturk</surname><given-names>B</given-names></name></person-group><article-title>On the Performance of Artificial Bee Colony (ABC) Algorithm</article-title><source>Appl. Soft Comput</source><year>2008</year><volume>8</volume><fpage>687</fpage><lpage>697</lpage><pub-id pub-id-type="doi">10.1016/j.asoc.2007.05.007</pub-id></citation></ref>
<ref id="b38-sensors-11-05337"><label>38.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Karaboga</surname><given-names>D</given-names></name><name><surname>Basturk</surname><given-names>B</given-names></name></person-group><article-title>A Comparative Study of Artificial Bee Colony Algorithm</article-title><source>Appl. Math. Comput</source><year>2009</year><volume>214</volume><fpage>108</fpage><lpage>132</lpage><pub-id pub-id-type="doi">10.1016/j.amc.2009.03.090</pub-id></citation></ref>
<ref id="b39-sensors-11-05337"><label>39.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Xu</surname><given-names>C</given-names></name><name><surname>Duan</surname><given-names>H</given-names></name></person-group><article-title>Artificial Bee Colony (ABC) Optimized Edge Potential Function (EPF) Approach to Target Recognition for Low-altitude Aircraft</article-title><source>Pattern Recogn. Lett</source><year>2010</year><volume>31</volume><fpage>1759</fpage><lpage>1772</lpage><pub-id pub-id-type="doi">10.1016/j.patrec.2009.11.018</pub-id></citation></ref>
<ref id="b40-sensors-11-05337"><label>40.</label><citation citation-type="web"><collab>Artificial Bee Colony (ABC) Algorithm Homepage</collab><comment>Available online: <ext-link xlink:href="http://mf.erciyes.edu.tr/abc/software.htm" ext-link-type="uri">http://mf.erciyes.edu.tr/abc/software.htm</ext-link> (accessed on 1 April 2011).</comment></citation></ref>
<ref id="b41-sensors-11-05337"><label>41.</label><citation citation-type="web"><source>MATCNN: Analogical CNN Simulation Toolbox for MATLAB</source><publisher-name>Hungarian Academy of Science</publisher-name><publisher-loc>Budapest, Hungary</publisher-loc><comment>Available online: <ext-link xlink:href="http://lab.analogic.sztaki.hu/" ext-link-type="uri">http://lab.analogic.sztaki.hu/</ext-link> (accessed on 1 April 2011).</comment></citation></ref>
<ref id="b42-sensors-11-05337"><label>42.</label><citation citation-type="web"><collab>Ledge Test Image</collab><comment>Available online: <ext-link xlink:href="http://w3.ualg.pt/~dubuf/pubdat/ledge/ledge.html" ext-link-type="uri">http://w3.ualg.pt/~dubuf/pubdat/ledge/ledge.html</ext-link> (accessed on 1 April 2011).</comment></citation></ref>
<ref id="b43-sensors-11-05337"><label>43.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wang</surname><given-names>Z</given-names></name><name><surname>Bovik</surname><given-names>AC</given-names></name><name><surname>Sheikh</surname><given-names>HR</given-names></name><name><surname>Simoncelli</surname><given-names>EP</given-names></name></person-group><article-title>Image Quality Assessment: From Error Visibility to Structural Similarity</article-title><source>IEEE Trans. Image Process</source><year>2004</year><volume>13</volume><fpage>600</fpage><lpage>612</lpage><pub-id pub-id-type="doi">10.1109/TIP.2003.819861</pub-id><pub-id pub-id-type="pmid">15376593</pub-id></citation></ref></ref-list>
<sec sec-type="display-objects">
<title>Figures and Tables</title>
<fig id="f1-sensors-11-05337" position="float">
<label>Figure 1.</label>
<caption>
<p>A general architectural structure of a CNN.</p></caption>
<graphic xlink:href="sensors-11-05337f1.gif"/></fig>
<fig id="f2-sensors-11-05337" position="float">
<label>Figure 2.</label>
<caption>
<p>The circuit of a cell.</p></caption>
<graphic xlink:href="sensors-11-05337f2.gif"/></fig>
<fig id="f3-sensors-11-05337" position="float">
<label>Figure 3.</label>
<caption>
<p><bold>(a)</bold> A part of the input image <bold>(b)</bold> The ideal edge detected image.</p></caption>
<graphic xlink:href="sensors-11-05337f3.gif"/></fig>
<fig id="f4-sensors-11-05337" position="float">
<label>Figure 4.</label>
<caption>
<p><bold>(a)</bold> Training input image. <bold>(b)</bold> The ideal edge detected image of training image. <bold>(c)</bold> Histogram of training input image. <bold>(d)</bold> Histogram of edge detected image.</p></caption>
<graphic xlink:href="sensors-11-05337f4.gif"/></fig>
<fig id="f5-sensors-11-05337" position="float">
<label>Figure 5.</label>
<caption>
<p>Template design mechanism of the ABC based CNN edge detector.</p></caption>
<graphic xlink:href="sensors-11-05337f5.gif"/></fig>
<fig id="f6-sensors-11-05337" position="float">
<label>Figure 6.</label>
<caption>
<p>Artificial images. <bold>(a)</bold> Text. <bold>(b)</bold> Shape. <bold>(c)</bold> Check. <bold>(d)</bold> Honeycomb. <bold>(e)</bold> Ledge [<xref ref-type="bibr" rid="b42-sensors-11-05337">42</xref>].</p></caption>
<graphic xlink:href="sensors-11-05337f6.gif"/></fig>
<fig id="f7-sensors-11-05337" position="float">
<label>Figure 7.</label>
<caption>
<p>Artificial images. <bold>(a)</bold> Text. <bold>(b)</bold> Shape. <bold>(c)</bold> Check. <bold>(d)</bold> Honeycomb. <bold>(e)</bold> Ledge [<xref ref-type="bibr" rid="b42-sensors-11-05337">42</xref>].</p></caption>
<graphic xlink:href="sensors-11-05337f7.gif"/></fig>
<fig id="f8-sensors-11-05337" position="float">
<label>Figure 8.</label>
<caption>
<p>Real images. <bold>(a)</bold> Coin. <bold>(b)</bold> Wheel. <bold>(c)</bold> Flowers. <bold>(d)</bold> Church.</p></caption>
<graphic xlink:href="sensors-11-05337f8.gif"/></fig>
<fig id="f9-sensors-11-05337" position="float">
<label>Figure 9.</label>
<caption>
<p>Real images. <bold>(a)</bold> Coin. <bold>(b)</bold> Wheel. <bold>(c)</bold> Flowers. <bold>(d)</bold> Church.</p></caption>
<graphic xlink:href="sensors-11-05337f9.gif"/></fig>
<fig id="f10-sensors-11-05337" position="float">
<label>Figure 10.</label>
<caption>
<p>The results of the ideal edge detection obtained using the ideal edge method.</p></caption>
<graphic xlink:href="sensors-11-05337f10.gif"/></fig>
<table-wrap id="t1-sensors-11-05337" position="float">
<label>Table 1.</label>
<caption>
<p>The performance analysis results of ABC.</p></caption>
<table frame="hsides" rules="groups">
<thead>
<tr content-type="background-color:#9FD3A4">
<th align="left" valign="middle"><bold><italic>Colony</italic></bold></th>
<th colspan="4" align="left" valign="middle"><bold><italic>NP = 20 (n</italic></bold><italic><sub>e</sub></italic> <bold><italic>= n</italic></bold><italic><sub>o</sub></italic> <bold><italic>= 10)</italic></bold></th>
<th colspan="4" align="left" valign="middle"><bold><italic>NP = 40 (n</italic></bold><italic><sub>e</sub></italic> <bold><italic>= n</italic></bold><italic><sub>o</sub></italic> <bold><italic>= 20)</italic></bold></th>
<th colspan="4" align="left" valign="middle"><bold><italic>NP = 80 (n</italic></bold><italic><sub>e</sub></italic> <bold><italic>= n</italic></bold><italic><sub>o</sub></italic> <bold><italic>= 40)</italic></bold></th></tr>
<tr content-type="background-color:#9FD3A4">
<th align="left" valign="middle"/>
<th colspan="13" align="left" valign="middle">
<hr/></th></tr>
<tr content-type="background-color:#9FD3A4">
<th align="left" valign="middle"><bold><italic>Size</italic></bold></th>
<th align="left" valign="middle"><bold><italic>Limit = 1</italic></bold>×<bold><italic>n</italic></bold><italic><sub>e</sub></italic>×<bold><italic>D</italic></bold></th>
<th align="left" valign="middle"><bold><italic>Limit = 2</italic></bold>×<bold><italic>n</italic></bold><italic><sub>e</sub></italic>×<bold><italic>D</italic></bold></th>
<th align="left" valign="middle"><bold><italic>Limit = 4</italic></bold>×<bold><italic>n</italic></bold><italic><sub>e</sub></italic>×<bold><italic>D</italic></bold></th>
<th align="left" valign="middle"><bold><italic>Without scout</italic></bold></th>
<th align="left" valign="middle"><bold><italic>Limit = 1</italic></bold>×<bold><italic>n</italic></bold><italic><sub>e</sub></italic>×<bold><italic>D</italic></bold></th>
<th align="left" valign="middle"><bold><italic>Limit = 2</italic></bold>×<bold><italic>n</italic></bold><italic><sub>e</sub></italic>×<bold><italic>D</italic></bold></th>
<th align="left" valign="middle"><bold><italic>Limit = 4</italic></bold>×<bold><italic>n</italic></bold><italic><sub>e</sub></italic>×<bold><italic>D</italic></bold></th>
<th align="left" valign="middle"><bold><italic>Without Scout</italic></bold></th>
<th align="left" valign="middle"><bold><italic>Limit = 1</italic></bold>×<bold><italic>n</italic></bold><italic><sub>e</sub></italic>×<bold><italic>D</italic></bold></th>
<th align="left" valign="middle"><bold><italic>Limit = 2</italic></bold>×<bold><italic>n</italic></bold><italic><sub>e</sub></italic>×<bold><italic>D</italic></bold></th>
<th align="left" valign="middle"><bold><italic>Limit = 4</italic></bold>×<bold><italic>n</italic></bold><italic><sub>e</sub></italic>×<bold><italic>D</italic></bold></th>
<th align="left" valign="middle"><bold><italic>Without scout</italic></bold></th></tr></thead>
<tbody>
<tr content-type="background-color:#9FD3A4">
<td align="left" valign="top"><bold><italic>MEAN</italic></bold></td>
<td align="center" valign="top"><italic>0.7551</italic></td>
<td align="center" valign="top"><italic>0.7340</italic></td>
<td align="center" valign="top"><italic>0.7013</italic></td>
<td align="center" valign="top"><italic>0.4525</italic></td>
<td align="center" valign="top"><italic>0.7625</italic></td>
<td align="center" valign="top"><italic>0.7450</italic></td>
<td align="center" valign="top"><italic>0.7172</italic></td>
<td align="center" valign="top"><italic>0.6483</italic></td>
<td align="center" valign="top"><bold><italic>0.7935</italic></bold></td>
<td align="center" valign="top"><italic>0.7509</italic></td>
<td align="center" valign="top"><italic>0.7656</italic></td>
<td align="center" valign="top"><italic>0.7048</italic></td></tr>
<tr content-type="background-color:#9FD3A4">
<td align="left" valign="top"><bold><italic>STD</italic></bold></td>
<td align="center" valign="top"><italic>0.0517</italic></td>
<td align="center" valign="top"><italic>0.0642</italic></td>
<td align="center" valign="top"><italic>0.1660</italic></td>
<td align="center" valign="top"><italic>0.2904</italic></td>
<td align="center" valign="top"><italic>0.0643</italic></td>
<td align="center" valign="top"><italic>0.0860</italic></td>
<td align="center" valign="top"><italic>0.1057</italic></td>
<td align="center" valign="top"><italic>0.2031</italic></td>
<td align="center" valign="top"><italic>0.0521</italic></td>
<td align="center" valign="top"><italic>0.0456</italic></td>
<td align="center" valign="top"><italic>0.0483</italic></td>
<td align="center" valign="top"><italic>0.1192</italic></td></tr></tbody></table>
<table-wrap-foot><fn id="tfn1-sensors-11-05337">
<p><bold><italic>n</italic></bold><italic><sub>e</sub></italic>: number of employed bees, <italic>D</italic>: dimension of problem, runs = 30 and total evaluation number = 3,000.</p></fn></table-wrap-foot></table-wrap>
<table-wrap id="t2-sensors-11-05337" position="float">
<label>Table 2.</label>
<caption>
<p>ANOVA table for <italic>f</italic> function by 12 different control parameters of ABC.</p></caption>
<table frame="hsides" rules="groups">
<thead>
<tr content-type="background-color:#9FD3A4">
<th align="center" valign="middle"><bold>Function</bold></th>
<th align="center" valign="middle"><bold>SS</bold></th>
<th align="center" valign="middle"><bold>df</bold></th>
<th align="center" valign="middle"><bold>MS</bold></th>
<th align="center" valign="middle"><bold>F</bold></th>
<th align="center" valign="middle"><bold>Prob &gt; F</bold></th></tr></thead>
<tbody>
<tr content-type="background-color:#9FD3A4">
<td align="center" valign="top"><italic>f</italic></td>
<td align="center" valign="top"><italic>2.65833</italic></td>
<td align="center" valign="top"><italic>11</italic></td>
<td align="center" valign="top"><italic>0.24167</italic></td>
<td align="center" valign="top"><italic>14.21</italic></td>
<td align="center" valign="top"><italic>1.22746e-022</italic></td></tr></tbody></table></table-wrap>
<table-wrap id="t3-sensors-11-05337" position="float">
<label>Table 3.</label>
<caption>
<p>Presented templates of previous studies based on CNN.</p></caption>
<table frame="hsides" rules="groups">
<thead>
<tr content-type="background-color:#9FD3A4">
<th align="center" valign="middle"><bold><italic>METHODS</italic></bold></th>
<th align="center" valign="middle"><bold><italic>A TEMPLATE</italic></bold></th>
<th align="center" valign="middle"><bold><italic>B TEMPLATE</italic></bold></th>
<th align="center" valign="middle"><bold><italic>I TEMPLATE</italic></bold></th>
<th align="center" valign="middle"><bold><italic>PARAMETER OF CNN</italic></bold></th></tr></thead>
<tbody>
<tr content-type="background-color:#9FD3A4">
<td align="center" valign="top"><bold><italic>ED-TML[<xref ref-type="bibr" rid="b41-sensors-11-05337">41</xref>]</italic></bold></td>
<td align="center" valign="top">
<inline-formula>
<mml:math>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mn>0</mml:mn></mml:mtd>
<mml:mtd>
<mml:mn>0</mml:mn></mml:mtd>
<mml:mtd>
<mml:mn>0</mml:mn></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mn>0</mml:mn></mml:mtd>
<mml:mtd>
<mml:mn>2</mml:mn></mml:mtd>
<mml:mtd>
<mml:mn>0</mml:mn></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mn>0</mml:mn></mml:mtd>
<mml:mtd>
<mml:mn>0</mml:mn></mml:mtd>
<mml:mtd>
<mml:mn>0</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mrow>
<mml:mo>]</mml:mo></mml:mrow></mml:math></inline-formula></td>
<td align="center" valign="top">
<inline-formula>
<mml:math>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.25</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.25</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.25</mml:mn></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.25</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mn>2</mml:mn></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.25</mml:mn></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.25</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.25</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.25</mml:mn></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow>
<mml:mo>]</mml:mo></mml:mrow></mml:math></inline-formula></td>
<td align="center" valign="top">−1.5</td>
<td align="center" valign="top"><italic>Time Step = 0.3</italic><break/><italic>Iteration = 50</italic></td></tr>
<tr content-type="background-color:#9FD3A4">
<td align="center" valign="top"><bold><italic>DE-CNN[<xref ref-type="bibr" rid="b27-sensors-11-05337">27</xref>]</italic></bold></td>
<td align="center" valign="top">
<inline-formula>
<mml:math>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>5.9791</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>2.3636</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>5.9905</mml:mn></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.5346</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>14.8176</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.5346</mml:mn></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>5.9905</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>2.3636</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>5.9791</mml:mn></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow>
<mml:mo>]</mml:mo></mml:mrow></mml:math></inline-formula></td>
<td align="center" valign="top">
<inline-formula>
<mml:math>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mn>0.0304</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.0198</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mn>0.0049</mml:mn></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.0453</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mn>15.0325</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.0453</mml:mn></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mn>0.0049</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.0198</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mn>0.0304</mml:mn></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow>
<mml:mo>]</mml:mo></mml:mrow></mml:math></inline-formula></td>
<td align="center" valign="top">1.1570</td>
<td align="center" valign="top"><italic>Time Step = 1.3937</italic><break/><italic>Iteration = 2</italic></td></tr>
<tr content-type="background-color:#9FD3A4">
<td align="center" valign="top"><bold><italic>ES-CNN[<xref ref-type="bibr" rid="b28-sensors-11-05337">28</xref>]</italic></bold></td>
<td align="center" valign="top">
<inline-formula>
<mml:math>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.0188</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>7.2196</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>1.6024</mml:mn></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>2.2306</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mn>20.8999</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>2.2306</mml:mn></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>1.6024</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>7.2196</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.0188</mml:mn></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow>
<mml:mo>]</mml:mo></mml:mrow></mml:math></inline-formula></td>
<td align="center" valign="top">
<inline-formula>
<mml:math>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.0397</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mn>0.3402</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.0362</mml:mn></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.2233</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.2497</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.2233</mml:mn></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.0362</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mn>0.3402</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.0397</mml:mn></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow>
<mml:mo>]</mml:mo></mml:mrow></mml:math></inline-formula></td>
<td align="center" valign="top">−3.3014</td>
<td align="center" valign="top"><italic>Time Step = 0.3</italic><break/><italic>Iteration = 20</italic></td></tr>
<tr content-type="background-color:#9FD3A4">
<td align="center" valign="top"><bold><italic>Xavier[<xref ref-type="bibr" rid="b29-sensors-11-05337">29</xref>]</italic></bold></td>
<td align="center" valign="top">
<inline-formula>
<mml:math>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.2367</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.2416</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.2207</mml:mn></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.1710</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mn>1.8889</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.1710</mml:mn></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.2207</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.2416</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.2367</mml:mn></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow>
<mml:mo>]</mml:mo></mml:mrow></mml:math></inline-formula></td>
<td align="center" valign="top">
<inline-formula>
<mml:math>
<mml:mrow>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.6522</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mn>0.0306</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.8290</mml:mn></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.0722</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mn>2.8511</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.0722</mml:mn></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.8290</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mn>0.0306</mml:mn></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mn>0.6522</mml:mn></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow>
<mml:mo>]</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula></td>
<td align="center" valign="top">−1.3631</td>
<td align="center" valign="top"><italic>Not given in the paper, the values used: Time Step = 0.03</italic><break/><italic>Iteration = 100</italic></td></tr></tbody></table></table-wrap>
<table-wrap id="t4-sensors-11-05337" position="float">
<label>Table 4.</label>
<caption>
<p>Comparison results of the detection methods with the results of ideal edge detection for the binary and grayscale artificial images given in <xref ref-type="fig" rid="f6-sensors-11-05337">Figure 6</xref>.</p></caption>
<table frame="hsides" rules="groups">
<thead>
<tr content-type="background-color:#9FD3A4">
<th align="center" valign="middle" rowspan="3"/>
<th colspan="3" align="center" valign="middle"><bold><italic>TEXT</italic></bold></th>
<th colspan="3" align="center" valign="middle"><bold><italic>SHAPE</italic></bold></th>
<th colspan="3" align="center" valign="middle"><bold><italic>CHECK</italic></bold></th>
<th colspan="3" align="center" valign="middle"><bold><italic>HONEYCOMP</italic></bold></th>
<th colspan="3" align="center" valign="middle"><bold><italic>LEDGE</italic></bold></th></tr>
<tr content-type="background-color:#9FD3A4">
<th colspan="15" align="left" valign="top">
<hr/></th></tr>
<tr content-type="background-color:#9FD3A4">
<th align="center" valign="middle"><bold><italic>C</italic></bold></th>
<th align="center" valign="middle"><bold><italic>MSE</italic></bold></th>
<th align="center" valign="middle"><bold><italic>SSIM</italic></bold></th>
<th align="center" valign="middle"><bold><italic>C</italic></bold></th>
<th align="center" valign="middle"><bold><italic>MSE</italic></bold></th>
<th align="center" valign="middle"><bold><italic>SSIM</italic></bold></th>
<th align="center" valign="middle"><bold><italic>C</italic></bold></th>
<th align="center" valign="middle"><bold><italic>MSE</italic></bold></th>
<th align="center" valign="middle"><bold><italic>SSIM</italic></bold></th>
<th align="center" valign="middle"><bold><italic>C</italic></bold></th>
<th align="center" valign="middle"><bold><italic>MSE</italic></bold></th>
<th align="center" valign="middle"><bold><italic>SSIM</italic></bold></th>
<th align="center" valign="middle"><bold><italic>C</italic></bold></th>
<th align="center" valign="middle"><bold><italic>MSE</italic></bold></th>
<th align="center" valign="middle"><bold><italic>SSIM</italic></bold></th></tr></thead>
<tbody>
<tr content-type="background-color:#9FD3A4">
<td align="center" valign="top"><bold><italic>CANNY</italic></bold></td>
<td align="center" valign="top"><italic>0.3393</italic></td>
<td align="center" valign="top"><italic>1589.5</italic></td>
<td align="center" valign="top"><italic>0.8733</italic></td>
<td align="center" valign="top"><italic>0.0265</italic></td>
<td align="center" valign="top"><italic>4254.3</italic></td>
<td align="center" valign="top"><italic>0.6755</italic></td>
<td align="center" valign="top"><italic>0.1922</italic></td>
<td align="center" valign="top"><italic>20470</italic></td>
<td align="center" valign="top"><italic>0.1774</italic></td>
<td align="center" valign="top"><italic>0.3304</italic></td>
<td align="center" valign="top"><italic>9228.9</italic></td>
<td align="center" valign="top"><italic>0.3005</italic></td>
<td align="center" valign="top"><italic>0.6393</italic></td>
<td align="center" valign="top"><italic>5432.3</italic></td>
<td align="center" valign="top"><italic>0.6335</italic></td></tr>
<tr content-type="background-color:#9FD3A4">
<td align="center" valign="top"><bold><italic>ROBERTS</italic></bold></td>
<td align="center" valign="top"><italic>0.5062</italic></td>
<td align="center" valign="top"><italic>1334.8</italic></td>
<td align="center" valign="top"><italic>0.8951</italic></td>
<td align="center" valign="top"><italic>0.6908</italic></td>
<td align="center" valign="top"><italic>1048.3</italic></td>
<td align="center" valign="top"><italic>0.9038</italic></td>
<td align="center" valign="top"><italic>0.0867</italic></td>
<td align="center" valign="top"><italic>21211</italic></td>
<td align="center" valign="top"><italic>0.0532</italic></td>
<td align="center" valign="top"><italic>0.2081</italic></td>
<td align="center" valign="top"><italic>9568.1</italic></td>
<td align="center" valign="top"><italic>0.1547</italic></td>
<td align="center" valign="top"><italic>0.5281</italic></td>
<td align="center" valign="top"><italic>6746.0</italic></td>
<td align="center" valign="top"><italic>0.5432</italic></td></tr>
<tr content-type="background-color:#9FD3A4">
<td align="center" valign="top"><bold><italic>PREWITT</italic></bold></td>
<td align="center" valign="top"><italic>0.4709</italic></td>
<td align="center" valign="top"><italic>1260.0</italic></td>
<td align="center" valign="top"><italic>0.8950</italic></td>
<td align="center" valign="top"><italic>0.0260</italic></td>
<td align="center" valign="top"><italic>4337.7</italic></td>
<td align="center" valign="top"><italic>0.6806</italic></td>
<td align="center" valign="top"><italic>0.0814</italic></td>
<td align="center" valign="top"><italic>21055</italic></td>
<td align="center" valign="top"><italic>0.0498</italic></td>
<td align="center" valign="top"><italic>0.2001</italic></td>
<td align="center" valign="top"><italic>9332.1</italic></td>
<td align="center" valign="top"><italic>0.1484</italic></td>
<td align="center" valign="top"><italic>0.5812</italic></td>
<td align="center" valign="top"><italic>6163.6</italic></td>
<td align="center" valign="top"><italic>0.5855</italic></td></tr>
<tr content-type="background-color:#9FD3A4">
<td align="center" valign="top"><bold><italic>SOBEL</italic></bold></td>
<td align="center" valign="top"><italic>0.4602</italic></td>
<td align="center" valign="top"><italic>1309.5</italic></td>
<td align="center" valign="top"><italic>0.8929</italic></td>
<td align="center" valign="top"><italic>0.0285</italic></td>
<td align="center" valign="top"><italic>4300.5</italic></td>
<td align="center" valign="top"><italic>0.6833</italic></td>
<td align="center" valign="top"><italic>0.0805</italic></td>
<td align="center" valign="top"><italic>21081</italic></td>
<td align="center" valign="top"><italic>0.0493</italic></td>
<td align="center" valign="top"><italic>0.2445</italic></td>
<td align="center" valign="top"><italic>8973.2</italic></td>
<td align="center" valign="top"><italic>0.1779</italic></td>
<td align="center" valign="top"><italic>0.5819</italic></td>
<td align="center" valign="top"><italic>6155.6</italic></td>
<td align="center" valign="top"><italic>0.5859</italic></td></tr>
<tr content-type="background-color:#9FD3A4">
<td align="center" valign="top"><bold><italic>ED-TML</italic></bold></td>
<td align="center" valign="top"><italic>0.9209</italic></td>
<td align="center" valign="top"><italic>217.1</italic></td>
<td align="center" valign="top"><italic>0.9855</italic></td>
<td align="center" valign="top"><italic>0.0001</italic></td>
<td align="center" valign="top"><italic>1456.4</italic></td>
<td align="center" valign="top"><italic>0.7669</italic></td>
<td align="center" valign="top"><italic>0.4428</italic></td>
<td align="center" valign="top"><italic>15527</italic></td>
<td align="center" valign="top"><italic>0.3411</italic></td>
<td align="center" valign="top"><italic>0.4355</italic></td>
<td align="center" valign="top"><italic>7154.3</italic></td>
<td align="center" valign="top"><italic>0.2805</italic></td>
<td align="center" valign="top"><italic>0.0324</italic></td>
<td align="center" valign="top"><italic>9874.3</italic></td>
<td align="center" valign="top"><italic>0.2507</italic></td></tr>
<tr content-type="background-color:#9FD3A4">
<td align="center" valign="top"><bold><italic>DE-CNN</italic></bold></td>
<td align="center" valign="top"><italic>0.4545</italic></td>
<td align="center" valign="top"><italic>4351.2</italic></td>
<td align="center" valign="top"><italic>0.8914</italic></td>
<td align="center" valign="top"><italic>0.5863</italic></td>
<td align="center" valign="top"><italic>2607.0</italic></td>
<td align="center" valign="top"><italic>0.7720</italic></td>
<td align="center" valign="top"><italic>0.5736</italic></td>
<td align="center" valign="top"><italic>14037</italic></td>
<td align="center" valign="top"><italic>0.5946</italic></td>
<td align="center" valign="top"><italic>0.5081</italic></td>
<td align="center" valign="top"><italic>10093.</italic></td>
<td align="center" valign="top"><italic>0.4975</italic></td>
<td align="center" valign="top"><italic>0.3885</italic></td>
<td align="center" valign="top"><italic>10060.</italic></td>
<td align="center" valign="top"><italic>0.3500</italic></td></tr>
<tr content-type="background-color:#9FD3A4">
<td align="center" valign="top"><bold><italic>ES-CNN</italic></bold></td>
<td align="center" valign="top"><italic>0.9632</italic></td>
<td align="center" valign="top"><italic>94.6</italic></td>
<td align="center" valign="top"><italic>0.9926</italic></td>
<td align="center" valign="top"><italic>0.8735</italic></td>
<td align="center" valign="top"><italic>436.0</italic></td>
<td align="center" valign="top"><italic>0.9898</italic></td>
<td align="center" valign="top"><italic>0.7461</italic></td>
<td align="center" valign="top"><italic>7120</italic></td>
<td align="center" valign="top"><italic>0.7693</italic></td>
<td align="center" valign="top"><italic>0.7798</italic></td>
<td align="center" valign="top"><italic>3456.5</italic></td>
<td align="center" valign="top"><italic>0.8675</italic></td>
<td align="center" valign="top"><italic>0.6382</italic></td>
<td align="center" valign="top"><italic>5427.3</italic></td>
<td align="center" valign="top"><italic>0.6819</italic></td></tr>
<tr content-type="background-color:#9FD3A4">
<td align="center" valign="top"><bold><italic>XAVIER</italic></bold></td>
<td align="center" valign="top"><italic>0.9059</italic></td>
<td align="center" valign="top"><italic>263.1</italic></td>
<td align="center" valign="top"><italic>0.9825</italic></td>
<td align="center" valign="top"><italic>0.8730</italic></td>
<td align="center" valign="top"><italic>436.7</italic></td>
<td align="center" valign="top"><italic>0.9899</italic></td>
<td align="center" valign="top"><italic>0.7251</italic></td>
<td align="center" valign="top"><italic>7547</italic></td>
<td align="center" valign="top"><italic>0.7780</italic></td>
<td align="center" valign="top"><italic>0.6224</italic></td>
<td align="center" valign="top"><italic>5686.0</italic></td>
<td align="center" valign="top"><italic>0.6947</italic></td>
<td align="center" valign="top"><italic>0.5615</italic></td>
<td align="center" valign="top"><italic>6356.8</italic></td>
<td align="center" valign="top"><italic>0.6106</italic></td></tr>
<tr content-type="background-color:#9FD3A4">
<td align="center" valign="top"><bold><italic>ABC-CNN</italic></bold></td>
<td align="center" valign="top"><bold><italic>0.9754</italic></bold></td>
<td align="center" valign="top"><bold><italic>62.0</italic></bold></td>
<td align="center" valign="top"><bold><italic>0.9954</italic></bold></td>
<td align="center" valign="top"><bold><italic>1.0000</italic></bold></td>
<td align="center" valign="top"><bold><italic>0.0</italic></bold></td>
<td align="center" valign="top"><bold><italic>1.0000</italic></bold></td>
<td align="center" valign="top"><bold><italic>0.8609</italic></bold></td>
<td align="center" valign="top"><bold><italic>4006</italic></bold></td>
<td align="center" valign="top"><bold><italic>0.8614</italic></bold></td>
<td align="center" valign="top"><bold><italic>0.8936</italic></bold></td>
<td align="center" valign="top"><bold><italic>1622.6</italic></bold></td>
<td align="center" valign="top"><bold><italic>0.9160</italic></bold></td>
<td align="center" valign="top"><bold><italic>0.6610</italic></bold></td>
<td align="center" valign="top"><bold><italic>5157.5</italic></bold></td>
<td align="center" valign="top"><bold><italic>0.6768</italic></bold></td></tr></tbody></table></table-wrap></sec></back></article>
