On May 26, 2011 04:43:37 PM Carlos Eduardo G. Carvalho (Cartola) wrote: > That's why I am doing CPs like these (win example) on a bat file:
> REM ##### Enfuse > enfuse -o 01.jpg IMG_0954.JPG IMG_0955.JPG IMG_0956.JPG ... #!/bin/bash SOURCE="." SUFFIX="JPG" step=3 s=1 fuse_list="" for i in "$SOURCE"/*.$SUFFIX do # extract filename before suffix l=`echo ${i%%.$SUFFIX} |sed 's#^.*/##'` fuse_list[$s]="$l.$SUFFIX " echo ${fuse_list[$s]} if [ "$s" = "$step" ]; then fuse_target="$fuse_target$l.jpg" enfuse --contrast-weight=1 \ --output=$fuse_target ${fuse_list[1]} ${fuse_list[2]} ${fuse_list[3]} exiftool -TagsFromFile ${fuse_list[1]} $fuse_target s=0 fuse_list="" fi if [ "$s" = "1" ]; then fuse_target=$l fi s=$[$s+1] done > REM ##### Round > autopano-sift-c --maxmatches 10 out01.pto 01.jpg 02.jpg ... panostart -o bootstrap.mk *.jpg make -f bootstrap.mk cpfind --multi-row -o pointless.pto project.pto in most (not all) cases the resulting project.pto is the same or better than with all the list of autopano-sift-c calls; and the multi row strategy does what all the list does, in one single command. > Its not difficult to make a unix or a php script to generate this BAT file even less difficult to let cpfind do its magic and intervene manually only in those border cases that it fails. and users will have one extra option now with Python scripting. Yuv
signature.asc
Description: This is a digitally signed message part.