annotate Meerwald/README @ 10:aa7b4c3a7313

add cmp_ppm
author Peter Meerwald <pmeerw@cosy.sbg.ac.at>
date Thu, 01 May 2008 18:15:14 +0200
parents be303a3f5ea8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
1 This package provides source code for some watermarking algorithms in portable
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
2 C code. Currently it includes the following
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
3
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
4 watermarking algorithms
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
6 Bruyndonckx
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
7 refer to
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
8 O. Bruyndonckx, Jean-Jacques Quisquater, and Benoit M. Macq.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
9 Spatial method for copyright labeling of digital images.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
10 In IEEE Workshop on Nonlinear Signal and Image Processing '95,
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
11 Thessaloniki, Greece, pages 456 - 459, 1995.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
12
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
13 Corvi
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
14 refer to
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
15 Marco Corvi and Gianluca Nicchiotti.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
16 Wavelet-based image watermarking for copyright protection.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
17 In Scandinavian Conference on Image Analysis SCIA '97, Lappeenranta,
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
18 Finland, June 1997.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
19
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
20 Cox
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
21 refer to
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
22 Ingemar J. Cox, Joe Kilian, Tom Leighton, and Talal G. Shamoon.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
23 Secure spread spectrum watermarking for multimedia.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
24 In Proceedings of the IEEE ICIP '97,
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
25 volume 6, pages 1673 - 1687, Santa Barbara, California, USA, 1997.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
26
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
27 Dugad
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
28 refer to
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
29 Rakesh Dugad, Krishna Ratakonda, and Narendra Ahuja.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
30 A new wavelet-based scheme for watermarking images. In Proceedings of
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
31 the IEEE International Conference on Image Processing, ICIP '98,
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
32 Chicago, IL, USA, October 1998.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
33
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
34 Fridrich (2. scheme)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
35 refer to
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
36 Jiri Fridrich.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
37 Combining low-frequency and spread spectrum watermarking. In
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
38 Proceedings of the SPIE Symposium on Optical Science, Engineering and
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
39 Instrumentation, San Diego, USA, July 1998.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
40
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
41 Koch
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
42 refer to
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
43 Eckhard Koch and Jian Zhao.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
44 Towards robust and hidden image copyright labeling.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
45 In Proceedings of the IEEE International Workshop on Nonlinear
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
46 Signal and Image Processing, pages 452 - 455, Halkidiki, Marmaras,
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
47 Greece, June 1995.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
48
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
49 Kim
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
50 refer to
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
51 Jong Ryul Kim and Young Shik Moon.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
52 A robust wavelet-based digital watermark using level-adaptive
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
53 thresholding. In Proceedings of the 6th IEEE International
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
54 Conference on Image Processing ICIP '99, page 202,
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
55 Kobe, Japan, October 1999.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
56
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
57 Wang
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
58 refer to
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
59 Houng-Jyh Wang, Po-Chyi Su, and C.-C. Jay Kuo.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
60 Wavelet-based digital image watermarking. Optics Express, 3
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
61 pp. 497, December 1998.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
62
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
63 Xia
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
64 refer to
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
65 Xiang-Gen Xia, Charles G. Boncelet, and Gonzalo R. Arce.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
66 Wavelet transform based watermark for digital images. Optics Express, 3
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
67 pp. 497, December 1998.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
68
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
69 Xie
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
70 refer to
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
71 Liehua Xie and Gonzalo R. Arce.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
72 Joint wavelet compression and authentication watermarking. In
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
73 Proceedings of the IEEE International Conference on Image Processing,
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
74 ICIP '98, Chicago, IL, USA, 1998.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
75
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
76 Zhu
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
77 refer to
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
78 Wenwu Zhu, Zixiang Xiong, and Ya-Qin Zhang.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
79 Multiresolution watermarking for images and video: a unified approach.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
80 In Proceedings of the IEEE International Conference o
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
81
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
82 many more algorithms to come!
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
83 see what is in stock: http://www.cosy.sbg.ac.at/~pmeerw/Watermarking
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
84
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
85 and utility programs
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
86
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
87 cmp_pgm - compute difference image, PSNR, ...
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
88 cmp_dct - compute full-frame DCT domain difference image
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
89 cmp_dct8x8 - compute 8x8 block-based DCT difference image
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
90 cmp_dwt - compute DWT domain difference image
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
91
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
92 What do I need?
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
93
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
94 Unix (Linux), a reasonable C compiler (GCC), and the netpbm library which you
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
95 can get at http://wuarchive.wustl.edu/graphics/graphics/packages/NetPBM/
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
96
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
97
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
98 Directions: How do I use the stuff?
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
99
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
100 look at the MAKEFILE...
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
101 each algorithms has at least 4 files: gen_algo_sig.c, wm_algo_e.c, wm_algo_d.c,
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
102 cmp_algo_sig.c where 'algo' is the name of the actual watermarking algorithm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
103 (usually the principal author's name), where might also be some common files
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
104 for each algorithm, algo_common.{c|h}, and some support files for sorting,
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
105 the DCT, ...
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
106
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
107 just try
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
108
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
109 make
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
110 make test
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
111
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
112 next, try to run each program with the -h parameter to find out what options
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
113 are supported - the programs are pretty consistent and have reasonable
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
114 default settings
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
115
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
116 e.g.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
117
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
118 wm_cox_e -h
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
119
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
120 The programs all support standard input and standard output, the only
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
121 supported image file format is PGM for grayscale images and PPM for color
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
122 images; most programs have only been tested with 512x512 images.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
123 You can find the Lena image in PGM format in the images/ sub-directory.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
124
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
125
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
126 Disclaimer: #include <disclaimer.h>
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
127
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
128 Feel free to use the accompaigning code for your research! However, I do
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
129 not guarantee for anything, in particular parts of the provided code may
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
130 be covered by copyrights of a third party or by patent claims. I do not
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
131 guarantee for any functionality, bla-bla, ...
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
132
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
133 If you use the accompanying code, please cite my thesis:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
134
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
135 Peter Meerwald, Digital Image Watermarking in the Wavelet Transform Domain,
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
136 Master's Thesis, Department of Scientific Computing, University of Salzburg,
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
137 Austria, January 2001.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
138
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
139
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
140 Contact: Comments are welcome!
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
141
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
142 More algorithms will be added over time, I have implemented about 13
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
143 watermarking algorithms in the spatial-, DCT-, and wavelet domain so far.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
144 Please report what problems you have, suggestions, ...
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
145
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
146 Peter Meerwald
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
147
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
148 Dept. of Scientific Computing
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
149 University of Salzburg
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
150 Jakob-Haringer-Str. 2
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
151 A-5020 Salzburg
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
152 AUSTRIA
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
153
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
154 pmeerw@cosy.sbg.ac.at
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
155 http://www.cosy.sbg.ac.at/~pmeerw/Watermarking
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
156
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
157 +43-662-8044-6327

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.