Bibliothèque de traitements d'images en virgule flottante. http://la.buvette.org/photos/cumul/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
563 B

#!/bin/bash
GRAB="quux.fimg"
COS01="cos01.fimg"
COS010="cos010.fimg"
SQRT="sqrt.fimg"
POW2="pow2.fimg"
# --------- conversion fimg -> pnm
f2p ()
{
dst=$(basename $1 .fimg).pnm
echo == converting $1 to $dst
fimg2pnm $1 $dst
}
# --------- capturer une image
grabvidseq -v -n 77 -p 0.07 -o ${GRAB}
echo ERRCODE $?
f2p ${GRAB}
ls -rtl
exit
# XXXXXXXXXXXXXXXXXXXXXX
fimgfx -v pow2 $GRAB $POW2
f2p $POW2
fimgfx -v sqrt $GRAB $SQRT
f2p $SQRT
fimgfx -v cos01 $GRAB $COS01
f2p $COS01
fimgfx -v cos010 $GRAB $COS010
f2p $COS010
convert -delay 10 *.pnm foo.gif