| 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 \ |
| 61 |
|
$(HDR_CMP) ref/psign.hdr psign.hdr |
| 62 |
|
rm -f psign.hdr |
| 63 |
|
|
| 64 |
< |
test-falsecolor: |
| 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 |
| 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 |
|
|
| 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 |