Révision 10 bin/image2geometry/orient_sepals.sh
orient_sepals.sh (revision 10) | ||
---|---|---|
8 | 8 |
|
9 | 9 |
indir=$1 |
10 | 10 |
filetype=$2 |
11 |
imagetype=$3 |
|
11 | 12 |
|
12 | 13 |
outdir=$indir'_oriented-sepals' |
13 | 14 |
|
... | ... | |
26 | 27 |
echo $file >> $logfile |
27 | 28 |
echo $file $outdir |
28 | 29 |
echo '--------------------------' >> $logfile |
29 |
orient_sepal.py $file $outdir |
|
30 |
if test $imagetype=="grey" |
|
31 |
then |
|
32 |
echo 'orienting grey image '$file |
|
33 |
orient_sepal.py $file $outdir $imagetype |
|
34 |
else |
|
35 |
echo 'orienting segmented image '$file |
|
36 |
orient_sepal.py $file $outdir |
|
37 |
fi |
|
30 | 38 |
echo '--------------------------' >> $logfile |
31 | 39 |
done |
32 | 40 |
|
Formats disponibles : Unified diff