source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/BlueCCal/BlueCFindingPoints/findpointsBlueC @ 37

Last change on this file since 37 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
5echo "Tool to process PVI sequences, Tomas Svoboda, ETHZ, 07/2002"       
6
7# basepath for the selfcalib codes
8selfcalib_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
16basepath=$BlueC_BASEPATH
17# image basename
18imname=$BlueC_IMNAME
19# machine basename
20mname=$BlueC_MNAME
21workmachine=$BlueC_WORKMACHINE
22# working directory on local machines
23localdir=$BlueC_LOCALDIR
24# for all available indexes
25indexes=$BlueC_INDEXES
26
27# first clean the old local data
28for i in $indexes; do
29        command="ssh ${mname}${i} rm -f ${localdir}/*.dat*"
30        echo $command
31        eval $command
32done
33
34for i in $indexes; do
35        command="ssh ${mname}${i} rm -f ${localdir}/*.tiff"
36        echo $command
37        eval $command
38done
39
40wait
41
42# call the local finding procedure
43for 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
49done
50
51wait
52
53# clean output files
54rm im2pointsLocally.out.*
55
Note: See TracBrowser for help on using the repository browser.