7 |
|
|
8 |
|
IMG_CMP = radcompare -h -rms 0.03 -rel 0.007 -max 0.2 |
9 |
|
|
10 |
< |
all: test-pfilt test-pvalue test-ra_tiff test-normtiff test-pcompos \ |
11 |
< |
test-protate test-pflip test-ra_bmp test-ra_xyze test-pcond test-ra_t16 \ |
12 |
< |
test-ra_rgbe test-ra_ppm test-pextrem test-pcomb |
10 |
> |
all: test-pfilt test-pvalue test-ra_tiff test-pcompos \ |
11 |
> |
test-protate test-pflip test-ra_bmp test-ra_xyze test-pcond \ |
12 |
> |
test-ra_t16 test-ra_t8 test-ra_rgbe test-ra_ppm test-pextrem \ |
13 |
> |
test-pcomb test-pinterp test-psign test-falsecolor test-ra_ps \ |
14 |
> |
test-ra_gif |
15 |
|
|
16 |
|
clean: |
17 |
|
rm -f test.hdr test24.hdr test24.tif test32L.tif pcomb.hdr \ |
18 |
< |
norm24.tif norm8.tif pcompos.hdr pcondh.hdr test_extrema.txt |
18 |
> |
norm24.tif norm8.tif pcompos.hdr pcondh.hdr test_extrema.txt psign.hdr \ |
19 |
> |
pinterp.hdr false.hdr ra_psC.ps |
20 |
|
|
21 |
|
test-pcond: test.hdr |
22 |
|
pcond -h test.hdr pcondh.hdr |
51 |
|
$(HDR_CMP) ref/pcompos.hdr pcompos.hdr |
52 |
|
rm -f pcompos.hdr |
53 |
|
|
54 |
+ |
test-pinterp: test.hdr |
55 |
+ |
pinterp -vtv -vh 60 -vv 40 -x 200 -y 200 test.hdr 1.0 > pinterp.hdr |
56 |
+ |
$(HDR_CMP) ref/pinterp.hdr pinterp.hdr |
57 |
+ |
rm -f pinterp.hdr |
58 |
+ |
|
59 |
+ |
test-psign: |
60 |
+ |
psign -cb .9 .4 .01 -cf .1 .2 1 -dd -h 200 -a 1.5 -s -.1 Testing > psign.hdr |
61 |
+ |
$(HDR_CMP) ref/psign.hdr psign.hdr |
62 |
+ |
rm -f psign.hdr |
63 |
+ |
|
64 |
+ |
test-falsecolor: test.hdr |
65 |
+ |
falsecolor -s 2e5 -log 5 -i test.hdr > false.hdr |
66 |
+ |
$(HDR_CMP) ref/false.hdr false.hdr |
67 |
+ |
rm -f false.hdr |
68 |
+ |
|
69 |
|
test-ra_rgbe: test.hdr |
70 |
|
ra_rgbe -e -5 test.hdr | ra_rgbe -r -e +5 | $(HDR_CMP) -w test.hdr - |
71 |
|
|
89 |
|
test-ra_t16: test24.hdr |
90 |
|
ra_t16 -3 test24.hdr | ra_t16 -r | $(IMG_CMP) test24.hdr - |
91 |
|
|
92 |
+ |
test-ra_t8: test.hdr |
93 |
+ |
ra_t8 -d test.hdr test8.tga |
94 |
+ |
radcompare ref/test8.tga test8.tga |
95 |
+ |
rm -f test8.tga |
96 |
+ |
|
97 |
|
test-ra_ppm: test24.hdr |
98 |
|
ra_ppm test24.hdr | ra_ppm -r | $(IMG_CMP) test24.hdr - |
99 |
|
|
100 |
+ |
test-ra_ps: test.hdr |
101 |
+ |
ra_ps -b -C test.hdr > ra_psC.ps |
102 |
+ |
radcompare ref/ra_psC.ps ra_psC.ps |
103 |
+ |
rm -f ra_psC.ps |
104 |
+ |
|
105 |
+ |
test-ra_gif: test.hdr |
106 |
+ |
ra_gif -n 1 test.hdr > test8.gif |
107 |
+ |
radcompare ref/test8.gif test8.gif |
108 |
+ |
rm -f test8.gif |
109 |
+ |
|
110 |
|
test24.hdr: test.hdr |
111 |
|
pvalue -g 2.2 -db test.hdr | pvalue -r -g 2.2 -db > test24.hdr |
112 |
|
|
113 |
|
test.hdr: ../renders/sunset.hdr |
114 |
< |
pfilt -x /2.5 -y /2.5 -r .6 ../renders/sunset.hdr \ |
114 |
> |
pfilt -x 544 -y 544 -r .6 ../renders/sunset.hdr \ |
115 |
|
| ra_xyze -r > test.hdr |