Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
GeoSentinel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mario Chirinos Colunga
GeoSentinel
Commits
ca13189e
Commit
ca13189e
authored
May 28, 2018
by
Mario Chirinos Colunga
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
em xml
parent
10df42d2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
README.MD
README.MD
+0
-0
__init__.pyc
geosentinel/__init__.pyc
+0
-0
productToRGBJPG.sh
tools/productToRGBJPG.sh
+6
-6
No files found.
README.
rst
→
README.
MD
View file @
ca13189e
File moved
geosentinel/__init__.pyc
0 → 100644
View file @
ca13189e
File added
tools/productToRGBJPG.sh
View file @
ca13189e
...
@@ -50,7 +50,6 @@ do
...
@@ -50,7 +50,6 @@ do
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"
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 rgb/$fileout1/$fileout2"_"$fileout1"_t.jpg" -resize 640x480\! rgb/$fileout1/$fileout2"_"$fileout1".jpg"
# convert rgb/$fileout1/$fileout2"_"$fileout1"_t.jpg" -resize 640x480\! rgb/$fileout1/$fileout2"_"$fileout1".jpg"
# rm rgb/$fileout1/$fileout2"_"$fileout1"_t.jpg"
# rm rgb/$fileout1/$fileout2"_"$fileout1"_t.jpg"
rm
*
.xml
fi
fi
cd
$PRODCUTSDIR
cd
$PRODCUTSDIR
...
@@ -60,13 +59,14 @@ done
...
@@ -60,13 +59,14 @@ done
# fi
# fi
#cd $JP2DIR"rgb/"
#cd $JP2DIR"rgb/"
#
for d in */; do
for
d
in
*
/
;
do
#
# Will print */ if no directories are available
# Will print */ if no directories are available
#
cd $d
cd
$d
# VIDEONAME = $(echo $d/ | cut -d"/" -f1)
# VIDEONAME = $(echo $d/ | cut -d"/" -f1)
# ffmpeg -i %*.jpg -c:v libx264 -vf fps=10 -pix_fmt yuvj422p $VIDEONAME.mp4
# ffmpeg -i %*.jpg -c:v libx264 -vf fps=10 -pix_fmt yuvj422p $VIDEONAME.mp4
# cd ..
rm
*
.xml
#done
cd
..
done
#ffmpeg -i %*.jpg -c:v libx264 -vf fps=10 -pix_fmt yuvj422p rgb.mp4
#ffmpeg -i %*.jpg -c:v libx264 -vf fps=10 -pix_fmt yuvj422p rgb.mp4
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment