<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">CS</journal-id><journal-title-group><journal-title>Circuits and Systems</journal-title></journal-title-group><issn pub-type="epub">2153-1285</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/cs.2016.78117</article-id><article-id pub-id-type="publisher-id">CS-67235</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Computer Science&amp;Communications</subject><subject> Engineering</subject><subject> Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  A Simple Steganography Algorithm Based on Lossless Compression Technique in WSN
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>R.</surname><given-names>Vijayarajeswari</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>A.</surname><given-names>Rajivkannan</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>J.</surname><given-names>Santhosh</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Department of Computer Science &amp;amp; Engineering, KSR College of Engineering, Tiruchengode, India</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>vijiraji0505@gmail.com(RV)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>02</day><month>06</month><year>2016</year></pub-date><volume>07</volume><issue>08</issue><fpage>1341</fpage><lpage>1351</lpage><history><date date-type="received"><day>19</day>	<month>March</month>	<year>2016</year></date><date date-type="rev-recd"><day>accepted</day>	<month>20</month>	<year>April</year>	</date><date date-type="accepted"><day>9</day>	<month>June</month>	<year>2016</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  Image security has wide applications in data transferring from source to destination system.
   
  However, cryptography is a data secrecy technique between sender and receiver, the steganography increases the level of security and acts a protective layer to the hidden information within the source image. In this paper, a compression scheme based image security algorithm for wireless sensor network is proposed to hide a secret color image within the source color image. The main contribution of this paper is to propose a compression scheme which is based on level matrix and integer matrix, and increases the compression level significantly. The performance of the proposed system is evaluated in terms of peak signal to noise ratio (PSNR), mean square error (MSE), number of pixels change rate (NPCR) and unified average changing intensity (UACI). The proposed method achieves 42.65% PSNR, 27.16% MSE, 99.9% NPCR and 30.99% UACI.
 
