Last change
on this file was
37,
checked in by (none), 14 years ago
|
Added original make3d
|
-
Property svn:executable set to
*
|
File size:
1.3 KB
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | # convert the *PVI files from on a local discs and copy only the *.jpg files |
---|
4 | |
---|
5 | echo "Tool to process PVI sequences, Tomas Svoboda, ETHZ, 07/2002" |
---|
6 | |
---|
7 | # basepath for the selfcalib codes |
---|
8 | selfcalib_basepath=/home/svoboda/Work/BlueCCal/BlueCFindingPoints |
---|
9 | |
---|
10 | ####################################################### |
---|
11 | ### config definitions |
---|
12 | ### the variables should be specified in .cshrc |
---|
13 | ### or something like that |
---|
14 | ####################################################### |
---|
15 | # basepath for binaries and auxiliary scripts |
---|
16 | basepath=$BlueC_BASEPATH |
---|
17 | # image basename |
---|
18 | imname=$BlueC_IMNAME |
---|
19 | # machine basename |
---|
20 | mname=$BlueC_MNAME |
---|
21 | workmachine=$BlueC_WORKMACHINE |
---|
22 | # working directory on local machines |
---|
23 | localdir=$BlueC_LOCALDIR |
---|
24 | # for all available indexes |
---|
25 | indexes=$BlueC_INDEXES |
---|
26 | |
---|
27 | # first clean the old local data |
---|
28 | for i in $indexes; do |
---|
29 | command="ssh ${mname}${i} rm -f ${localdir}/*.dat*" |
---|
30 | echo $command |
---|
31 | eval $command |
---|
32 | done |
---|
33 | |
---|
34 | for i in $indexes; do |
---|
35 | command="ssh ${mname}${i} rm -f ${localdir}/*.tiff" |
---|
36 | echo $command |
---|
37 | eval $command |
---|
38 | done |
---|
39 | |
---|
40 | wait |
---|
41 | |
---|
42 | # call the local finding procedure |
---|
43 | for i in $indexes; do |
---|
44 | command="ssh ${mname}${i} /usr/sepp/bin/matlab -nosplash -nojvm < ${selfcalib_basepath}/im2pointsLocally.m > ${selfcalib_basepath}/im2pointsLocally.out.${i} &" |
---|
45 | |
---|
46 | echo $command |
---|
47 | eval $command |
---|
48 | sleep 1 |
---|
49 | done |
---|
50 | |
---|
51 | wait |
---|
52 | |
---|
53 | # clean output files |
---|
54 | rm im2pointsLocally.out.* |
---|
55 | |
---|
Note: See
TracBrowser
for help on using the repository browser.