Research Article

Security Measure for Image Steganography Based on High Dimensional KL Divergence

Algorithm 1

Input: Payload , Cover image , Stego image
Output: Value of steganographic security measure
1: Initialize target-image ;
2: [m,n]= size of ()
3: calculate gradient using Equ.(11)
4: 
5: while ()
6:   ,
7: end
8: ,
9: for i=1:511
10:  for j=1:511
11:  if //texture pixels
12:   calculate using Equ.(14)
13:   
14:   look for make established
15:   if end
16:   if end
17:   if end
18:   if end
19:   else if //non-texture pixels
20:    
21:    else
22:     
23:     
24:     
25:     
26:    end
27:   end
28:  end
29: end
30: calculate
31: let repeat step 2-30 to get
32: return using Equ.(3).