2019-11-12 19:31:00 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2019-11-14 14:23:12 +01:00
|
|
|
|
2019-11-18 10:18:30 +01:00
|
|
|
../v4l2/grabvidseq -s 960x720 -n 10000 -p 0.193 \
|
2019-11-15 10:39:22 +01:00
|
|
|
-vv -g -c none \
|
|
|
|
-o original.fimg
|
2019-11-14 14:23:12 +01:00
|
|
|
|
2019-11-12 19:31:00 +01:00
|
|
|
make t && ./t
|
|
|
|
|
2019-11-14 14:23:12 +01:00
|
|
|
for picz in original power2 squareroot cos_01
|
2019-11-12 19:31:00 +01:00
|
|
|
do
|
|
|
|
|
2019-11-15 10:39:22 +01:00
|
|
|
echo _______________________ ${picz}
|
2019-11-14 14:23:12 +01:00
|
|
|
|
|
|
|
# ../tools/fimgstats -v ${picz}.fimg
|
2019-11-12 19:31:00 +01:00
|
|
|
../tools/fimg2pnm -v ${picz}.fimg ${picz}.pnm
|
|
|
|
|
2019-11-15 10:39:22 +01:00
|
|
|
convert -pointsize 48 \
|
|
|
|
-fill black -annotate +14+40 "${picz}" \
|
|
|
|
-fill white -annotate +16+42 "${picz}" \
|
2019-11-12 19:31:00 +01:00
|
|
|
${picz}.pnm ${picz}.png
|
|
|
|
|
2019-11-14 14:23:12 +01:00
|
|
|
rm ${picz}.pnm
|
|
|
|
|
2019-11-12 19:31:00 +01:00
|
|
|
done
|
|
|
|
|
2019-11-14 14:23:12 +01:00
|
|
|
convert -delay 150 *.png foo.gif
|
2019-11-12 19:31:00 +01:00
|
|
|
|