Eric Orellana-Romero1,
Javier SanMartin-Hernandez1,
Cristian Duran-Faundez1Member, IEEE,
Vincent Lecuire2, and
Cristhian Aguilera1
1Departamento de Ingeniería Eléctrica y Electrónica, Facultad de Ingeniería,
Universidad del Bío-Bío,
Concepción, Chile
Email: {eorellan,javsanma}@alumnos.ubiobio.cl, crduran@ubiobio.cl, cristhia@ubiobio.cl
2Centre de Recherche en Automatique de Nancy (CRAN),
|
In the figure, the second column shows that few packet losses lead to unusable reconstructed images when we compress with techniques based on correlated coded blocks, such as traditional JPEG. Non-compressed image transmission can be a good approach for environments with high packet loss, but sequential communications can lead to the lost of big important portions of the image due to burst packet loss (an example is shown in fourth column).
A particular example for a low cost method for robust image transmission is block interleaving (or shuffling) [3,4]. Here, neighboring (coded or raw) blocks of information are sent in different packets in the transmission sequence. Thus, if packets are lost, we have better probability of retrieving enough information to reconstruct a missing block by using the correctly received surrounding ones. In order to test the proposed strategies, many tools allow simulation of WSNs issues such as communication protocols [5] and power consumption [6], but there are not many available software oriented to image communications over sensor networks.
In this paper, we present Sim-LIT (Simulator for Lossy Image Transmission), a simulator of packet loss on image communications over wireless vision sensor networks (WVSNs). This first version includes the simulation of interleaving algorithms for image transmissions using coded and non-coded blocks. Section II presents the processing and transmission schemes possible to simulate with Sim-LIT. Section III explains implementation and use of the simulator. Finally, Section IV concludes and gives some future directions.
The adopted models are simple. An input image is a matrix, , with , each pixel containing its bits per pixel. Now, we consider a scheme communication , were we transmit in packets , were is the number of bits available for image data transmission in a packet. In a traditional block based communication, we firstly cut the image into blocks , were and are the block's height and width, , were .
In a sequential communication, we assign and send the th block to the th packet, with . An interleaving disrupts this sequence. It can be considered as an bijective function , were is a new bitmap with all original blocks are stored in a position (likely different to ). An adapted version (requiring less memory and calculations) considers sequential operations [3]. Each packet has a probability to be lost during communication. Different loss models can be applied. At the receiver side, lost data are estimated by averaging the well received neighboring ones.
The simulator was constructed in C++, with g++ compiler over Linux. Main Sim-LIT's classes are shown in Fig. 2.
Each class is provided as both a .c and a .h files. The program is built with a Makefile. The execution is through the command simlit [options]. Some of the current available options and parameters are listed in Table I.
Option | Description | |
-adapted-interleaving |
|
|
-b |
|
|
-detailed-res-file |
|
|
-gui |
|
|
-hb |
|
|
-help |
|
|
-ipath |
|
|
-loss-file |
|
|
-no-console-messages |
|
|
-no-detailed-res-file |
|
|
-no-resumed-res-file |
|
|
-no-res-img-store |
|
|
-resumed-res-file |
|
|
-s |
|
|
-wb |
|
The interleaving algorithm must be implemented in the Mixer class. The program opens image files (from a given path) extracting the header parameters. Image class attributes are set, including size, codification and bitmap. The image can be then interleaved, using given user parameters or defaults. Then, the image is packetized. Packet loss simulation is performed using a loss-file with registers using the following format: [reg_id] rec_flag, were reg_id is a sequential number and rec_flag is a boolean indicating 1 or 0 depending on whether the packet was received at the decoder side or not. This file could be created by using user defined distribution, network simulators or real packet captures. A complementary tool for creating this file randomly is also provided for testing. After this, a new image is created reallocating correctly received data. Empty pixels are reconstructed by averaging well received neighbors (other error concealment methods are also implementable). PSNR between the original image and the reconstructed image is also provided as a quality metric. Various sample programs in C++ and sh are also provided, to facilitate calculations over extensive tests. Some execution options such as -no-console-messages or -no-res-img-store allow speed-up calculations. Some sample images obtained with Sim-LIT are shown in Fig. 3.
[Original]
[Interleaved]
[Received with losses]
[With reconstructed pixels]
|
Sim-LIT is a configurable simulator allowing image transmission with error robust methods such as block interleaving for WVSNs. It can be used to rapidly evaluate interleaving algorithms or to perform extensive tests. For now, this first version only supports .bmp format. The loss models depends on the constructed loss files, but it can be possible to connect with WNS's simulator such as TOSSIM [5]. We use Sim-LIT to evaluate existing and new interleaving schemes. Further versions will be developed improving fastness (may be with parallel programming), robustness, and other factors. Also, we will incorporate other methods and options.
This work is supported by the University of Bio-Bio (Project 104610 3/RS: ``Block interleaving algorithms for robust image transmission over wireless sensor networks'').
This document was generated using the LaTeX2HTML translator Version 2008 (1.71)
Copyright © 1993, 1994, 1995, 1996,
Nikos Drakos,
Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999,
Ross Moore,
Mathematics Department, Macquarie University, Sydney.
The command line arguments were:
latex2html -split 0 -local_icons sccc2011-extended-abstract.tex
The translation was initiated by Cristian Duran-Faundez on 2013-05-10
Cristian Duran-Faundez 2013-05-10