</p></abstract><kwd-group><kwd>Image Security</kwd><kwd> Steganography</kwd><kwd> Compression</kwd><kwd> Secret Image</kwd><kwd> Cryptography</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Nowadays, lots of information is exchanged through the internet. Security of the information plays an important role in internet to protect the data from the attackers or intruders. Many researchers are using cryptography and steganography for data security over the internet medium. Cryptography deals message encryption but the communication is visible but on the other hand, steganography deals with secret message hiding but the communication is not visible [<xref ref-type="bibr" rid="scirp.67235-ref1">1</xref>] . One of the foremost variations of steganography with cryptography is that encoding the traffic, the communications will be secured but people become aware of the existence of message by observing coded information, although they are not able to realize the message in the data. The steganography technique hides the existence of the message so that intruders cannot detect what communication is going on, thus providing an advanced level of security than cryptography. Both steganography and cryptography systems are used in providing secret communications almost in a similar approach but vary in terms of methods used to break the system [<xref ref-type="bibr" rid="scirp.67235-ref2">2</xref>] .</p><p>Steganography methods can be divided into spatial (original) domain methods and transform domain methods. The cover image is initially transformed into frequency domain, and in the next level, the embedding of secret messages into the coefficients of transformed cover image is performed. The steganography algorithms are performed based on various levels of security to produce stego images (stg) with high imperceptible [<xref ref-type="bibr" rid="scirp.67235-ref3">3</xref>] . These levels are added to be sure that the difficulties to extract the secret image (S) have been accomplished. One more factor that disputes the security level is the amount of payload capacities in the stego image (stg). Hence, the payload should be calculated cautiously in order to find the maximum number of bits from “S” that can be embedded into a cover image safely and with robustness. <xref ref-type="fig" rid="fig1">Figure 1</xref> illustrates the steganography process where the secret image is embedded into the source image and the secret image is recovered in the receiver side. The main aim of this paper is to apply the compression scheme of image for wireless sensor networks (WSN).</p><p>This paper is organized as 5 sections, where section 1 introduces the basic concepts of steganography and section 2 deals different conventional methodologies for steganography process. Section 3 presents the proposed methodology for image security and lossless compression. Section 4 elaborates the results of the proposed method and discussion about results. Section 5 depicts the conclusion.</p></sec><sec id="s2"><title>2. Literature Survey</title><p>Biham et al. (2005) [<xref ref-type="bibr" rid="scirp.67235-ref1">1</xref>] have utilized Skipjack algorithm for generating block cipher from the image or data in wireless sensor networks. The 80-bit key was generated by this algorithm, and it was stable from the attackers. The 64-bit information data was encrypted (encoded) using this secret key. The computations of energy consumptions were done to analyze the suitability of this proposed algorithm for wireless sensor networks. Biswas et al. (2015) [<xref ref-type="bibr" rid="scirp.67235-ref2">2</xref>] have used Chaotic Map and Genetic Operations for the encryption of data and images. The experiments were conducted using the real-time sensor unit Mica 2 sensor. The number of security mechanisms were analyzed and used in this work to provide confidentiality of the data. A lightweight block cipher algorithm</p><fig id="fig1"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref></label><caption><title> Steganography system</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/17-7600552x7.png"/></fig><p>was proposed to secure the data generated by the sensor unit in wireless sensor networks. The authors achieved NPCR about 99.67%, UACI about 33.42% and information entropy about 7.98 for encrypting and decrypting the lena.jpg image. Bouslimi et al. (2012) [<xref ref-type="bibr" rid="scirp.67235-ref3">3</xref>] have proposed a Joint Encryption scheme for securing the medical images. This method integrated the encryption scheme with watermarking technique to increase the security level of the system. The Advanced Encryption Standard (AES) scheme was used as the encryption process. The authors achieved PSNR about 53.94 dB for ultra sound images and 101.99 dB for PET images. Ghrare et al. (2009) [<xref ref-type="bibr" rid="scirp.67235-ref4">4</xref>] proposed a matrix based lossless compression technique to compress the medical images. The compression ratio was low due to its lossless technique. Guo et al. (2016) [<xref ref-type="bibr" rid="scirp.67235-ref5">5</xref>] have developed biometric based encryption algorithm. Face and finger print were encrypted using this approach and the private key was generated from master secret key. Guo &amp; Le (2010) [<xref ref-type="bibr" rid="scirp.67235-ref6">6</xref>] have developed JPEG double compression based image security algorithm using compression tables. The authors achieved PSNR about 44.1 dB based on two standard compression tables. The main limitation of this paper was that it did not support time cost, and as the method was based on lossy compression, the compression ratio value was less. Lim et al. (2013) [<xref ref-type="bibr" rid="scirp.67235-ref7">7</xref>] used biometric discretization method to protect the information against attackers. The Detection Rate Optimized Bit Allocation (DROBA) scheme was applied one of the most effective biometric discretization schemes in this work. The performance of the system was analyzed in terms of false rejection rate and average entropy loss. Ramkumar et al. (2014) [<xref ref-type="bibr" rid="scirp.67235-ref8">8</xref>] developed a image security system which imposed a binary image into color image using different quantization tables. This method was not support the imposing a secret color image into source color image. Sahai and Waters (2005) [<xref ref-type="bibr" rid="scirp.67235-ref9">9</xref>] used the fuzzy algorithm for cryptography and private key was generated based on this. This private key decrypt the cipher text using fuzzy logic constructed in encoder side. A private key of identity can decrypt a ciphertext encrypted with another identity, if and only if, the set overlap distance of these two identities. Suzaki et al. (2012) [<xref ref-type="bibr" rid="scirp.67235-ref10">10</xref>] developed an encryption algorithm based on TWINE method. The authors utilized the concept of Feistel technique in this work to generate the cipher text from the plain text. The method stated in this work contained 16 branches and 36 rounds. Odai M. Al-Shatanawi et al. (2015) [<xref ref-type="bibr" rid="scirp.67235-ref11">11</xref>] proposed Modified Least Significant Bits (MLSB) method to hide the secret image within the source image using the pixels detection in a random manner. The authors were then applied Advanced Encryption Standard (AES) technique on the stego image against from the different attackers. Shuliang Sun (2015) [<xref ref-type="bibr" rid="scirp.67235-ref12">12</xref>] used Canonical Gray Coding (CGC) technique to hide the information using Bit-Plane Complexity Segmentation (BPCS) steganography method. Mandal and Das [<xref ref-type="bibr" rid="scirp.67235-ref13">13</xref>] proposed a steganography method for color images based on difference in pixel values. Secret data was hiding in the component of a pixel in a color image.</p><p>The attacks on the secured image were not analyzed by the methodologies stated in conventional techniques [<xref ref-type="bibr" rid="scirp.67235-ref1">1</xref>] - [<xref ref-type="bibr" rid="scirp.67235-ref9">9</xref>] . The conventional methods also not discussed and analyzed the embedding of two color images for security purpose. These limitations are overcome by the methodology proposed in this work. The main contribution of this paper is to provide a novel compression scheme which is based image security algorithm for WSN and it is used to hide a secret color image within the source color image in order to perform both security and compression in WSN applications.</p></sec><sec id="s3"><title>3. Proposed Method</title><p>The proposed methodology for image security system based on compression technique is illustrated in <xref ref-type="fig" rid="fig2">Figure 2</xref>. The main principle of this proposed method is to obtain a secured embedded image with high compression ratio and stable to against attackers as shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>. The secret color image is block permuted, and the secret key is generated from the block permuted image. This key is used in decoder side to retrieve the secret binary image. The block permuted image is embedded into original source image using block compression table, and the compression technique is applied on this embedded image to produce the compressed patterns.</p><sec id="s3_1"><title>3.1. Binary Secret Image</title><p>The RGB color secret image is initially converted into grey scale image. Each pixel in color image consists of 24 bits resolution and each pixel in grey scale image consists of 8 bit resolution. The grey scale image is further converted into binary secret image based on the dynamic threshold. The dynamic threshold value (T) is determined as,</p><disp-formula id="scirp.67235-formula302"><label>(1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/17-7600552x8.png"  xlink:type="simple"/></disp-formula><p>where, I represent the grey scale image.</p><fig id="fig2"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref></label><caption><title> Proposed compression based image security system</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/17-7600552x9.png"/></fig><p>The binary secret image is embedded into the original source image (Ramkumar &amp; Raglend 2014). The width and height of the binary secret image is represented as X*Y. Every pixel in the binary secret image is denoted as P(X, Y). The pixel in this image may have the value either zero or one. Zero represents a black pixel, and one represents a white pixel as depicted in Equation (2).</p><disp-formula id="scirp.67235-formula303"><label>. (2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/17-7600552x10.png"  xlink:type="simple"/></disp-formula></sec><sec id="s3_2"><title>3.2. Original Source Image</title><p>The original source image is denoted as ‘S’ and this image may be either color or gray scale image. The size of this image is represented as M (width) and N (height). The aspect ratio should be verified before embedding the binary secret image into original source image in order to retain the binary secret image correctly. The aspect ratio (Guo &amp; Le 2010) is defined as,</p><disp-formula id="scirp.67235-formula304"><label>. (3)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/17-7600552x11.png"  xlink:type="simple"/></disp-formula><p>In this paper, size of the original source image is 1024 &#215; 1024 and size of the secret binary image is 128 &#215; 128. Then, the aspect ratio is satisfied as,</p><disp-formula id="scirp.67235-formula305"><label>. (4)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/17-7600552x12.png"  xlink:type="simple"/></disp-formula><p>The secret binary image is only embedded into original source image if the aspect ratio is satisfied.</p></sec><sec id="s3_3"><title>3.3. Block Random Permutation</title><p>Every pixel in the binary secret image has either zero or one. All these values are stored in a matrix called “M”. The number of rows and columns in the matrix is equal to the size of the binary secret image. The size of the shuffling block is denoted as ‘S’ and it may have values one to three, which may be determined randomly. The block random permutation algorithm randomizes the matrix M by dividing M into non-overlapping blocks of the size specified by S, and shuffling these blocks. The number of elements in S should match the number of dimensions of M, or S can be a scalar specifying an S-by-S-by-S-by ... block size. “S” should contain positive integers. The size of M in any dimension should be an integer, number of times the specified size of the block in that dimension. The block permuted image is generated by permutation of each pixel block in the secret binary image with a known order. The order of changing the pixel value in the secret binary image is stored as the permutation secret key. This key is used in the decoder section to de-permute the secret binary image in a reverse order. <xref ref-type="fig" rid="fig3">Figure 3</xref>(a) shows the binary secret images which have to be embedded into the source image and <xref ref-type="fig" rid="fig3">Figure 3</xref>(b) shows the block random permuted images of the corresponding binary secret images.</p></sec><sec id="s3_4"><title>3.4. Embedding Procedure</title><p>The secret binary image is embedded into original source image using the following procedure.</p><p>Step 1: Determine the randomized factor ‘r’ using the size of original source image and secret binary image and it is given as,</p><disp-formula id="scirp.67235-formula306"><label>. (5)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/17-7600552x13.png"  xlink:type="simple"/></disp-formula><p>In this paper, the randomized factor is r = 8 &#215; 8.</p><p>Step 2: The original source image is split into number of blocks of size ‘r’. In this paper, the original source image is split into 16 blocks of size 8 &#215; 8 (each sub-block size) for the size of original source image 1024 &#215; 1024.</p><p>Step 3: Each sub-block in original source image is divided with either compression table 1 (<xref ref-type="fig" rid="fig4">Figure 4</xref>) or compression table 2 (<xref ref-type="fig" rid="fig5">Figure 5</xref>) (Ramkumar &amp; Raglend 2014) based on the following constraints:</p><fig-group id="fig3"><label><xref ref-type="fig" rid="fig3">Figure 3</xref></label><caption><title> (a) Source color images (babbon, fruits and Lena); (b) Secret binary images “hestain.jpg” and “football.jpg”; and (c) Block random permutated images (after converting binary image).</title></caption><fig id ="fig3_1"><label>(b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/17-7600552x16.png"/></fig><fig id ="fig3_2"><label>(c)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/17-7600552x15.png"/></fig><fig id ="fig3_3"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/17-7600552x14.png"/></fig><fig id ="fig3_4"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/17-7600552x17.png"/></fig><fig id ="fig3_5"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/17-7600552x18.png"/></fig><fig id ="fig3_6"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/17-7600552x19.png"/></fig><fig id ="fig3_7"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/17-7600552x20.png"/></fig></fig-group><fig id="fig4"  position="float"><label><xref ref-type="fig" rid="fig4">Figure 4</xref></label><caption><title> Compression table 1</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/17-7600552x21.png"/></fig><fig id="fig5"  position="float"><label><xref ref-type="fig" rid="fig5">Figure 5</xref></label><caption><title> Compression table 2</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/17-7600552x22.png"/></fig><fig-group id="fig6"><label><xref ref-type="fig" rid="fig6">Figure 6</xref></label><caption><title> (a) Original source image “fruit.jpg”; (b) Secret color image “hestain.jpg”; (c) Block permuted binary image; (d) Embedded secured image.</title></caption><fig id ="fig6_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/17-7600552x23.png"/></fig><fig id ="fig6_2"><label> (c)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/17-7600552x24.png"/></fig><fig id ="fig6_3"><label> (d)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/17-7600552x25.png"/></fig><fig id ="fig6_4"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/17-7600552x26.png"/></fig></fig-group><disp-formula id="scirp.67235-formula307"><label>. (6)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/17-7600552x27.png"  xlink:type="simple"/></disp-formula><p>The sub-block of original source image is divided by compression table (CT1) if the first pixel of the secret binary image P(X, Y) is one and CT1 is given as <xref ref-type="fig" rid="fig4">Figure 4</xref>.</p><p>The sub-block of original source image is divided by compression table (CT2) if the first pixel of the secret binary image P(X, Y) is zero and CT2 is given as <xref ref-type="fig" rid="fig5">Figure 5</xref>.</p><p>The secured image is an embedded of the secret color image into original source image. This image is an RGB color image and it is further applied to compression technique to compress this embedded-secured image [<xref ref-type="bibr" rid="scirp.67235-ref14">14</xref>] . <xref ref-type="fig" rid="fig6">Figure 6</xref>(a) shows the original source image, <xref ref-type="fig" rid="fig6">Figure 6</xref>(b) shows secret binary image, <xref ref-type="fig" rid="fig6">Figure 6</xref>(c) shows the block permuted binary image and <xref ref-type="fig" rid="fig6">Figure 6</xref>(d) shows the embedded-secured image.</p><p>Step 4: The lossless compression technique (JPEG-LS) is applied on the embedded-secured image to generate the compressed patterns.</p><p>JPEG-LS is a lossless/near-lossless compression standard for continuous-tone images [<xref ref-type="bibr" rid="scirp.67235-ref4">4</xref>] . Its official designation is ISO-14495-1/ITU-T.87 [<xref ref-type="bibr" rid="scirp.67235-ref15">15</xref>] . It is a simple and efficient baseline algorithm which consists of two independent and distinct stages called modeling and encoding. JPEG-LS was developed with the aim of providing a low-complexity lossless and near-lossless image compression standard that could offer better compression efficiency than lossless JPEG. It was developed because at the time, the Huffman coding-based JPEG lossless standard and other standards were limited in their compression performance. Total decorrelation cannot be achieved by first order entropy of the prediction residuals employed by these inferior standards.</p><p>Step 5: The original secret image is obtained in the receiver section by following the reverse procedure.</p></sec></sec><sec id="s4"><title>4. Results and Discussion</title><p>To validate the effectiveness of the proposed system, we test our proposed image security algorithm on the publicly available open access images. In this paper, “fruit.jpg” and “Lena.jpg” are used as the original RGB source images. The size of the original source image is 512 &#215; 512 and stored in JPEG format. The secret binary images used in this paper are “hestain.jpg” and “football.jpg” images. These images are obtained from MATLAB demo toolbox [<xref ref-type="bibr" rid="scirp.67235-ref15">15</xref>] [<xref ref-type="bibr" rid="scirp.67235-ref16">16</xref>] . The size of secret color image is 128 &#215; 128. In order to test the robustness of the proposed method, the test source and secret images should have taken from various indoor and outdoor environments. The proposed algorithm is implemented with MATLAB R2014 on a personal computer with Core i3 2.8 GHz CPU and 3 GB RAM. The performance of the proposed system is evaluated in terms of Peak Signal to Noise Ratio (PSNR), Mean Square Error (MSE), Number of Pixels Change Rate (NPCR) and Unified Average Changing Intensity (UACI) that are described in Biswas et al. (2015).</p><sec id="s4_1"><title>4.1. PSNR</title><p>It indicates the quality of the decoded secret binary image with respect to the original secret binary image. It is expressed as,</p><disp-formula id="scirp.67235-formula308"><label>(7)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/17-7600552x28.png"  xlink:type="simple"/></disp-formula><p>where, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/17-7600552x29.png" xlink:type="simple"/></inline-formula>represents the number of pixels in the secret binary image.</p></sec><sec id="s4_2"><title>4.2. MSE</title><p>It indicates the error rate of the decoded secret binary image with respect to the original secret binary image and it is given as,</p><disp-formula id="scirp.67235-formula309"><label>(8)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/17-7600552x30.png"  xlink:type="simple"/></disp-formula><p>where, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/17-7600552x31.png" xlink:type="simple"/></inline-formula>represents the original secret binary image and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/17-7600552x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/17-7600552x32.png" xlink:type="simple"/></inline-formula> represents the decoded secret binary image. The width and height of the secret binary image is denoted as X and Y respectively.</p></sec><sec id="s4_3"><title>4.3. NPCR</title><p>It determines the percentage of different pixel numbers between the two images such as original secret binary image and decoded secret binary image. It is expressed as,</p><disp-formula id="scirp.67235-formula310"><label>. (9)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/17-7600552x33.png"  xlink:type="simple"/></disp-formula><p>Let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/17-7600552x34.png" xlink:type="simple"/></inline-formula> be the original secret binary image and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/17-7600552x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/17-7600552x35.png" xlink:type="simple"/></inline-formula> is the decoded secret binary image.</p><disp-formula id="scirp.67235-formula311"><label>. (10)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/17-7600552x36.png"  xlink:type="simple"/></disp-formula></sec><sec id="s4_4"><title>4.4. UACI</title><p>It determines the average intensity of differences between the two images such as original secret binary image and decoded secret binary image. It is expressed as,</p><disp-formula id="scirp.67235-formula312"><label>. (11)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/17-7600552x37.png"  xlink:type="simple"/></disp-formula><p>For a better system, the value of UACI should be low, and NPCR should be high. <xref ref-type="table" rid="table1">Table 1</xref> shows the performance analysis of the proposed system in terms of PSNR, MSE, NPCR and UACI. The proposed system achieves the average PSNR about 54.19 dB, MSE about 28.45, NPCR about 99.90 and UACI about 30.99.</p><p><xref ref-type="table" rid="table2">Table 2</xref> shows the Quantitative analysis with different color channels for different source images and secret images, respectively. <xref ref-type="table" rid="table3">Table 3</xref> illustrates the performance comparisons of the proposed system with conventional techniques as Guo et al. (2016), Biswas et al. (2015) and Guo &amp; Le (2010) in terms of NPCR and UACI.</p></sec><sec id="s4_5"><title>4.5. Information Entropy</title><p>The information entropy is computed for the original source image and its encoded image. Its value should be 8 for gray scale image. The security level of proposed system is high if the value of information entropy is equal to 8. The information entropy is expressed as,</p><disp-formula id="scirp.67235-formula313"><label>(12)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/17-7600552x38.png"  xlink:type="simple"/></disp-formula><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Performance analysis of proposed system</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Secret color images</th><th align="center" valign="middle" >PSNR</th><th align="center" valign="middle" >MSE</th><th align="center" valign="middle" >NPCR</th><th align="center" valign="middle" >UACI</th></tr></thead><tr><td align="center" valign="middle" >Hestain.jpg</td><td align="center" valign="middle" >41.65</td><td align="center" valign="middle" >27.16</td><td align="center" valign="middle" >99.89</td><td align="center" valign="middle" >31.82</td></tr><tr><td align="center" valign="middle" >Football.jpg</td><td align="center" valign="middle" >42.15</td><td align="center" valign="middle" >29.75</td><td align="center" valign="middle" >99.91</td><td align="center" valign="middle" >30.17</td></tr><tr><td align="center" valign="middle" >Average.jpg</td><td align="center" valign="middle" >41.9</td><td align="center" valign="middle" >28.45</td><td align="center" valign="middle" >99.90</td><td align="center" valign="middle" >30.99</td></tr></tbody></table></table-wrap><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Quantitative analysis with different color channels</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  >Source image</th><th align="center" valign="middle"  rowspan="2"  >Channels</th><th align="center" valign="middle"  rowspan="2"  >Secret image</th><th align="center" valign="middle"  colspan="3"  >PSNR (dB)</th></tr></thead><tr><td align="center" valign="middle" >Chen et al. (2008)</td><td align="center" valign="middle" >El-Emam et al. (2013)</td><td align="center" valign="middle" >Proposed method</td></tr><tr><td align="center" valign="middle"  rowspan="4"  >Lena</td><td align="center" valign="middle" >R</td><td align="center" valign="middle"  rowspan="4"  >Hestain</td><td align="center" valign="middle" >37.97</td><td align="center" valign="middle" >38.19</td><td align="center" valign="middle" >41.75</td></tr><tr><td align="center" valign="middle" >G</td><td align="center" valign="middle" >37.87</td><td align="center" valign="middle" >39.10</td><td align="center" valign="middle" >40.28</td></tr><tr><td align="center" valign="middle" >B</td><td align="center" valign="middle" >39.78</td><td align="center" valign="middle" >38.75</td><td align="center" valign="middle" >41.86</td></tr><tr><td align="center" valign="middle" >RGB</td><td align="center" valign="middle" >38.62</td><td align="center" valign="middle" >38.28</td><td align="center" valign="middle" >41.65</td></tr><tr><td align="center" valign="middle"  rowspan="4"  >Fruit</td><td align="center" valign="middle" >R</td><td align="center" valign="middle"  rowspan="4"  >Football</td><td align="center" valign="middle" >36.16</td><td align="center" valign="middle" >39.28</td><td align="center" valign="middle" >41.84</td></tr><tr><td align="center" valign="middle" >G</td><td align="center" valign="middle" >37.17</td><td align="center" valign="middle" >38.38</td><td align="center" valign="middle" >40.63</td></tr><tr><td align="center" valign="middle" >B</td><td align="center" valign="middle" >35.62</td><td align="center" valign="middle" >39.27</td><td align="center" valign="middle" >42.18</td></tr><tr><td align="center" valign="middle" >RGB</td><td align="center" valign="middle" >36.18</td><td align="center" valign="middle" >39.65</td><td align="center" valign="middle" >42.15</td></tr><tr><td align="center" valign="middle"  rowspan="4"  >Baboon</td><td align="center" valign="middle" >R</td><td align="center" valign="middle"  rowspan="4"  >Peppers</td><td align="center" valign="middle" >36.18</td><td align="center" valign="middle" >39.65</td><td align="center" valign="middle" >40.71</td></tr><tr><td align="center" valign="middle" >G</td><td align="center" valign="middle" >37.16</td><td align="center" valign="middle" >38.19</td><td align="center" valign="middle" >42.19</td></tr><tr><td align="center" valign="middle" >B</td><td align="center" valign="middle" >34.87</td><td align="center" valign="middle" >39.55</td><td align="center" valign="middle" >41.27</td></tr><tr><td align="center" valign="middle" >RGB</td><td align="center" valign="middle" >37.89</td><td align="center" valign="middle" >39.19</td><td align="center" valign="middle" >41.95</td></tr></tbody></table></table-wrap><table-wrap id="table3" ><label><xref ref-type="table" rid="table3">Table 3</xref></label><caption><title> Performance comparisons in terms of NPCR and UACI</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Secret binary images</th><th align="center" valign="middle" >NPCR</th><th align="center" valign="middle" >UACI</th></tr></thead><tr><td align="center" valign="middle" >Proposed system</td><td align="center" valign="middle" >99.90</td><td align="center" valign="middle" >30.99</td></tr><tr><td align="center" valign="middle" >Fuchun Guo et al. [<xref ref-type="bibr" rid="scirp.67235-ref3">3</xref>]</td><td align="center" valign="middle" >98.19</td><td align="center" valign="middle" >31.27</td></tr><tr><td align="center" valign="middle" >Kamanashis Biswas et al. [<xref ref-type="bibr" rid="scirp.67235-ref6">6</xref>]</td><td align="center" valign="middle" >99.60</td><td align="center" valign="middle" >33.4</td></tr><tr><td align="center" valign="middle" >Jing-Ming Guo et al. [<xref ref-type="bibr" rid="scirp.67235-ref5">5</xref>]</td><td align="center" valign="middle" >97.16</td><td align="center" valign="middle" >36.16</td></tr></tbody></table></table-wrap><p>where, p(mi) represents the probability of the symbol mi and t is the total number of symbols. <xref ref-type="table" rid="table4">Table 4</xref> shows the information entropy for source and embedded image. The average information entropy of embedded image is superior to the information entropy of the source image.</p><p><xref ref-type="table" rid="table5">Table 5</xref> shows the average information entropy for both proposed and conventional systems. It can be shown that the information entropy of the proposed system is closer to the value of 8, which indicates the chance of information leakage is negligible, and the proposed system for image security is well secured against any attacks.</p></sec><sec id="s4_6"><title>4.6. Quantitative Evaluations</title><p>The performance of the proposed image security algorithm is analyzed using execution time on various CPU. The execution times of the compressing the “hestain.jpg” secret color image embedded into fruit source image are 3.437 sec, 24.6540 sec and 57.6517 sec at CPU frequencies of 2.4 GHz, 1.8 GHz and 800 MHz, respectively. The execution times of the compressing the “football.jpg” secret color image embedded into fruit source image are 4.78 sec, 26.6137 sec and 61.6016 sec at CPU frequencies of 2.4 GHz, 1.8 GHz, and 800 MHz, respectively. The average encoder execution time is illustrated in <xref ref-type="table" rid="table6">Table 6</xref>.</p><p>The execution times of the decoder for “hestain” secret color image are 4.76 sec, 24.6540 sec and 57.6517 sec at CPU frequencies of 2.4 GHz, 1.8 GHz, and 800 MHz, respectively. The execution times of the decoder for “football.jpg” secret color image are 4.76 sec, 24.6540 sec and 57.6517 sec at CPU frequencies of 2.4 GHz, 1.8 GHz, and 800 MHz, respectively. The average decoder execution time to extract the secret binary image from embedded image is illustrated in <xref ref-type="table" rid="table7">Table 7</xref>.</p><table-wrap id="table4" ><label><xref ref-type="table" rid="table4">Table 4</xref></label><caption><title> Performance analysis in terms information entropy</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  >Original source images</th><th align="center" valign="middle"  colspan="2"  >Information entropy</th></tr></thead><tr><td align="center" valign="middle" >Source image</td><td align="center" valign="middle" >Embedded image</td></tr><tr><td align="center" valign="middle" >Lena</td><td align="center" valign="middle" >7.2131</td><td align="center" valign="middle" >7.9992</td></tr><tr><td align="center" valign="middle" >Fruit</td><td align="center" valign="middle" >7.2587</td><td align="center" valign="middle" >7.9999</td></tr><tr><td align="center" valign="middle" >Average</td><td align="center" valign="middle" >7.2354</td><td align="center" valign="middle" >7.9995</td></tr></tbody></table></table-wrap><table-wrap id="table5" ><label><xref ref-type="table" rid="table5">Table 5</xref></label><caption><title> Performance comparisons in terms of information entropy</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Secret binary images</th><th align="center" valign="middle" >Information entropy</th></tr></thead><tr><td align="center" valign="middle" >Proposed system</td><td align="center" valign="middle" >7.9995</td></tr><tr><td align="center" valign="middle" >Fuchun Guo et al. [<xref ref-type="bibr" rid="scirp.67235-ref3">3</xref>]</td><td align="center" valign="middle" >7.8914</td></tr><tr><td align="center" valign="middle" >Kamanashis Biswas et al. [<xref ref-type="bibr" rid="scirp.67235-ref6">6</xref>]</td><td align="center" valign="middle" >7.9936</td></tr><tr><td align="center" valign="middle" >Jing-Ming Guo et al. [<xref ref-type="bibr" rid="scirp.67235-ref5">5</xref>]</td><td align="center" valign="middle" >7.9102</td></tr></tbody></table></table-wrap><table-wrap id="table6" ><label><xref ref-type="table" rid="table6">Table 6</xref></label><caption><title> Average image security execution time (encoder)</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  >CPU frequency</th><th align="center" valign="middle" >“Hestain” secret color mage</th><th align="center" valign="middle" >“Football.jpg” secret color image</th></tr></thead><tr><td align="center" valign="middle" >Total Time (s)</td><td align="center" valign="middle" >Total Time (s)</td></tr><tr><td align="center" valign="middle" >2.4 GHz</td><td align="center" valign="middle" >3.437</td><td align="center" valign="middle" >4.78</td></tr><tr><td align="center" valign="middle" >1.8 GHz</td><td align="center" valign="middle" >24.65 40</td><td align="center" valign="middle" >26.61 37</td></tr><tr><td align="center" valign="middle" >800 MHz</td><td align="center" valign="middle" >57.65 17</td><td align="center" valign="middle" >61.60 16</td></tr></tbody></table></table-wrap><table-wrap id="table7" ><label><xref ref-type="table" rid="table7">Table 7</xref></label><caption><title> Average image security execution time (decoder)</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  >CPU frequency</th><th align="center" valign="middle"  colspan="2"  >Processing time of decoder (sec)</th></tr></thead><tr><td align="center" valign="middle" >“Hestain.jpg” secret image</td><td align="center" valign="middle" >“Football.jpg” secret image</td></tr><tr><td align="center" valign="middle" >2.4 GHz</td><td align="center" valign="middle" >4.27</td><td align="center" valign="middle" >4.76</td></tr><tr><td align="center" valign="middle" >1.8 GHz</td><td align="center" valign="middle" >24.6540</td><td align="center" valign="middle" >24.6540</td></tr><tr><td align="center" valign="middle" >800 MHz</td><td align="center" valign="middle" >57.657</td><td align="center" valign="middle" >57.667</td></tr></tbody></table></table-wrap></sec></sec><sec id="s5"><title>5. Conclusion</title><p>In this paper, compression based image security for WSN is proposed to increase the level of security from the attackers. The secret binary image is embedded into the original source image using compression technique. This compression technique produces binary and integer matrix which increases the compression ratio of the proposed image security system. The proposed system has high information entropy which indicates the strength of the security system and achieves average PSNR about 41.9 dB and average MSE about 28.45. The methodology in this paper achieves 99.9% of number of pixels change rate (NPCR) and 30.99% of the unified average changing intensity (UACI). In future, this work can be extended to embed the secret video or audio in the source video or audio in WSN to increase the level of security to the next higher level.</p></sec><sec id="s6"><title>Acknowledgements</title><p>The authors would like to thank their friends and colleagues for their constant support throughout the research.</p></sec><sec id="s7"><title>Conflict of Interests</title><p>The authors declare that there is no conflict of interests.</p></sec><sec id="s8"><title>Cite this paper</title><p>R. Vijayarajeswari,A. Rajivkannan,J. Santhosh, (2016) A Simple Steganography Algorithm Based on Lossless Compression Technique in WSN. Circuits and Systems,07,1341-1351. doi: 10.4236/cs.2016.78117</p></sec><sec id="s9"><title>NOTES</title></sec></body><back><ref-list><title>References</title><ref id="scirp.67235-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Biham, E., Biryukov, A. and Shamir, A. (2005) Cryptanalysis of Skipjack Reduced to 31 Rounds Using Impossible Differentials. Journal of Cryptology, 18, 12-19. http://dx.doi.org/10.1007/s00145-005-0129-3</mixed-citation></ref><ref id="scirp.67235-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Biswas, K., Muthukkumarasamy, K. and Singh, K. (2015) An Encryption Scheme Using Chaotic Map and Genetic Operations for Wireless Sensor Networks. IEEE Sensors Journal, 15, 2801-2809.</mixed-citation></ref><ref id="scirp.67235-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Bouslimi, D., Coatrieux, G., Cozic, M. and Roux, C. (2012) A Joint Encryption/Watermarking System for Verifying the Reliability of Medical Images. IEEE Transactions on Information Technology in Biomedicine, 16, 891-899. http://dx.doi.org/10.1109/TITB.2012.2207730</mixed-citation></ref><ref id="scirp.67235-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Ghrare, S.E., Ali, M.M.A., Jumari, K. and Ismail, M. (2009) An Efficient Low Complexity Lossless Coding Algorithm for Medical Images. American Journal of Applied Sciences, 6, 1502-1508. http://dx.doi.org/10.3844/ajassp.2009.1502.1508</mixed-citation></ref><ref id="scirp.67235-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Guo, F., Susilo, W. and Mu, Y. (2016) Distance-Based Encryption: How to Embed Fuzziness in Biometric-Based Encryption. IEEE Transactions on Information Forensics and Security, 11, 247-257. http://dx.doi.org/10.1109/TIFS.2015.2489179</mixed-citation></ref><ref id="scirp.67235-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Guo, J.M. and Le, T.N. (2010) Secret Communication Using JPEG Double Compression. IEEE Signal Processing Letters, 17, 879-882. http://dx.doi.org/10.1109/LSP.2010.2066110</mixed-citation></ref><ref id="scirp.67235-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Lim, M.H., Teoh, A.B.J. and Toh, K.-A. (2013) Dynamic Detection-Rate-Based Bit Allocation with Genuine Interval Concealment for Binary Biometric Representation. IEEE Transactions on Cybernetics, 43, 843-857. http://dx.doi.org/10.1109/TSMCB.2012.2217127</mixed-citation></ref><ref id="scirp.67235-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Ramkumar, D. and Raglend, I.J. (2014) Performance Analysis of Image Security Based on Encrypted Hybrid Compression. American Journal of Applied Sciences, 11, 1128-1134. http://dx.doi.org/10.3844/ajassp.2014.1128.1134</mixed-citation></ref><ref id="scirp.67235-ref9"><label>9</label><mixed-citation publication-type="book" xlink:type="simple">Sahai, A. and Waters, B. (2005) Fuzzy Identity-Based Encryption. In: Cramer, R., Ed., Advances in Cryptology— EUROCRYPT 2005, Springer-Verlag, Heidelberg, Germany, 457-473.</mixed-citation></ref><ref id="scirp.67235-ref10"><label>10</label><mixed-citation publication-type="book" xlink:type="simple">Suzaki, T., Minematsu, K., Morioka, S. and Kobayashi, E. (2012) TWINE: A Lightweight Block Cipher for Multiple Platforms. In: Knudsen, L.R. and Wu, H.P., Eds., Selected Areas in Cryptography, Springer-Verlag, Berlin, Germany, 339-354.</mixed-citation></ref><ref id="scirp.67235-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Al-Shatanawi, O.M. and El Emam, N.N. (2015) A New Image Steganography Algorithm Based on Mlsb Method with Random Pixels Selection. International Journal of Network Security &amp; Its Applications (IJNSA), 7, No. 2. http://dx.doi.org/10.5121/ijnsa.2015.7203</mixed-citation></ref><ref id="scirp.67235-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Sun, S.L. (2015) A New Information Hiding Method Based on Improved BPCS Steganography. Advances in Multimedia, 2015, 1-7. http://dx.doi.org/10.1155/2015/698492</mixed-citation></ref><ref id="scirp.67235-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Mandal, J.K. and Das, D. (2012) Colour Image Steganography Based on Pixel Value Differencing in Spatial Domain. International Journal of Information Sciences and Techniques, 2, No. 4. http://dx.doi.org/10.5121/ijist.2012.2408</mixed-citation></ref><ref id="scirp.67235-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Chang, C., Lin, C. and Fan, Y. (2008) Lossless Data Hiding for Color Images Based on Block Truncation Coding. Pattern Recognition, 41, 2347-2357. http://dx.doi.org/10.1016/j.patcog.2007.12.009</mixed-citation></ref><ref id="scirp.67235-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Chen, J., Chen, T.S., Lin, C., Chen, S.Y. and Lin, J. (2015) A Simple JPEG-LS Compressed Technique for 2DGE Image with ROI Emphasis. The Imaging Science Journal, 63, No. 2. http://dx.doi.org/10.1179/1743131X14Y.0000000086</mixed-citation></ref><ref id="scirp.67235-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">El-Emam, N. and Al-Zubidy, R. (2013) New Steganography Algorithm to Conceal a Large Amount of Secret Message Using Hybrid Adaptive Neural Networks with Modified Adaptive Genetic Algorithm. Journal of Systems and Software, 86, 1465-1481.  http://dx.doi.org/10.1016/j.jss.2012.12.006</mixed-citation></ref></ref-list></back></article>