rgb update

parent 6ecfaef6
...@@ -40,14 +40,14 @@ do ...@@ -40,14 +40,14 @@ do
cd rgb cd rgb
if [ ! -d $fileout2 ]; then if [ ! -d $fileout1 ]; then
mkdir $fileout2 mkdir $fileout1
fi fi
cd .. cd ..
if [ ! -e rgb/$fileout2/$fileout2"_"$fileout1".jpg" ]; then if [ ! -e rgb/$fileout2/$fileout2"_"$fileout1".jpg" ]; then
gdal_translate -projwin $BOX -projwin_srs WGS84 -ot Byte -scale 0 4096 0 255 -of JPEG rgb/$fileout2"_"$fileout1".tiff" rgb/$fileout2/$fileout2"_"$fileout1".jpg" gdal_translate -projwin $BOX -projwin_srs WGS84 -ot Byte -scale 0 4096 0 255 -of JPEG rgb/$fileout2"_"$fileout1".tiff" rgb/$fileout1/$fileout2"_"$fileout1".jpg"
# convert video/$fileout2"_"$fileout1".jpg" -resize 640x480\! video/$fileout2"_"$fileout1".jpg" # convert video/$fileout2"_"$fileout1".jpg" -resize 640x480\! video/$fileout2"_"$fileout1".jpg"
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment