annotate Meerwald/Makefile @ 8:f83ef905a63d

fixing many warnings increase capacity for coordinates in bruyn fix some uninit. variables
author Peter Meerwald <pmeerw@cosy.sbg.ac.at>
date Tue, 22 Apr 2008 13:36:05 +0200
parents acb6967ee76d
children aa7b4c3a7313
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 # Makefile
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
2
3
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
3 # chose build plattform
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
4 include ../make/make.config
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
5
3
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
6 OPTIONS=-DPARAM_STUFF -DPOLLEN_STUFF
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
7
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
8 all: tools \
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
9 bruyn \
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
10 koch \
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
11 corvi \
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
12 xia \
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
13 xie \
3
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
14 xie2 \
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
15 cox \
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
16 zhu \
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
17 dugad \
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
18 wang \
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
19 frid2 \
3
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
20 kim \
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
21 kund2 \
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
22 kund3
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
23
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
24 .SUFFIXES: .c .o .1 .ps
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
25
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
26 .c$(O):
3
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
27 $(CC) $(CFLAGS) $(INCLUDES) $(OPTIONS) -o $@ -c $<
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
28
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
29 .1.ps:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
30 $(GROFF) $< > $@
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
31
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
32 # library containing general stuff
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
33
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
34 $(LIBPREFIX)wm$(LIB): dct$(O) coeff$(O) gray$(O) sort$(O) signature$(O) coord$(O) wm$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
35 $(RM) $@
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
36 ar -rc $@ dct$(O) coeff$(O) gray$(O) sort$(O) signature$(O) coord$(O) wm$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
37
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
38 libraryclean:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
39 $(RM) $(LIBPREFIX)wm$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
40
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
41 # library containing wavelet transform stuff
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
42
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
43 $(LIBPREFIX)wavelet$(LIB): wavelet$(O) dwt$(O) dwt_util$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
44 $(RM) $@
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
45 ar -rc $@ wavelet$(O) dwt$(O) dwt_util$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
46
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
47 waveletclean:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
48 $(RM) $(LIBPREFIX)wavelet$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
49
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
50 # some general tools to compute difference image, PSNR, ...
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
51
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
52 tools: cmp_pgm$(EXE) cmp_dct8x8$(EXE) cmp_dct$(EXE) cmp_dwt$(EXE)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
53
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
54 toolstest:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
55
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
56 toolsinstall: tools
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
57 $(CP) cmp_pgm$(EXE) cmp_dct8x8$(EXE) cmp_dct$(EXE) cmp_dwt$(EXE) $(INSTALLDIR)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
58
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
59 toolsman: cmp_pgm.ps cmp_dct8x8.ps cmp_dct.ps
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
60
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
61 toolsclean:
3
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
62 $(RM) cmp_pgm$(EXE) cmp_dct$(EXE) cmp_dct8x8$(EXE) cmp_dwt$(EXE)
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
63
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
64 cmp_pgm$(EXE): cmp_pgm$(O) $(LIBPREFIX)wm$(LIB)
3
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
65 $(CC) $(LDFLAGS) -o $@ cmp_pgm$(O) $(WMLIB) $(PGMLIBS) $(LIBS)
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
66
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
67 cmp_dct$(EXE): cmp_dct$(O) $(LIBPREFIX)wm$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
68 $(CC) $(LDFLAGS) -o $@ cmp_dct$(O) $(WMLIB) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
69
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
70 cmp_dwt$(EXE): cmp_dwt$(O) $(LIBPREFIX)wavelet$(LIB) $(LIBPREFIX)wm$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
71 $(CC) $(LDFLAGS) -o $@ cmp_dwt$(O) $(WAVELIB) $(WMLIB) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
72
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
73 cmp_dct8x8$(EXE): cmp_dct8x8$(O) $(LIBPREFIX)wm$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
74 $(CC) $(LDFLAGS) -o $@ cmp_dct8x8$(O) $(WMLIB) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
75
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
76
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
77 # Koch's algorithm (8x8 block DCT, blind, binary)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
78
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
79 koch: gen_koch_sig$(EXE) wm_koch_e$(EXE) wm_koch_d$(EXE) cmp_koch_sig$(EXE)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
80
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
81 kochtest: koch
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
82 gen_koch_sig$(EXE) -n 150 < gen_koch_sig.c > ../sigs/koch.sig
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
83 wm_koch_e$(EXE) -s ../sigs/koch.sig -o ../watermarked/koch_lena.pgm ../images/lena.pgm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
84 wm_koch_d$(EXE) -s ../sigs/koch.sig -o ../wms/koch.wm ../watermarked/koch_lena.pgm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
85 cmp_koch_sig$(EXE) -s ../sigs/koch.sig ../wms/koch.wm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
86
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
87 kochinstall: koch
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
88 $(CP) gen_koch_sig$(EXE) wm_koch_e$(EXE) wm_koch_d$(EXE) cmp_koch_sig$(EXE) $(INSTALLDIR)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
89
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
90 kochclean:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
91 $(RM) gen_koch_sig$(EXE) wm_koch_e$(EXE) wm_koch_d$(EXE) cmp_koch_sig$(EXE)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
92
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
93 kochman:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
94
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
95 wm_koch_e$(EXE): wm_koch_e$(O) $(LIBPREFIX)wm$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
96 $(CC) $(LDFLAGS) -o $@ wm_koch_e$(O) $(WMLIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
97
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
98 wm_koch_d$(EXE): wm_koch_d$(O) $(LIBPREFIX)wm$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
99 $(CC) $(LDFLAGS) -o $@ wm_koch_d$(O) $(WMLIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
100
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
101 gen_koch_sig$(EXE): gen_koch_sig$(O) wm$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
102 $(CC) $(LDFLAGS) -o $@ gen_koch_sig$(O) wm$(O) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
103
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
104 cmp_koch_sig$(EXE): cmp_koch_sig$(O) $(LIBPREFIX)wm$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
105 $(CC) $(LDFLAGS) -o $@ cmp_koch_sig$(O) $(WMLIB) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
106
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
107 # Fridrich's 2. scheme (full-frame DCT, blind, binary)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
108
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
109 frid2: gen_frid2_sig$(EXE) wm_frid2_e$(EXE) wm_frid2_d$(EXE) cmp_frid2_sig$(EXE)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
110
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
111 frid2test: frid2
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
112 gen_frid2_sig$(EXE) -n 250 < gen_frid2_sig.c > ../sigs/frid2.sig
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
113 wm_frid2_e$(EXE) -s ../sigs/frid2.sig -o ../watermarked/frid2_lena.pgm ../images/lena.pgm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
114 wm_frid2_d$(EXE) -s ../sigs/frid2.sig -o ../wms/frid2.wm ../watermarked/frid2_lena.pgm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
115 cmp_frid2_sig$(EXE) -s ../sigs/frid2.sig ../wms/frid2.wm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
116
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
117 frid2install: frid2
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
118 $(CP) gen_frid2_sig$(EXE) wm_frid2_e$(EXE) wm_frid2_d$(EXE) cmp_frid2_sig$(EXE) $(INSTALLDIR)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
119
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
120 frid2clean:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
121 $(RM) gen_frid2_sig$(EXE) wm_frid2_e$(EXE) wm_frid2_d$(EXE) cmp_frid2_sig$(EXE)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
122
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
123 frid2man:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
124
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
125 wm_frid2_e$(EXE): wm_frid2_e$(O) $(LIBPREFIX)wm$(LIB) frid2_common$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
126 $(CC) $(LDFLAGS) -o $@ wm_frid2_e$(O) frid2_common$(O) $(WMLIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
127
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
128 wm_frid2_d$(EXE): wm_frid2_d$(O) $(LIBPREFIX)wm$(LIB) frid2_common$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
129 $(CC) $(LDFLAGS) -o $@ wm_frid2_d$(O) frid2_common$(O) $(WMLIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
130
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
131 gen_frid2_sig$(EXE): gen_frid2_sig$(O) wm$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
132 $(CC) $(LDFLAGS) -o $@ gen_frid2_sig$(O) wm$(O) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
133
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
134 cmp_frid2_sig$(EXE): cmp_frid2_sig$(O) $(LIBPREFIX)wm$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
135 $(CC) $(LDFLAGS) -o $@ cmp_frid2_sig$(O) $(WMLIB) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
136
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
137
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
138 # Bruyndonckx's algorithm (spatial domain, block classification, blind)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
139
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
140 bruyn: gen_bruyn_sig$(EXE) wm_bruyn_e$(EXE) wm_bruyn_d$(EXE) cmp_bruyn_sig$(EXE)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
141
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
142 bruyntest: bruyn
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
143 gen_bruyn_sig$(EXE) -n 400 < gen_bruyn_sig.c > ../sigs/bruyn.sig
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
144 wm_bruyn_e$(EXE) -s ../sigs/bruyn.sig -o ../watermarked/bruyn_lena.pgm ../images/lena.pgm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
145 wm_bruyn_d$(EXE) -s ../sigs/bruyn.sig -o ../wms/bruyn.wm ../watermarked/bruyn_lena.pgm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
146 cmp_bruyn_sig$(EXE) -s ../sigs/bruyn.sig ../wms/bruyn.wm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
147
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
148 bruyninstall: bruyn
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
149 $(CP) gen_bruyn_sig$(EXE) wm_bruyn_e$(EXE) wm_bruyn_d$(EXE) cmp_bruyn_sig$(EXE) $(INSTALLDIR)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
150
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
151 bruynclean:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
152 $(RM) gen_bruyn_sig$(EXE) wm_bruyn_e$(EXE) wm_bruyn_d$(EXE) cmp_bruyn_sig$(EXE)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
153
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
154 bruynman:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
155
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
156 wm_bruyn_e$(EXE): wm_bruyn_e$(O) bruyn_common$(O) $(LIBPREFIX)wm$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
157 $(CC) $(LDFLAGS) -o $@ wm_bruyn_e$(O) bruyn_common$(O) $(WMLIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
158
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
159 wm_bruyn_d$(EXE): wm_bruyn_d$(O) bruyn_common$(O) $(LIBPREFIX)wm$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
160 $(CC) $(LDFLAGS) -o $@ wm_bruyn_d$(O) bruyn_common$(O) $(WMLIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
161
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
162 gen_bruyn_sig$(EXE): gen_bruyn_sig$(O) wm$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
163 $(CC) $(LDFLAGS) -o $@ gen_bruyn_sig$(O) wm$(O) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
164
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
165 cmp_bruyn_sig$(EXE): cmp_bruyn_sig$(O) $(LIBPREFIX)wm$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
166 $(CC) $(LDFLAGS) -o $@ cmp_bruyn_sig$(O) $(WMLIB) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
167
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
168
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
169 # Cox's algorithm (full-frame DCT, non-blind, spread-spectrum)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
170
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
171 cox: gen_cox_sig$(EXE) wm_cox_e$(EXE) wm_cox_d$(EXE) cmp_cox_sig$(EXE)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
172
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
173 coxtest: cox
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
174 gen_cox_sig$(EXE) > ../sigs/cox.sig
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
175 wm_cox_e$(EXE) -s ../sigs/cox.sig -o ../watermarked/cox_lena.pgm ../images/lena.pgm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
176 wm_cox_d$(EXE) -s ../sigs/cox.sig -o ../wms/cox.wm -i ../images/lena.pgm ../watermarked/cox_lena.pgm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
177 cmp_cox_sig$(EXE) -s ../sigs/cox.sig ../wms/cox.wm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
178
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
179 coxinstall: cox
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
180 $(CP) gen_cox_sig$(EXE) wm_cox_e$(EXE) wm_cox_d$(EXE) cmp_cox_sig$(EXE) $(INSTALLDIR)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
181
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
182 coxman: gen_cox_sig.ps wm_cox_e.ps wm_cox_d.ps
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
183
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
184 wm_cox_e$(EXE): wm_cox_e$(O) $(LIBPREFIX)wm$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
185 $(CC) $(LDFLAGS) -o $@ wm_cox_e$(O) $(WMLIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
186
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
187 wm_cox_d$(EXE): wm_cox_d$(O) $(LIBPREFIX)wm$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
188 $(CC) $(LDFLAGS) -o $@ wm_cox_d$(O) $(WMLIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
189
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
190 gen_cox_sig$(EXE): gen_cox_sig$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
191 $(CC) $(LDFLAGS) -o $@ gen_cox_sig$(O) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
192
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
193 cmp_cox_sig$(EXE): cmp_cox_sig$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
194 $(CC) $(LDFLAGS) -o $@ cmp_cox_sig$(O) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
195
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
196 coxclean:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
197 $(RM) gen_cox_sig$(EXE) wm_cox_e$(EXE) wm_cox_d$(EXE) cmp_cox_sig$(EXE)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
198
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
199
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
200 # Corvi's algorithm (DWT, non-blind, spread-spectrum, approximation image)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
201
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
202 corvi: gen_corvi_sig$(EXE) wm_corvi_e$(EXE) wm_corvi_d$(EXE) cmp_corvi_sig$(EXE)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
203
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
204 corvitest: corvi
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
205 gen_corvi_sig$(EXE) > ../sigs/corvi.sig
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
206 wm_corvi_e$(EXE) -s ../sigs/corvi.sig -o ../watermarked/corvi_lena.pgm ../images/lena.pgm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
207 wm_corvi_d$(EXE) -s ../sigs/corvi.sig -o ../wms/corvi.wm -i ../images/lena.pgm ../watermarked/corvi_lena.pgm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
208 cmp_corvi_sig$(EXE) -s ../sigs/corvi.sig ../wms/corvi.wm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
209
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
210 corviinstall: corvi
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
211 $(CP) gen_corvi_sig$(EXE) wm_corvi_e$(EXE) wm_corvi_d$(EXE) cmp_corvi_sig$(EXE) $(INSTALLDIR)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
212
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
213 corviman: gen_corvi_sig.ps wm_corvi_e.ps wm_corvi_d.ps
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
214
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
215 wm_corvi_e$(EXE): wm_corvi_e$(O) $(LIBPREFIX)wm$(LIB) $(LIBPREFIX)wavelet$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
216 $(CC) $(LDFLAGS) -o $@ wm_corvi_e$(O) $(WMLIB) $(WAVELIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
217
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
218 wm_corvi_d$(EXE): wm_corvi_d$(O) $(LIBPREFIX)wm$(LIB) $(LIBPREFIX)wavelet$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
219 $(CC) $(LDFLAGS) -o $@ wm_corvi_d$(O) $(WMLIB) $(WAVELIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
220
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
221 gen_corvi_sig$(EXE): gen_corvi_sig$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
222 $(CC) $(LDFLAGS) -o $@ gen_corvi_sig$(O) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
223
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
224 cmp_corvi_sig$(EXE): cmp_corvi_sig$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
225 $(CC) $(LDFLAGS) -o $@ cmp_corvi_sig$(O) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
226
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
227 corviclean:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
228 $(RM) gen_corvi_sig$(EXE) wm_corvi_e$(EXE) wm_corvi_d$(EXE) cmp_corvi_sig$(EXE)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
229
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
230
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
231 # Xia's algorithm (DWT, non-blind, spread-spectrum, detail subbands)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
232
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
233 xia: gen_xia_sig$(EXE) wm_xia_e$(EXE) wm_xia_d$(EXE) cmp_xia_sig$(EXE)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
234
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
235 xiatest: xia
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
236 gen_xia_sig$(EXE) > ../sigs/xia.sig
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
237 wm_xia_e$(EXE) -s ../sigs/xia.sig -o ../watermarked/xia_lena.pgm ../images/lena.pgm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
238 wm_xia_d$(EXE) -s ../sigs/xia.sig -o ../wms/xia.wm -i ../images/lena.pgm ../watermarked/xia_lena.pgm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
239 cmp_xia_sig$(EXE) -s ../sigs/xia.sig ../wms/xia.wm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
240
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
241 xiainstall: xia
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
242 $(CP) gen_xia_sig$(EXE) wm_xia_e$(EXE) wm_xia_d$(EXE) cmp_xia_sig$(EXE) $(INSTALLDIR)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
243
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
244 xiaman: gen_xia_sig.ps wm_xia_e.ps wm_xia_d.ps
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
245
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
246 wm_xia_e$(EXE): wm_xia_e$(O) $(LIBPREFIX)wm$(LIB) $(LIBPREFIX)wavelet$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
247 $(CC) $(LDFLAGS) -o $@ wm_xia_e$(O) $(WMLIB) $(WAVELIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
248
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
249 wm_xia_d$(EXE): wm_xia_d$(O) $(LIBPREFIX)wm$(LIB) $(LIBPREFIX)wavelet$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
250 $(CC) $(LDFLAGS) -o $@ wm_xia_d$(O) $(WMLIB) $(WAVELIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
251
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
252 gen_xia_sig$(EXE): gen_xia_sig$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
253 $(CC) $(LDFLAGS) -o $@ gen_xia_sig$(O) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
254
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
255 cmp_xia_sig$(EXE): cmp_xia_sig$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
256 $(CC) $(LDFLAGS) -o $@ cmp_xia_sig$(O) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
257
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
258 xiaclean:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
259 $(RM) gen_xia_sig$(EXE) wm_xia_e$(EXE) wm_xia_d$(EXE) cmp_xia_sig$(EXE)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
260
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
261 # Wang's algorithm (DWT, non-blind, spread-spectrum, detail subbands)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
262
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
263 wang: gen_wang_sig$(EXE) wm_wang_e$(EXE) wm_wang_d$(EXE) cmp_wang_sig$(EXE)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
264
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
265 wangtest: wang
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
266 gen_wang_sig$(EXE) -n 1000 > ../sigs/wang.sig
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
267 wm_wang_e$(EXE) -s ../sigs/wang.sig -o ../watermarked/wang_lena.pgm ../images/lena.pgm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
268 wm_wang_d$(EXE) -s ../sigs/wang.sig -o ../wms/wang.wm -i ../images/lena.pgm ../watermarked/wang_lena.pgm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
269 cmp_wang_sig$(EXE) -s ../sigs/wang.sig ../wms/wang.wm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
270
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
271 wanginstall: wang
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
272 $(CP) gen_wang_sig$(EXE) wm_wang_e$(EXE) wm_wang_d$(EXE) cmp_wang_sig$(EXE) $(INSTALLDIR)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
273
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
274 wangman: gen_wang_sig.ps wm_wang_e.ps wm_wang_d.ps
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
275
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
276 wm_wang_e$(EXE): wm_wang_e$(O) $(LIBPREFIX)wm$(LIB) $(LIBPREFIX)wavelet$(LIB) wang_common$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
277 $(CC) $(LDFLAGS) -o $@ wm_wang_e$(O) wang_common$(O) $(WMLIB) $(WAVELIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
278
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
279 wm_wang_d$(EXE): wm_wang_d$(O) $(LIBPREFIX)wm$(LIB) $(LIBPREFIX)wavelet$(LIB) wang_common$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
280 $(CC) $(LDFLAGS) -o $@ wm_wang_d$(O) wang_common$(O) $(WMLIB) $(WAVELIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
281
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
282 gen_wang_sig$(EXE): gen_wang_sig$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
283 $(CC) $(LDFLAGS) -o $@ gen_wang_sig$(O) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
284
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
285 cmp_wang_sig$(EXE): cmp_wang_sig$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
286 $(CC) $(LDFLAGS) -o $@ cmp_wang_sig$(O) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
287
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
288 wangclean:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
289 $(RM) gen_wang_sig$(EXE) wm_wang_e$(EXE) wm_wang_d$(EXE) cmp_wang_sig$(EXE)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
290
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
291 # Kim's algorithm (DWT, non-blind, spread-spectrum, approx. & detail subbands)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
292
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
293 kim: gen_kim_sig$(EXE) wm_kim_e$(EXE) wm_kim_d$(EXE) cmp_kim_sig$(EXE)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
294
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
295 kimtest: kim
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
296 gen_kim_sig$(EXE) -n 1000 > ../sigs/kim.sig
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
297 wm_kim_e$(EXE) -s ../sigs/kim.sig -o ../watermarked/kim_lena.pgm ../images/lena.pgm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
298 wm_kim_d$(EXE) -s ../sigs/kim.sig -o ../wms/kim.wm -i ../images/lena.pgm ../watermarked/kim_lena.pgm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
299 cmp_kim_sig$(EXE) -s ../sigs/kim.sig ../wms/kim.wm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
300
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
301 kiminstall: kim
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
302 $(CP) gen_kim_sig$(EXE) wm_kim_e$(EXE) wm_kim_d$(EXE) cmp_kim_sig$(EXE) $(INSTALLDIR)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
303
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
304 kimman: gen_kim_sig.ps wm_kim_e.ps wm_kim_d.ps
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
305
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
306 wm_kim_e$(EXE): wm_kim_e$(O) $(LIBPREFIX)wm$(LIB) $(LIBPREFIX)wavelet$(LIB) kim_common$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
307 $(CC) $(LDFLAGS) -o $@ wm_kim_e$(O) kim_common$(O) $(WMLIB) $(WAVELIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
308
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
309 wm_kim_d$(EXE): wm_kim_d$(O) $(LIBPREFIX)wm$(LIB) $(LIBPREFIX)wavelet$(LIB) kim_common$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
310 $(CC) $(LDFLAGS) -o $@ wm_kim_d$(O) kim_common$(O) $(WMLIB) $(WAVELIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
311
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
312 gen_kim_sig$(EXE): gen_kim_sig$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
313 $(CC) $(LDFLAGS) -o $@ gen_kim_sig$(O) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
314
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
315 cmp_kim_sig$(EXE): cmp_kim_sig$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
316 $(CC) $(LDFLAGS) -o $@ cmp_kim_sig$(O) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
317
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
318 kimclean:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
319 $(RM) gen_kim_sig$(EXE) wm_kim_e$(EXE) wm_kim_d$(EXE) cmp_kim_sig$(EXE)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
320
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
321 # Zhu's algorithm (DWT, non-blind, spread-spectrum, detail subbands)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
322
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
323 zhu: gen_zhu_sig$(EXE) wm_zhu_e$(EXE) wm_zhu_d$(EXE) cmp_zhu_sig$(EXE)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
324
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
325 zhutest: zhu
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
326 gen_zhu_sig$(EXE) > ../sigs/zhu.sig
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
327 wm_zhu_e$(EXE) -s ../sigs/zhu.sig -o ../watermarked/zhu_lena.pgm ../images/lena.pgm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
328 wm_zhu_d$(EXE) -s ../sigs/zhu.sig -o ../wms/zhu.wm -i ../images/lena.pgm ../watermarked/zhu_lena.pgm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
329 cmp_zhu_sig$(EXE) -s ../sigs/zhu.sig ../wms/zhu.wm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
330
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
331 zhuinstall: zhu
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
332 $(CP) gen_zhu_sig$(EXE) wm_zhu_e$(EXE) wm_zhu_d$(EXE) cmp_zhu_sig$(EXE) $(INSTALLDIR)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
333
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
334 zhuman: gen_zhu_sig.ps wm_zhu_e.ps wm_zhu_d.ps
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
335
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
336 wm_zhu_e$(EXE): wm_zhu_e$(O) $(LIBPREFIX)wm$(LIB) $(LIBPREFIX)wavelet$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
337 $(CC) $(LDFLAGS) -o $@ wm_zhu_e$(O) $(WMLIB) $(WAVELIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
338
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
339 wm_zhu_d$(EXE): wm_zhu_d$(O) $(LIBPREFIX)wm$(LIB) $(LIBPREFIX)wavelet$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
340 $(CC) $(LDFLAGS) -o $@ wm_zhu_d$(O) $(WMLIB) $(WAVELIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
341
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
342 gen_zhu_sig$(EXE): gen_zhu_sig$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
343 $(CC) $(LDFLAGS) -o $@ gen_zhu_sig$(O) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
344
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
345 cmp_zhu_sig$(EXE): cmp_zhu_sig$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
346 $(CC) $(LDFLAGS) -o $@ cmp_zhu_sig$(O) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
347
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
348 zhuclean:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
349 $(RM) gen_zhu_sig$(EXE) wm_zhu_e$(EXE) wm_zhu_d$(EXE) cmp_zhu_sig$(EXE)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
350
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
351 # Xie's algorithm (DWT, blind, binary, quantization, approximation image)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
352
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
353 xie: gen_xie_sig$(EXE) wm_xie_e$(EXE) wm_xie_d$(EXE) cmp_xie_sig$(EXE)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
354
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
355 xietest: xie
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
356 gen_xie_sig$(EXE) -n 800 gen_xie_sig.c > ../sigs/xie.sig
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
357 wm_xie_e$(EXE) -s ../sigs/xie.sig -o ../watermarked/xie_lena.pgm ../images/lena.pgm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
358 wm_xie_d$(EXE) -s ../sigs/xie.sig -o ../wms/xie.wm ../watermarked/xie_lena.pgm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
359 cmp_xie_sig$(EXE) -s ../sigs/xie.sig ../wms/xie.wm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
360
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
361 xieinstall: xie
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
362 $(CP) gen_xie_sig$(EXE) wm_xie_e$(EXE) wm_xie_d$(EXE) cmp_xie_sig$(EXE) $(INSTALLDIR)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
363
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
364 xieman: gen_xie_sig.ps wm_xie_e.ps wm_xie_d.ps
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
365
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
366 wm_xie_e$(EXE): wm_xie_e$(O) $(LIBPREFIX)wm$(LIB) $(LIBPREFIX)wavelet$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
367 $(CC) $(LDFLAGS) -o $@ wm_xie_e$(O) $(WMLIB) $(WAVELIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
368
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
369 wm_xie_d$(EXE): wm_xie_d$(O) $(LIBPREFIX)wm$(LIB) $(LIBPREFIX)wavelet$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
370 $(CC) $(LDFLAGS) -o $@ wm_xie_d$(O) $(WMLIB) $(WAVELIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
371
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
372 gen_xie_sig$(EXE): gen_xie_sig$(O) wm$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
373 $(CC) $(LDFLAGS) -o $@ gen_xie_sig$(O) wm$(O) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
374
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
375 cmp_xie_sig$(EXE): cmp_xie_sig$(O) $(LIBPREFIX)wm$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
376 $(CC) $(LDFLAGS) -o $@ cmp_xie_sig$(O) $(WMLIB) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
377
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
378 xieclean:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
379 $(RM) gen_xie_sig$(EXE) wm_xie_e$(EXE) wm_xie_d$(EXE) cmp_xie_sig$(EXE)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
380
3
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
381 # Xie2's algorithm (DWT, blind, binary, quantization, approximation image)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
382
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
383 xie2: gen_xie2_sig$(EXE) wm_xie2_e$(EXE) wm_xie2_d$(EXE) cmp_xie2_sig$(EXE)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
384
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
385 xie2test: xie2
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
386 gen_xie2_sig$(EXE) -n 800 gen_xie2_sig.c > ../sigs/xie2.sig
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
387 wm_xie2_e$(EXE) -s ../sigs/xie2.sig -o ../watermarked/xie2_lena.pgm ../images/lena.pgm
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
388 wm_xie2_d$(EXE) -s ../sigs/xie2.sig -o ../wms/xie2.wm ../watermarked/xie2_lena.pgm
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
389 cmp_xie2_sig$(EXE) -s ../sigs/xie2.sig ../wms/xie2.wm
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
390
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
391 xie2install: xie2
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
392 $(CP) gen_xie2_sig$(EXE) wm_xie2_e$(EXE) wm_xie2_d$(EXE) cmp_xie2_sig$(EXE) $(INSTALLDIR)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
393
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
394 xie2man: gen_xie2_sig.ps wm_xie2_e.ps wm_xie2_d.ps
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
395
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
396 wm_xie2_e$(EXE): wm_xie2_e$(O) $(LIBPREFIX)wm$(LIB) $(LIBPREFIX)wavelet$(LIB)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
397 $(CC) $(LDFLAGS) -o $@ wm_xie2_e$(O) $(WMLIB) $(WAVELIB) $(LIBS) $(PGMLIBS)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
398
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
399 wm_xie2_d$(EXE): wm_xie2_d$(O) $(LIBPREFIX)wm$(LIB) $(LIBPREFIX)wavelet$(LIB)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
400 $(CC) $(LDFLAGS) -o $@ wm_xie2_d$(O) $(WMLIB) $(WAVELIB) $(LIBS) $(PGMLIBS)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
401
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
402 gen_xie2_sig$(EXE): gen_xie2_sig$(O) wm$(O)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
403 $(CC) $(LDFLAGS) -o $@ gen_xie2_sig$(O) wm$(O) $(LIBS)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
404
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
405 cmp_xie2_sig$(EXE): cmp_xie2_sig$(O) $(LIBPREFIX)wm$(LIB)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
406 $(CC) $(LDFLAGS) -o $@ cmp_xie2_sig$(O) $(WMLIB) $(LIBS)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
407
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
408 xie2clean:
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
409 $(RM) gen_xie2_sig$(EXE) wm_xie2_e$(EXE) wm_xie2_d$(EXE) cmp_xie2_sig$(EXE)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
410
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
411 # Kundur's algorithm 2 (DWT, blind, binary, quantization, detail subbands, reference watermark)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
412
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
413 kund2: gen_kund2_sig$(EXE) wm_kund2_e$(EXE) wm_kund2_d$(EXE) cmp_kund2_sig$(EXE)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
414
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
415 kund2test: kund2
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
416 gen_kund2_sig$(EXE) -n 1000 -l 3 -q 2 gen_kund2_sig.c > ../sigs/kund2.sig
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
417 wm_kund2_e$(EXE) -s ../sigs/kund2.sig -o ../watermarked/kund2_lena.pgm ../images/lena.pgm
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
418 cjpeg -quality 70 ../watermarked/kund2_lena.pgm | djpeg | wm_kund2_d$(EXE) -s ../sigs/kund2.sig -o ../wms/kund2.wm
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
419 cmp_kund2_sig$(EXE) -s ../sigs/kund2.sig ../wms/kund2.wm
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
420
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
421 kund2install: kund2
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
422 $(CP) gen_kund2_sig$(EXE) wm_kund2_e$(EXE) wm_kund2_d$(EXE) cmp_kund2_sig$(EXE) $(INSTALLDIR)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
423
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
424 kund2man: gen_kund2_sig.ps wm_kund2_e.ps wm_kund2_d.ps
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
425
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
426 wm_kund2_e$(EXE): wm_kund2_e$(O) $(LIBPREFIX)wm$(LIB) $(LIBPREFIX)wavelet$(LIB)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
427 $(CC) $(LDFLAGS) -o $@ wm_kund2_e$(O) $(WMLIB) $(WAVELIB) $(LIBS) $(PGMLIBS)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
428
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
429 wm_kund2_d$(EXE): wm_kund2_d$(O) $(LIBPREFIX)wm$(LIB) $(LIBPREFIX)wavelet$(LIB)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
430 $(CC) $(LDFLAGS) -o $@ wm_kund2_d$(O) $(WMLIB) $(WAVELIB) $(LIBS) $(PGMLIBS)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
431
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
432 gen_kund2_sig$(EXE): gen_kund2_sig$(O) wm$(O) signature$(O)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
433 $(CC) $(LDFLAGS) -o $@ gen_kund2_sig$(O) wm$(O) signature$(O) $(LIBS)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
434
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
435 cmp_kund2_sig$(EXE): cmp_kund2_sig$(O) $(LIBPREFIX)wm$(LIB)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
436 $(CC) $(LDFLAGS) -o $@ cmp_kund2_sig$(O) $(WMLIB) $(LIBS)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
437
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
438 kund2clean:
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
439 $(RM) gen_kund2_sig$(EXE) wm_kund2_e$(EXE) wm_kund2_d$(EXE) cmp_kund2_sig$(EXE)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
440
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
441 # Kundur's algorithm 3 (DWT, blind, binary, quantization, detail subbands)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
442
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
443 kund3: gen_kund3_sig$(EXE) wm_kund3_e$(EXE) wm_kund3_d$(EXE) cmp_kund3_sig$(EXE)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
444
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
445 kund3test: kund3
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
446 gen_kund3_sig$(EXE) -n 1000 -l 2 -q 2 gen_kund3_sig.c > ../sigs/kund3.sig
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
447 wm_kund3_e$(EXE) -s ../sigs/kund3.sig -o ../watermarked/kund3_lena.pgm ../images/lena.pgm
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
448 wm_kund3_d$(EXE) -s ../sigs/kund3.sig -o ../wms/kund3.wm ../watermarked/kund3_lena.pgm
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
449 cmp_kund3_sig$(EXE) -s ../sigs/kund3.sig ../wms/kund3.wm
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
450
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
451 kund3install: kund3
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
452 $(CP) gen_kund3_sig$(EXE) wm_kund3_e$(EXE) wm_kund3_d$(EXE) cmp_kund3_sig$(EXE) $(INSTALLDIR)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
453
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
454 kund3man: gen_kund3_sig.ps wm_kund3_e.ps wm_kund3_d.ps
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
455
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
456 wm_kund3_e$(EXE): wm_kund3_e$(O) $(LIBPREFIX)wm$(LIB) $(LIBPREFIX)wavelet$(LIB)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
457 $(CC) $(LDFLAGS) -o $@ wm_kund3_e$(O) $(WMLIB) $(WAVELIB) $(LIBS) $(PGMLIBS)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
458
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
459 wm_kund3_d$(EXE): wm_kund3_d$(O) $(LIBPREFIX)wm$(LIB) $(LIBPREFIX)wavelet$(LIB)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
460 $(CC) $(LDFLAGS) -o $@ wm_kund3_d$(O) $(WMLIB) $(WAVELIB) $(LIBS) $(PGMLIBS)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
461
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
462 gen_kund3_sig$(EXE): gen_kund3_sig$(O) wm$(O) signature$(O)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
463 $(CC) $(LDFLAGS) -o $@ gen_kund3_sig$(O) wm$(O) signature$(O) $(LIBS)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
464
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
465 cmp_kund3_sig$(EXE): cmp_kund3_sig$(O) $(LIBPREFIX)wm$(LIB)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
466 $(CC) $(LDFLAGS) -o $@ cmp_kund3_sig$(O) $(WMLIB) $(LIBS)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
467
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
468 kund3clean:
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
469 $(RM) gen_kund3_sig$(EXE) wm_kund3_e$(EXE) wm_kund3_d$(EXE) cmp_kund3_sig$(EXE)
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
470
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
471 # Dugad's algorithm (DWT, blind)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
472
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
473 dugad: gen_dugad_sig$(EXE) wm_dugad_e$(EXE) wm_dugad_d$(EXE) cmp_dugad_sig$(EXE)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
474
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
475 dugadtest: dugad
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
476 gen_dugad_sig$(EXE) -o ../sigs/dugad.sig
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
477 wm_dugad_e$(EXE) -s ../sigs/dugad.sig -o ../watermarked/dugad_lena.pgm ../images/lena.pgm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
478 wm_dugad_d$(EXE) -s ../sigs/dugad.sig -o ../wms/dugad.wm ../watermarked/dugad_lena.pgm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
479 cmp_dugad_sig$(EXE) -s ../sigs/dugad.sig ../wms/dugad.wm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
480
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
481 dugadinstall: dugad
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
482 $(CP) gen_dugad_sig$(EXE) wm_dugad_e$(EXE) wm_dugad_d$(EXE) cmp_dugad_sig$(EXE) $(INSTALLDIR)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
483
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
484 dugadman: gen_dugad_sig.ps wm_dugad_e.ps wm_dugad_d.ps
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
485
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
486 wm_dugad_e$(EXE): wm_dugad_e$(O) $(LIBPREFIX)wm$(LIB) $(LIBPREFIX)wavelet$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
487 $(CC) $(LDFLAGS) -o $@ wm_dugad_e$(O) $(WMLIB) $(WAVELIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
488
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
489 wm_dugad_d$(EXE): wm_dugad_d$(O) $(LIBPREFIX)wm$(LIB) $(LIBPREFIX)wavelet$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
490 $(CC) $(LDFLAGS) -o $@ wm_dugad_d$(O) $(WMLIB) $(WAVELIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
491
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
492 gen_dugad_sig$(EXE): gen_dugad_sig$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
493 $(CC) $(LDFLAGS) -o $@ gen_dugad_sig$(O) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
494
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
495 cmp_dugad_sig$(EXE): cmp_dugad_sig$(O) $(LIBPREFIX)wm$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
496 $(CC) $(LDFLAGS) -o $@ cmp_dugad_sig$(O) $(WMLIB) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
497
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
498 dugadclean:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
499 $(RM) gen_dugad_sig$(EXE) wm_dugad_e$(EXE) wm_dugad_d$(EXE) cmp_dugad_sig$(EXE)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
500
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
501
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
502
3
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
503 clean: coxclean bruynclean kochclean corviclean xiaclean zhuclean xieclean kund3clean kund2clean \
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
504 dugadclean kimclean wangclean frid2clean toolsclean libraryclean waveletclean xie2clean
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
505 $(RM) *$(O) *.ps ../sigs/* ../wms/* ../watermarked/*
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
506
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
507
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
508 man: coxman bruynman kochman corviman xiaman xieman toolsman
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
509
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
510 test: coxtest bruyntest kochtest corvitest xiatest xietest dugadtest zhutest \
3
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
511 wangtest frid2test kimtest toolstest kund3test kund2test
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
512
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
513 install: coxinstall bruyninstall kochinstall corviinstall xiainstall xieinstall \
3
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
514 dugadinstall zhuinstall wanginstall frid2install kiminstall toolsinstall kund3install kund2install
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
515
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
516 depend:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
517 $(MAKEDEP) *.h *.c
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
518

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