| 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-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 test-pinterp test-psign \ |
| 13 |
< |
test-falsecolor test-ra_ps |
| 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 psign.hdr \ |
| 19 |
< |
pinterp.hdr false.hdr ra_psC.ps |
| 19 |
> |
pinterp.hdr false.hdr ra_psC.ps test8.tga test8.gif |
| 20 |
|
|
| 21 |
|
test-pcond: test.hdr |
| 22 |
|
pcond -h test.hdr pcondh.hdr |
| 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 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 |
|
|
| 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 -d -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 |