| 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 \ |
| 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 |
| 12 |
> |
test-ra_rgbe test-ra_ppm test-pextrem test-pcomb test-pinterp test-psign \ |
| 13 |
> |
test-falsecolor test-ra_ps |
| 14 |
|
|
| 15 |
|
clean: |
| 16 |
|
rm -f test.hdr test24.hdr test24.tif test32L.tif pcomb.hdr \ |
| 17 |
< |
norm24.tif norm8.tif pcompos.hdr pcondh.hdr test_extrema.txt |
| 17 |
> |
norm24.tif norm8.tif pcompos.hdr pcondh.hdr test_extrema.txt psign.hdr \ |
| 18 |
> |
pinterp.hdr false.hdr ra_psC.ps |
| 19 |
|
|
| 20 |
|
test-pcond: test.hdr |
| 21 |
|
pcond -h test.hdr pcondh.hdr |
| 50 |
|
$(HDR_CMP) ref/pcompos.hdr pcompos.hdr |
| 51 |
|
rm -f pcompos.hdr |
| 52 |
|
|
| 53 |
+ |
test-pinterp: test.hdr |
| 54 |
+ |
pinterp -vtv -vh 60 -vv 40 -x 200 -y 200 test.hdr 1.0 > pinterp.hdr |
| 55 |
+ |
$(HDR_CMP) ref/pinterp.hdr pinterp.hdr |
| 56 |
+ |
rm -f pinterp.hdr |
| 57 |
+ |
|
| 58 |
+ |
test-psign: |
| 59 |
+ |
psign -cb .9 .4 .01 -cf .1 .2 1 -dd -h 200 -a 1.5 -s -.1 Testing > psign.hdr |
| 60 |
+ |
$(HDR_CMP) ref/psign.hdr psign.hdr |
| 61 |
+ |
rm -f psign.hdr |
| 62 |
+ |
|
| 63 |
+ |
test-falsecolor: |
| 64 |
+ |
falsecolor -s 2e5 -log 5 -i test.hdr > false.hdr |
| 65 |
+ |
$(HDR_CMP) ref/false.hdr false.hdr |
| 66 |
+ |
rm -f false.hdr |
| 67 |
+ |
|
| 68 |
|
test-ra_rgbe: test.hdr |
| 69 |
|
ra_rgbe -e -5 test.hdr | ra_rgbe -r -e +5 | $(HDR_CMP) -w test.hdr - |
| 70 |
|
|
| 90 |
|
|
| 91 |
|
test-ra_ppm: test24.hdr |
| 92 |
|
ra_ppm test24.hdr | ra_ppm -r | $(IMG_CMP) test24.hdr - |
| 93 |
+ |
|
| 94 |
+ |
test-ra_ps: test.hdr |
| 95 |
+ |
ra_ps -b -C test.hdr > ra_psC.ps |
| 96 |
+ |
radcompare ref/ra_psC.ps ra_psC.ps |
| 97 |
+ |
rm -f ra_psC.ps |
| 98 |
|
|
| 99 |
|
test24.hdr: test.hdr |
| 100 |
|
pvalue -g 2.2 -db test.hdr | pvalue -r -g 2.2 -db > test24.hdr |