Research Article

A New Method of Image Steganography Using 7th Bit of a Pixel as Indicator by Introducing the Successive Temporary Pixel in the Gray Scale Image

Pseudocode 2

Retrieval of the Message.
(1)S = Read stego.tif image      %Read the stego image in S matrix
(2)[row, col] = size (S);         %Find row and column of the stego image
(3)load N;              %Load the message length
(4)k = 1;               %Initialize the value of k by 1
(5)m = 0;              %Initialize m matrix to zero
(6)Repeat i = 1: row
(7) Repeat j = 1: col
(8)  if k < N
(9)   m (k) = 2nd bit of S, i.e. (S (i, j),2);
(10)   m (k + 1) = 2nd bit of the next pixel of S, i.e.(S (i, j) +1, 2);
(11)   k = k + 2;
(12)  end
(13) end
(14)end
(15)m;
(16)M = reshape (m,8,[]);
(17)Convert M into a character stream;