You are on page 1of 4

COLOR IMAGE WATERMARKING IN HSI SPACE

Dinu Coltuc and Philippe Bolon

LAMII/CESALP, University of Savoie,


41 AV. de la Plaine, PO BOX 806, 74016 Annecy, FRANCE
Tel: $33-450 096541; Fax: +33-450 096649
email: { coltuc,bolon}@esia.univ-savoie.fr

ABSTRACT The watermarks under consideration are chosen in or-


For graylevel images, the histogram based watermark- der to preserve image appearance. Robustness of the
ing approach considers image histogram as its signa- proposed technique against attacks is investigated.
ture and, by exact histogram specification, images are
marked accordingly. This paper extends to color im- 2. COLOR IMAGE WATERMARKING
ages the histogram based watermarking. Image mark-
ing is performed in the HSI space by creating notches The basic idea of robust histogram based watermark-
in the intensity component histogram. The number ing is to eliminate (or reduce), in a controlled manner,
of notches and their locations are the features which groups of graylevels, taking care to preserve the visual
define each watermark. The detection is blind and of appearance of the image. Attacks change the graylevel
considerably low complexity. Robustness of the pro- distribution. It is reasonable to assume that the new
posed method is investigated - tests performed using value of each pixel depends on its original graylevel as
StirMark show that marking with notches ensures high well as on the graylevels of its neighbors. Therefore,
robustness against many attacks: JPEG compression, if there are very few pixels of a specific graylevel in
geometric distortions (cropping, scaling, rotation, row the original image, one expects t o have in the attacked
and column removal, translation, etc.,), linear and non- image a corresponding level (or levels) very little repre-
linear filtering. sented. A more detailed discussion on method robust-
ness is given in [5].
1. INTRODUCTION The exact histogram specification applies directly
to graylevel images; expanding histogram techniques
By exact histogram specification, image graylevels are to color images is not straightforward. Since humans
handled to precisely match any histogram [l,21. It has are sensitive to chromatic changes, attention must be
also been shown that image histogram can be drasti- paid that incorrect colors be not produced. This is why
cally modified with no loss of image information con- direct histogram specification in the RGB space is gen-
tent and, in many cases, without any visual distortions. erally avoided and histogram processing is performed
Therefore, image histograms can be used for invisible in other color spaces, e.g., HSI (hue, saturation, inten-
watermarking of graylevel images [3]. sity), UCS uniform chromaticity scale, modified UCS,
Furthermore, a suitable choice of watermarks yields L*a*b*,etc., [SI-[SI.
robustness against many intentional and unintentional In the sequel, we perform histogram specification
attacks. Examples have been already provided on saw- on the intensity component in HSI space. Changing
teeth shaped histograms which turned out to be very only the intensity component, no color shifts occur.
resistant to linear and nonlinear filtering, JPEG com-
pression, geometrical distortions [4]. 2.1. Watermarks
Histogram based watermarking is a IOW complexity
technique. We mention that detection is blind (it is Watermarks under consideration are derived by insert-
not necesarry to store the original marked image) and ing notches in the histogram of the intensity compo-
consists mainly of histogram computation. nent. Each watermark is described by the number of
This paper extends to color images the histogram notches and their location. Such histograms have been
based watermarking technique. Marking is performed recently proposed for robust watermarking of graylevel
by exact histogram specification in the HSI domain. images [5].

698
O-7803-6297-7/OO/$10.0002000 IEEE

Authorized licensed use limited to: Ashesi University. Downloaded on December 02,2021 at 18:27:52 UTC from IEEE Xplore. Restrictions apply.
250

200
150

250

200
300

Figure 2: Histograms of original and marked test image


in RGB space.

Figure 3: Marked images - flat histogram with notches.

15 graylevels width, one centered on graylevel 105, the


other on 175. The 3D representation of the histograms
(RGB space) of original and marked test image is plot-
Figure 1: Original (up) and marked image (down). ted in Figure 2.

Due to histogram notches, groups of graylevels are 2.2. Marking


eliminated. Hence, the corresponding pixels should be
The marking procedure consists of the following steps:
distributed among the remaining graylevels. There are
many possibilities to reassign them: 1. RGB to HSI conversion;
0 uniformly spread over the allowed graylevels (the 2. exact histogram specification of intensity compo-
original shape of the histogram is preserved as nent according to the destined watermark;
much as possible);
3. back conversion from HSI to RGB.
0 distributed such that the local averages of the
original histogram are preserved; 2.3. Detection
0 distributed on some predefined ranges of graylevels.
Watermark detection is performed in HSI space. After
In this paper, we have considered the first case, namely RGB to HSI conversion, the histogram of the intensity
uniform spreading. component is computed. Next, the detection can be
The original test image and a marked copy are shown approached at various complexity levels ranging from
in Fig. 1; as it can be seen, the two images look visu- mere visual inspection of notches to automatic pattern
ally identical. The watermark consists of 2 notches of recognition. Since watermarks are characterised by

699

Authorized licensed use limited to: Ashesi University. Downloaded on December 02,2021 at 18:27:52 UTC from IEEE Xplore. Restrictions apply.
Figure 4: JPEG compression: quality factor 50 - p = Figure 6: Rotation 30" - p = 0.96 (left); rotation 45"
0.95 (left); quality factor 25 - p = 0.90 (right).; -p = 0.95 (right).
,am, , , , , ,

Figure 5: Filtering: median filter 3 x 3 - p = 0.98 (left); Figure 7: Scaling 50% - p = 0.94 (left); scaling 150%
gaussian filter 3 x 3 - p = 0.95 (right). - p = 0.97 (right).

notch positions and widths, the detection does not need 3. ROBUSTNESS
the original marked image. However, the detection is
more robust if the marked histogram of the intensity The robustness of the proposed watermarking has been
component is available - this usually means storing 256 tested against basic StirMark attacks [9, lo]. In the se-
integers. quel, results obtained on the test image (Fig. 1) are
presented in Fig. 4-10. Histograms of both marked
(dashed line) and attacked image (solid line) are d i s
2.4. Joint marking and enhancement
played. Their similarity is measured by means of their
Marking with notches was chosen in order to preserve correlation coefficient, p.
the visual appearance of the images. Even thus, for The proposed method is robust against JPEG com-
large notch widths a certain increase in image contrast pression for quality factors 2 25. Thus, one obtains
may appear. p = 0.97 for compression at quality factor 90, p = 0.95
Conversely, if image enhancement is of interest, we for quality factor 50 and p = 0.90 for 25 (Fig. 4).
suggest the use of bi-valued watermarks with zero cor- As expected, the method is very robust against me-
responding to notches and a constant value over the dian filtering and robust against linear filtering. The
remaining graylevel scale. For such watermarks, the results obtained with 3 x 3 window filters are presented
marking procedure can be approached as histogram in Fig. 5 - for median, p = 0.98 and for Gaussian
equalization (the specification of a perfectly flat his- filtering, p = 0.95.
togram) followed by watermarking by notches. Obvi- Very good results are obtained as well against geo-
ously, color image enhancement and contrast increase metrical distortions. Thus, for rotation with 30" one
appear due t o histogram equalization on the intensity gets p = 0.96, for 45", p = 0.95 (Fig. 6); for scal-
component. ing at 50% p is 0.94 and at 150% p is 0.97 (Fig. 7).
Two examples are provided in Fig. 3, where, on For centered cropping (75%) one gets p = 0.95 (Fig.
perfectly flat histogram 2 notches (15 graylevels width) 8). Similar results are obtained for rotation scaling, +
have been inserted: centered on levels 105, 175 (left) random removal of rows and columns, translation, etc.
and 155, 225 (right). The 2 marked copies appears vi- The result for color quantization is p = 0.95 (Fig.
sually identical. Using such watermarks provides more 9). We shall mention the results obtained for special-
robustness against attacks. Moreover, no storage of the ized StirMark attacks: randomization and bending -
original marked histogram is needed in the detection p = 0.95, FMLR - p = 0.94 (Fig. 10). Lower robust-
stage. ness was obtained against sharpening ( p = 0.89).

700

Authorized licensed use limited to: Ashesi University. Downloaded on December 02,2021 at 18:27:52 UTC from IEEE Xplore. Restrictions apply.
Figure 8: Centered cropping 70% - p = 0.95. Figure 10: StirMark with randomization and bending
- p = 0.95 (left); FMLR - p = 0.94 (right);

IEEE Internatzonal Conference of Image Process-


zng ICIP’99, Kobe, Japan, Vol. 111, pp. 150-153,
1999.
[3] D. Coltuc, Ph. Bolon, “Watermarking by His-
t ogram Specification ,” SPIE Proceedzngs, vol.
3657, Conf. on Security and Watermarking of Mul-
timedia Contents, USA, pp. 252-263, 1999.
Figure 9: Color quantization - p = 0.95.
[4] D. Coltuc, Ph. Bolon, “Robust Watermarking
by Histogram Specification,” Proceedzngs of the
3.1. Towards statistical invisibility IEEE Internatzonal Conference of Image Process-
The method is vulnerable to histogram specification at- zng ICIP’99, Kobe, Japan, Vol. 11, pp. 136-239,
tacks. This drawback cannot be completely eliminated, 1999.
but a better protection can be achieved by assuring 151 D. Coltuc, Ph. Bolon, “Regional Watermarking
global statistical invisibility. Researches are in progress in Spatial Domain,” European Conference on Sig-
on this subject - we have recently developed a regional nal Processzng EUSIPCO’2000, Tampere, Fin-
marking technique for graylevel images, [5], which split land, Sept. 2000.
image into regions and marks with notches taking care
to preserve the image global histogram. Hence, water- [6] A. R. Weeks, L. J . Sartor, H. R. Myler, ”His-
mark removal is made more difficult. togram Specification of 24-Bit Color Images in the
Color Difference (C-Y) Color Space”, J. Electronzc
Imagzng, 8(03), 290-300, 1999
4. CONCLUSIONS
[7] I. Pitas, P. Kiniklis, ”Multichannel Techniques in
A first order approach to color image watermarking Color Image Enhancement and Modeling”, IEEE-
has been proposed. Its robustness against many inten- Trans. on Image Processzng, vo1.5, no.1, p.168-71,
tional and unintentional attacks has been investigated. 1996.
Watermarking of color images was approached by ex-
[8] P. A. Mlsna, Q. Zhang, J . J. Rodriguez, ”3-D His-
act histogram specification in the HSI space with wa-
togram Modification of Color Images”, Proceed-
termarks defined by the number and the position of
zngs of ICIP’96, Lausanne, Switzerland, vo1.3, pp.
notches. In terms of robustness, results obtained so far
1015-1018, 1996.
are promissing and further researches are in progress.
[9] F. A. P. Petitcolas, R. J . Anderson, M. G. Kuhn,
5. REFERENCES “Attacks on Copyright Marking Systems,” Infor-
matzon Hidzng, Second Intl. Workshop, IH’98, D.
[l] D. Coltuc, Ph. Bolon, “An Inverse Problem: Aucsmith (Ed.), pp. 219-239, 1998.
Histogram Equalization,” in Signal Processing [lo] M. Kutter, F. A. P. Petitcolas, “A Fair Benchmark
IX, Theories and Applications, EUSIPC0’98 11, for Image Watermarking Systems,” SPIE Proceed-
pp. 861-864, 1998. zngs, vol. 3657, Conf. on Security and Watermark-
ing of Multimedia Contents, USA, pp. 226-239,
[2] D. Coltuc, Ph. Bolon, “Strict Ordering on Dis-
1999.
crete Images and Applications,” Proceedings of the

70 I

Authorized licensed use limited to: Ashesi University. Downloaded on December 02,2021 at 18:27:52 UTC from IEEE Xplore. Restrictions apply.

You might also like