annotate Meerwald/Makefile @ 22:d8551fb39a5e default tip

Added tag v0.6 for changeset 1c4ccd635a68
author Peter Meerwald-Stadler <pmeerw@pmeerw.net>
date Sat, 28 Jan 2023 23:57:51 +0100
parents bd669312f068
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 # 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:
20
bd669312f068 suppress warnings, fix link errors
Peter Meerwald-Stadler <pmeerw@pmeerw.net>
parents: 10
diff changeset
30 $(GROFF) $< > $@
0
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
20
bd669312f068 suppress warnings, fix link errors
Peter Meerwald-Stadler <pmeerw@pmeerw.net>
parents: 10
diff changeset
34 $(LIBPREFIX)wm$(LIB): dct$(O) coeff$(O) gray$(O) sort$(O) signature-utils$(O) coord$(O) wm$(O)
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
35 $(RM) $@
20
bd669312f068 suppress warnings, fix link errors
Peter Meerwald-Stadler <pmeerw@pmeerw.net>
parents: 10
diff changeset
36 ar -rc $@ dct$(O) coeff$(O) gray$(O) sort$(O) signature-utils$(O) coord$(O) wm$(O)
0
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
10
aa7b4c3a7313 add cmp_ppm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 3
diff changeset
52 tools: cmp_pgm$(EXE) cmp_dct8x8$(EXE) cmp_dct$(EXE) cmp_dwt$(EXE) cmp_ppm$(EXE)
0
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
10
aa7b4c3a7313 add cmp_ppm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 3
diff changeset
57 $(CP) cmp_ppm$(EXE) cmp_pgm$(EXE) cmp_dct8x8$(EXE) cmp_dct$(EXE) cmp_dwt$(EXE) $(INSTALLDIR)
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
58
10
aa7b4c3a7313 add cmp_ppm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 3
diff changeset
59 toolsman: cmp_ppm.ps cmp_pgm.ps cmp_dct8x8.ps cmp_dct.ps
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
60
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
61 toolsclean:
10
aa7b4c3a7313 add cmp_ppm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 3
diff changeset
62 $(RM) cmp_ppm$(EXE) 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
10
aa7b4c3a7313 add cmp_ppm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 3
diff changeset
67 cmp_ppm$(EXE): cmp_ppm$(O) $(LIBPREFIX)wm$(LIB)
aa7b4c3a7313 add cmp_ppm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 3
diff changeset
68 $(CC) $(LDFLAGS) -o $@ cmp_ppm$(O) $(WMLIB) $(PGMLIBS) $(LIBS)
aa7b4c3a7313 add cmp_ppm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 3
diff changeset
69
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
70 cmp_dct$(EXE): cmp_dct$(O) $(LIBPREFIX)wm$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
71 $(CC) $(LDFLAGS) -o $@ cmp_dct$(O) $(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_dwt$(EXE): cmp_dwt$(O) $(LIBPREFIX)wavelet$(LIB) $(LIBPREFIX)wm$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
74 $(CC) $(LDFLAGS) -o $@ cmp_dwt$(O) $(WAVELIB) $(WMLIB) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
75
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
76 cmp_dct8x8$(EXE): cmp_dct8x8$(O) $(LIBPREFIX)wm$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
77 $(CC) $(LDFLAGS) -o $@ cmp_dct8x8$(O) $(WMLIB) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
78
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
79
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
80 # Koch's algorithm (8x8 block DCT, blind, binary)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
81
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
82 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
83
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
84 kochtest: koch
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
85 gen_koch_sig$(EXE) -n 150 < gen_koch_sig.c > ../sigs/koch.sig
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
86 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
87 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
88 cmp_koch_sig$(EXE) -s ../sigs/koch.sig ../wms/koch.wm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
89
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
90 kochinstall: koch
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
91 $(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
92
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
93 kochclean:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
94 $(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
95
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
96 kochman:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
97
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
98 wm_koch_e$(EXE): wm_koch_e$(O) $(LIBPREFIX)wm$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
99 $(CC) $(LDFLAGS) -o $@ wm_koch_e$(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 wm_koch_d$(EXE): wm_koch_d$(O) $(LIBPREFIX)wm$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
102 $(CC) $(LDFLAGS) -o $@ wm_koch_d$(O) $(WMLIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
103
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
104 gen_koch_sig$(EXE): gen_koch_sig$(O) wm$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
105 $(CC) $(LDFLAGS) -o $@ gen_koch_sig$(O) wm$(O) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
106
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
107 cmp_koch_sig$(EXE): cmp_koch_sig$(O) $(LIBPREFIX)wm$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
108 $(CC) $(LDFLAGS) -o $@ cmp_koch_sig$(O) $(WMLIB) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
109
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
110 # Fridrich's 2. scheme (full-frame DCT, blind, binary)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
111
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
112 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
113
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
114 frid2test: frid2
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
115 gen_frid2_sig$(EXE) -n 250 < gen_frid2_sig.c > ../sigs/frid2.sig
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
116 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
117 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
118 cmp_frid2_sig$(EXE) -s ../sigs/frid2.sig ../wms/frid2.wm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
119
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
120 frid2install: frid2
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
121 $(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
122
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
123 frid2clean:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
124 $(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
125
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
126 frid2man:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
127
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
128 wm_frid2_e$(EXE): wm_frid2_e$(O) $(LIBPREFIX)wm$(LIB) frid2_common$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
129 $(CC) $(LDFLAGS) -o $@ wm_frid2_e$(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 wm_frid2_d$(EXE): wm_frid2_d$(O) $(LIBPREFIX)wm$(LIB) frid2_common$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
132 $(CC) $(LDFLAGS) -o $@ wm_frid2_d$(O) frid2_common$(O) $(WMLIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
133
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
134 gen_frid2_sig$(EXE): gen_frid2_sig$(O) wm$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
135 $(CC) $(LDFLAGS) -o $@ gen_frid2_sig$(O) wm$(O) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
136
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
137 cmp_frid2_sig$(EXE): cmp_frid2_sig$(O) $(LIBPREFIX)wm$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
138 $(CC) $(LDFLAGS) -o $@ cmp_frid2_sig$(O) $(WMLIB) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
139
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
140
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
141 # Bruyndonckx's algorithm (spatial domain, block classification, blind)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
142
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
143 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
144
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
145 bruyntest: bruyn
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
146 gen_bruyn_sig$(EXE) -n 400 < gen_bruyn_sig.c > ../sigs/bruyn.sig
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
147 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
148 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
149 cmp_bruyn_sig$(EXE) -s ../sigs/bruyn.sig ../wms/bruyn.wm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
150
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
151 bruyninstall: bruyn
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
152 $(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
153
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
154 bruynclean:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
155 $(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
156
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
157 bruynman:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
158
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
159 wm_bruyn_e$(EXE): wm_bruyn_e$(O) bruyn_common$(O) $(LIBPREFIX)wm$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
160 $(CC) $(LDFLAGS) -o $@ wm_bruyn_e$(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 wm_bruyn_d$(EXE): wm_bruyn_d$(O) bruyn_common$(O) $(LIBPREFIX)wm$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
163 $(CC) $(LDFLAGS) -o $@ wm_bruyn_d$(O) bruyn_common$(O) $(WMLIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
164
20
bd669312f068 suppress warnings, fix link errors
Peter Meerwald-Stadler <pmeerw@pmeerw.net>
parents: 10
diff changeset
165 gen_bruyn_sig$(EXE): gen_bruyn_sig$(O) wm$(O) $(LIBPREFIX)wm$(LIB)
bd669312f068 suppress warnings, fix link errors
Peter Meerwald-Stadler <pmeerw@pmeerw.net>
parents: 10
diff changeset
166 $(CC) $(LDFLAGS) -o $@ gen_bruyn_sig$(O) wm$(O) $(WMLIB)
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
167
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
168 cmp_bruyn_sig$(EXE): cmp_bruyn_sig$(O) $(LIBPREFIX)wm$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
169 $(CC) $(LDFLAGS) -o $@ cmp_bruyn_sig$(O) $(WMLIB) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
170
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
171
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
172 # Cox's algorithm (full-frame DCT, non-blind, spread-spectrum)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
173
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
174 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
175
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
176 coxtest: cox
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
177 gen_cox_sig$(EXE) > ../sigs/cox.sig
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
178 wm_cox_e$(EXE) -s ../sigs/cox.sig -o ../watermarked/cox_lena.pgm ../images/lena.pgm
20
bd669312f068 suppress warnings, fix link errors
Peter Meerwald-Stadler <pmeerw@pmeerw.net>
parents: 10
diff changeset
179 wm_cox_d$(EXE) -s ../sigs/cox.sig -o ../wms/cox.wm -i ../images/lena.pgm ../watermarked/cox_lena.pgm
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
180 cmp_cox_sig$(EXE) -s ../sigs/cox.sig ../wms/cox.wm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
181
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
182 coxinstall: cox
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
183 $(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
184
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
185 coxman: gen_cox_sig.ps wm_cox_e.ps wm_cox_d.ps
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
186
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
187 wm_cox_e$(EXE): wm_cox_e$(O) $(LIBPREFIX)wm$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
188 $(CC) $(LDFLAGS) -o $@ wm_cox_e$(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 wm_cox_d$(EXE): wm_cox_d$(O) $(LIBPREFIX)wm$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
191 $(CC) $(LDFLAGS) -o $@ wm_cox_d$(O) $(WMLIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
192
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
193 gen_cox_sig$(EXE): gen_cox_sig$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
194 $(CC) $(LDFLAGS) -o $@ gen_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 cmp_cox_sig$(EXE): cmp_cox_sig$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
197 $(CC) $(LDFLAGS) -o $@ cmp_cox_sig$(O) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
198
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
199 coxclean:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
200 $(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
201
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
202
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
203 # Corvi's algorithm (DWT, non-blind, spread-spectrum, approximation image)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
204
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
205 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
206
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
207 corvitest: corvi
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
208 gen_corvi_sig$(EXE) > ../sigs/corvi.sig
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
209 wm_corvi_e$(EXE) -s ../sigs/corvi.sig -o ../watermarked/corvi_lena.pgm ../images/lena.pgm
20
bd669312f068 suppress warnings, fix link errors
Peter Meerwald-Stadler <pmeerw@pmeerw.net>
parents: 10
diff changeset
210 wm_corvi_d$(EXE) -s ../sigs/corvi.sig -o ../wms/corvi.wm -i ../images/lena.pgm ../watermarked/corvi_lena.pgm
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
211 cmp_corvi_sig$(EXE) -s ../sigs/corvi.sig ../wms/corvi.wm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
212
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
213 corviinstall: corvi
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
214 $(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
215
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
216 corviman: gen_corvi_sig.ps wm_corvi_e.ps wm_corvi_d.ps
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
217
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
218 wm_corvi_e$(EXE): wm_corvi_e$(O) $(LIBPREFIX)wm$(LIB) $(LIBPREFIX)wavelet$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
219 $(CC) $(LDFLAGS) -o $@ wm_corvi_e$(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 wm_corvi_d$(EXE): wm_corvi_d$(O) $(LIBPREFIX)wm$(LIB) $(LIBPREFIX)wavelet$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
222 $(CC) $(LDFLAGS) -o $@ wm_corvi_d$(O) $(WMLIB) $(WAVELIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
223
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
224 gen_corvi_sig$(EXE): gen_corvi_sig$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
225 $(CC) $(LDFLAGS) -o $@ gen_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 cmp_corvi_sig$(EXE): cmp_corvi_sig$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
228 $(CC) $(LDFLAGS) -o $@ cmp_corvi_sig$(O) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
229
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
230 corviclean:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
231 $(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
232
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
233
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
234 # Xia's algorithm (DWT, non-blind, spread-spectrum, detail subbands)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
235
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
236 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
237
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
238 xiatest: xia
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
239 gen_xia_sig$(EXE) > ../sigs/xia.sig
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
240 wm_xia_e$(EXE) -s ../sigs/xia.sig -o ../watermarked/xia_lena.pgm ../images/lena.pgm
20
bd669312f068 suppress warnings, fix link errors
Peter Meerwald-Stadler <pmeerw@pmeerw.net>
parents: 10
diff changeset
241 wm_xia_d$(EXE) -s ../sigs/xia.sig -o ../wms/xia.wm -i ../images/lena.pgm ../watermarked/xia_lena.pgm
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
242 cmp_xia_sig$(EXE) -s ../sigs/xia.sig ../wms/xia.wm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
243
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
244 xiainstall: xia
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
245 $(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
246
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
247 xiaman: gen_xia_sig.ps wm_xia_e.ps wm_xia_d.ps
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
248
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
249 wm_xia_e$(EXE): wm_xia_e$(O) $(LIBPREFIX)wm$(LIB) $(LIBPREFIX)wavelet$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
250 $(CC) $(LDFLAGS) -o $@ wm_xia_e$(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 wm_xia_d$(EXE): wm_xia_d$(O) $(LIBPREFIX)wm$(LIB) $(LIBPREFIX)wavelet$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
253 $(CC) $(LDFLAGS) -o $@ wm_xia_d$(O) $(WMLIB) $(WAVELIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
254
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
255 gen_xia_sig$(EXE): gen_xia_sig$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
256 $(CC) $(LDFLAGS) -o $@ gen_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 cmp_xia_sig$(EXE): cmp_xia_sig$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
259 $(CC) $(LDFLAGS) -o $@ cmp_xia_sig$(O) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
260
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
261 xiaclean:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
262 $(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
263
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
264 # Wang's algorithm (DWT, non-blind, spread-spectrum, detail subbands)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
265
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
266 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
267
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
268 wangtest: wang
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
269 gen_wang_sig$(EXE) -n 1000 > ../sigs/wang.sig
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
270 wm_wang_e$(EXE) -s ../sigs/wang.sig -o ../watermarked/wang_lena.pgm ../images/lena.pgm
20
bd669312f068 suppress warnings, fix link errors
Peter Meerwald-Stadler <pmeerw@pmeerw.net>
parents: 10
diff changeset
271 wm_wang_d$(EXE) -s ../sigs/wang.sig -o ../wms/wang.wm -i ../images/lena.pgm ../watermarked/wang_lena.pgm
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
272 cmp_wang_sig$(EXE) -s ../sigs/wang.sig ../wms/wang.wm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
273
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
274 wanginstall: wang
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
275 $(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
276
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
277 wangman: gen_wang_sig.ps wm_wang_e.ps wm_wang_d.ps
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
278
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
279 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
280 $(CC) $(LDFLAGS) -o $@ wm_wang_e$(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 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
283 $(CC) $(LDFLAGS) -o $@ wm_wang_d$(O) wang_common$(O) $(WMLIB) $(WAVELIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
284
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
285 gen_wang_sig$(EXE): gen_wang_sig$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
286 $(CC) $(LDFLAGS) -o $@ gen_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 cmp_wang_sig$(EXE): cmp_wang_sig$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
289 $(CC) $(LDFLAGS) -o $@ cmp_wang_sig$(O) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
290
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
291 wangclean:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
292 $(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
293
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
294 # Kim's algorithm (DWT, non-blind, spread-spectrum, approx. & detail subbands)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
295
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
296 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
297
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
298 kimtest: kim
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
299 gen_kim_sig$(EXE) -n 1000 > ../sigs/kim.sig
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
300 wm_kim_e$(EXE) -s ../sigs/kim.sig -o ../watermarked/kim_lena.pgm ../images/lena.pgm
20
bd669312f068 suppress warnings, fix link errors
Peter Meerwald-Stadler <pmeerw@pmeerw.net>
parents: 10
diff changeset
301 wm_kim_d$(EXE) -s ../sigs/kim.sig -o ../wms/kim.wm -i ../images/lena.pgm ../watermarked/kim_lena.pgm
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
302 cmp_kim_sig$(EXE) -s ../sigs/kim.sig ../wms/kim.wm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
303
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
304 kiminstall: kim
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
305 $(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
306
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
307 kimman: gen_kim_sig.ps wm_kim_e.ps wm_kim_d.ps
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
308
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
309 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
310 $(CC) $(LDFLAGS) -o $@ wm_kim_e$(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 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
313 $(CC) $(LDFLAGS) -o $@ wm_kim_d$(O) kim_common$(O) $(WMLIB) $(WAVELIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
314
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
315 gen_kim_sig$(EXE): gen_kim_sig$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
316 $(CC) $(LDFLAGS) -o $@ gen_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 cmp_kim_sig$(EXE): cmp_kim_sig$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
319 $(CC) $(LDFLAGS) -o $@ cmp_kim_sig$(O) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
320
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
321 kimclean:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
322 $(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
323
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
324 # Zhu's algorithm (DWT, non-blind, spread-spectrum, detail subbands)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
325
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
326 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
327
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
328 zhutest: zhu
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
329 gen_zhu_sig$(EXE) > ../sigs/zhu.sig
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
330 wm_zhu_e$(EXE) -s ../sigs/zhu.sig -o ../watermarked/zhu_lena.pgm ../images/lena.pgm
20
bd669312f068 suppress warnings, fix link errors
Peter Meerwald-Stadler <pmeerw@pmeerw.net>
parents: 10
diff changeset
331 wm_zhu_d$(EXE) -s ../sigs/zhu.sig -o ../wms/zhu.wm -i ../images/lena.pgm ../watermarked/zhu_lena.pgm
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
332 cmp_zhu_sig$(EXE) -s ../sigs/zhu.sig ../wms/zhu.wm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
333
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
334 zhuinstall: zhu
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
335 $(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
336
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
337 zhuman: gen_zhu_sig.ps wm_zhu_e.ps wm_zhu_d.ps
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
338
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
339 wm_zhu_e$(EXE): wm_zhu_e$(O) $(LIBPREFIX)wm$(LIB) $(LIBPREFIX)wavelet$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
340 $(CC) $(LDFLAGS) -o $@ wm_zhu_e$(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 wm_zhu_d$(EXE): wm_zhu_d$(O) $(LIBPREFIX)wm$(LIB) $(LIBPREFIX)wavelet$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
343 $(CC) $(LDFLAGS) -o $@ wm_zhu_d$(O) $(WMLIB) $(WAVELIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
344
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
345 gen_zhu_sig$(EXE): gen_zhu_sig$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
346 $(CC) $(LDFLAGS) -o $@ gen_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 cmp_zhu_sig$(EXE): cmp_zhu_sig$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
349 $(CC) $(LDFLAGS) -o $@ cmp_zhu_sig$(O) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
350
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
351 zhuclean:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
352 $(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
353
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
354 # Xie's algorithm (DWT, blind, binary, quantization, approximation image)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
355
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
356 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
357
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
358 xietest: xie
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
359 gen_xie_sig$(EXE) -n 800 gen_xie_sig.c > ../sigs/xie.sig
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
360 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
361 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
362 cmp_xie_sig$(EXE) -s ../sigs/xie.sig ../wms/xie.wm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
363
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
364 xieinstall: xie
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
365 $(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
366
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
367 xieman: gen_xie_sig.ps wm_xie_e.ps wm_xie_d.ps
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
368
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
369 wm_xie_e$(EXE): wm_xie_e$(O) $(LIBPREFIX)wm$(LIB) $(LIBPREFIX)wavelet$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
370 $(CC) $(LDFLAGS) -o $@ wm_xie_e$(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 wm_xie_d$(EXE): wm_xie_d$(O) $(LIBPREFIX)wm$(LIB) $(LIBPREFIX)wavelet$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
373 $(CC) $(LDFLAGS) -o $@ wm_xie_d$(O) $(WMLIB) $(WAVELIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
374
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
375 gen_xie_sig$(EXE): gen_xie_sig$(O) wm$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
376 $(CC) $(LDFLAGS) -o $@ gen_xie_sig$(O) wm$(O) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
377
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
378 cmp_xie_sig$(EXE): cmp_xie_sig$(O) $(LIBPREFIX)wm$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
379 $(CC) $(LDFLAGS) -o $@ cmp_xie_sig$(O) $(WMLIB) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
380
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
381 xieclean:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
382 $(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
383
3
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
384 # 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
385
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
386 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
387
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
388 xie2test: xie2
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
389 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
390 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
391 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
392 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
393
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
394 xie2install: xie2
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
395 $(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
396
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
397 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
398
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
399 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
400 $(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
401
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
402 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
403 $(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
404
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
405 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
406 $(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
407
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
408 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
409 $(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
410
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
411 xie2clean:
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
412 $(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
413
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
414 # 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
415
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
416 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
417
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
418 kund2test: kund2
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
419 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
420 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
421 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
422 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
423
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
424 kund2install: kund2
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
425 $(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
426
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
427 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
428
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
429 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
430 $(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
431
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
432 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
433 $(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
434
20
bd669312f068 suppress warnings, fix link errors
Peter Meerwald-Stadler <pmeerw@pmeerw.net>
parents: 10
diff changeset
435 gen_kund2_sig$(EXE): gen_kund2_sig$(O) wm$(O) signature-utils$(O)
bd669312f068 suppress warnings, fix link errors
Peter Meerwald-Stadler <pmeerw@pmeerw.net>
parents: 10
diff changeset
436 $(CC) $(LDFLAGS) -o $@ gen_kund2_sig$(O) wm$(O) signature-utils$(O) $(LIBS)
3
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 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
439 $(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
440
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
441 kund2clean:
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
442 $(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
443
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
444 # 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
445
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
446 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
447
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
448 kund3test: kund3
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
449 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
450 wm_kund3_e$(EXE) -s ../sigs/kund3.sig -o ../watermarked/kund3_lena.pgm ../images/lena.pgm
20
bd669312f068 suppress warnings, fix link errors
Peter Meerwald-Stadler <pmeerw@pmeerw.net>
parents: 10
diff changeset
451 wm_kund3_d$(EXE) -s ../sigs/kund3.sig -o ../wms/kund3.wm ../watermarked/kund3_lena.pgm
3
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
452 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
453
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
454 kund3install: kund3
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
455 $(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
456
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
457 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
458
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
459 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
460 $(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
461
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
462 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
463 $(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
464
20
bd669312f068 suppress warnings, fix link errors
Peter Meerwald-Stadler <pmeerw@pmeerw.net>
parents: 10
diff changeset
465 gen_kund3_sig$(EXE): gen_kund3_sig$(O) wm$(O) signature-utils$(O)
bd669312f068 suppress warnings, fix link errors
Peter Meerwald-Stadler <pmeerw@pmeerw.net>
parents: 10
diff changeset
466 $(CC) $(LDFLAGS) -o $@ gen_kund3_sig$(O) wm$(O) signature-utils$(O) $(LIBS)
3
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 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
469 $(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
470
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
471 kund3clean:
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
472 $(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
473
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
474 # Dugad's algorithm (DWT, blind)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
475
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
476 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
477
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
478 dugadtest: dugad
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
479 gen_dugad_sig$(EXE) -o ../sigs/dugad.sig
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
480 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
481 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
482 cmp_dugad_sig$(EXE) -s ../sigs/dugad.sig ../wms/dugad.wm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
483
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
484 dugadinstall: dugad
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
485 $(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
486
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
487 dugadman: gen_dugad_sig.ps wm_dugad_e.ps wm_dugad_d.ps
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
488
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
489 wm_dugad_e$(EXE): wm_dugad_e$(O) $(LIBPREFIX)wm$(LIB) $(LIBPREFIX)wavelet$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
490 $(CC) $(LDFLAGS) -o $@ wm_dugad_e$(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 wm_dugad_d$(EXE): wm_dugad_d$(O) $(LIBPREFIX)wm$(LIB) $(LIBPREFIX)wavelet$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
493 $(CC) $(LDFLAGS) -o $@ wm_dugad_d$(O) $(WMLIB) $(WAVELIB) $(LIBS) $(PGMLIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
494
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
495 gen_dugad_sig$(EXE): gen_dugad_sig$(O)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
496 $(CC) $(LDFLAGS) -o $@ gen_dugad_sig$(O) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
497
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
498 cmp_dugad_sig$(EXE): cmp_dugad_sig$(O) $(LIBPREFIX)wm$(LIB)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
499 $(CC) $(LDFLAGS) -o $@ cmp_dugad_sig$(O) $(WMLIB) $(LIBS)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
500
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
501 dugadclean:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
502 $(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
503
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
504
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
505
3
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
506 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
507 dugadclean kimclean wangclean frid2clean toolsclean libraryclean waveletclean xie2clean
20
bd669312f068 suppress warnings, fix link errors
Peter Meerwald-Stadler <pmeerw@pmeerw.net>
parents: 10
diff changeset
508 $(RM) *$(O) *.ps ../sigs/* ../wms/* ../watermarked/*
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
509
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
510 man: coxman bruynman kochman corviman xiaman xieman toolsman
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
511
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
512 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
513 wangtest frid2test kimtest toolstest kund3test kund2test
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
514
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
515 install: coxinstall bruyninstall kochinstall corviinstall xiainstall xieinstall \
3
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
516 dugadinstall zhuinstall wanginstall frid2install kiminstall toolsinstall kund3install kund2install
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
517
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
518 depend:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
519 $(MAKEDEP) *.h *.c
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
520

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