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.
1<br />
0.9<br />
0.8<br />
0.7<br />
0.6<br />
0.5<br />
0.4<br />
0.3<br />
0.2<br />
0.1<br />
0<br />
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5<br />
Figure 5: Rate-distortion curve, time-shar<strong>in</strong>g R = 1-LSB modulation (...), b<strong>in</strong>ary Hamm<strong>in</strong>g<br />
codes (o), ternary Hamm<strong>in</strong>g codes (*), and both Golay codes (x).<br />
7 Two-dimensional codes<br />
F<strong>in</strong>ally we consider a method that modifies pairs of grayscale-symbols (x a , x b ). Therefore<br />
we ”color” the two-dimensional rectangular grid with five colors. A po<strong>in</strong>t and its nearest<br />
neighbors all have a different color, see table below.<br />
x a →<br />
1 2 3 4 0 1 2 3 4 0 1 2 3 4 0<br />
x b 4 0 1 2 3 4 0 1 2 3 4 0 1 2 3<br />
↓ 2 3 4 0 1 2 3 4 0 1 2 3 4 0 1<br />
0 1 2 3 4 0 1 2 3 4 0 1 2 3 4<br />
3 4 0 1 2 3 4 0 1 2 3 4 0 1 2<br />
We want to embed <strong>in</strong> x a and x b a message w ∈ {0, 1, 2, 3, 4}. The decoder just looks at the<br />
color of pair (y a , y b ). If (x a , x b ) does not have color w change it <strong>in</strong>to the nearest neighbor<br />
(y a , y b ) with color w. Now<br />
¯D = 1 · 0 + 4 · 1<br />
5 · 2<br />
= 2/5 and R = log 2 5<br />
2<br />
= 1.16096.<br />
and R/ ¯D = 2.90241. This basic code can be used together with 5-ary Hamm<strong>in</strong>g codes.<br />
For a given m, i.e. the number of parity checks, we get a code length of (5 m − 1)/4 5-ary<br />
symbols. This code processes (5 m − 1)/2 grayscale-symbols and the embedd<strong>in</strong>g rate is<br />
R = 2m log 2 (5)<br />
5 m − 1<br />
and the distortion ¯D = 2<br />
5 m .<br />
The result<strong>in</strong>g distortion-rate pairs are shown <strong>in</strong> figure 6.