<?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/s100807170</article-id>
<article-id pub-id-type="publisher-id">sensors-10-07170</article-id>
<article-categories>
<subj-group>
<subject>Article</subject></subj-group></article-categories>
<title-group>
<article-title>Adaptive Compression of Slowly Varying Images Transmitted over Wireless Sensor Networks</article-title></title-group>
<contrib-group>
<contrib contrib-type="author">
<name><surname>Nikolakopoulos</surname><given-names>George</given-names></name><xref ref-type="aff" rid="af1-sensors-10-07170"><sup>1</sup></xref><xref ref-type="corresp" rid="c1-sensors-10-07170">★</xref></contrib>
<contrib contrib-type="author">
<name><surname>Kandris</surname><given-names>Dionisis</given-names></name><xref ref-type="aff" rid="af1-sensors-10-07170"><sup>1</sup></xref><xref ref-type="aff" rid="af2-sensors-10-07170"><sup>2</sup></xref></contrib>
<contrib contrib-type="author">
<name><surname>Tzes</surname><given-names>Anthony</given-names></name><xref ref-type="aff" rid="af1-sensors-10-07170"><sup>1</sup></xref></contrib></contrib-group>
<aff id="af1-sensors-10-07170">
<label>1</label> Department of Electrical and Computer Engineering, University of Patras, Rio 26500, Greece; E-Mail: <email>tzes@ece.upatras.gr</email> (A.T.)</aff>
<aff id="af2-sensors-10-07170">
<label>2</label> Department of Electronics, Technological Educational Institute of Athens, Athens 12210, Greece; E-Mail: <email>dkandris@teiath.gr</email></aff>
<author-notes>
<corresp id="c1-sensors-10-07170">
<label>★</label> Author to whom correspondence should be addressed; E-Mail: <email>gnikolak@ece.upatras.gr</email>; Tel.: +30-2610-996-450.</corresp></author-notes>
<pub-date pub-type="collection">
<year>2010</year></pub-date>
<pub-date pub-type="epub">
<day>29</day>
<month>7</month>
<year>2010</year></pub-date>
<volume>10</volume>
<issue>8</issue>
<fpage>7170</fpage>
<lpage>7191</lpage>
<history>
<date date-type="received">
<day>10</day>
<month>5</month>
<year>2010</year></date>
<date date-type="rev-recd">
<day>9</day>
<month>7</month>
<year>2010</year></date>
<date date-type="accepted">
<day>16</day>
<month>7</month>
<year>2010</year></date></history>
<permissions>
<copyright-statement>© 2010 by the authors; licensee MDPI, Basel, Switzerland.</copyright-statement>
<copyright-year>2010</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>In this article a scheme for image transmission over Wireless Sensor Networks (WSN) with an adaptive compression factor is introduced. The proposed control architecture affects the quality of the transmitted images according to: (a) the traffic load within the network and (b) the level of details contained in an image frame. Given an approximate transmission period, the adaptive compression mechanism applies Quad Tree Decomposition (QTD) with a varying decomposition compression factor based on a gradient adaptive approach. For the initialization of the proposed control scheme, the desired a priori maximum bound for the transmission time delay is being set, while a tradeoff among the quality of the decomposed image frame and the time needed for completing the transmission of the frame should be taken under consideration. Based on the proposed control mechanism, the quality of the slowly varying transmitted image frames is adaptively deviated based on the measured time delay in the transmission. The efficacy of the adaptive compression control scheme is validated through extended experimental results.</p></abstract>
<kwd-group>
<kwd>wireless multimedia sensor networks</kwd>
<kwd>control over networks</kwd>
<kwd>adaptive image compression</kwd>
<kwd>quad tree decomposition</kwd></kwd-group></article-meta></front>
<body>
<sec sec-type="intro">
<label>1.</label>
<title>Introduction</title>
<p>The high disposability of sensors capable of capturing video/audio streams, stand still images and scalar sensor data enhanced the development of the so-called Wireless Multimedia Sensor Networks (WMSNs), which are networks of wirelessly interconnected sensor nodes able to retrieve and handle multimedia content. Their operation can be considered as the convergence between the classical wireless sensor networks (WSNs) and distributed multimedia acquisition devices (e.g., cameras, microphones, <italic>etc.</italic>). Nowadays, WMSNs gain an ever increasing share in scientific research in conjunction with the rapid developments and increasing miniaturization in the field of embedded systems [<xref ref-type="bibr" rid="b1-sensors-10-07170">1</xref>,<xref ref-type="bibr" rid="b2-sensors-10-07170">2</xref>].</p>
<p>Classical features of WSNs such as: (a) the easiness of the <italic>ad hoc</italic> deployment, (b) the ability to construct a long-lived system that can be left unattended, (c) the rapidly decreasing cost of the wireless nodes and d) the ability to reconfigure their basic properties (e.g., routing tables, transmission power levels, <italic>etc.</italic>) make this technology be an ideal candidate for numerous applications [<xref ref-type="bibr" rid="b3-sensors-10-07170">3</xref>–<xref ref-type="bibr" rid="b6-sensors-10-07170">6</xref>]. WMSNs not only augment classic applications of WSNs but also facilitate new ones. Thus, the great variety of WMSNs applications includes surveillance and reconnaissance, environment and habitat monitoring, fire detection, inventory control, biological and biomedical applications, traffic control, energy management, monitoring and handling of emergency situations, and battlefield monitoring and control [<xref ref-type="bibr" rid="b1-sensors-10-07170">1</xref>,<xref ref-type="bibr" rid="b7-sensors-10-07170">7</xref>].</p>
<p>However, the current capabilities of wireless <italic>ad hoc</italic> sensor networks are not able to support the complete set of characteristics of wired multimedia networks. One basic problem has to do with the need for large bandwidths and high transmission data rates. More specifically, the requirement of such properties is in conflict with the basic idea behind the utilization of wireless sensor nodes (small bandwidth, reconfiguration, small power consumption) [<xref ref-type="bibr" rid="b8-sensors-10-07170">8</xref>,<xref ref-type="bibr" rid="b9-sensors-10-07170">9</xref>]. Actually, this is the primary reason which necessitates the development of Quality of Service (QoS) related algorithms, in order for a WMSN to be possible to continue operation, by avoiding the occurrence of bottlenecks that lead to network instability. As a result of this never-ending battle between bandwidth against miniaturization and power consumption, the current research work in the area of WMSNs has focused on problems such as: (a) resource constraints, (b) application-specific QoS requirements, (c) algorithms for high bandwidth demand, (d) variable channel capacity, (e) cross layer coupling of functionalities, (f) multimedia source coding techniques and (g) multimedia in network processing [<xref ref-type="bibr" rid="b7-sensors-10-07170">7</xref>,<xref ref-type="bibr" rid="b10-sensors-10-07170">10</xref>–<xref ref-type="bibr" rid="b13-sensors-10-07170">13</xref>].</p>
<p>Many of the numerous applications of WMSNs are image-based. In such applications, sensor nodes have to capture, process and transmit huge amounts of optical data. However, the transmission of high volumes of data over a network increases the network traffic load and thus obstructs the prompt transmission of new image data and decelerates their refresh rate. In order to prevent these problems, the reduction of transmission rates could probably help. However, the prompt reception of image data is critical for most image-based applications of WMSNs. Thus, the reduction of transmission rates could make such applications be practically useless. An alternative solution is to reduce, via compression, the volume of the image data which are to be transmitted and maintain the transmission rates. However, this may considerably reduce the quality of the received images. Therefore, the image processing has to be efficient enough in order to make the best possible trade-off between the size of the images transmitted and their quality. Moreover, optical coding should have as little computational cost as possible for energy and time saving purposes.</p>
<p>The novel control scheme proposed in this article may be utilized in applications in which it is essential to retain the transmission of sequential image frames over a WMSN communication link, within soft bounded transmission delays, independently of the quality of the received images. The aforementioned demand of retaining the visual feedback, while penalizing the quality of the received image, is of paramount importance especially in semi-autonomous navigation functions in non-explored terrains based on communication links over wireless sensor networks. Moreover, the establishment of a control framework that provides soft-bounded time delays allows for the development of decentralized visual feedback serving applications in networked controlled systems, as the timing synchronization and the a priori bounds on the delays are of paramount importance [<xref ref-type="bibr" rid="b14-sensors-10-07170">14</xref>–<xref ref-type="bibr" rid="b16-sensors-10-07170">16</xref>].</p>
<p>More specifically, this article presents a novel congestion aware control scheme for the sequential transmission of image frames, through a WMSN. The implementation of the proposed congestion aware control scheme relies on: (a) the application of the Quad-Tree Decomposition (QTD) method [<xref ref-type="bibr" rid="b17-sensors-10-07170">17</xref>], and (b) a gradient based adaptation of the quad tree decomposed factor, with respect to the identified congestion in the wireless sensor network, in order to retain the transmission delays within a priori defined time bounds. By inserting the QTD scheme, the acquired images, prior to their transmission, are QT-decomposed (compressed). This approach not only dramatically reduces the time for transmitting a single image frame, but also increases the flexibility level of the quality of the received images. More specifically, by utilizing the gradient-based adaptive scheme for increasing/decreasing the level of compression, the transmission times are correspondingly decreased/increased, while at the same time soft bounds on the latency times can be computed for further utilization in visual serving applications, while retaining the quality of the received images in as high levels as possible.</p>
<p>The remainder of this article is organized as follows. In Section 2, the QTD method is presented, while in Section 3, the proposed adaptive QoS mechanism for the image transmission is being introduced. The efficacy of the proposed control scheme is experimentally evaluated presented in Section 4, while in Section 5 the conclusions are drawn.</p></sec>
<sec>
<label>2.</label>
<title>Quad Tree Decomposition Image Scheme</title>
<p>Typically, a natural image consists of some regions that locally have certain similarities and many other ones that have extensively varying content. Therefore, when coding such an image it is wise to allocate less data in order to decompose homogeneous neighborhoods and more data for areas containing edges and texture. In the scheme proposed in this work, a QTD scheme is utilized. QTD is an image segmentation method generally used for hierarchical decomposition. The main idea of hierarchical decomposition is to divide an image into sufficiently homogeneous areas, the levels of which can be compactly encoded. In the relevant bibliography, there are several image compression algorithms, with the most popular being the Discrete Cosine Transform, the Fractal compression, and the Wavelet Transform. The aforementioned techniques tend to be mathematically complex, except from the QTD algorithm. QTD has been widely utilized not only due to its low-complexity but because it is as well a powerful compression method [<xref ref-type="bibr" rid="b17-sensors-10-07170">17</xref>–<xref ref-type="bibr" rid="b21-sensors-10-07170">21</xref>].</p>
<p>These remarks make the QTD an ideal candidate for application in image based compression applications over WMSNs. In these applications most images are stored in raster format. Hence, any access to a raster image is sequential, starting from the top left-most pixel and ending at the bottom right-most pixel. The QTD can be performed in two alternative ways [<xref ref-type="bibr" rid="b21-sensors-10-07170">21</xref>]. The first is the Bottom-Up decomposition where each image is initially segmented into blocks which have the minimum possible size. In sequel, every four adjacent blocks of equal size are joined together if the new joint block is homogeneous. The overall procedure is repeated until no other blocks can be merged. The second implementation approach is the Top-Down decomposition, where each image is initially divided into four blocks of equal size. Next, each of the newly generated blocks recursively splits into four new blocks if it is inhomogeneous and its size is greater than the minimum possible block size. In general, in terms of processing speed, the Top-Down QTD is considered to outperform Bottom-Up QTD for images which are either large or smooth while the latter performs better for images which have either small size or high texture.</p>
<p>The image compression performed in this work, is based on the Top-Down QTD method. Thus, each image can be divided in half along both axes, all the way down to pixel level. This recursive subdividing of blocks allows the image data to be organized into groups, in accordance with the neighboring blocks. More specifically, every subdivision exists as one of four neighboring blocks. Actually, this is comparable to having a tree-like structure, where the root of the tree is the entire image, which recursively divaricates into four branches, until its leaves are pixels. In this manner, a quad tree is a tree having nodes which either are leaves (pixels) or have four children. As a result, each block is either completely a single color block or consists of four smaller sub-blocks. An example of a product of a QTD process is presented in <xref ref-type="fig" rid="f1-sensors-10-07170">Figure 1</xref>, where gray areas, are areas that no further decomposition can be applied. In the case presented in <xref ref-type="fig" rid="f1-sensors-10-07170">Figure 1</xref>, the original image frame has been decomposed into four blocks and sequentially the blocks 2, 3 and 4 have been further decomposed.</p>
<p>The tree-like evaluation of an image enables the removal of the unnecessary leaves and branches out of the tree, which result in the reduction of the QTD representation size. This could be achieved by checking every individual block whether it meets a criterion of homogeneity. If the former criterion is satisfied, the corresponding block is not divided any further. However, if the homogeneity criterion is not satisfied the block is further divided into another four blocks. The process is executed iteratively until each block satisfies the homogeneity criterion [<xref ref-type="bibr" rid="b22-sensors-10-07170">22</xref>,<xref ref-type="bibr" rid="b23-sensors-10-07170">23</xref>], expressed as:
<disp-formula id="FD1">
<label>(1)</label>
<mml:math display="block">
<mml:mrow>
<mml:mtext>max</mml:mtext>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi mathvariant="italic">MX</mml:mi>
<mml:mn>4</mml:mn></mml:msub>
<mml:mo>−</mml:mo>
<mml:msub>
<mml:mi mathvariant="italic">AVG</mml:mi>
<mml:mn>4</mml:mn></mml:msub>
<mml:mo>,</mml:mo>
<mml:mo> </mml:mo>
<mml:msub>
<mml:mi mathvariant="italic">AVG</mml:mi>
<mml:mn>4</mml:mn></mml:msub>
<mml:mo>−</mml:mo>
<mml:msub>
<mml:mi mathvariant="italic">MN</mml:mi>
<mml:mn>4</mml:mn></mml:msub>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>≤</mml:mo>
<mml:mfrac>
<mml:mi>R</mml:mi>
<mml:mi>L</mml:mi></mml:mfrac>
<mml:mo stretchy="false">(</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msubsup>
<mml:mi mathvariant="italic">AVG</mml:mi>
<mml:mn>4</mml:mn>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>−</mml:mo>
<mml:mfrac>
<mml:mi>γ</mml:mi>
<mml:mn>2</mml:mn></mml:mfrac></mml:mrow></mml:msubsup></mml:mrow>
<mml:mi>q</mml:mi></mml:mfrac>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></disp-formula>In this formula, <italic>MX</italic><sub>4</sub> represents the maximum value of the four leaves of a branch, while <italic>MN</italic><sub>4</sub> expresses the minimum value found on this branch, and <italic>AV G</italic><sub>4</sub> symbolizes the linear average of the values found on this specific branch. Additionally, <italic>R</italic> ∈ (0, 1) is the decomposition factor, which expresses the degree of compression, and <italic>L</italic> refers to a scaling factor which corresponds to the size of image region. For instance, <italic>L</italic>=1 corresponds to simple pixels, <italic>L</italic> = 2 corresponds to regions of size 2 × 2 and so on. Moreover, γ represents the gamma correction, and <italic>q</italic> denotes the ratio of the region to image size. For instance, when γ gets the commonly used value 2 and <italic>q</italic> is equal to 128, the quantity inside the parenthesis simplifies to 1/128. Thus, for a pixel array derived from an image of size 256 × 256, it represents 1/128 of the image size. This means that there are 128 pixel arrays in a 256 × 256 sized image. If a leaf is removed, a quadrant will be represented by the average of the pixels it contained before pruning. The utilization of the homogeneity criterion expressed by <xref ref-type="disp-formula" rid="FD1">Equation (1)</xref>, leads to the formation of images of reduced size created through the QTD.</p>
<p>The effect of decomposition factor on the quality of a QT-decomposed image is illustrated in <xref ref-type="fig" rid="f2-sensors-10-07170">Figure 2</xref>. More precisely, on the left side the of this figure an 8–bit gray scale image of benchmark image Lenna, which is commonly used in image processing research, with an analysis of 256 × 256 pixels is shown. In the middle portion of <xref ref-type="fig" rid="f2-sensors-10-07170">Figure 2</xref> the block partitioning, resulting from a QT-decomposition with a decomposition factor <italic>R</italic> = 0.5 is presented. Finally, the right portion of the same figure contains the resulting QT-decomposed image of Lenna.</p>
<p>Based on the homogeneity criterion in <xref ref-type="disp-formula" rid="FD1">Equation (1)</xref>, it is straightforward that an increase/decrease of the decomposition factor <italic>R</italic> results in a corresponding decrease/increase of the quality/fidelity of QT-compressed image. To demonstrate this effect on the same Lenna benchmark image (utilized also in <xref ref-type="fig" rid="f2-sensors-10-07170">Figure 2</xref>), <xref ref-type="fig" rid="f3-sensors-10-07170">Figure 3</xref> depicts the effect of the decomposition factor <italic>R</italic> on the QT-compressed image of Lenna. More specifically, the left most image on the upper row in <xref ref-type="fig" rid="f3-sensors-10-07170">Figure 3</xref>, is the original Lenna image. The images following this image from left to right at the upper row correspond to the cases where <italic>R</italic> takes sequentially the values 0.2, 0.3 and 0.4. Similarly, the images presented from left to right on the lower row of <xref ref-type="fig" rid="f3-sensors-10-07170">Figure 3</xref> correspond to <italic>R</italic> values of 0.5 to 0.8.</p>
<p>The decomposition factor <italic>R</italic> affects not only the quality of the image but also its compression. The block partitioning of an image (blocks containing relevant pixels depending on the selected <italic>R</italic>) after a QTD is also affected by the selection of the <italic>R</italic> factor. Large/small number of blocks indicate a high/low image quality.</p>
<p>The decrease of the block partitioning directly decreases the data needed for the reconstruction of an image, and this is why by applying a varying decomposition approach in the transmitted images it is possible to control the corresponding time delays for transmitting a single image frame. This effect on the size of the resulting QTD image, is illustrated in <xref ref-type="fig" rid="f4-sensors-10-07170">Figure 4</xref>. More precisely, this figure depicts the relevance between the number of bytes needed for the representation of the image and the corresponding selected QTD factor <italic>R</italic>. The underlying assumption is that each block is characterized by four numbers. The first two numbers represent the position of the block in the image byte array, the third number indicates the size (square) of the block, while the fourth number indicates the value of the pixels contained in the block. For gray images, like the utilized benchmark image of Lenna, the pixels can take integer values in [0,255].</p>
<p>The increase of the decomposition factor <italic>R</italic> correspondingly effects, except from the image size, the quality of the decomposed image. In order to measure this effect, the Peak Signal to Noise Ration (PSNR) measurement has been utilized. This PSNR ration expresses the difference in quality among the original Lenna image and the decomposed one, while the higher the PSNR is, the better the quality of the decomposed image is. For the examined case, the effect on the quality of the decomposed Lenna image <italic>versus</italic> the selected decomposition factor <italic>R</italic> is depicted in <xref ref-type="fig" rid="f5-sensors-10-07170">Figure 5</xref>.</p></sec>
<sec>
<label>3.</label>
<title>Adaptive Image Compression for Transmission over a Wireless Multimedia Sensor Network</title>
<p>The proposed scheme, is an adaptive image compression algorithm, that regulates the quality of the transmitted images according to: (a) the traffic load within the network, and (b) the level of data contained in an image frame. The proposed image transmission scheme is based on the application of the QTD with a varying decomposition compression factor within a gradient adaptive approach, while the overall proposed architecture is depicted in <xref ref-type="fig" rid="f6-sensors-10-07170">Figure 6</xref>.</p>
<p>Initially, the images captured through a camera are QT-decomposed. Next, the resulting QTD partitioning of each single image is transformed in a batch <italic>b</italic> of data packets, in order to enable the image transmission over the employed WMSN. Through the multihop property of WSMNs the data packets reach the receiver side where the received data streams are composed into images.</p>
<p>The total transmission time needed, to complete the transmission of a single image frame, is considered as the summation of Δ<italic><sub>ip</sub></italic> time that represents a fixed inner-packet delay and the Δ<italic><sub>tp</sub></italic> time that denotes the packet’s transmission delay, where Δ<italic><sub>ip</sub></italic> ≪ Δ<italic><sub>tp</sub></italic>, and Δ<italic><sub>ip</sub></italic>, Δ<italic><sub>tp</sub></italic> ∈ ℜ<sup>+</sup>.</p>
<p>It is assumed that each data packet batch <italic>b</italic> has totally <italic>S<sub>b</sub></italic> ∈ 𝒵<sup>+</sup> bytes which are segmented in <italic>N<sub>b</sub></italic> data packets having <italic>p<sub>b<sub>j</sub></sub></italic> bytes per packet, where <italic>p<sub>b<sub>i</sub></sub></italic> ∈ 𝒵<sup>+</sup>. The index <italic>j</italic> ∈ 𝒵<sup>+</sup> denotes the varying size of bytes per packet. The total size of transmitted data, for a single image batch, can be calculated as:
<disp-formula id="FD2">
<label>(2)</label>
<mml:math display="block">
<mml:mrow>
<mml:msub>
<mml:mi>S</mml:mi>
<mml:mi>b</mml:mi></mml:msub>
<mml:mo>=</mml:mo>
<mml:munderover>
<mml:mo>∑</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn></mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>N</mml:mi>
<mml:mi>b</mml:mi></mml:msub></mml:mrow></mml:munderover>
<mml:mrow>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mrow></mml:math></disp-formula>In the case where the number of bytes per packet <italic>p<sub>b<sub>i</sub></sub></italic> is constant and equal, i.e., all the <italic>N<sub>b</sub></italic> data packets have the maximum full length <italic>p<sub>b</sub></italic>, <xref ref-type="disp-formula" rid="FD2">Equation (2)</xref> can be reformed as:
<disp-formula id="FD3">
<label>(3)</label>
<mml:math display="block">
<mml:mrow>
<mml:msub>
<mml:mi>S</mml:mi>
<mml:mi>b</mml:mi></mml:msub>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>N</mml:mi>
<mml:mi>b</mml:mi></mml:msub>
<mml:mo>⋅</mml:mo>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>b</mml:mi></mml:msub></mml:mrow></mml:math></disp-formula>and the total transmission time 
<inline-formula>
<mml:math>
<mml:mrow>
<mml:msubsup>
<mml:mi>T</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>b</mml:mi></mml:msubsup>
<mml:mo>∈</mml:mo>
<mml:msup>
<mml:mi>ℜ</mml:mi>
<mml:mo>+</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> needed for a complete data batch <italic>b</italic> to be transmitted, is given by:
<disp-formula id="FD4">
<label>(4)</label>
<mml:math display="block">
<mml:mrow>
<mml:msubsup>
<mml:mi>T</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>b</mml:mi></mml:msubsup>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>N</mml:mi>
<mml:mi>b</mml:mi></mml:msub>
<mml:mo>⋅</mml:mo>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mo>Δ</mml:mo>
<mml:mi mathvariant="italic">ip</mml:mi></mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mo>Δ</mml:mo>
<mml:mi mathvariant="italic">tp</mml:mi></mml:msub>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></disp-formula>It should be noted that the value of Δ<italic><sub>tp</sub></italic> depends on the technical features of the hardware circuits utilized by the wireless sensors and thus it is considered to be constant for constant hardware setups. Δ<italic><sub>ip</sub></italic> represents the summation of all time delays caused by data transmission and can be analyzed in: (a) the traffic load within the network (congestion), and (b) the level of details contained in an image frame. From the previous analysis it is straightforward that the only variations, that affect the time needed for the complete transmission of an image, are due to the variations of Δ<italic><sub>ip</sub></italic>. This factor can be measured by applying time stamps in the data packets before transmission and requesting from the receiver for an acknowledgement signal.</p>
<p>Before the initialization of transmitting sequential image frames, an a priori bound <italic>T<sup>d</sup></italic> is being set to the transmission time 
<inline-formula>
<mml:math>
<mml:mrow>
<mml:msubsup>
<mml:mi>T</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>b</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> as:
<disp-formula id="FD5">
<label>(5)</label>
<mml:math display="block">
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>≤</mml:mo>
<mml:msubsup>
<mml:mi>T</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>b</mml:mi></mml:msubsup>
<mml:mo>≤</mml:mo>
<mml:msup>
<mml:mi>T</mml:mi>
<mml:mi>d</mml:mi></mml:msup></mml:mrow></mml:math></disp-formula>where <italic>T<sup>d</sup></italic> ∈ 𝒵<sup>+</sup> represents the maximum desired time delay that the transmission of a single image frame should not exceed. Let <italic>e</italic> ∈ ℜ be the deviation among the desired time delay <italic>T<sup>d</sup></italic> and the currently measured time 
<inline-formula>
<mml:math>
<mml:mrow>
<mml:msubsup>
<mml:mi>T</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>b</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula>, <italic>i.e.</italic>,
<disp-formula id="FD6">
<label>(6)</label>
<mml:math display="block">
<mml:mrow>
<mml:mi>e</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:msup>
<mml:mi>T</mml:mi>
<mml:mi>d</mml:mi></mml:msup>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>−</mml:mo>
<mml:msubsup>
<mml:mi>T</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>b</mml:mi></mml:msubsup>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></disp-formula>and the relative quadratic cost function:
<disp-formula id="FD7">
<label>(7)</label>
<mml:math display="block">
<mml:mrow>
<mml:mi>J</mml:mi>
<mml:mo>=</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msup>
<mml:mi>T</mml:mi>
<mml:mi>d</mml:mi></mml:msup>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>−</mml:mo>
<mml:msubsup>
<mml:mi>T</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>b</mml:mi></mml:msubsup>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:mrow>
<mml:mo stretchy="false">)</mml:mo></mml:mrow>
<mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:math></disp-formula>where <italic>k</italic> ∈ 𝒵<sup>+</sup> is the sample index. Let <italic>μ</italic> ∈ ℜ be the gradient convergence factor. Then, the following gradient based adaptation rule for the decomposition factor <italic>R</italic> can be derived:
<disp-formula id="FD8">
<label>(8)</label>
<mml:math display="block">
<mml:mrow>
<mml:mi>R</mml:mi>
<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:mi>R</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>−</mml:mo>
<mml:mi>μ</mml:mi>
<mml:mo>⋅</mml:mo>
<mml:mi>e</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></disp-formula></p>
<p>The overall algorithm is summarized in <xref ref-type="table" rid="t1-sensors-10-07170">Table 1</xref>.</p>
<p>It should be noted that the proposed scheme addresses only the cases where there is a small variation of the captured image content, such as applications of surveillance and security. This limitation is mandatory for allowing the convergence of the proposed adaptation scheme. In the cases of fast content variations, even if a larger adaptation factor has been adopted, the proposed algorithm will not converge, the obtaining QTD-images will have a very poor quality, and the a priori soft time bounds will not be possible to be met. This limitation is not only a problem for the proposed adaptation scheme but it is a common problem in adaptive control and mainly in system identification that until now only partial solutions have been proposed for the cases of systems of slow varying dynamics [<xref ref-type="bibr" rid="b24-sensors-10-07170">24</xref>].</p>
<p>In order to highlight the effects of the proposed adaptation scheme, the same image of Lenna has been utilized in all the experimental results depicted. This approach is providing more comprehensive and straight forward results to the reader, as the differences in the quality of the received QTD-images, <italic>versus</italic> the convergence factor, can be more easily identified, without loss of generality.</p></sec>
<sec sec-type="results">
<label>4.</label>
<title>Experimental Results</title>
<p>The overall proposed QoS control mechanism has been applied in extensive experimental test cases. More analytically for the experimental test-bend, a video camera from Logitech, through a PC-104 Embedded module from AxiomTek has been connected to a MaxStream XBee XB24B Zigbee Modem, based on a XBEE USB connector board from Sparkfun. The video camera has been set in an 8-bit gray scale resolution, producing captured images images with an analysis of 256 × 256 pixels. This image has been also utilized to produce sequential transmitted images, in order to simplify the comprehension of the reader towards the variations in the quality of the sequentially received images, based on different decomposition factors <italic>R</italic>(<italic>k</italic>), without a loss of the generality for the presented approach.</p>
<p>The established Zigbee-WMSN consists of one coordinator node, three routers and one end device. The coordinator is responsible for maintaining the WMSN network and transmitting the decomposed images as data packets to the Zigbee network [<xref ref-type="bibr" rid="b25-sensors-10-07170">25</xref>–<xref ref-type="bibr" rid="b27-sensors-10-07170">27</xref>]. Moreover, the routers are responsible for establishing connections within the WMSN network in order to forward the decomposed image data packets (forwarders). The end device serves as the interface of the network to the computer at the receiver side.</p>
<p>The overall programming environment is NI’s LabView, while the XBee modems for the coordinator, the routers and the end device, as set up using the provided XBee API communication framework. The communication between the XBee modem and the computer are setup to a Baudrate of 9600 kbps using hardware flow control for the serial port. The selection of this data rate has been made again without loss of generality, as the presented experimental results can be also straight forward being extended to higher Baudrates. The parameters that have been utilized in the WMSN during the experiments performed are outlined in <xref ref-type="table" rid="t2-sensors-10-07170">Table 2</xref>.</p>
<p>To evaluate the performance of the proposed scheme in the first test case, sequential frames containing the 256 × 256 pixels gray scale and with a depth of 8-bit image of Lenna have been transmitted over the WMSN. The QT-decomposition factor is set to <italic>R</italic> = 0.9 (very high decomposition/very low quality of QTD image), the time bound for the overall transmission time was selected as <italic>T<sub>d</sub></italic> = 10 s, while the initial value for the convergence factor <italic>μ</italic> was 0.01. In <xref ref-type="fig" rid="f7-sensors-10-07170">Figure 7</xref> the time delay needed to transmit sequential image frames of Lenna with an adaptive <italic>R</italic> is presented, while in <xref ref-type="fig" rid="f8-sensors-10-07170">Figures 8</xref> and <xref ref-type="fig" rid="f9-sensors-10-07170">9</xref> the corresponding time convergence of the QT-decomposition factor and the response of the error among the current measurement delay and the a priori bound are presented.</p>
<p>The selected initial value of <italic>R</italic> = 0.9 causes a high compression of the image and a very small transmission time (beginning of <xref ref-type="fig" rid="f8-sensors-10-07170">Figure 8</xref>) but with an extreme low quality in the transmitted image. Such a selection has been made in this article only for demonstrating the effectiveness of the proposed control scheme. Due to the gradient based, adaptation rule, the quality of the image is sequentially increased as <italic>R</italic> is decreased (<xref ref-type="fig" rid="f8-sensors-10-07170">Figure 8</xref>, while always retaining the soft bound that has been a priori set. As it can be observed in <xref ref-type="fig" rid="f9-sensors-10-07170">Figure 9</xref> the proposed algorithm manages to converge in an <italic>R</italic> value that satisfies the boundary conditions for the transmission time delay, while maximizing the quality of the transmitted image. This can be also observed by <xref ref-type="fig" rid="f10-sensors-10-07170">Figure 10</xref> where the initial transmitted image with <italic>R</italic> = 0.9 is compared against the final transmitted decomposed image with the converged value of <italic>R</italic> = 0.567, at the 250 s of the experimental results.</p>
<p>In the second test case, the QT-decomposition factor was set as <italic>R</italic> = 0.1 (very low decomposition/very high quality of QTD image), the time bound for the overall transmission time was selected as <italic>T<sub>d</sub></italic> = 5 s, while the initial value for the convergence factor <italic>μ</italic> was again set as 0.01. Again this selection of the decomposition factor has been made only for demonstrating the effectiveness of the proposed scheme, as such a selection achieves almost no compression in the transmitted decomposed image frame. In <xref ref-type="fig" rid="f11-sensors-10-07170">Figure 11</xref> the time delay needed to transmit sequential image frames of Lenna with an adaptive <italic>R</italic> is presented, while in <xref ref-type="fig" rid="f12-sensors-10-07170">Figures 12</xref> and <xref ref-type="fig" rid="f13-sensors-10-07170">13</xref> the corresponding time convergence of the QT–decomposition factor and the response of the error among the current measurement delay and the a priori bound are presented.</p>
<p>The initial value of <italic>R</italic> = 0.1 achieves low compression of the image and very large transmission time, where in this case it is noted that the second image frame, is being transmitted after 250 s, as it is also displayed in <xref ref-type="fig" rid="f12-sensors-10-07170">Figure 12</xref>. Due to the gradient based adaptation rule, the quality of the image is sequentially decreased as <italic>R</italic> is increased (<xref ref-type="fig" rid="f12-sensors-10-07170">Figure 12</xref>, while always retaining the soft bound that has been a priori set to 5 s. As it can be observed in <xref ref-type="fig" rid="f13-sensors-10-07170">Figure 13</xref> the proposed algorithm manages to converge in an <italic>R</italic> value that satisfies the boundary conditions for the transmission time delay, while maximizing the allowed quality of the transmitted image. This can be also observed by <xref ref-type="fig" rid="f14-sensors-10-07170">Figure 14</xref> where the initial image with <italic>R</italic> = 0.1 is compared against the final transmitted decomposed image with the converged value of <italic>R</italic>=0.6862, at the 350 s of the experimental results.</p>
<p>Finally in the third experiment case, the QT-decomposition factor was set as <italic>R</italic> = 0.3 (medium decomposition/medium quality of QTD image), the time bound for the overall transmission time was selected as <italic>T<sub>d</sub></italic> = 20 s, while the initial value for the convergence factor <italic>μ</italic> was again 0.01. In <xref ref-type="fig" rid="f15-sensors-10-07170">Figure 15</xref> the time delay needed to transmit sequential image frames of Lenna with an adaptive <italic>R</italic> is presented, while in <xref ref-type="fig" rid="f16-sensors-10-07170">Figures 16</xref> and <xref ref-type="fig" rid="f17-sensors-10-07170">17</xref> the corresponding time convergence of the QT-decomposition factor and the response of the error among the current measurement delay and the a priori bound are presented.</p>
<p>The initial selection of <italic>R</italic> = 0.3 is a factor that achieves a medium compression of the image while retaining acceptable transmission time delays. In <xref ref-type="fig" rid="f16-sensors-10-07170">Figure 16</xref> is should noted that the selection of <italic>R</italic> = 0.3 results in a total delay of 150 s before transmitting the second image frame, a time duration that it is much longer than the a priori time bound. Due to the gradient based, adaptation rule, the quality of the image is sequentially decreased and the convergence of <italic>R</italic> is depicted in <xref ref-type="fig" rid="f16-sensors-10-07170">Figure 16</xref>, while the soft bound is always valid. As it can be observed in <xref ref-type="fig" rid="f17-sensors-10-07170">Figure 17</xref> the proposed algorithm manages to converge in an <italic>R</italic> value that satisfies the boundary conditions for the transmission time delay, while maximizing the allowed quality of the transmitted image. This can be also observed by <xref ref-type="fig" rid="f18-sensors-10-07170">Figure 18</xref> where the initial image with <italic>R</italic> = 0.3 is compared against the final transmitted decomposed image with the converged value of <italic>R</italic> = 0.430, at the 400 s of the experimental results.</p>
<p>In what follows, the performance of the proposed scheme is demonstrated under the existence of congestion and packet losses. In this case, the distance among the nodes has been increased to 20 m and congestion has been considered in the transmission loop, as two other nodes transmit randomly data packets to the same receiver node. For the case of a 10% congested network, with an initial QT-decomposition factor of <italic>R</italic> = 0.8, an a priori time bound for the overall transmission time of <italic>T<sub>d</sub></italic> = 15 <italic>s</italic> and for an initial values for the convergence factor of <italic>μ</italic> = 0.01, <xref ref-type="fig" rid="f19-sensors-10-07170">Figure 19</xref> presents the time delay needed to transmit sequential image frames of Lenna <italic>versus</italic> the adaptation of <italic>R</italic>. Moreover <xref ref-type="fig" rid="f20-sensors-10-07170">Figures 20</xref> and <xref ref-type="fig" rid="f21-sensors-10-07170">21</xref> present the corresponding time convergence of the QT-decomposition factor and the response of the error among the current measurement delay and the a priori bound respectively.</p>
<p>As it can be observed in <xref ref-type="fig" rid="f22-sensors-10-07170">Figure 22</xref>, where the initial image with <italic>R</italic> = 0.8 is compared to the final transmitted decomposed image, with a converged value of <italic>R</italic> = 0.4866, the existing congestion and packet losses do not influence the quality of the overall proposed scheme and more specifically the quality of the received image. This fact has been the main reason for selecting the QT-Decomposition, as losses during the data packet transmissions, result only in the loss of small image details and not in a complete loss of the data included in the transmitted image. This is more obvious in <xref ref-type="fig" rid="f22-sensors-10-07170">Figure 22</xref> where it can be observed that the data packet losses have appeared in the received image as square black areas.</p>
<p>As it can be observed in <xref ref-type="fig" rid="f23-sensors-10-07170">Figure 23</xref>, same results can also be obtained for the case of a 30% congested network, and with the same characteristics and initial conditions as before. Despite the increase of the data packet losses, the quality of the image still remains satisfactory.</p>
<p>As it has been shown through the experimental results, the presented adaptation scheme has the advantage of being completely scalable. This means that addition of multiple image senders and multiple image receivers respectively would not alter the functionality of the proposed scheme, except from the levels of congestion and packet losses. In the case of multiple image sender nodes and one image receiver node the proposed scheme will result in: (a) a significant increase of congestion and packet losses, (b) increase of the round trip times for a complete transmission of an image frame, (c) increase of the overhead in the data packets due to the need of tagging the data packets with respect to the image that belong, and this is why such an approach is not recommended.</p>
<p>From the experiments and the relevant analysis presented it is derived that the proposed control scheme is ideal for transmitting sequential images with provided soft bounds on the transmission time delays, specifically in the cases where the sequential frames are containing images without extreme changes in their data content.</p></sec>
<sec sec-type="conclusions">
<label>5.</label>
<title>Conclusions</title>
<p>In this article a sequential image transmission scheme over Wireless Sensor Networks (WSN) with soft bounded transmission time delays has been presented. The proposed control architecture, was a Quality of Service (QoS) algorithm, that adapts the quality of the transmitted images, in a gradient based adaptive approach, in order to provide soft bounds for the image transmission time delays (end to end). The bounding of the transmission time, needed for a single frame, has been achieved by applying Quad Tree Decomposition (QTD) with a varying decomposition compression factor. For the initialization of the proposed control scheme, the desired a priori maximum bound for the transmission time delay is being set, while a trade-off among the quality of the decomposed image frame and the time needed for completing the transmission of the frame should be taken under consideration. The efficacy of the proposed QoS control scheme was evaluated through extended experimental results.</p></sec></body>
<back>
<ref-list>
<title>References</title>
<ref id="b1-sensors-10-07170"><label>1.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Akyildiz</surname><given-names>I</given-names></name><name><surname>Melodia</surname><given-names>T</given-names></name><name><surname>Chowdhury</surname><given-names>K</given-names></name></person-group><article-title>A survey on wireless multimedia sensor networks Computer Networks</article-title><source>Comput. Networks</source><year>2007</year><volume>51</volume><fpage>921</fpage><lpage>960</lpage><pub-id pub-id-type="doi">10.1016/j.comnet.2006.10.002</pub-id></citation></ref>
<ref id="b2-sensors-10-07170"><label>2.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Misra</surname><given-names>S</given-names></name><name><surname>Reisslein</surname><given-names>M</given-names></name><name><surname>Xue</surname><given-names>G</given-names></name></person-group><article-title>A survey of multimedia streaming in wireless sensor networks</article-title><source>IEEE Commun. Surv. Tutorials</source><year>2008</year><volume>10</volume><fpage>18</fpage><lpage>39</lpage><pub-id pub-id-type="doi">10.1109/SURV.2008.080404</pub-id></citation></ref>
<ref id="b3-sensors-10-07170"><label>3.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Akyildiz</surname><given-names>IF</given-names></name><name><surname>Wang</surname><given-names>X</given-names></name><name><surname>Wang</surname><given-names>W</given-names></name></person-group><article-title>Wireless mesh networks: A survey</article-title><source>Comput. Networks</source><year>2005</year><volume>47</volume><fpage>445</fpage><lpage>487</lpage><pub-id pub-id-type="doi">10.1016/j.comnet.2004.12.001</pub-id></citation></ref>
<ref id="b4-sensors-10-07170"><label>4.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Akyildiz</surname><given-names>IF</given-names></name><name><surname>Su</surname><given-names>W</given-names></name><name><surname>Sankarasubramamian</surname><given-names>Y</given-names></name><name><surname>Cayirci</surname><given-names>E</given-names></name></person-group><article-title>Wireless Sensor Networks: A survey</article-title><source>Comput. Network</source><year>2002</year><volume>38</volume><fpage>393</fpage><lpage>422</lpage><pub-id pub-id-type="doi">10.1016/S1389-1286(01)00302-4</pub-id></citation></ref>
<ref id="b5-sensors-10-07170"><label>5.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Buratti</surname><given-names>C</given-names></name><name><surname>Conti</surname><given-names>A</given-names></name><name><surname>Dardari</surname><given-names>D</given-names></name><name><surname>Verdone</surname><given-names>R</given-names></name></person-group><article-title>An overview on wireless sensor networks technology and evolution</article-title><source>Sensors</source><year>2009</year><volume>9</volume><fpage>6869</fpage><lpage>6896</lpage><pub-id pub-id-type="doi">10.3390/s90906869</pub-id><pub-id pub-id-type="pmid">22423202</pub-id></citation></ref>
<ref id="b6-sensors-10-07170"><label>6.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Garcia-Hernandez</surname><given-names>CF</given-names></name><name><surname>Ibarguengoytia-Gonzalez</surname><given-names>PH</given-names></name><name><surname>Garcia-Hernandez</surname><given-names>J</given-names></name><name><surname>Perez-Diaz</surname><given-names>JA</given-names></name></person-group><article-title>Wireless sensor networks and applications: A survey</article-title><source>Int. J. Comput. Sci. Netw. Security</source><year>2007</year><volume>7</volume><fpage>264</fpage><lpage>273</lpage></citation></ref>
<ref id="b7-sensors-10-07170"><label>7.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Akyildiz</surname><given-names>I</given-names></name><name><surname>Melodia</surname><given-names>T</given-names></name><name><surname>Chowdhury</surname><given-names>K</given-names></name></person-group><article-title>Wireless multimedia sensor networks: Applications and testbeds</article-title><source>Proc. IEEE</source><year>2008</year><volume>96</volume><fpage>1588</fpage><lpage>1605</lpage><pub-id pub-id-type="doi">10.1109/JPROC.2008.928756</pub-id></citation></ref>
<ref id="b8-sensors-10-07170"><label>8.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Duarte-Melo</surname><given-names>EJ</given-names></name><name><surname>Liu</surname><given-names>M</given-names></name></person-group><article-title>Data gathering wireless sensor networks: Organization and capacity</article-title><source>Comput. Networks</source><year>2003</year><volume>43</volume><fpage>393</fpage><lpage>422</lpage></citation></ref>
<ref id="b9-sensors-10-07170"><label>9.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kandris</surname><given-names>D</given-names></name><name><surname>Tsioumas</surname><given-names>P</given-names></name><name><surname>Tzes</surname><given-names>A</given-names></name><name><surname>Nikolakopoulos</surname><given-names>G</given-names></name><name><surname>Vergados</surname><given-names>D</given-names></name></person-group><article-title>Power conservation through energy efficient routing in wireless sensor networks</article-title><source>Sensors</source><year>2009</year><volume>9</volume><fpage>7320</fpage><lpage>7342</lpage><pub-id pub-id-type="doi">10.3390/s90907320</pub-id><pub-id pub-id-type="pmid">22399998</pub-id></citation></ref>
<ref id="b10-sensors-10-07170"><label>10.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lee</surname><given-names>J</given-names></name><name><surname>Jung</surname><given-names>I</given-names></name></person-group><article-title>Reliable asynchronous image transfer protocol in wireless multimedia sensor networks</article-title><source>Sensors</source><year>2010</year><volume>10</volume><fpage>1486</fpage><lpage>1510</lpage><pub-id pub-id-type="pmid">22294883</pub-id></citation></ref>
<ref id="b11-sensors-10-07170"><label>11.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Aghadasi</surname><given-names>H</given-names></name><name><surname>Bisadi</surname><given-names>P</given-names></name><name><surname>Moghaddam</surname><given-names>M</given-names></name><name><surname>Abbaspour</surname><given-names>M</given-names></name></person-group><article-title>High-resolution images with minimum energy dissipation and maximum field-of-view in camera-based wireless multimedia sensor networks</article-title><source>Sensors</source><year>2009</year><volume>9</volume><fpage>6385</fpage><lpage>6410</lpage><pub-id pub-id-type="doi">10.3390/s90806385</pub-id><pub-id pub-id-type="pmid">22454591</pub-id></citation></ref>
<ref id="b12-sensors-10-07170"><label>12.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wang</surname><given-names>X</given-names></name><name><surname>Ma</surname><given-names>JJ</given-names></name><name><surname>Ding</surname><given-names>L</given-names></name><name><surname>Bi</surname><given-names>DW</given-names></name></person-group><article-title>Robust forecasting for energy efficiency of wireless multimedia sensor networks</article-title><source>Sensors</source><year>2007</year><volume>7</volume><fpage>2779</fpage><lpage>2807</lpage><pub-id pub-id-type="doi">10.3390/s7112779</pub-id></citation></ref>
<ref id="b13-sensors-10-07170"><label>13.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Aghadasi</surname><given-names>H</given-names></name><name><surname>Abbaspour</surname><given-names>M</given-names></name><name><surname>Moghadam</surname><given-names>M</given-names></name><name><surname>Samei</surname><given-names>Y</given-names></name></person-group><article-title>An energy-efficient and high-quality video transmission architecture in wireless video-based sensor networks</article-title><source>Sensors</source><year>2008</year><volume>8</volume><fpage>4529</fpage><lpage>4559</lpage><pub-id pub-id-type="doi">10.3390/s8084529</pub-id></citation></ref>
<ref id="b14-sensors-10-07170"><label>14.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Tzes</surname><given-names>A</given-names></name><name><surname>Nikolakopoulos</surname><given-names>G</given-names></name><name><surname>Koutroulis</surname><given-names>I</given-names></name></person-group><article-title>Development and experimental verification of a mobile client-centric networked controlled system</article-title><conf-name>Proceedings of the European Control Conference</conf-name><conf-loc>Cambridge, UK</conf-loc><conf-date>September 2003</conf-date></citation></ref>
<ref id="b15-sensors-10-07170"><label>15.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Tzes</surname><given-names>A</given-names></name><name><surname>Nikolakopoulos</surname><given-names>G</given-names></name></person-group><article-title>LQR-output feedback gain scheduling of mobile networked controlled systems</article-title><conf-name>Proceedings of the American Control Conference</conf-name><conf-loc>Boston, MA, USA</conf-loc><conf-date>30 June–2 July, 2004</conf-date></citation></ref>
<ref id="b16-sensors-10-07170"><label>16.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Nikolakopoulos</surname><given-names>G</given-names></name><name><surname>Panousopoulou</surname><given-names>A</given-names></name><name><surname>Tzes</surname><given-names>A</given-names></name><name><surname>Lygeros</surname><given-names>J</given-names></name></person-group><article-title>Multi-hoping induced gain scheduling for wireless networked controlled systems</article-title><source>Asian J. Control</source><year>2007</year><volume>9</volume><fpage>450</fpage><lpage>457</lpage></citation></ref>
<ref id="b17-sensors-10-07170"><label>17.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sullivan</surname><given-names>G</given-names></name><name><surname>Baker</surname><given-names>R</given-names></name></person-group><article-title>Efficient quadtree coding of images and video</article-title><source>IEEE Trans. Image Processing</source><year>1994</year><volume>3</volume><fpage>327</fpage><lpage>331</lpage><pub-id pub-id-type="doi">10.1109/83.287030</pub-id></citation></ref>
<ref id="b18-sensors-10-07170"><label>18.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Shoushun</surname><given-names>C</given-names></name><name><surname>Bermak</surname><given-names>A</given-names></name><name><surname>Yan</surname><given-names>W</given-names></name><name><surname>Martinez</surname><given-names>D</given-names></name></person-group><article-title>Adaptive-quantization digital image sensor for low power image compression</article-title><source>IEEE Trans. Circuit. Syst-I</source><year>2007</year><volume>54</volume><fpage>13</fpage><lpage>25</lpage><pub-id pub-id-type="doi">10.1109/TCSI.2006.887460</pub-id></citation></ref>
<ref id="b19-sensors-10-07170"><label>19.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ellinas</surname><given-names>JN</given-names></name><name><surname>Sangriotis</surname><given-names>MS</given-names></name></person-group><article-title>Stereo video coding based on quad-tree decomposition of B-P frames by motion and disparity interpolation</article-title><source>IEEE Proc. Vis. Image Signal Pro</source><year>2005</year><volume>152</volume><fpage>639</fpage><lpage>647</lpage><pub-id pub-id-type="doi">10.1049/ip-vis:20045033</pub-id></citation></ref>
<ref id="b20-sensors-10-07170"><label>20.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Tasdoken</surname><given-names>S</given-names></name><name><surname>Cuhadar</surname><given-names>A</given-names></name></person-group><article-title>Quadtree-based multiregion multiquality image coding</article-title><source>IEEE Signal Process. Lett</source><year>2005</year><volume>11</volume><fpage>101</fpage><lpage>103</lpage></citation></ref>
<ref id="b21-sensors-10-07170"><label>21.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zhai</surname><given-names>G</given-names></name><name><surname>Lin</surname><given-names>W</given-names></name><name><surname>Cai</surname><given-names>J</given-names></name><name><surname>Yang</surname><given-names>X</given-names></name><name><surname>Zhang</surname><given-names>W</given-names></name></person-group><article-title>Efficient quadtree based block-shift filtering for deblocking and deranging</article-title><source>J. Vis. Commun. Image Represent</source><year>2009</year><volume>20</volume><fpage>595</fpage><lpage>607</lpage><pub-id pub-id-type="doi">10.1016/j.jvcir.2009.06.004</pub-id></citation></ref>
<ref id="b22-sensors-10-07170"><label>22.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Sureshchandran</surname><given-names>S</given-names></name><name><surname>Warter</surname><given-names>P</given-names></name></person-group><article-title>Algorithms and architectures for real time image compression using a feature visibility criterion</article-title><conf-name>Proceedings of the IEEE International Conference on Systems, Man and Cybernetics</conf-name><conf-loc>Le Touquet, France</conf-loc><conf-date>October 1993</conf-date><fpage>339</fpage><lpage>344</lpage></citation></ref>
<ref id="b23-sensors-10-07170"><label>23.</label><citation citation-type="other"><person-group person-group-type="author"><name><surname>Porche</surname><given-names>J</given-names></name></person-group><article-title>An Architecture for Quad-Tree Based Image Compression</article-title><comment>Ph.D. Dissertation,</comment><publisher-name>North Carolina A&amp;T State University</publisher-name><publisher-loc>Greensboro, NC, USA</publisher-loc><year>2002</year></citation></ref>
<ref id="b24-sensors-10-07170"><label>24.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Eykhoff</surname><given-names>P</given-names></name></person-group><source>System Identification: Parameter and State Estimation</source><publisher-name>Willey</publisher-name><publisher-loc>New York, NY, USA</publisher-loc><year>1974</year></citation></ref>
<ref id="b25-sensors-10-07170"><label>25.</label><citation citation-type="book"><person-group person-group-type="author"><collab>IEEE Standard 802.15.4</collab></person-group><source>Part 15.4: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications for Low Rate Wireless Personal Area Networks (LR-WPANs)</source><publisher-name>IEEE</publisher-name><publisher-loc>Los Alamitos, CA, USA</publisher-loc><year>2003</year></citation></ref>
<ref id="b26-sensors-10-07170"><label>26.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Zheng</surname><given-names>J</given-names></name><name><surname>Lee</surname><given-names>MJ</given-names></name></person-group><source>A Comprehensive Performance Study of IEEE 802154</source><publisher-name>IEEE Press</publisher-name><publisher-loc>Hoboken, NJ, USA</publisher-loc><year>2006</year><fpage>218</fpage><lpage>237</lpage></citation></ref>
<ref id="b27-sensors-10-07170"><label>27.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Gutierrez</surname><given-names>J</given-names></name><name><surname>Callaway</surname><given-names>E</given-names></name><name><surname>Barrett</surname><given-names>R</given-names></name></person-group><source>Low-Rate Wireless Personal Area Networks: Enabling Wireless Sensors with IEEE 802154</source><publisher-name>IEEE Press</publisher-name><publisher-loc>Hoboken, NJ, USA</publisher-loc><year>2003</year></citation></ref></ref-list>
<sec sec-type="display-objects">
<title>Figures and Tables</title>
<fig id="f1-sensors-10-07170" position="float">
<label>Figure 1.</label>
<caption>
<p>QTD example in the form of a multilayer set of blocks and a corresponding tree structure.</p></caption>
<graphic xlink:href="sensors-10-07170f1.gif"/></fig>
<fig id="f2-sensors-10-07170" position="float">
<label>Figure 2.</label>
<caption>
<p>QTD process with <italic>R</italic> = 0.5 (Left: original image, Middle: QT-decomposed block partitioning, Right: Resulting QTD image).</p></caption>
<graphic xlink:href="sensors-10-07170f2.gif"/></fig>
<fig id="f3-sensors-10-07170" position="float">
<label>Figure 3.</label>
<caption>
<p>Progressive effect of the decomposition factor <italic>R</italic> on the image quality.</p></caption>
<graphic xlink:href="sensors-10-07170f3.gif"/></fig>
<fig id="f4-sensors-10-07170" position="float">
<label>Figure 4.</label>
<caption>
<p>Effect of the decomposition factor <italic>R</italic> on the QTD resulting image size.</p></caption>
<graphic xlink:href="sensors-10-07170f4.gif"/></fig>
<fig id="f5-sensors-10-07170" position="float">
<label>Figure 5.</label>
<caption>
<p>Effect of the decomposition factor <italic>R</italic> on the QTD resulting image quality.</p></caption>
<graphic xlink:href="sensors-10-07170f5.gif"/></fig>
<fig id="f6-sensors-10-07170" position="float">
<label>Figure 6.</label>
<caption>
<p>Architecture of the Image Transmission Scheme over a WMSN.</p></caption>
<graphic xlink:href="sensors-10-07170f6.gif"/></fig>
<fig id="f7-sensors-10-07170" position="float">
<label>Figure 7.</label>
<caption>
<p>Measured Time Delay for transmitting an image frame over experimental time (Initial values <italic>R</italic> = 0.3, <italic>T<sup>d</sup></italic> = 10 s, and <italic>μ</italic> = 0.01).</p></caption>
<graphic xlink:href="sensors-10-07170f7.gif"/></fig>
<fig id="f8-sensors-10-07170" position="float">
<label>Figure 8.</label>
<caption>
<p>QT–Decomposition factor <italic>R</italic> convergence over experimental time (Initial values <italic>R</italic> = 0.3, <italic>T<sup>d</sup></italic> =1 0 s, and <italic>μ</italic> = 0.01).</p></caption>
<graphic xlink:href="sensors-10-07170f8.gif"/></fig>
<fig id="f9-sensors-10-07170" position="float">
<label>Figure 9.</label>
<caption>
<p>Convergence Error over experimental time (Initial values <italic>R</italic> = 0.9, <italic>T<sup>d</sup></italic> = 10 s, and <italic>μ</italic> = 0.01).</p></caption>
<graphic xlink:href="sensors-10-07170f9.gif"/></fig>
<fig id="f10-sensors-10-07170" position="float">
<label>Figure 10.</label>
<caption>
<p>Initial Transmitted Image Frame (<italic>t</italic> = 0 s—left side)—Converged Transmitted Image Frame (<italic>t</italic> = 250 s—right side).</p></caption>
<graphic xlink:href="sensors-10-07170f10.gif"/></fig>
<fig id="f11-sensors-10-07170" position="float">
<label>Figure 11.</label>
<caption>
<p>Measured Time Delay for transmitting an image frame over experimental time (Initial values <italic>R</italic> = 0.1, <italic>T<sup>d</sup></italic> = 5 s, and <italic>μ</italic> = 0.01).</p></caption>
<graphic xlink:href="sensors-10-07170f11.gif"/></fig>
<fig id="f12-sensors-10-07170" position="float">
<label>Figure 12.</label>
<caption>
<p>QT–Decomposition factor <italic>R</italic> convergence over experimental time (Initial values <italic>R</italic> = 0.1, <italic>T<sup>d</sup></italic> = 5 s, and <italic>μ</italic> = 0.01).</p></caption>
<graphic xlink:href="sensors-10-07170f12.gif"/></fig>
<fig id="f13-sensors-10-07170" position="float">
<label>Figure 13.</label>
<caption>
<p>Convergence Error over experimental time (Initial values <italic>R</italic> = 0.1, <italic>T<sup>d</sup></italic> = 5 s, and <italic>μ</italic> = 0.01).</p></caption>
<graphic xlink:href="sensors-10-07170f13.gif"/></fig>
<fig id="f14-sensors-10-07170" position="float">
<label>Figure 14.</label>
<caption>
<p>Initial Transmitted Image Frame (<italic>t</italic> = 0 s—left side)—Converged Transmitted Image Frame (<italic>t</italic> = 350 s—right side).</p></caption>
<graphic xlink:href="sensors-10-07170f14.gif"/></fig>
<fig id="f15-sensors-10-07170" position="float">
<label>Figure 15.</label>
<caption>
<p>Measured Time Delay for transmitting an image frame over experimental time (Initial values <italic>R</italic> = 0.3, <italic>T<sup>d</sup></italic> = 20 s, and <italic>μ</italic> = 0.01).</p></caption>
<graphic xlink:href="sensors-10-07170f15.gif"/></fig>
<fig id="f16-sensors-10-07170" position="float">
<label>Figure 16.</label>
<caption>
<p>QT–Decomposition factor <italic>R</italic> convergence over experimental time (Initial values <italic>R</italic> = 0.9, <italic>T<sup>d</sup></italic> = 10 s, and <italic>μ</italic> = 0.01).</p></caption>
<graphic xlink:href="sensors-10-07170f16.gif"/></fig>
<fig id="f17-sensors-10-07170" position="float">
<label>Figure 17.</label>
<caption>
<p>Convergence Error over experimental time (Initial values <italic>R</italic> = 0.9, <italic>T<sup>d</sup></italic> = 10 s, and <italic>μ</italic> = 0.01).</p></caption>
<graphic xlink:href="sensors-10-07170f17.gif"/></fig>
<fig id="f18-sensors-10-07170" position="float">
<label>Figure 18.</label>
<caption>
<p>Initial Transmitted Image Frame (<italic>t</italic> = 0 s—left side)—Converged Transmitted Image Frame (<italic>t</italic> = 400 s—right side).</p></caption>
<graphic xlink:href="sensors-10-07170f18.gif"/></fig>
<fig id="f19-sensors-10-07170" position="float">
<label>Figure 19.</label>
<caption>
<p>Measured Time Delay for transmitting an image frame over experimental time, under 10% congestion and packet losses (Initial values <italic>R</italic> = 0.8, <italic>T<sup>d</sup></italic> = 15 s, and <italic>μ</italic> = 0.01).</p></caption>
<graphic xlink:href="sensors-10-07170f19.gif"/></fig>
<fig id="f20-sensors-10-07170" position="float">
<label>Figure 20.</label>
<caption>
<p>QT-Decomposition factor <italic>R</italic> convergence over experimental time, under 10% congestion and packet losses (Initial values <italic>R</italic> = 0.8, <italic>T<sup>d</sup></italic> = 15 s, and <italic>μ</italic> = 0.01).</p></caption>
<graphic xlink:href="sensors-10-07170f20.gif"/></fig>
<fig id="f21-sensors-10-07170" position="float">
<label>Figure 21.</label>
<caption>
<p>Convergence Error over experimental time, under 10% congestion and packet losses (Initial values <italic>R</italic> = 0.8, <italic>T<sup>d</sup></italic> = 15 s, and <italic>μ</italic> = 0.01).</p></caption>
<graphic xlink:href="sensors-10-07170f21.gif"/></fig>
<fig id="f22-sensors-10-07170" position="float">
<label>Figure 22.</label>
<caption>
<p>Initial Transmitted Image Frame (<italic>t</italic> = 0 s—left side)—Converged Transmitted Image Frame (<italic>t</italic> = 225 s—right side) under 10% Network Congestion.</p></caption>
<graphic xlink:href="sensors-10-07170f22.gif"/></fig>
<fig id="f23-sensors-10-07170" position="float">
<label>Figure 23.</label>
<caption>
<p>Initial Transmitted Image Frame (<italic>t</italic> = 0 s—left side)—Converged Transmitted Image Frame (<italic>t</italic> = 227 s—right side) under 20% Network Congestion.</p></caption>
<graphic xlink:href="sensors-10-07170f23.gif"/></fig>
<table-wrap id="t1-sensors-10-07170" position="float">
<label>Table 1.</label>
<caption>
<p>Gradient Based Adaptive QoS Scheme Algorithm.</p></caption>
<table frame="hsides" rules="none">
<tbody>
<tr>
<td align="left" valign="top">1. Define the desired <italic>T<sup>d</sup></italic></td></tr>
<tr>
<td align="left" valign="top">2. Select a convergence factor <italic>μ</italic></td></tr>
<tr>
<td align="left" valign="top">3. Select the initial value for the decomposition factor <italic>R</italic>(<italic>k</italic>)</td></tr>
<tr>
<td align="left" valign="top">4. Decompose an image frame and construct the decomposition matrix that contains the data packets</td></tr>
<tr>
<td align="left" valign="top">5. Construct the <italic>i<sup>th</sup></italic> data packet batch <italic>S<sub>b</sub></italic></td></tr>
<tr>
<td align="left" valign="top">6. Start the transmission of the first batch</td></tr>
<tr>
<td align="left" valign="top">7. Measure the time 
<inline-formula>
<mml:math>
<mml:mrow>
<mml:msubsup>
<mml:mi>T</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>b</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> needed to transmit the <italic>i<sup>th</sup></italic> data bath</td></tr>
<tr>
<td align="left" valign="top">8. Calculate the current error: 
<inline-formula>
<mml:math>
<mml:mrow>
<mml:mi>e</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:mrow>
<mml:mo>=</mml:mo>
<mml:msup>
<mml:mi>T</mml:mi>
<mml:mi>d</mml:mi></mml:msup>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:mrow>
<mml:mo>−</mml:mo>
<mml:msubsup>
<mml:mi>T</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>b</mml:mi></mml:msubsup>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula></td></tr>
<tr>
<td align="left" valign="top">9. Perform the gradient based adaptation rule: <italic>R</italic>(<italic>k</italic> + 1) = <italic>R</italic>(<italic>k</italic>) − <italic>μ</italic>·e(k)</td></tr>
<tr>
<td align="left" valign="top">10. Return to step 4</td></tr></tbody></table></table-wrap>
<table-wrap id="t2-sensors-10-07170" position="float">
<label>Table 2.</label>
<caption>
<p>Experimental configuration of the utilized WN</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="middle"><bold>Network Characteristics</bold></th>
<th align="center" valign="middle"><bold>Values</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle">Number of nodes (<italic>N</italic>)</td>
<td align="center" valign="middle">6</td></tr>
<tr>
<td align="center" valign="middle">Coverage Area (<italic>m</italic> × <italic>m</italic>)</td>
<td align="center" valign="middle">15 × 15</td></tr>
<tr>
<td align="center" valign="middle">Maximum Transmission Range (m)</td>
<td align="center" valign="middle">40</td></tr>
<tr>
<td align="center" valign="middle">MAC Sub-Layer Protocol</td>
<td align="center" valign="middle">IEEE 802.15.4</td></tr>
<tr>
<td align="center" valign="middle">Routing Protocol</td>
<td align="center" valign="middle">ZigBee</td></tr>
<tr>
<td align="center" valign="middle">Data size per Packet (B)</td>
<td align="center" valign="middle">68</td></tr>
<tr>
<td align="center" valign="middle">Data size per Packet (including Overhead) (B)</td>
<td align="center" valign="middle">84</td></tr>
<tr>
<td align="center" valign="middle">Distance between nodes(m)</td>
<td align="center" valign="middle">4</td></tr>
<tr>
<td align="center" valign="middle">Interface Baudrate (Kbps)</td>
<td align="center" valign="middle">9600</td></tr>
<tr>
<td align="center" valign="middle">Interface flow control</td>
<td align="center" valign="middle">Hardware (CTS/RTS)</td></tr>
<tr>
<td align="center" valign="middle">RF Data rate (Kbps)</td>
<td align="center" valign="middle">250</td></tr>
<tr>
<td align="center" valign="middle">Transmit output power (mW)</td>
<td align="center" valign="middle">1.25</td></tr></tbody></table></table-wrap></sec></back></article>
