Embedding Information in Grayscale Images - Signal Processing ...
Embedding Information in Grayscale Images - Signal Processing ...
Embedding Information in Grayscale Images - Signal Processing ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
6 Ternary embedd<strong>in</strong>g methods<br />
We start this section with a def<strong>in</strong>ition. A grayscale symbol x is said to be <strong>in</strong> class w iff x<br />
mod 3 = w for w = 0, 1, 2. Now we are ready to discuss uncoded ternary embedd<strong>in</strong>g and<br />
after that aga<strong>in</strong> two coded embedd<strong>in</strong>g methods.<br />
6.1 Uncoded ternary modulation<br />
Suppose that message w ∈ {0, 1, 2} is to be embedded <strong>in</strong> the grayscale symbol x. The<br />
decoder determ<strong>in</strong>es the message w simply by look<strong>in</strong>g at the class of y. If x is <strong>in</strong> class<br />
w then y = x is chosen, otherwise we change it <strong>in</strong>to the symbol y <strong>in</strong> class w, such that<br />
D(x, y) = (y − x) 2 is m<strong>in</strong>imal, see the tables below.<br />
x w = 0 1 2<br />
· · ·<br />
9 y = 9 10 8<br />
10 9 10 11<br />
11 12 10 11<br />
· · ·<br />
x w = 0 1 2<br />
· · ·<br />
9 D = 0 1 1<br />
10 1 0 1<br />
11 1 1 0<br />
· · ·<br />
The obta<strong>in</strong>ed embedd<strong>in</strong>g rate R = log 2 3 ≈ 1.585. The correspond<strong>in</strong>g average distortion<br />
¯D = 2/3 · 1 = 2/3. This results <strong>in</strong> the ratio R/ ¯D = 3/2 log 2 3 ≈ 2.378 which is quite good!<br />
6.2 <strong>Embedd<strong>in</strong>g</strong> with ternary Hamm<strong>in</strong>g codes<br />
We can also design codes for the modulat<strong>in</strong>g the class, based on ternary Hamm<strong>in</strong>g codes. For<br />
a given value m, i.e. the number of parity check symbols, the codeword length is (3 m − 1)/2.<br />
Therefore<br />
R = 2m log 2 3<br />
3 m − 1 and ¯D = 2<br />
3 m .<br />
Hence<br />
see figure 5.<br />
R/ ¯D = m3m log 2 3<br />
3 m − 1 ,<br />
6.3 <strong>Embedd<strong>in</strong>g</strong> us<strong>in</strong>g the ternary Golay code<br />
If we use the (11, 6, 5) ternary Golay code we get the follow<strong>in</strong>g rate and distortion:<br />
R = 5 log 2 3<br />
11<br />
≈ 0.7204 and ¯D =<br />
( 11<br />
) (<br />
1 · 1 · 2 + 11<br />
)<br />
2 · 2 · 4<br />
243 · 11<br />
= 42<br />
243 ≈ 0.1728.<br />
Hence R/ ¯D ≈ 4.1682 (see figure 5).