<?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/s91210044</article-id>
<article-id pub-id-type="publisher-id">sensors-09-10044</article-id>
<article-categories>
<subj-group>
<subject>Article</subject></subj-group></article-categories>
<title-group>
<article-title>Real-Time Accumulative Computation Motion Detectors</article-title></title-group>
<contrib-group>
<contrib contrib-type="author">
<name><surname>Fernández-Caballero</surname><given-names>Antonio</given-names></name><xref ref-type="aff" rid="af1-sensors-09-10044"><sup>1</sup></xref><xref ref-type="aff" rid="af2-sensors-09-10044"><sup>2</sup></xref><xref ref-type="corresp" rid="c1-sensors-09-10044"><sup>*</sup></xref></contrib>
<contrib contrib-type="author">
<name><surname>López</surname><given-names>María Teresa</given-names></name><xref ref-type="aff" rid="af1-sensors-09-10044"><sup>1</sup></xref><xref ref-type="aff" rid="af3-sensors-09-10044"><sup>3</sup></xref></contrib>
<contrib contrib-type="author">
<name><surname>Castillo</surname><given-names>José Carlos</given-names></name><xref ref-type="aff" rid="af1-sensors-09-10044"><sup>1</sup></xref></contrib>
<contrib contrib-type="author">
<name><surname>Maldonado-Bascón</surname><given-names>Saturnino</given-names></name><xref ref-type="aff" rid="af4-sensors-09-10044"><sup>4</sup></xref></contrib></contrib-group>
<aff id="af1-sensors-09-10044">
<label>1</label> Instituto de Investigación en Informática de Albacete, 02071-Albacete, Spain; E-Mails: <email>mlopez@dsi.uclm.es</email> (M.T.L.); <email>josecarlos@dsi.uclm.es</email> (J.C.C.)</aff>
<aff id="af2-sensors-09-10044">
<label>2</label> Departamento de Sistemas Informáticos, Escuela de Ingeníeros Industrials de Albacete, Universidad de Castilla-La Mancha, 02071-Albacete, Spain</aff>
<aff id="af3-sensors-09-10044">
<label>3</label> Departamento de Sistemas Informáticos, Escuela Superior de Ingeniería Informática, Universidad de Castilla-La Mancha, 02071-Albacete, Spain</aff>
<aff id="af4-sensors-09-10044">
<label>4</label> Department of Signal Theory and Communications, Escuela Politécnica Superior, Universidad de Alcalá, 28871-Alcalá de Henares, Madrid, Spain; E-Mail: <email>saturnino.maldonado@uah.es</email></aff>
<author-notes>
<corresp id="c1-sensors-09-10044">
<label>*</label>Author to whom correspondence should be addressed; E-Mail: <email>caballer@dsi.uclm.es</email>.</corresp></author-notes>
<pub-date pub-type="collection">
<year>2009</year></pub-date>
<pub-date pub-type="epub">
<day>10</day>
<month>12</month>
<year>2009</year></pub-date>
<volume>9</volume>
<issue>12</issue>
<fpage>10044</fpage>
<lpage>10065</lpage>
<history>
<date date-type="received">
<day>28</day>
<month>10</month>
<year>2009</year></date>
<date date-type="rev-recd">
<day>24</day>
<month>11</month>
<year>2009</year></date>
<date date-type="accepted">
<day>30</day>
<month>11</month>
<year>2009</year></date></history>
<permissions>
<copyright-statement>© 2009 by the authors; licensee Molecular Diversity Preservation International, Basel, Switzerland.</copyright-statement>
<copyright-year>2009</copyright-year>
<license>
<p>This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution license (http://creativecommons.org/licenses/by/3.0/).</p></license></permissions>
<abstract>
<p>The neurally inspired accumulative computation (AC) method and its application to motion detection have been introduced in the past years. This paper revisits the fact that many researchers have explored the relationship between neural networks and finite state machines. Indeed, finite state machines constitute the best characterized computational model, whereas artificial neural networks have become a very successful tool for modeling and problem solving. The article shows how to reach real-time performance after using a model described as a finite state machine. This paper introduces two steps towards that direction: (a) A simplification of the general AC method is performed by formally transforming it into a finite state machine. (b) A hardware implementation in FPGA of such a designed AC module, as well as an 8-AC motion detector, providing promising performance results. We also offer two case studies of the use of AC motion detectors in surveillance applications, namely infrared-based people segmentation and color-based people tracking, respectively.</p></abstract>
<kwd-group>
<kwd>accumulative computation</kwd>
<kwd>finite state automata</kwd>
<kwd>real-time</kwd>
<kwd>motion detection</kwd></kwd-group></article-meta></front>
<body>
<sec sec-type="intro">
<label>1.</label>
<title>Introduction</title>
<p>Motion analysis in image sequences is a constantly growing discipline due to the great number of applications in which it plays a primordial key function. Moreover, optical flow in monocular video can serve as a key for recognizing and tracking moving objects, as flow data contains richer information and in experiments can successfully track difficult sequences [<xref ref-type="bibr" rid="b1-sensors-09-10044">1</xref>]. In this sense, recently some approaches have used optical-flow processing systems to analyze motion in video sequences in real-time [<xref ref-type="bibr" rid="b2-sensors-09-10044">2</xref>, <xref ref-type="bibr" rid="b3-sensors-09-10044">3</xref>]. Some outstanding approaches to motion detection are biologically (neurally) inspired (e.g., [<xref ref-type="bibr" rid="b4-sensors-09-10044">4</xref>–<xref ref-type="bibr" rid="b8-sensors-09-10044">8</xref>]). Also in the last few years, the neurally inspired accumulative computation (AC) method [<xref ref-type="bibr" rid="b9-sensors-09-10044">9</xref>–<xref ref-type="bibr" rid="b12-sensors-09-10044">12</xref>] and its application to motion detection have been introduced [<xref ref-type="bibr" rid="b13-sensors-09-10044">13</xref>–<xref ref-type="bibr" rid="b15-sensors-09-10044">15</xref>]. Currently our research team is involved in implementing the method into real-time in order to provide efficient performance in visual surveillance applications [<xref ref-type="bibr" rid="b16-sensors-09-10044">16</xref>–<xref ref-type="bibr" rid="b18-sensors-09-10044">18</xref>].</p>
<p>In this sense, many researchers have explored the relation between discrete-time neural networks and finite state machines, either by showing their computational equivalence or by training them to perform as finite state recognizers from example [<xref ref-type="bibr" rid="b19-sensors-09-10044">19</xref>]. The relationship between discrete-time neural networks and finite state machines has very deep roots [<xref ref-type="bibr" rid="b20-sensors-09-10044">20</xref>–<xref ref-type="bibr" rid="b22-sensors-09-10044">22</xref>]. The early papers mentioned show the equivalence of these neural networks with threshold linear units, having step-like transfer functions, and some classes of finite state machines. More recently, some researchers have studied the close relationships more in detail [<xref ref-type="bibr" rid="b23-sensors-09-10044">23</xref>, <xref ref-type="bibr" rid="b24-sensors-09-10044">24</xref>], as well as the combination of connectionist and finite state models into hybrid techniques [<xref ref-type="bibr" rid="b25-sensors-09-10044">25</xref>, <xref ref-type="bibr" rid="b26-sensors-09-10044">26</xref>]. From the excellent survey on the work by [<xref ref-type="bibr" rid="b24-sensors-09-10044">24</xref>] that has established a connection between finite state machines and neural networks, we highlight some predominant ideas. Firstly, consider that finite state machines constitute the best characterized computational model, whereas artificial neural networks have become a very successful tool for modeling and problem solving. And indeed, the fields of neural networks and finite state computation started simultaneously. A McCulloch-Pitts net [<xref ref-type="bibr" rid="b20-sensors-09-10044">20</xref>] really is a finite state of interconnected McCulloch-Pitts neurons. Kleene [<xref ref-type="bibr" rid="b21-sensors-09-10044">21</xref>] formalized the sets of input sequences that led a McCulloch-Pitts network to a given state, and later, Minsky [<xref ref-type="bibr" rid="b22-sensors-09-10044">22</xref>] showed that any finite state machine can be simulated by a discrete-time neural net using McCulloch-Pitts units. During the last decades specialized algorithms even have extracted finite state machines from the dynamics of discrete-time neural networks [<xref ref-type="bibr" rid="b27-sensors-09-10044">27</xref>–<xref ref-type="bibr" rid="b30-sensors-09-10044">30</xref>]. Now, also consider the fact that the use of neural networks for sequence processing tasks has a very important advantage: neural networks are adaptive and may be trained to perform sequence processing tasks from examples. An important issue in the motivation of this paper is that the performance of neural networks—especially during learning phase—can be enhanced by encoding a priori knowledge about the problem directly into the networks [<xref ref-type="bibr" rid="b31-sensors-09-10044">31</xref>, <xref ref-type="bibr" rid="b32-sensors-09-10044">32</xref>]. This knowledge can be encoded into a neural network by means of finite state automata rules [<xref ref-type="bibr" rid="b33-sensors-09-10044">33</xref>].</p>
<p>Our experience up to date has shown that most applications in computer vision, and more specifically in motion detection through AC, offer good results with the same values of the parameters of the model. The article shows how to reach real-time performance after using a model described as a finite state machine. The two steps towards that direction are: (a) A simplification of the general AC method is performed by formally transforming it into a finite state machine. (b) A hardware implementation of such a designed AC module, as well as an 8-AC motion detector, providing promising performance results. The rest of the paper is structured as follows. Section 2. revisits the AC method in motion detection. Then, section 3. introduces the simplified model for AC in form of a finite state automaton. Section 4. depicts the real-time hardware implementation of motion-detection AC modules obtained from the previous formal model. Lastly, 5. and 6. are the Data and results and Conclusions sections, respectively.</p></sec>
<sec>
<label>2.</label>
<title>Accumulative Computation (AC) in Motion Detection</title>
<sec>
<label>2.1.</label>
<title>Classical Motion Detection Approaches</title>
<p>The two main problems in motion analysis in image sequences are the correspondence and the aperture problem. The correspondence problem, well exposed by Duda and Hart [<xref ref-type="bibr" rid="b34-sensors-09-10044">34</xref>], is related to the relation velocity-sampling rate, and defines two broad research lines. The first one consists in studying two consecutive images in a static manner and then analyzing how some significant pixels have moved between both frames. The second line consists in locally studying each pixel and its neighborhood along time. The aperture problem, also broadly treated [<xref ref-type="bibr" rid="b35-sensors-09-10044">35</xref>–<xref ref-type="bibr" rid="b40-sensors-09-10044">40</xref>] is related to the task of associating the apparent movement in the environment of a concrete pixel with the real movement of the element to which this pixel belongs. The complexity of the problem increases in three-dimensional scenes [<xref ref-type="bibr" rid="b41-sensors-09-10044">41</xref>].</p>
<p>Models based on local motion detection face the correspondence problem considering that a pixel in time <italic>t</italic> + Δ<italic>t</italic> is close to the same pixel in time instant <italic>t</italic>. These models are usually based on gradient analysis or local correlation. Some gradient analysis models calculate the velocity using the spatial-temporal derivative of the brightness in a pixel and its immediate environment. Among this type of models we can highlight the direction selectivity model of Marr and Ullman [<xref ref-type="bibr" rid="b37-sensors-09-10044">37</xref>], which obtains the direction of motion but not the velocity. Lawton's motion direction prediction model [<xref ref-type="bibr" rid="b42-sensors-09-10044">42</xref>] calculates the direction of the velocity from the gradient. Fennema and Thompson [<xref ref-type="bibr" rid="b35-sensors-09-10044">35</xref>] calculate the velocity using the gradient, but they impose restrictions on velocity and gray level. The most extended model of this family is the optical flow, proposed by Horn and Schunck [<xref ref-type="bibr" rid="b36-sensors-09-10044">36</xref>], which calculates the apparent velocity of each pixel using the spatial and temporal gradient of the brightness in each pixel. This model imposes the uniformity constraint, and the non-existence of spatial discontinuities in the shapes.</p>
<p>Correlation based models [<xref ref-type="bibr" rid="b43-sensors-09-10044">43</xref>, <xref ref-type="bibr" rid="b44-sensors-09-10044">44</xref>] are usually based on correlating the brightness of a pixel and its closer neighbors along time. Some of them are the relational selectivity model of Reichardt and Hassenstein [<xref ref-type="bibr" rid="b43-sensors-09-10044">43</xref>] or the direction selectivity model of Barlow and Levick [<xref ref-type="bibr" rid="b44-sensors-09-10044">44</xref>], which calculate the direction of velocity by comparing the input value with the previous one and with the neighbors. Another group of this type of models is based on spatio-temporal energy [<xref ref-type="bibr" rid="b45-sensors-09-10044">45</xref>, <xref ref-type="bibr" rid="b46-sensors-09-10044">46</xref>]. In Heeger's model [<xref ref-type="bibr" rid="b46-sensors-09-10044">46</xref>] image sequences are represented as a three-dimensional space, two spatial and one temporal, which calculates the velocity by means of three-dimensional filters. The model of human vision of Watson and Ahumada [<xref ref-type="bibr" rid="b47-sensors-09-10044">47</xref>] is correlational but uses biologically inspired tools.</p>
<p>There are also models based on the uniformity restriction. These impose that the moving objects velocity fields vary uniformly, since objects usually have uniform surfaces. They analyze local velocity fields to obtain information about the real velocity of the objects. Some examples are the visual motion measurement model of Hildreth [<xref ref-type="bibr" rid="b39-sensors-09-10044">39</xref>], the neural networks primary vision model of Koch, Marroquin and Yuille [<xref ref-type="bibr" rid="b48-sensors-09-10044">48</xref>], and, the model of computational theory for the perception of the coherent visual motion of Yuille and Grzywacz [<xref ref-type="bibr" rid="b49-sensors-09-10044">49</xref>].</p></sec>
<sec>
<label>2.2.</label>
<title>Description of Accumulative Computation</title>
<p>The method proposed, based on the effect called permanency [<xref ref-type="bibr" rid="b50-sensors-09-10044">50</xref>], is performed on those sensor pixels where motion is detected during a time interval [<italic>t</italic> − Δ<italic>t, t</italic>], where Δ<italic>t</italic> is the maximum time between the total discharge and the saturation associated to each pixel of the input image sensor. The concept of permanency, associated to pixel (<italic>i, j</italic>) is related to the time elapsed with no variation in the image input signal <italic>I</italic>(<italic>i, j; t</italic>) on this pixel. The variable associated to the permanency concept is defined as the accumulative computation charge. This is the main difference of our method compared to other motion analysis methods related to the optical flow In other approaches, the analysis is only performed on image pixels where motion has taken place in the present time <italic>t</italic>.</p>
<p>The AC approach is neurally inspired. Usually the time evolution of the neuron membrane potential is modeled by a first order differential equation known as the “leaky integrator model”. A different way of modeling time evolution of membrane potential is to consider the membrane as a local working memory in which neither the triggering conditions nor the way in which the potential tries to return to its input-free equilibrium value, needs to be restricted to thresholds and exponential increases and decays. This type of working memory is characterized by the possibility of controlling its charge and discharge dynamics in terms of:
<list list-type="order">
<list-item>
<p>The presence of specific spatio-temporal features with values over a certain threshold.</p></list-item>
<list-item>
<p>The persistency in the presence of these features.</p></list-item>
<list-item>
<p>The increment or decrement values (±<italic>δQ</italic>) in the accumulated state of activity of each feature and the corresponding current value, <italic>Q</italic>(<italic>t</italic>).</p></list-item>
<list-item>
<p>The control and learning mechanisms.</p></list-item></list></p>
<p>The upper part of <xref ref-type="fig" rid="f1-sensors-09-10044">Figure 1</xref> shows the AC model's block diagram. The lower part of <xref ref-type="fig" rid="f1-sensors-09-10044">Figure 1</xref> illustrates the temporal evolution of the state of the charge in an AC working memory in front of a particular one-dimensional stimuli sequence. From [<xref ref-type="bibr" rid="b9-sensors-09-10044">9</xref>, <xref ref-type="bibr" rid="b10-sensors-09-10044">10</xref>] we reformulate the equations of the AC method as formulated for the motion detection task. Firstly, <xref rid="FD1" ref-type="disp-formula">Equation (1)</xref> covers the need to segment each input image <italic>I</italic> into a preset group of gray level bands (<italic>N</italic>).</p>
<disp-formula id="FD1">
<label>(1)</label>
<mml:math id="mm1" display="block">
<mml:semantics id="sm1">
<mml:mrow>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>k</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>;</mml:mo>
<mml:mi>t</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:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mspace width="0.3em"/>
<mml:mtext>if</mml:mtext>
<mml:mspace width="0.3em"/>
<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>;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>∈</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mn>256</mml:mn></mml:mrow>
<mml:mi>N</mml:mi></mml:mfrac>
<mml:mo>⋅</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>256</mml:mn></mml:mrow>
<mml:mi>N</mml:mi></mml:mfrac>
<mml:mo>⋅</mml:mo>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>−</mml:mo>
<mml:mn>1</mml:mn></mml:mrow>
<mml:mo stretchy="false">]</mml:mo></mml:mrow></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:mspace width="0.3em"/>
<mml:mtext>otherwise</mml:mtext></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mrow></mml:mrow></mml:semantics></mml:math></disp-formula>
<p>This formula assigns pixel (<italic>i, j</italic>) to gray level band <italic>k</italic>. Then, the accumulated charge value related to motion detection at each input image pixel is obtained, as shown in <xref rid="FD2" ref-type="disp-formula">formula (2)</xref>:
<disp-formula id="FD2">
<label>(2)</label>
<mml:math id="mm2" display="block">
<mml:semantics id="sm2">
<mml:mrow>
<mml:msub>
<mml:mi>Q</mml:mi>
<mml:mi>k</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>;</mml:mo>
<mml:mi>t</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:mo mathvariant="italic">min</mml:mo></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mtext>if</mml:mtext>
<mml:mspace width="0.3em"/>
<mml:msub>
<mml:mtext mathvariant="italic">I</mml:mtext>
<mml:mi>k</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>;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mn>0</mml:mn></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mo mathvariant="italic">max</mml:mo></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mtext>if</mml:mtext>
<mml:mspace width="0.3em"/>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mtext mathvariant="italic">I</mml:mtext>
<mml:mi>k</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>;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo stretchy="false">)</mml:mo>
<mml:mspace width="0.5em"/>
<mml:mtext mathvariant="italic">AND</mml:mtext>
<mml:mspace width="0.5em"/>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mtext mathvariant="italic">I</mml:mtext>
<mml:mi>k</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>;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>−</mml:mo>
<mml:mi mathvariant="normal">Δ</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mo>max</mml:mo>
<mml:mo stretchy="false">[</mml:mo>
<mml:msub>
<mml:mi>Q</mml:mi>
<mml:mi>k</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>;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>−</mml:mo>
<mml:mi mathvariant="normal">Δ</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>−</mml:mo>
<mml:mi>δ</mml:mi>
<mml:mi>Q</mml:mi>
<mml:mo>,</mml:mo>
<mml:mo mathvariant="italic">min</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">]</mml:mo></mml:mrow></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mtext>if</mml:mtext>
<mml:mspace width="0.3em"/>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>k</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>;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo stretchy="false">)</mml:mo>
<mml:mspace width="0.5em"/>
<mml:mtext mathvariant="italic">AND</mml:mtext>
<mml:mspace width="0.5em"/>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>k</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>;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>−</mml:mo>
<mml:mi mathvariant="normal">Δ</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mrow></mml:mrow></mml:semantics></mml:math></disp-formula></p>
<p>The charge value at pixel (<italic>i, j</italic>) is discharged down to <italic>min</italic> when no motion information is available, is saturated to <italic>max</italic> when motion is detected at <italic>t</italic>, and, is decremented by a value δ<italic>Q</italic> when motion goes on being detected in consecutive intervals <italic>t</italic> and <italic>t</italic> − Δ<italic>t</italic>.</p></sec></sec>
<sec>
<label>3.</label>
<title>Simplified Model for AC in Motion Detection</title>
<p>The control knowledge is described extensively by means of a finite automaton in which the state space is constituted from the set of distinguishable situations in the state of accumulated charge in a local memory [<xref ref-type="bibr" rid="b11-sensors-09-10044">11</xref>]. Thus, we distinguish <italic>N</italic> + 1 states <italic>S</italic><sub>0</sub>, <italic>S</italic><sub>1</sub>, …, <italic>S<sub>N</sub></italic>, where <italic>S</italic><sub>0</sub> is the state corresponding to the totally discharged local memory (<italic>min</italic>; in general <italic>min</italic> = 0), <italic>S<sub>N</sub></italic> is the state of complete charge and the rest are the <italic>N</italic> − 1 intermediate charge states (<italic>S<sub>int</sub></italic>) between <italic>min</italic> and <italic>max</italic>.</p>
<sec>
<label>3.1.</label>
<title>Initial Model</title>
<p>Let us suppose, without loss of generality, that it is enough to distinguish eight levels of accumulated charge (<italic>N</italic> = 8) and, consequently, that we can use as a model of the control underlying the inferential scheme that describes the data flow corresponding to the calculation of this subtask an 8 states automaton (<italic>S</italic><sub>0</sub>, <italic>S</italic><sub>1</sub>, …, <italic>S</italic><sub>7</sub>), where <italic>S</italic><sub>0</sub> corresponds to <italic>min</italic> and <italic>S</italic><sub>7</sub> to <italic>max</italic>. Let us also suppose that discharge (<italic>δQ</italic> = 1) takes the values corresponding to the descent of one state.</p>
<p>Now, the aim is to detect the temporal and local (pixel to pixel) contrasts of pairs of consecutive binarised images at gray level <italic>k</italic>. The subtask firstly gets as input data the values of the 256 gray level input pixels and generates <italic>N</italic> = 8 binary images, <italic>I<sub>k</sub></italic>(<italic>i, j; t</italic>). The output space has a FIFO memory structure with two levels, one for the current value and another one for the previous instant value. Thus, for <italic>N</italic> bands, there are 2<italic>N</italic> = 16 binary values for each input pixel; at each band there is the current value <italic>I<sub>k</sub></italic>(<italic>i, j; t</italic>) and the previous value <italic>I<sub>k</sub></italic>(<italic>i, j; t</italic> − Δ<italic>t</italic>), such that <xref rid="FD1" ref-type="disp-formula">Equation (1)</xref> turns into:
<disp-formula id="FD3">
<label>(3)</label>
<mml:math id="mm3" display="block">
<mml:semantics id="sm3">
<mml:mrow>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>k</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>;</mml:mo>
<mml:mi>t</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:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mspace width="0.3em"/>
<mml:mtext>if</mml:mtext>
<mml:mspace width="0.3em"/>
<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>;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>∈</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>32</mml:mn>
<mml:mo>⋅</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>32</mml:mn>
<mml:mo>⋅</mml:mo>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>−</mml:mo>
<mml:mn>1</mml:mn></mml:mrow>
<mml:mo stretchy="false">]</mml:mo></mml:mrow></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:mspace width="0.3em"/>
<mml:mtext>otherwise</mml:mtext></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mrow></mml:mrow></mml:semantics></mml:math></disp-formula>where <italic>k</italic> = 0, 1, …, 7, is the band index. Thus, we are in front of a vector quantization (scalar quantization) algorithm generally called multilevel thresholding. As well as segmentation in two gray level bands is a usual thing, here we are in front of a refinement to the segmentation in <italic>N</italic> = 8 gray level bands. Thus, multilevel thresholding is a process that segments a gray-level image into several distinct regions. <xref ref-type="fig" rid="f2-sensors-09-10044">Figure 2</xref> shows the state transition diagram corresponding to the different inputs and outputs. The following situations can be observed:
<list list-type="order">
<list-item>
<p><italic>I<sub>k</sub></italic>(<italic>i, j; t</italic> − Δ<italic>t</italic>) = {0, 1}, <italic>I<sub>k</sub></italic>(<italic>i, j; t</italic>) = 0</p>
<p>In this case the calculation element (<italic>i, j</italic>) is not able to detect any contrast with respect to the input of a moving object in that band (<italic>I<sub>k</sub></italic>(<italic>i, j; t</italic>) = 0). It may have detected it (or not) in the previous interval (<italic>I<sub>k</sub></italic>(<italic>i, j; t</italic> − Δ<italic>t</italic>) = 1, <italic>I<sub>k</sub></italic>(<italic>i, j; t</italic>) = 0). In any case, the element passes to state S<sub>0</sub>, the state of complete discharge, independently of which was the initial state.</p></list-item>
<list-item>
<p><italic>I<sub>k</sub></italic>(<italic>i, j; t</italic> − Δ<italic>t</italic>) = 0, <italic>I<sub>k</sub></italic>(<italic>i, j; t</italic>) = 1</p>
<p>The calculation element has detected in <italic>t</italic> a contrast in its band (<italic>I<sub>k</sub></italic>(<italic>i, j; t</italic>) = 1), and it did not in the previous interval (<italic>I<sub>k</sub></italic>(<italic>i, j; t</italic> − Δ<italic>t</italic>) = 0). It passes to state S<sub>7</sub>, the state of total charge, independently of which was the previous state.</p></list-item>
<list-item>
<p><italic>I<sub>k</sub></italic>(<italic>i, j; t</italic> − Δ<italic>t</italic>) = 1, <italic>I<sub>k</sub></italic>(<italic>i, j; t</italic>) = 1</p>
<p>The calculation element has detected the presence of an object in its band (<italic>I<sub>k</sub></italic>(<italic>i, j; t</italic>) = 1), and it had also detected it in the previous interval (<italic>I<sub>k</sub></italic>(<italic>i, j; t</italic> − Δ<italic>t</italic>) = 1). In this case, it diminishes its charge value in a certain value, <italic>δQ</italic>. This discharge - partial discharge - can proceed from an initial state of saturation <italic>S</italic><sub>7</sub>, or from some intermediate state (<italic>S</italic><sub>6</sub>, …, <italic>S</italic><sub>1</sub>). This partial discharge due to the persistence of the object in that position and in that band, is described by means of a transition from <italic>S</italic><sub>7</sub> to an intermediate state, <italic>S<sub>int</sub></italic>, without arriving to the discharge, <italic>S</italic><sub>0</sub>. The descent in the element's state is equivalent to the descent in the pixel's charge, as you may appreciate on <xref ref-type="fig" rid="f2-sensors-09-10044">Figure 2</xref>.</p></list-item></list></p></sec>
<sec>
<label>3.2.</label>
<title>Hysteresis Bands</title>
<p>The presented scheme suffers from low performance when a pixel is in the border of two bands. In this situation, a pixel with a mean value in the border of two bands and some noise that makes the pixel change from one band to another close band, activates the stimuli sequence and, consequently, motion is detected when there is no real motion in the scene.</p>
<p>However the scheme can be slightly modified to overcome this problem. Indeed, the previous scheme can be modified to take into account a hysteresis cycle defined through 
<inline-formula>
<mml:math id="mm4">
<mml:semantics id="sm4">
<mml:mrow>
<mml:msubsup>
<mml:mi>I</mml:mi>
<mml:mi>k</mml:mi>
<mml:mrow>
<mml:mo>+</mml:mo>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:semantics></mml:math></inline-formula> and 
<inline-formula>
<mml:math id="mm5">
<mml:semantics id="sm5">
<mml:mrow>
<mml:msubsup>
<mml:mi>I</mml:mi>
<mml:mi>k</mml:mi>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:semantics></mml:math></inline-formula>.</p>
<disp-formula id="FD4">
<label>(4)</label>
<mml:math id="mm6" display="block">
<mml:semantics id="sm6">
<mml:mrow>
<mml:msubsup>
<mml:mi>I</mml:mi>
<mml:mi>k</mml:mi>
<mml:mrow>
<mml:mo>+</mml:mo>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi></mml:mrow></mml:msubsup>
<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>t</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:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mspace width="0.3em"/>
<mml:mtext>if</mml:mtext>
<mml:mspace width="0.3em"/>
<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>;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>∈</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mn>256</mml:mn></mml:mrow>
<mml:mi>N</mml:mi></mml:mfrac>
<mml:mo>⋅</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>+</mml:mo>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>256</mml:mn></mml:mrow>
<mml:mi>N</mml:mi></mml:mfrac>
<mml:mo>⋅</mml:mo>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>−</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>+</mml:mo>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi></mml:mrow>
<mml:mo stretchy="false">]</mml:mo></mml:mrow></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:mspace width="0.3em"/>
<mml:mtext>otherwise</mml:mtext></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mrow></mml:mrow></mml:semantics></mml:math></disp-formula>
<disp-formula id="FD5">
<label>(5)</label>
<mml:math id="mm7" display="block">
<mml:semantics id="sm7">
<mml:mrow>
<mml:msubsup>
<mml:mtext mathvariant="italic">I</mml:mtext>
<mml:mi>k</mml:mi>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mtext mathvariant="italic">t</mml:mtext>
<mml:mi>h</mml:mi></mml:mrow></mml:msubsup>
<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>t</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:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mspace width="0.3em"/>
<mml:mtext>if</mml:mtext>
<mml:mspace width="0.3em"/>
<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>;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>∈</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mn>256</mml:mn></mml:mrow>
<mml:mi>N</mml:mi></mml:mfrac>
<mml:mo>⋅</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>−</mml:mo>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>256</mml:mn></mml:mrow>
<mml:mi>N</mml:mi></mml:mfrac>
<mml:mo>⋅</mml:mo>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>−</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>−</mml:mo>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi></mml:mrow>
<mml:mo stretchy="false">]</mml:mo></mml:mrow></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:mspace width="0.3em"/>
<mml:mtext>otherwise</mml:mtext></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mrow></mml:mrow></mml:semantics></mml:math></disp-formula>
<p>In this case the accumulated charge for band <italic>k</italic> is now rewritten as:
<disp-formula id="FD6">
<label>(6)</label>
<mml:math id="mm8" display="block">
<mml:semantics id="sm8">
<mml:mrow>
<mml:msub>
<mml:mi>Q</mml:mi>
<mml:mi>k</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>;</mml:mo>
<mml:mi>t</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:mo mathvariant="italic">min</mml:mo></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mspace width="0.3em"/>
<mml:mtext>if</mml:mtext>
<mml:mspace width="0.3em"/>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>k</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>;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo stretchy="false">)</mml:mo>
<mml:mspace width="0.5em"/>
<mml:mtext mathvariant="italic">AND</mml:mtext>
<mml:mspace width="0.5em"/>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>k</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>;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>−</mml:mo>
<mml:mi mathvariant="normal">Δ</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mo mathvariant="italic">max</mml:mo></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mspace width="0.3em"/>
<mml:mtext>if</mml:mtext>
<mml:mspace width="0.3em"/>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>k</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>;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo stretchy="false">)</mml:mo>
<mml:mspace width="0.5em"/>
<mml:mtext mathvariant="italic">AND</mml:mtext>
<mml:mspace width="0.5em"/>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>k</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>;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>−</mml:mo>
<mml:mi mathvariant="normal">Δ</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo stretchy="false">)</mml:mo>
<mml:mspace width="0.5em"/>
<mml:mtext mathvariant="italic">AND</mml:mtext>
<mml:mspace width="0.5em"/>
<mml:mo stretchy="false">(</mml:mo>
<mml:msubsup>
<mml:mi>I</mml:mi>
<mml:mi>k</mml:mi>
<mml:mrow>
<mml:mo>+</mml:mo>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi></mml:mrow></mml:msubsup>
<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>t</mml:mi>
<mml:mo>−</mml:mo>
<mml:mi mathvariant="normal">Δ</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo stretchy="false">)</mml:mo>
<mml:mspace width="0.5em"/>
<mml:mtext mathvariant="italic">AND</mml:mtext>
<mml:mspace width="0.5em"/>
<mml:mo stretchy="false">(</mml:mo>
<mml:msubsup>
<mml:mi>I</mml:mi>
<mml:mi>k</mml:mi>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi></mml:mrow></mml:msubsup>
<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>t</mml:mi>
<mml:mo>−</mml:mo>
<mml:mi mathvariant="normal">Δ</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mo>max</mml:mo>
<mml:mo stretchy="false">[</mml:mo>
<mml:msub>
<mml:mi>Q</mml:mi>
<mml:mi>k</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>;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>−</mml:mo>
<mml:mi mathvariant="normal">Δ</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>−</mml:mo>
<mml:mi>δ</mml:mi>
<mml:mi>Q</mml:mi>
<mml:mo>,</mml:mo>
<mml:mo mathvariant="italic">min</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">]</mml:mo></mml:mrow></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mspace width="0.3em"/>
<mml:mtext>if</mml:mtext>
<mml:mspace width="0.3em"/>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>k</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>;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo stretchy="false">)</mml:mo>
<mml:mspace width="0.5em"/>
<mml:mtext mathvariant="italic">AND</mml:mtext>
<mml:mspace width="0.5em"/>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>k</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>;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>−</mml:mo>
<mml:mi mathvariant="normal">Δ</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo stretchy="false">)</mml:mo>
<mml:mspace width="0.5em"/>
<mml:mtext mathvariant="italic">AND</mml:mtext>
<mml:mspace width="0.5em"/>
<mml:mo stretchy="false">(</mml:mo>
<mml:msubsup>
<mml:mi>I</mml:mi>
<mml:mi>k</mml:mi>
<mml:mrow>
<mml:mo>+</mml:mo>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi></mml:mrow></mml:msubsup>
<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>t</mml:mi>
<mml:mo>−</mml:mo>
<mml:mi mathvariant="normal">Δ</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo stretchy="false">)</mml:mo>
<mml:mspace width="0.5em"/>
<mml:mtext mathvariant="italic">OR</mml:mtext>
<mml:mspace width="0.5em"/>
<mml:mo stretchy="false">(</mml:mo>
<mml:msubsup>
<mml:mi>I</mml:mi>
<mml:mi>k</mml:mi>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi></mml:mrow></mml:msubsup>
<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>t</mml:mi>
<mml:mo>−</mml:mo>
<mml:mi mathvariant="normal">Δ</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mo mathvariant="italic">max</mml:mo></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mspace width="0.3em"/>
<mml:mtext>if</mml:mtext>
<mml:mspace width="0.3em"/>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>k</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>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo stretchy="false">)</mml:mo>
<mml:mspace width="0.5em"/>
<mml:mtext mathvariant="italic">AND</mml:mtext>
<mml:mspace width="0.5em"/>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>k</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>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>−</mml:mo>
<mml:mi mathvariant="normal">Δ</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo stretchy="false">)</mml:mo>
<mml:mspace width="0.5em"/>
<mml:mtext mathvariant="italic">AND</mml:mtext>
<mml:mspace width="0.5em"/>
<mml:mo stretchy="false">(</mml:mo>
<mml:msubsup>
<mml:mi>I</mml:mi>
<mml:mi>k</mml:mi>
<mml:mrow>
<mml:mo>+</mml:mo>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi></mml:mrow></mml:msubsup>
<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>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo stretchy="false">)</mml:mo>
<mml:mspace width="0.5em"/>
<mml:mtext mathvariant="italic">AND</mml:mtext>
<mml:mspace width="0.5em"/>
<mml:mo stretchy="false">(</mml:mo>
<mml:msubsup>
<mml:mi>I</mml:mi>
<mml:mi>k</mml:mi>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi></mml:mrow></mml:msubsup>
<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>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mo>max</mml:mo>
<mml:mo stretchy="false">[</mml:mo>
<mml:msub>
<mml:mi>Q</mml:mi>
<mml:mi>k</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>;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>−</mml:mo>
<mml:mi mathvariant="normal">Δ</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>−</mml:mo>
<mml:mi>δ</mml:mi>
<mml:mi>Q</mml:mi>
<mml:mo>,</mml:mo>
<mml:mo mathvariant="italic">min</mml:mo>
<mml:mo stretchy="false">]</mml:mo></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mspace width="0.3em"/>
<mml:mtext>if</mml:mtext>
<mml:mspace width="0.3em"/>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>k</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>;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo stretchy="false">)</mml:mo>
<mml:mspace width="0.5em"/>
<mml:mtext mathvariant="italic">AND</mml:mtext>
<mml:mspace width="0.5em"/>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>k</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>;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>−</mml:mo>
<mml:mi mathvariant="normal">Δ</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo stretchy="false">)</mml:mo>
<mml:mspace width="0.5em"/>
<mml:mtext mathvariant="italic">AND</mml:mtext>
<mml:mspace width="0.5em"/>
<mml:mo stretchy="false">(</mml:mo>
<mml:msubsup>
<mml:mi>I</mml:mi>
<mml:mi>k</mml:mi>
<mml:mrow>
<mml:mo>+</mml:mo>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi></mml:mrow></mml:msubsup>
<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>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo stretchy="false">)</mml:mo>
<mml:mspace width="0.5em"/>
<mml:mtext mathvariant="italic">OR</mml:mtext>
<mml:mspace width="0.5em"/>
<mml:mo stretchy="false">(</mml:mo>
<mml:msubsup>
<mml:mi>I</mml:mi>
<mml:mi>k</mml:mi>
<mml:mrow>
<mml:mo>−</mml:mo>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi></mml:mrow></mml:msubsup>
<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>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mo>max</mml:mo>
<mml:mo stretchy="false">[</mml:mo>
<mml:msub>
<mml:mi>Q</mml:mi>
<mml:mi>k</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>;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>−</mml:mo>
<mml:mi mathvariant="normal">Δ</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>−</mml:mo>
<mml:mi>δ</mml:mi>
<mml:mi>Q</mml:mi>
<mml:mo>,</mml:mo>
<mml:mo mathvariant="italic">min</mml:mo>
<mml:mo stretchy="false">]</mml:mo></mml:mrow></mml:mtd>
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mspace width="0.3em"/>
<mml:mtext>if</mml:mtext>
<mml:mspace width="0.3em"/>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>k</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>;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo stretchy="false">)</mml:mo>
<mml:mspace width="0.5em"/>
<mml:mtext mathvariant="italic">AND</mml:mtext>
<mml:mspace width="0.5em"/>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>k</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>;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>−</mml:mo>
<mml:mi mathvariant="normal">Δ</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mrow></mml:mrow></mml:semantics></mml:math></disp-formula>where the parameter <italic>th</italic> selects the hysteresis cycle and allows variations in the interval [<italic>v</italic> + <italic>th, v</italic> − <italic>th</italic>] not to be considered as motion. <italic>th</italic> must be selected according to the noise of the images.</p></sec></sec>
<sec>
<label>4.</label>
<title>Real-time Hardware Implementation of Motion-Detection AC Modules</title>
<p>In order to accelerate their performance, and hence to obtain real-time processing rates, many applications use reconfigurable hardware. More concretely, they are programmed on field programmable gate arrays (FPGAs) [<xref ref-type="bibr" rid="b51-sensors-09-10044">51</xref>, <xref ref-type="bibr" rid="b52-sensors-09-10044">52</xref>]. For instance, the application proposed by Bensaali and Amira [<xref ref-type="bibr" rid="b51-sensors-09-10044">51</xref>] is accelerating the color space conversion between <italic>Y'CrCb</italic> and <italic>RGB</italic> color spaces. In [<xref ref-type="bibr" rid="b52-sensors-09-10044">52</xref>] an implementation of genetic algorithms in FPGA is proposed.</p>
<p>Some of the most recently used FPGA families are Xilinx Virtex-II [<xref ref-type="bibr" rid="b53-sensors-09-10044">53</xref>-<xref ref-type="bibr" rid="b55-sensors-09-10044">55</xref>] and Virtex-E [<xref ref-type="bibr" rid="b56-sensors-09-10044">56</xref>, <xref ref-type="bibr" rid="b57-sensors-09-10044">57</xref>]. [<xref ref-type="bibr" rid="b53-sensors-09-10044">53</xref>] introduces VLSI architectures for the forward 4 × 4 integer approximation of the DCT transform, the 4 × 4 (and 2 × 2) Hadamard transform and quantization that is used as a second level in the transformation hierarchy. In the paper by Moon and Sedaghat [<xref ref-type="bibr" rid="b54-sensors-09-10044">54</xref>], a hardware implementation of an adaptive digital pre-distortion system for radio-over-fiber links is described. [<xref ref-type="bibr" rid="b55-sensors-09-10044">55</xref>] describes an FPGA device for cryptanalysis of a pseudorandom generator that consists of a number of subgenerators. Damaj [<xref ref-type="bibr" rid="b56-sensors-09-10044">56</xref>] explores the effectiveness and extends a formal methodology in the design of massively parallel algorithms. Lastly, [<xref ref-type="bibr" rid="b57-sensors-09-10044">57</xref>] presents a new fully reconfigurable 2D convolver designed for FPGA-based image and video processors.</p>
<p>We also highlight a recent paper [<xref ref-type="bibr" rid="b58-sensors-09-10044">58</xref>] that presents the implementation of a segmentation process to extract the moving objects from image sequence taken from a static camera used for real time vision tasks. The authors use the low cost Spartan-II device.</p>
<p>In this section, we show how a single AC module, as well as its expansion to an 8-module, starting from the description as a finite state machine, has been implemented (see <xref ref-type="fig" rid="f3-sensors-09-10044">Figures 3</xref> and <xref ref-type="fig" rid="f4-sensors-09-10044">4</xref> for the single AC module, and <xref ref-type="fig" rid="f5-sensors-09-10044">Figure 5</xref> for the 8-AC module, respectively). In order to implement the module, the programming has been performed under Very High Speed Integrated Circuit Hardware Description Language (VHDL), and by means of the Xilinx ISE 10.1 tool, the module has been synthesized and implemented in a Xilinx Virtex-5 FPGA. More concretely, the device used is a 5vfx30tff665-1.</p>
<p>In <xref ref-type="table" rid="t1-sensors-09-10044">Table 1</xref>, the temporal results associated to the implementation are shown, and in <xref ref-type="table" rid="t2-sensors-09-10044">Table 2</xref>, the device utilization summary is offered.</p>
<p><xref ref-type="fig" rid="f3-sensors-09-10044">Figure 3</xref> shows the layout of a motion-detection AC module. The inputs to the AC module are:
<list list-type="bullet">
<list-item>
<p><italic>It</italic> is the input value at each pixel at time instant <italic>t</italic>.</p></list-item>
<list-item>
<p><italic>It</italic>_1 is the input value at each pixel at time instant <italic>t</italic> − Δ<italic>t</italic>.</p></list-item>
<list-item>
<p><italic>CLK</italic> is the clock signal to control the automata associated to the AC module.</p></list-item>
<list-item>
<p><italic>RESET</italic> is the signal to reset the AC module.</p></list-item></list></p>
<p>The output <italic>Q_k</italic> is formed by the 24 bits of the charge values corresponding to the 8 bands (3 bits per band).</p>
<p>The same <xref ref-type="fig" rid="f3-sensors-09-10044">Figure 3</xref> includes a series of blocks. There is a block called <italic>Decoders</italic> and 8 <italic>Band</italic>(<italic>k</italic>)_<italic>Q</italic> blocks associated to the 8 bands. The block <italic>Decoders</italic>, composed by 2 decoders, has as inputs 3 bits corresponding to the input at time instant <italic>t</italic> and 3 bits corresponding to the input at time instant <italic>t</italic> − Δ<italic>t</italic>. The output of this block is an 8 bit vector, where a bit value of 1 is assigned to the position corresponding to band <italic>k</italic>. The rest of the bits take a value of 0. For instance, if the input to <italic>Decoders</italic> is 101, the output will be 00100000.</p>
<p>Each one of the 8 <italic>Band</italic>(<italic>k</italic>)_<italic>Q</italic> blocks includes the necessary combinational and sequential part for implementing each band's proper automata. As an example, <xref ref-type="fig" rid="f4-sensors-09-10044">Figure 4</xref> shows the implementation for the automata <italic>Band</italic>(7)_<italic>Q</italic>. The rest of the blocks are very similar.</p>
<p>Now, for the implementation of an 8-module, using the same FPGA (the 5vfx30tff665-1), the results obtained are shown in <xref ref-type="table" rid="t3-sensors-09-10044">Tables 3</xref> and <xref ref-type="table" rid="t4-sensors-09-10044">4</xref>. Notice that each one of the blocks depicted is one AC module as shown in <xref ref-type="fig" rid="f3-sensors-09-10044">Figure 3</xref>.</p>
<p>As the maximum combinational path delay is 4.348 ns, when working with 648 × 480 pixel images, which need 38880 8-AC modules, the results are obtained after 0.167 ms. This performance has to be considered as excellent, enabling working at real-time.</p></sec>
<sec sec-type="methods|results">
<label>5.</label>
<title>Data and Results</title>
<p>In order to validate the usefulness of the AC modules described previously, a couple of case studies of the use of AC motion detectors in surveillance applications, namely infrared-based people segmentation and color-based people tracking, respectively, are introduced in this section. The cases introduced only show a few of many possible uses of our approach.</p>
<sec>
<label>5.1.</label>
<title>Infrared-Based People Segmentation</title>
<p>We have used an infrared surveillance sequence captured by our research team, where different persons appear and disappear in the scene. <xref ref-type="fig" rid="f6-sensors-09-10044">Figure 6</xref> shows the result of the AC detection modules dedicated to one of the eight infrared grey level bands.</p>
<p>Notice that motion not detected in one band is detected in another one. Notice that the background motion is mainly obtained at bands 2 and 3, whereas the foreground is obtained at bands 4 to 7. Bands 1 and 7 do not offer much information, neither on foreground nor on background motion. A deeper insight into the figure show some interesting results. A gross conclusion is that band 4 mostly gets the contours of the foreground moving elements (people, in this case), whereas bands 5 and 6 show the main parts of the moving bodies. This is why, in this particular case, it seems reasonable to sum up bands 5 and 6 to obtain moving people in infrared imagery. Now, <xref ref-type="fig" rid="f7-sensors-09-10044">Figure 7</xref> shows the efficiency of the combination of the AC modules corresponding to bands 5 and 6 for segmenting moving people in the sequence.</p></sec>
<sec>
<label>5.2.</label>
<title>Color-Based People Tracking</title>
<p>In this case study, we have used a data set containing 1109 frames captured in an office room. <xref ref-type="fig" rid="f8-sensors-09-10044">Figure 8a</xref> offers one input image number of the sequence. Here, for the purpose of testing the proposal applied to color images, we are interested in tracking a range of colors in the <italic>RGB</italic> (reg-green-blue) color model. This range has to cover in this case a red t-shirt dressed by a young woman. This could be a typical example of tracking suspicious people in the visual surveillance domain.</p>
<sec>
<title>Simple tracking algorithm</title>
<p>As you may appreciate in <xref ref-type="fig" rid="f8-sensors-09-10044">Figure 8b, c and d</xref>, none of the AC modules dedicated to the eight bands for the <italic>R, G</italic>, or <italic>B</italic> components, respectively, is capable of segmentating/tracking the range of colors selected. Moreover, you may appreciate that there is a lot of noise in the images provided. Here, in order to obtain the final result of <xref ref-type="fig" rid="f8-sensors-09-10044">Figure 8e</xref>, some logical operations were necessary. We multiplied (logical AND) the result of band 7 for the <italic>R</italic> component and the the result of band 0 for the <italic>G</italic> y <italic>B</italic> components.</p>
<p><xref ref-type="table" rid="t5-sensors-09-10044">Table 5</xref> shows some statistics about the performance of the algorithm as applied to the complete input video sequence. Also, <xref ref-type="fig" rid="f9-sensors-09-10044">Figure 9</xref> shows the ROC curve associated. At a first glance, you may observe that the curve grows very quickly and is very close to the maximum value of 1. The area under the curve (see <xref ref-type="table" rid="t5-sensors-09-10044">Table 5</xref>, “Empiric ROC Area”) is 0.964, which clearly states that our method throws excellent results. The area calculates the method's ability to discriminate between detected and not detected objects.</p></sec>
<sec>
<title>Enhanced tracking algorithm</title>
<p>The sequence has been analyzed using the hysteresis modification proposed with different settings. In this case the charge of all bands 
<inline-formula>
<mml:math id="mm9">
<mml:semantics id="sm9">
<mml:mrow>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mi>k</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:semantics></mml:math></inline-formula>, where <italic>i</italic> ∈ {<italic>R, G, B</italic>} and <italic>k</italic> = 0, …, <italic>N<sub>i</sub></italic>−1, have been added to obtain a total charge <italic>Q<sub>T</sub></italic>. The algorithm shows promising results for detecting motion with low complexity The number of bands <italic>N<sub>i</sub></italic> and the threshold <italic>th<sub>i</sub></italic> must be selected according to the noise in the image.</p>
<p><xref ref-type="fig" rid="f10-sensors-09-10044">Figure 10</xref> shows the total charge <italic>Q<sub>T</sub></italic> for <italic>N<sub>R</sub></italic> = 4, <italic>N<sub>G</sub></italic> = 4, <italic>N<sub>B</sub></italic> = 4 and <italic>th<sub>R</sub></italic> = 45, <italic>th<sub>G</sub></italic> = 45 and <italic>th<sub>B</sub></italic> = 45. Also, <xref ref-type="fig" rid="f11-sensors-09-10044">Figure 11</xref> shows the total charge <italic>Q<sub>T</sub></italic> for <italic>N<sub>R</sub></italic> = 8, <italic>N<sub>G</sub></italic> = 8, <italic>N<sub>B</sub></italic> = 8 and <italic>th<sub>R</sub></italic> = 16, <italic>th<sub>G</sub></italic> = 16 and <italic>th<sub>B</sub></italic> = 16. Lastly, <xref ref-type="fig" rid="f12-sensors-09-10044">Figure 12</xref> shows the total charge <italic>Q<sub>T</sub></italic> for <italic>N<sub>R</sub></italic> = 4, <italic>N<sub>G</sub></italic> = 8, <italic>N<sub>B</sub></italic> = 8 and <italic>th<sub>R</sub></italic> = 60, <italic>th<sub>G</sub></italic> = 16 and <italic>th<sub>B</sub></italic> = 16.</p>
<p>From the results offered it can be easily seen that, when the number of bands <italic>N<sub>i</sub></italic> is increased and the <italic>th<sub>i</sub></italic> is decreased, the noise in <italic>Q<sub>T</sub></italic> is incremented. In the opposite case, noise is reduced, but some of the moving objets are not detected. Thus, parameters <italic>N<sub>i</sub></italic> and <italic>th<sub>i</sub></italic> must be selected as a trade off between both situations.</p></sec></sec></sec>
<sec sec-type="conclusions">
<label>6.</label>
<title>Conclusions</title>
<p>This paper starts from previous works in computer vision, where our accumulative computation method applied to motion detection has proven to be quite efficient. We have shown in this article how the AC model, based in neural networks, has been modeled by means of finite state automata, seeking for real-time through an implementation in FPGA-based reconfigurable hardware. Therefore, two steps towards that direction have been taken: (a) A simplification of the general AC method by formally transforming it into a finite state machine. (b) A hardware implementation of such AC modules.</p>
<p>The design by means of programmable logic enables the systematic and efficient crossing from the descriptions of the functional specifications of a sequential system to the equivalent description in terms of a finite state automaton. Starting from this point, a hardware implementation by means of programmable logic is very easy to perform. This kind of design is especially interesting in those application domains where the response time is crucial (e.g., monitoring and diagnosing tasks in visual surveillance and security).</p>
<p>In this paper, the results obtained after implementing AC modules in hardware on programmable logic, concretely on Virtex-5 FPGA's, have been shown. These results start from previous validated researches on moving objects detection, which unfortunately did not reach real-time performance. Prior to the implementation, a simplification of the model into an 8-state finite automaton has been performed. The procedure is easily expandable to all delimited-complexity functions that may be described in a clear and precise manner by a not too high number of states.</p>
<p>Two case studies of real interest in surveillance applications have been introduced. These examples have demonstrated the versatility of the motion detectors, which can be inserted into any high-level computer vision task.</p></sec></body>
<back>
<ack>
<p>This work was partially supported by the Spanish Ministerio de Ciencia e Innovación under projects TIN2007-67586-C02-02 and TEC2008-0277/TEC, and by the Spanish Junta de Comunidades de Castilla-La Mancha under projects PII2I09-0069-0994, PII2I09-0071-3947 and PEII09-0054-9581.</p></ack>
<ref-list>
<title>References and Notes</title>
<ref id="b1-sensors-09-10044"><label>1.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Howe</surname><given-names>N.R.</given-names></name></person-group><article-title>Flow lookup and biological motion perception</article-title><conf-name>Proceedings of the IEEE International Conference on Image Processing</conf-name><conf-loc>Genoa, Italy</conf-loc><conf-date>September 2005</conf-date><comment>Vol. 3</comment><fpage>1168</fpage><lpage>1171</lpage></citation></ref>
<ref id="b2-sensors-09-10044"><label>2.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Diaz</surname><given-names>J.</given-names></name><name><surname>Ros</surname><given-names>E.</given-names></name><name><surname>Pelayo</surname><given-names>F.</given-names></name><name><surname>Ortigosa</surname><given-names>E.M.</given-names></name><name><surname>Mota</surname><given-names>S.</given-names></name></person-group><article-title>FPGA-based real-time optical-flow system</article-title><source>IEEE Trans. Circ. Syst. Vid.</source><year>2006</year><volume>16</volume><fpage>274</fpage><lpage>279</lpage><pub-id pub-id-type="doi">10.1109/TCSVT.2005.861947</pub-id></citation></ref>
<ref id="b3-sensors-09-10044"><label>3.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Correia</surname><given-names>M.V.</given-names></name><name><surname>Campilho</surname><given-names>A.C.</given-names></name></person-group><article-title>Real-time implementation of an optical flow algorithm</article-title><conf-name>Proceedings of the 16th International Conference on Pattern Recognition</conf-name><conf-loc>Québec City, QC, Canada</conf-loc><conf-date>August 2002</conf-date><comment>Vol. 4</comment><fpage>247</fpage><lpage>250</lpage></citation></ref>
<ref id="b4-sensors-09-10044"><label>4.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Claveau</surname><given-names>D.</given-names></name><name><surname>Wang</surname><given-names>C.</given-names></name></person-group><article-title>Space-variant motion detection for active visual target tracking</article-title><source>Rob. Auton. Syst.</source><year>2009</year><volume>57</volume><fpage>11</fpage><lpage>22</lpage><pub-id pub-id-type="doi">10.1016/j.robot.2008.04.001</pub-id></citation></ref>
<ref id="b5-sensors-09-10044"><label>5.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Cheng</surname><given-names>C.C.</given-names></name><name><surname>Lin</surname><given-names>G.L.</given-names></name></person-group><article-title>Motion estimation using the single-row superposition-type planar compound-like eye</article-title><source>Sensors</source><year>2007</year><volume>7</volume><fpage>1047</fpage><lpage>1068</lpage><pub-id pub-id-type="doi">10.3390/s7071047</pub-id></citation></ref>
<ref id="b6-sensors-09-10044"><label>6.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Aubépart</surname><given-names>F.</given-names></name><name><surname>Franceschini</surname><given-names>N.</given-names></name></person-group><article-title>Bio-inspired optic flow sensors based on FPGA: application to micro-air-vehicles</article-title><source>Microprocess. Microsyst.</source><year>2007</year><volume>31</volume><fpage>408</fpage><lpage>419</lpage><pub-id pub-id-type="doi">10.1016/j.micpro.2007.02.004</pub-id></citation></ref>
<ref id="b7-sensors-09-10044"><label>7.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Deng</surname><given-names>Z.</given-names></name><name><surname>Carlson</surname><given-names>T.J.</given-names></name><name><surname>Duncan</surname><given-names>J.P.</given-names></name><name><surname>Richmond</surname><given-names>M.C.</given-names></name></person-group><article-title>Six-degree-of-freedom sensor fish design and instrumentation</article-title><source>Sensors</source><year>2007</year><volume>7</volume><fpage>3399</fpage><lpage>3415</lpage><pub-id pub-id-type="doi">10.3390/s7123399</pub-id></citation></ref>
<ref id="b8-sensors-09-10044"><label>8.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Reichel</surname><given-names>L.</given-names></name><name><surname>Liechti</surname><given-names>D.</given-names></name><name><surname>Presser</surname><given-names>K.</given-names></name><name><surname>Liu</surname><given-names>S.C.</given-names></name></person-group><article-title>Range estimation on a robot using neuromorphic motion sensors</article-title><source>Rob. Auton. Syst.</source><year>2005</year><volume>51</volume><fpage>167</fpage><lpage>174</lpage><pub-id pub-id-type="doi">10.1016/j.robot.2004.10.005</pub-id></citation></ref>
<ref id="b9-sensors-09-10044"><label>9.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Fernández-Caballero</surname><given-names>A.</given-names></name><name><surname>Mira</surname><given-names>J.</given-names></name><name><surname>Delgado</surname><given-names>A.E.</given-names></name><name><surname>Fernández</surname><given-names>M.A.</given-names></name></person-group><article-title>Lateral interaction in accumulative computation: a model for motion detection</article-title><source>Neurocomputing</source><year>2003</year><volume>50</volume><fpage>341</fpage><lpage>364</lpage><pub-id pub-id-type="doi">10.1016/S0925-2312(02)00571-4</pub-id></citation></ref>
<ref id="b10-sensors-09-10044"><label>10.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Fernández-Caballero</surname><given-names>A.</given-names></name><name><surname>Mira</surname><given-names>J.</given-names></name><name><surname>Fernández</surname><given-names>M.A.</given-names></name><name><surname>Delgado</surname><given-names>A.E.</given-names></name></person-group><article-title>On motion detection through a multi-layer neural network architecture</article-title><source>Neural Netw.</source><year>2003</year><volume>16</volume><fpage>205</fpage><lpage>222</lpage><pub-id pub-id-type="doi">10.1016/S0893-6080(02)00233-2</pub-id><pub-id pub-id-type="pmid">12628607</pub-id></citation></ref>
<ref id="b11-sensors-09-10044"><label>11.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Mira</surname><given-names>J.</given-names></name><name><surname>Delgado</surname><given-names>A.E.</given-names></name><name><surname>Fernández-Caballero</surname><given-names>A.</given-names></name><name><surname>Fernández</surname><given-names>M.A.</given-names></name></person-group><article-title>Knowledge modelling for the motion detection task: the lateral inhibition method</article-title><source>Exp. Syst. Appl.</source><year>2004</year><volume>7</volume><fpage>169</fpage><lpage>185</lpage></citation></ref>
<ref id="b12-sensors-09-10044"><label>12.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Fernández-Caballero</surname><given-names>A.</given-names></name><name><surname>López</surname><given-names>M.T.</given-names></name><name><surname>Mira</surname><given-names>J.</given-names></name><name><surname>Delgado</surname><given-names>A.E.</given-names></name><name><surname>López-Valles</surname><given-names>J.M.</given-names></name><name><surname>Fernández</surname><given-names>M.A.</given-names></name></person-group><article-title>Modelling the stereovision-correspondence-analysis task by lateral inhibition in accumulative computation problem-solving method</article-title><source>Exp. Syst. Appl.</source><year>2007</year><volume>33</volume><fpage>955</fpage><lpage>967</lpage><pub-id pub-id-type="doi">10.1016/j.eswa.2006.07.009</pub-id></citation></ref>
<ref id="b13-sensors-09-10044"><label>13.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Fernández-Caballero</surname><given-names>A.</given-names></name><name><surname>Mira</surname><given-names>J.</given-names></name><name><surname>Fernández</surname><given-names>M.A.</given-names></name><name><surname>López</surname><given-names>M.T.</given-names></name></person-group><article-title>Segmentation from motion of non-rigid objects by neuronal lateral interaction</article-title><source>Pattern Recognit. Lett.</source><year>2001</year><volume>22</volume><fpage>1517</fpage><lpage>1524</lpage><pub-id pub-id-type="doi">10.1016/S0167-8655(01)00105-2</pub-id></citation></ref>
<ref id="b14-sensors-09-10044"><label>14.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Fernández-Caballero</surname><given-names>A.</given-names></name><name><surname>Fernández</surname><given-names>M.A.</given-names></name><name><surname>Mira</surname><given-names>J.</given-names></name><name><surname>Delgado</surname><given-names>A.E.</given-names></name></person-group><article-title>Spatio-temporal shape building from image sequences using lateral interaction in accumulative computation</article-title><source>Pattern Recognit.</source><year>2003</year><volume>36</volume><fpage>1131</fpage><lpage>1142</lpage><pub-id pub-id-type="doi">10.1016/S0031-3203(02)00116-4</pub-id></citation></ref>
<ref id="b15-sensors-09-10044"><label>15.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Martínez-Cantos</surname><given-names>J.</given-names></name><name><surname>Carmona</surname><given-names>E.</given-names></name><name><surname>Fernández-Caballero</surname><given-names>A.</given-names></name><name><surname>López</surname><given-names>M.T.</given-names></name></person-group><article-title>Parametric improvement of lateral interaction in accumulative computation in motion-based segmentation</article-title><source>Neurocomputing</source><year>2008</year><volume>71</volume><fpage>776</fpage><lpage>786</lpage><pub-id pub-id-type="doi">10.1016/j.neucom.2007.10.007</pub-id></citation></ref>
<ref id="b16-sensors-09-10044"><label>16.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>López</surname><given-names>M.T.</given-names></name><name><surname>Fernández-Caballero</surname><given-names>A.</given-names></name><name><surname>Fernández</surname><given-names>M.A.</given-names></name><name><surname>Mira</surname><given-names>J.</given-names></name><name><surname>Delgado</surname><given-names>A.E.</given-names></name></person-group><article-title>Visual surveillance by dynamic visual attention method</article-title><source>Pattern Recognit.</source><year>2006</year><volume>39</volume><fpage>2194</fpage><lpage>2211</lpage><pub-id pub-id-type="doi">10.1016/j.patcog.2006.04.018</pub-id></citation></ref>
<ref id="b17-sensors-09-10044"><label>17.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>López</surname><given-names>M.T.</given-names></name><name><surname>Fernández-Caballero</surname><given-names>A.</given-names></name><name><surname>Fernández</surname><given-names>M.A.</given-names></name><name><surname>Mira</surname><given-names>J.</given-names></name><name><surname>Delgado</surname><given-names>A.E.</given-names></name></person-group><article-title>Motion features to enhance scene segmentation in active visual attention</article-title><source>Pattern Recognit. Lett.</source><year>2006</year><volume>27</volume><fpage>469</fpage><lpage>478</lpage><pub-id pub-id-type="doi">10.1016/j.patrec.2005.09.010</pub-id></citation></ref>
<ref id="b18-sensors-09-10044"><label>18.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>López</surname><given-names>M.T.</given-names></name><name><surname>Fernández-Caballero</surname><given-names>A.</given-names></name><name><surname>Fernández</surname><given-names>M.A.</given-names></name><name><surname>Mira</surname><given-names>J.</given-names></name><name><surname>Delgado</surname><given-names>A.E.</given-names></name></person-group><article-title>Dynamic visual attention model in image sequences</article-title><source>Image Vision Comput.</source><year>2007</year><volume>25</volume><fpage>597</fpage><lpage>613</lpage><pub-id pub-id-type="doi">10.1016/j.imavis.2006.05.004</pub-id></citation></ref>
<ref id="b19-sensors-09-10044"><label>19.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Ñeco</surname><given-names>R.P.</given-names></name><name><surname>Forcada</surname><given-names>M.L.</given-names></name></person-group><article-title>Asynchronous translations with recurrent neural nets</article-title><conf-name>Proceedings of the International Conference on Neural Networks</conf-name><conf-loc>Stockholm, Sweden</conf-loc><conf-date>June 1997</conf-date><comment>Vol. 4</comment><fpage>2535</fpage><lpage>2540</lpage></citation></ref>
<ref id="b20-sensors-09-10044"><label>20.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>McCulloch</surname><given-names>W.S.</given-names></name><name><surname>Pitts</surname><given-names>W.H.</given-names></name></person-group><article-title>A logical calculus of the ideas immanent in nervous activity</article-title><source>Bull. Math. Biophys.</source><year>1943</year><volume>5</volume><fpage>115</fpage><lpage>133</lpage><pub-id pub-id-type="doi">10.1007/BF02478259</pub-id></citation></ref>
<ref id="b21-sensors-09-10044"><label>21.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Kleene</surname><given-names>S.C.</given-names></name></person-group><article-title>Representation of events in nerve nets and finite automata</article-title><source>Automata Studies</source><publisher-name>Princeton University Press</publisher-name><publisher-loc>Princeton, NJ, USA</publisher-loc><year>1956</year></citation></ref>
<ref id="b22-sensors-09-10044"><label>22.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Minsky</surname><given-names>M.L.</given-names></name></person-group><source>Computation: Finite and Infinite Machines</source><publisher-name>Prentice-Hall</publisher-name><publisher-loc>Englewood, NJ, USA</publisher-loc><year>1967</year></citation></ref>
<ref id="b23-sensors-09-10044"><label>23.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Carrasco</surname><given-names>R.C.</given-names></name><name><surname>Oncina</surname><given-names>J.</given-names></name><name><surname>Forcada</surname><given-names>M.L.</given-names></name></person-group><article-title>Efficient encoding of finite automata in discrete-time recurrent neural networks</article-title><conf-name>Proceedings of the Ninth International Conference on Artificial Neural Networks</conf-name><conf-loc>Edinburgh, Scotland</conf-loc><conf-date>September 1999</conf-date><comment>Vol. 2</comment><fpage>673</fpage><lpage>677</lpage></citation></ref>
<ref id="b24-sensors-09-10044"><label>24.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Carrasco</surname><given-names>R.C.</given-names></name><name><surname>Forcada</surname><given-names>M.L.</given-names></name></person-group><article-title>Finite state computation in analog neural networks: steps towards biologically plausible models</article-title><source>Lect. Notes Comput. Sci.</source><year>2001</year><volume>2036</volume><fpage>482</fpage><lpage>486</lpage></citation></ref>
<ref id="b25-sensors-09-10044"><label>25.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Prat</surname><given-names>F.</given-names></name><name><surname>Casacuberta</surname><given-names>F.</given-names></name><name><surname>Castro</surname><given-names>M.J.</given-names></name></person-group><article-title>Machine translation with grammar association: combining neural networks and finite state models</article-title><conf-name>Proceedings of the Second Workshop on Natural Language Processing and Neural Networks</conf-name><conf-loc>Tokyo, Japan</conf-loc><conf-date>November 2001</conf-date><fpage>53</fpage><lpage>60</lpage></citation></ref>
<ref id="b26-sensors-09-10044"><label>26.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sun</surname><given-names>G.Z.</given-names></name><name><surname>Giles</surname><given-names>C.L.</given-names></name><name><surname>Chen</surname><given-names>H.H.</given-names></name></person-group><article-title>The neural network pushdown automaton: architecture, dynamics and training</article-title><source>Lect. Notes Comput. Sci.</source><year>1998</year><volume>1387</volume><fpage>296</fpage><lpage>345</lpage></citation></ref>
<ref id="b27-sensors-09-10044"><label>27.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Cleeremans</surname><given-names>A.</given-names></name><name><surname>Servan-Schreiber</surname><given-names>D.</given-names></name><name><surname>McClelland</surname><given-names>J.L.</given-names></name></person-group><article-title>Finite state automata and simple recurrent networks</article-title><source>Neural Comput</source><year>1989</year><volume>1</volume><fpage>372</fpage><lpage>381</lpage><pub-id pub-id-type="doi">10.1162/neco.1989.1.3.372</pub-id></citation></ref>
<ref id="b28-sensors-09-10044"><label>28.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Giles</surname><given-names>C.L.</given-names></name><name><surname>Miller</surname><given-names>C.B.</given-names></name><name><surname>Chen</surname><given-names>D.</given-names></name><name><surname>Chen</surname><given-names>H.H.</given-names></name><name><surname>Sun</surname><given-names>G.Z.</given-names></name><name><surname>Lee</surname><given-names>Y.C.</given-names></name></person-group><article-title>Learning and extracted finite state automata with second-order recurrent neural networks</article-title><source>Neural Comput.</source><year>1992</year><volume>4</volume><fpage>393</fpage><lpage>405</lpage><pub-id pub-id-type="doi">10.1162/neco.1992.4.3.393</pub-id></citation></ref>
<ref id="b29-sensors-09-10044"><label>29.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Manolios</surname><given-names>P.</given-names></name><name><surname>Fanelli</surname><given-names>R.</given-names></name></person-group><article-title>First order recurrent neural networks and deterministic finite state automata</article-title><source>Neural Comput.</source><year>1994</year><volume>6</volume><fpage>1154</fpage><lpage>1172</lpage></citation></ref>
<ref id="b30-sensors-09-10044"><label>30.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gori</surname><given-names>M.</given-names></name><name><surname>Maggini</surname><given-names>M.</given-names></name><name><surname>Martinelli</surname><given-names>E.</given-names></name><name><surname>Soda</surname><given-names>G.</given-names></name></person-group><article-title>Inductive inference from noisy examples using the hybrid finite state filter</article-title><source>IEEE Trans. Neural Netw.</source><year>1998</year><volume>9</volume><fpage>571</fpage><lpage>575</lpage><pub-id pub-id-type="doi">10.1109/72.668898</pub-id><pub-id pub-id-type="pmid">18252480</pub-id></citation></ref>
<ref id="b31-sensors-09-10044"><label>31.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Geman</surname><given-names>S.</given-names></name><name><surname>Bienenstock</surname><given-names>E.</given-names></name><name><surname>Dourstat</surname><given-names>R.</given-names></name></person-group><article-title>Neural networks and the bias/variance dilemma</article-title><source>Neural Comput.</source><year>1992</year><volume>4</volume><fpage>1</fpage><lpage>58</lpage><pub-id pub-id-type="doi">10.1162/neco.1992.4.1.1</pub-id></citation></ref>
<ref id="b32-sensors-09-10044"><label>32.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Shavlik</surname><given-names>J.</given-names></name></person-group><article-title>Combining symbolic and neural learning</article-title><source>Mach. Learn.</source><year>1994</year><volume>14</volume><fpage>321</fpage><lpage>331</lpage></citation></ref>
<ref id="b33-sensors-09-10044"><label>33.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Omlin</surname><given-names>C.W.</given-names></name><name><surname>Giles</surname><given-names>C.L.</given-names></name></person-group><article-title>Constructing deterministic finite state automata in recurrent neural networks</article-title><source>J. ACM</source><year>1996</year><volume>43</volume><fpage>937</fpage><lpage>972</lpage><pub-id pub-id-type="doi">10.1145/235809.235811</pub-id></citation></ref>
<ref id="b34-sensors-09-10044"><label>34.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Duda</surname><given-names>O.R.</given-names></name><name><surname>Hart</surname><given-names>P.E.</given-names></name></person-group><source>Pattern Classification and Scene Analysis</source><publisher-name>Wiley-Interscience</publisher-name><publisher-loc>New York, NY, USA</publisher-loc><year>1973</year></citation></ref>
<ref id="b35-sensors-09-10044"><label>35.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Fennema</surname><given-names>C.L.</given-names></name><name><surname>Thompson</surname><given-names>W.B.</given-names></name></person-group><article-title>Velocity determination in scenes containing several multiple moving objects</article-title><source>Comput. Graphics Image Proc.</source><year>1979</year><volume>9</volume><fpage>301</fpage><lpage>315</lpage><pub-id pub-id-type="doi">10.1016/0146-664X(79)90097-2</pub-id></citation></ref>
<ref id="b36-sensors-09-10044"><label>36.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Horn</surname><given-names>B.K.P.</given-names></name><name><surname>Schunck</surname><given-names>B.G.</given-names></name></person-group><article-title>Determining optical flow</article-title><source>Artif. Intell.</source><year>1981</year><volume>17</volume><fpage>185</fpage><lpage>203</lpage><pub-id pub-id-type="doi">10.1016/0004-3702(81)90024-2</pub-id></citation></ref>
<ref id="b37-sensors-09-10044"><label>37.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Marr</surname><given-names>D.</given-names></name><name><surname>Ullman</surname><given-names>S.</given-names></name></person-group><article-title>Directional selectivity and its use in early visual processing</article-title><source>Pr. Roy Soc. London B</source><year>1981</year><volume>211</volume><fpage>151</fpage><lpage>180</lpage><pub-id pub-id-type="doi">10.1098/rspb.1981.0001</pub-id></citation></ref>
<ref id="b38-sensors-09-10044"><label>38.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Adelson</surname><given-names>E.H.</given-names></name><name><surname>Movshon</surname><given-names>J.A.</given-names></name></person-group><article-title>Phenomenal coherence of moving visual patterns</article-title><source>Nature</source><year>1982</year><volume>300</volume><fpage>523</fpage><lpage>525</lpage><pub-id pub-id-type="doi">10.1038/300523a0</pub-id><pub-id pub-id-type="pmid">7144903</pub-id></citation></ref>
<ref id="b39-sensors-09-10044"><label>39.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Hildreth</surname><given-names>E.C.</given-names></name></person-group><source>The Measurement of Visual Motion</source><publisher-name>The MIT Press</publisher-name><publisher-loc>Cambridge, MA, USA</publisher-loc><year>1984</year></citation></ref>
<ref id="b40-sensors-09-10044"><label>40.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Wallach</surname><given-names>H.</given-names></name></person-group><article-title>On perceived identity: 1. The direction of motion of straight lines</article-title><source>On Perception</source><person-group person-group-type="editor"><name><surname>Wallach</surname><given-names>W.</given-names></name></person-group><publisher-name>Quadrangle</publisher-name><publisher-loc>New York, NY, USA</publisher-loc><year>1976</year></citation></ref>
<ref id="b41-sensors-09-10044"><label>41.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Emerson</surname><given-names>R.C.</given-names></name><name><surname>Coleman</surname><given-names>L.</given-names></name></person-group><article-title>Does image movement have a special nature for neurons in the cat's striate cortex?</article-title><source>Invest. Ophthalmol. Vis. Sci.</source><year>1981</year><volume>20</volume><fpage>766</fpage><lpage>783</lpage><pub-id pub-id-type="pmid">7239847</pub-id></citation></ref>
<ref id="b42-sensors-09-10044"><label>42.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lawton</surname><given-names>T.B.</given-names></name></person-group><article-title>Outputs of paired Gabor filters summed across the background frame of reference predict the direction of movement</article-title><source>IEEE Trans. Biomed. Eng.</source><year>1989</year><volume>36</volume><fpage>130</fpage><lpage>139</lpage><pub-id pub-id-type="doi">10.1109/10.16458</pub-id><pub-id pub-id-type="pmid">2646208</pub-id></citation></ref>
<ref id="b43-sensors-09-10044"><label>43.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Hassenstein</surname><given-names>B.</given-names></name><name><surname>Reichardt</surname><given-names>W.E.</given-names></name></person-group><article-title>Functional structure of a mechanism of perception of optical movement</article-title><conf-name>Proceedings of the 1st International Congress of Cybernetics</conf-name><conf-loc>Namur, Belgium</conf-loc><conf-date>June 1956</conf-date><fpage>797</fpage><lpage>801</lpage></citation></ref>
<ref id="b44-sensors-09-10044"><label>44.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Barlow</surname><given-names>H.B.</given-names></name><name><surname>Levick</surname><given-names>R.W.</given-names></name></person-group><article-title>The mechanism of directional selectivity in the rabbit's retina</article-title><source>J. Physiol.</source><year>1965</year><volume>173</volume><fpage>477</fpage><lpage>504</lpage></citation></ref>
<ref id="b45-sensors-09-10044"><label>45.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Adelson</surname><given-names>E.H.</given-names></name><name><surname>Bergen</surname><given-names>J.R.</given-names></name></person-group><article-title>Spatiotemporal energy models for the perception of motion</article-title><source>J. Opt. Soc. Am. A Opt. Image Sci. Vis.</source><year>1985</year><volume>2</volume><fpage>284</fpage><lpage>299</lpage><pub-id pub-id-type="doi">10.1364/JOSAA.2.000284</pub-id></citation></ref>
<ref id="b46-sensors-09-10044"><label>46.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Heeger</surname><given-names>D.J.</given-names></name></person-group><article-title>Model for the extraction of image flow</article-title><source>J. Opt. Soc. Am. A Opt. Image. Sci. Vis.</source><year>1987</year><volume>4</volume><fpage>1455</fpage><lpage>1471</lpage><pub-id pub-id-type="doi">10.1364/JOSAA.4.001455</pub-id></citation></ref>
<ref id="b47-sensors-09-10044"><label>47.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Watson</surname><given-names>A.B.</given-names></name><name><surname>Ahumada</surname><given-names>A.J.</given-names></name></person-group><article-title>Model of visual-motion sensing</article-title><source>J. Opt. Soc. Am. A Opt. Image Sci. Vis.</source><year>1985</year><volume>2</volume><fpage>322</fpage><lpage>341</lpage><pub-id pub-id-type="doi">10.1364/JOSAA.2.000322</pub-id></citation></ref>
<ref id="b48-sensors-09-10044"><label>48.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Koch</surname><given-names>C.</given-names></name><name><surname>Marroquin</surname><given-names>J.</given-names></name><name><surname>Yuille</surname><given-names>A.</given-names></name></person-group><article-title>Analog neuronal networks in early vision</article-title><source>Proc. Natl. Acad. Sci. USA</source><year>1986</year><volume>83</volume><fpage>4263</fpage><lpage>4267</lpage><pub-id pub-id-type="doi">10.1073/pnas.83.12.4263</pub-id><pub-id pub-id-type="pmid">3459172</pub-id></citation></ref>
<ref id="b49-sensors-09-10044"><label>49.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Yuille</surname><given-names>A.L.</given-names></name><name><surname>Grzywacz</surname><given-names>N.</given-names></name></person-group><article-title>A computational theory for the perception of coherent visual motion</article-title><source>Nature</source><year>1988</year><volume>333</volume><fpage>71</fpage><lpage>74</lpage><pub-id pub-id-type="doi">10.1038/333071a0</pub-id><pub-id pub-id-type="pmid">3362210</pub-id></citation></ref>
<ref id="b50-sensors-09-10044"><label>50.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Fernández</surname><given-names>M.A.</given-names></name><name><surname>Mira</surname><given-names>J.</given-names></name></person-group><article-title>Permanence memory–a system for real time motion analysis in image sequences</article-title><conf-name>Proceedings of the IAPR Workshop on Machine Vision Applications</conf-name><conf-loc>Tokyo, Japan</conf-loc><conf-date>December 1992</conf-date><fpage>249</fpage><lpage>252</lpage></citation></ref>
<ref id="b51-sensors-09-10044"><label>51.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Bensaali</surname><given-names>F.</given-names></name><name><surname>Amira</surname><given-names>A.</given-names></name></person-group><article-title>Accelerating colour space conversion on reconfigurable hardware</article-title><source>Image Vision Comput.</source><year>2005</year><volume>23</volume><fpage>935</fpage><lpage>942</lpage><pub-id pub-id-type="doi">10.1016/j.imavis.2005.03.006</pub-id></citation></ref>
<ref id="b52-sensors-09-10044"><label>52.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Isaacs</surname><given-names>J.C.</given-names></name><name><surname>Watkins</surname><given-names>R.K.</given-names></name><name><surname>Foo</surname><given-names>S.Y.</given-names></name></person-group><article-title>Cellular automata PRNG: Maximal performance and minimal space FPGA implementations</article-title><source>Eng. Appl. Artif. Intell.</source><year>2003</year><volume>16</volume><fpage>491</fpage><lpage>499</lpage><pub-id pub-id-type="doi">10.1016/j.engappai.2003.08.005</pub-id></citation></ref>
<ref id="b53-sensors-09-10044"><label>53.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Amer</surname><given-names>I.</given-names></name><name><surname>Badawy</surname><given-names>W.</given-names></name><name><surname>Jullien</surname><given-names>G.</given-names></name></person-group><article-title>A proposed hardware reference model for spatial transformation and quantization in H.264</article-title><source>J. Vis. Commun. Image R.</source><year>2006</year><volume>17</volume><fpage>533</fpage><lpage>552</lpage><pub-id pub-id-type="doi">10.1016/j.jvcir.2005.05.011</pub-id></citation></ref>
<ref id="b54-sensors-09-10044"><label>54.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Moon</surname><given-names>H.</given-names></name><name><surname>Sedaghat</surname><given-names>R.</given-names></name></person-group><article-title>FPGA-based adaptive digital predistortion for radio-over-fiber links</article-title><source>Microprocess. Microsyst.</source><year>2006</year><volume>30</volume><fpage>145</fpage><lpage>154</lpage><pub-id pub-id-type="doi">10.1016/j.micpro.2005.09.001</pub-id></citation></ref>
<ref id="b55-sensors-09-10044"><label>55.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Bojanic</surname><given-names>S.</given-names></name><name><surname>Caffarena</surname><given-names>G.</given-names></name><name><surname>Petrovic</surname><given-names>S.</given-names></name><name><surname>Nieto-Taladriz</surname><given-names>O.</given-names></name></person-group><article-title>FPGA for pseudorandom generator cryptanalysis</article-title><source>Microprocess. Microsyst.</source><year>2006</year><volume>30</volume><fpage>63</fpage><lpage>71</lpage><pub-id pub-id-type="doi">10.1016/j.micpro.2005.04.005</pub-id></citation></ref>
<ref id="b56-sensors-09-10044"><label>56.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Damaj</surname><given-names>I.W.</given-names></name></person-group><article-title>Parallel algorithms development for programmable logic device</article-title><source>Adv. Eng. Soft.</source><year>2006</year><volume>37</volume><fpage>561</fpage><lpage>582</lpage><pub-id pub-id-type="doi">10.1016/j.advengsoft.2006.01.009</pub-id></citation></ref>
<ref id="b57-sensors-09-10044"><label>57.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Perri</surname><given-names>S.</given-names></name><name><surname>Lanuzza</surname><given-names>M.</given-names></name><name><surname>Corsonello</surname><given-names>P.</given-names></name><name><surname>Cocorullo</surname><given-names>G.</given-names></name></person-group><article-title>A high-performance fully reconfigurable FPGA-based 2-D convolution processor</article-title><source>Microprocess. Microsyst.</source><year>2005</year><volume>29</volume><fpage>381</fpage><lpage>391</lpage><pub-id pub-id-type="doi">10.1016/j.micpro.2004.10.004</pub-id></citation></ref>
<ref id="b58-sensors-09-10044"><label>58.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Abutaleb</surname><given-names>M.M.</given-names></name><name><surname>Hamdy</surname><given-names>A.</given-names></name><name><surname>Saad</surname><given-names>E.M.</given-names></name></person-group><article-title>FPGA-based real-time video-object segmentation with optimization schemes</article-title><source>Int. J. Circ. Syst. Sign. Proc.</source><year>2008</year><volume>2</volume><fpage>78</fpage><lpage>86</lpage></citation></ref></ref-list>
<sec sec-type="display-objects">
<title>Figures and Tables</title>
<fig id="f1-sensors-09-10044" position="float">
<label>Figure 1.</label>
<caption>
<p>The AC working memory model (upper part) and an example of the temporal evolution of the accumulated persistency state, <italic>Q</italic>(<italic>t</italic>), in response to a specific sequence of input values (lower part).</p></caption>
<graphic xlink:href="sensors-09-10044f1.gif"/></fig>
<fig id="f2-sensors-09-10044" position="float">
<label>Figure 2.</label>
<caption>
<p>Control automaton that receives inputs <italic>I<sub>k</sub></italic>(<italic>i, j; t</italic> − Δ<italic>t</italic>) and <italic>I<sub>k</sub></italic>(<italic>i, j; t</italic>), and produces three outputs, coincident with its three distinguishable charge states (<italic>S</italic><sub>0</sub> = <italic>min, S</italic><sub>7</sub> = <italic>max</italic>, and <italic>S<sub>int</sub></italic>).</p></caption>
<graphic xlink:href="sensors-09-10044f2.gif"/></fig>
<fig id="f3-sensors-09-10044" position="float">
<label>Figure 3.</label>
<caption>
<p>Layout of a motion-detection AC module.</p></caption>
<graphic xlink:href="sensors-09-10044f3.gif"/></fig>
<fig id="f4-sensors-09-10044" position="float">
<label>Figure 4.</label>
<caption>
<p>AC module automata for band 7.</p></caption>
<graphic xlink:href="sensors-09-10044f4.gif"/></fig>
<fig id="f5-sensors-09-10044" position="float">
<label>Figure 5.</label>
<caption>
<p>Layout of an 8-AC motion detector.</p></caption>
<graphic xlink:href="sensors-09-10044f5.gif"/></fig>
<fig id="f6-sensors-09-10044" position="float">
<label>Figure 6.</label>
<caption>
<p>Result of AC detection modules for each gray level band.</p></caption>
<graphic xlink:href="sensors-09-10044f6.gif"/></fig>
<fig id="f7-sensors-09-10044" position="float">
<label>Figure 7.</label>
<caption>
<p>Addition of AC detection modules corresponding to bands 5 and 6 for efficient infrared-based people segmentation.</p></caption>
<graphic xlink:href="sensors-09-10044f7.gif"/></fig>
<fig id="f8-sensors-09-10044" position="float">
<label>Figure 8.</label>
<caption>
<p>Result of AC detection modules for color-based people tracking. (a) Input image. From top to bottom, bands 0 to 7, result of AC on the (b) <italic>R</italic> component, (c) <italic>G</italic> component, (d) <italic>B</italic> component. (e) Result of tracking the red t-shirt.</p></caption>
<graphic xlink:href="sensors-09-10044f8.gif"/></fig>
<fig id="f9-sensors-09-10044" position="float">
<label>Figure 9.</label>
<caption>
<p>ROC curve associated to the color video sequence.</p></caption>
<graphic xlink:href="sensors-09-10044f9.gif"/></fig>
<fig id="f10-sensors-09-10044" position="float">
<label>Figure 10.</label>
<caption>
<p>Total charge for <italic>N<sub>R</sub></italic> = 4, <italic>N<sub>G</sub></italic> = 4, <italic>N<sub>B</sub></italic> = 4 and <italic>th<sub>R</sub></italic> = 45, <italic>th<sub>G</sub></italic> = 45 and <italic>th<sub>B</sub></italic> = 45.</p></caption>
<graphic xlink:href="sensors-09-10044f10.gif"/></fig>
<fig id="f11-sensors-09-10044" position="float">
<label>Figure 11.</label>
<caption>
<p>Total charge for <italic>N<sub>R</sub></italic> = 8, <italic>N<sub>G</sub></italic> = 8, <italic>N<sub>B</sub></italic> = 8 and <italic>th<sub>R</sub></italic> = 16, <italic>th<sub>G</sub></italic> = 16 and <italic>th<sub>B</sub></italic> = 16.</p></caption>
<graphic xlink:href="sensors-09-10044f11.gif"/></fig>
<fig id="f12-sensors-09-10044" position="float">
<label>Figure 12.</label>
<caption>
<p>Total charge for <italic>N<sub>R</sub></italic> = 4, <italic>N<sub>G</sub></italic> = 8, <italic>N<sub>B</sub></italic> = 8 and <italic>th<sub>R</sub></italic> = 60, <italic>th<sub>G</sub></italic> = 30 and <italic>th<sub>B</sub></italic> = 30.</p></caption>
<graphic xlink:href="sensors-09-10044f12.gif"/></fig>
<table-wrap id="t1-sensors-09-10044" position="float">
<label>Table 1.</label>
<caption>
<p>Temporal results for the AC module.</p></caption>
<table frame="hsides" rules="none">
<tbody>
<tr>
<td align="left" valign="top">Minimum period</td>
<td align="left" valign="top">1.287 ns</td></tr>
<tr>
<td align="left" valign="top">Maximum frequency</td>
<td align="left" valign="top">777.001 MHz</td></tr>
<tr>
<td align="left" valign="top">Minimum input required time before clock</td>
<td align="left" valign="top">2.738 ns</td></tr>
<tr>
<td align="left" valign="top">Maximum output delay after clock</td>
<td align="left" valign="top">3.271 ns</td></tr></tbody></table></table-wrap>
<table-wrap id="t2-sensors-09-10044" position="float">
<label>Table 2.</label>
<caption>
<p>Device utilization summary for the AC module.</p></caption>
<table frame="hsides" rules="none">
<tbody>
<tr>
<td align="left" valign="top">Slice Logic Utilization:</td>
<td align="left" valign="top"/></tr>
<tr>
<td align="left" valign="top">Number of Slice Registers</td>
<td align="left" valign="top">24 out of 20480 (0%)</td></tr>
<tr>
<td align="left" valign="top">Number of Slice LUTs</td>
<td align="left" valign="top">40 out of 20480 (0%)</td></tr>
<tr>
<td align="left" valign="top">Number used as Logic</td>
<td align="left" valign="top">40 out of 20480 (0%)</td></tr>
<tr>
<td align="left" valign="top">Slice Logic Distribution:</td>
<td align="left" valign="top"/></tr>
<tr>
<td align="left" valign="top">Number of LUT Flip Flop pairs used</td>
<td align="left" valign="top">40</td></tr>
<tr>
<td align="left" valign="top">Number with an unused Flip Flop</td>
<td align="left" valign="top">16 out of 40 (40%)</td></tr>
<tr>
<td align="left" valign="top">Number with an unused LUT</td>
<td align="left" valign="top">0 out of 40 (0%)</td></tr>
<tr>
<td align="left" valign="top">Number of fully used LUT-FF pairs</td>
<td align="left" valign="top">24 out of 40 (60%)</td></tr>
<tr>
<td align="left" valign="top">Number of unique control sets</td>
<td align="left" valign="top">1</td></tr>
<tr>
<td align="left" valign="top">IO Utilization:</td>
<td align="left" valign="top"/></tr>
<tr>
<td align="left" valign="top">Number of IOs</td>
<td align="left" valign="top">32</td></tr>
<tr>
<td align="left" valign="top">Number of bonded IOBs</td>
<td align="left" valign="top">32 out of 360</td></tr></tbody></table></table-wrap>
<table-wrap id="t3-sensors-09-10044" position="float">
<label>Table 3.</label>
<caption>
<p>Temporal results for the 8-AC motion detector.</p></caption>
<table frame="hsides" rules="none">
<tbody>
<tr>
<td align="left" valign="top">Minimum period</td>
<td align="left" valign="top">2.736 ns</td></tr>
<tr>
<td align="left" valign="top">Maximum frequency</td>
<td align="left" valign="top">365.497 MHz</td></tr>
<tr>
<td align="left" valign="top">Minimum input required time before clock</td>
<td align="left" valign="top">2.834 ns</td></tr>
<tr>
<td align="left" valign="top">Maximum output delay after clock</td>
<td align="left" valign="top">3.271 ns</td></tr>
<tr>
<td align="left" valign="top">Maximum combinational path delay</td>
<td align="left" valign="top">4.348 ns</td></tr></tbody></table></table-wrap>
<table-wrap id="t4-sensors-09-10044" position="float">
<label>Table 4.</label>
<caption>
<p>Device utilization summary for the 8-AC motion detector.</p></caption>
<table frame="hsides" rules="none">
<tbody>
<tr>
<td align="left" valign="top">Slice Logic Utilization:</td>
<td align="left" valign="top"/></tr>
<tr>
<td align="left" valign="top">Number of Slice Registers</td>
<td align="left" valign="top">248 out of 20480 (1%)</td></tr>
<tr>
<td align="left" valign="top">Number of Slice LUTs</td>
<td align="left" valign="top">467 out of 20480 (2%)</td></tr>
<tr>
<td align="left" valign="top">Number used as Logic</td>
<td align="left" valign="top">467 out of 20480 (2%)</td></tr>
<tr>
<td align="left" valign="top">Slice Logic Distribution:</td>
<td align="left" valign="top"/></tr>
<tr>
<td align="left" valign="top">Number of LUT Flip Flop pairs used</td>
<td align="left" valign="top">492</td></tr>
<tr>
<td align="left" valign="top">Number with an unused Flip Flop</td>
<td align="left" valign="top">244 out of 492 (49%)</td></tr>
<tr>
<td align="left" valign="top">Number with an unused LUT</td>
<td align="left" valign="top">25 out of 492 (5%)</td></tr>
<tr>
<td align="left" valign="top">Number of fully used LUT-FF pairs</td>
<td align="left" valign="top">223 out of 492 (45%)</td></tr>
<tr>
<td align="left" valign="top">Number of unique control sets</td>
<td align="left" valign="top">2</td></tr>
<tr>
<td align="left" valign="top">IO Utilization:</td>
<td align="left" valign="top"/></tr>
<tr>
<td align="left" valign="top">Number of IOs</td>
<td align="left" valign="top">260</td></tr>
<tr>
<td align="left" valign="top">Number of bonded IOBs</td>
<td align="left" valign="top">260 out of 360 (72%)</td></tr>
<tr>
<td align="left" valign="top">Number of BUFG/BUFGCTRLs</td>
<td align="left" valign="top">1 out of 32 (3%)</td></tr></tbody></table></table-wrap>
<table-wrap id="t5-sensors-09-10044" position="float">
<label>Table 5.</label>
<caption>
<p>Algorithm performance statistics for the color video sequence.</p></caption>
<table frame="hsides" rules="none">
<tbody>
<tr>
<td align="left" valign="top">Number of Cases:</td>
<td align="left" valign="top">1109</td></tr>
<tr>
<td align="left" valign="top">Number of Correct Cases:</td>
<td align="left" valign="top">1066</td></tr>
<tr>
<td align="left" valign="top">Accuracy:</td>
<td align="left" valign="top">96.1%</td></tr>
<tr>
<td align="left" valign="top">Sensitivity:</td>
<td align="left" valign="top">95.8%</td></tr>
<tr>
<td align="left" valign="top">Specificity:</td>
<td align="left" valign="top">96.4%</td></tr>
<tr>
<td align="left" valign="top">Positive Cases Missed:</td>
<td align="left" valign="top">24</td></tr>
<tr>
<td align="left" valign="top">Negative Cases Missed:</td>
<td align="left" valign="top">19</td></tr>
<tr>
<td valign="bottom" colspan="2">
<hr/></td></tr>
<tr>
<td align="left" valign="top">Fitted ROC Area:</td>
<td align="left" valign="top">0.968</td></tr>
<tr>
<td align="left" valign="top">Empiric ROC Area:</td>
<td align="left" valign="top">0.964</td></tr></tbody></table></table-wrap></sec></back></article>
