Commit e7d66a06 authored by santipe83's avatar santipe83

DOC: Add extra files for App_Python - Slides, Solutions, General Presentation

parent c9cdfc07
This diff is collapsed.
......@@ -80,6 +80,64 @@ ExtractROI.STARTX=140
- [[https://www.orfeo-toolbox.org/CookBook/OTB-Applications.html][Introduction to OTB applications]]
- [[https://www.orfeo-toolbox.org/CookBook/Applications.html][Application Reference Documentation]]
- Application help: /otbcli\textunderscore{}XXX -help/
*** Introduction : Water monitoring in the Laguna de la Nina(Peru) event
- A time series of 3 images (SENTINEL 2) show the water extent variation:
#+ATTR_LATEX: :float t :width 1\textwidth
[[file:Images/app-python-0.png]]
*** Sentinel 2 - Level 2A Format
|----------------+------------+------------+------------+-----------------------|
| Band name | S2 band id | Wavelength | Resolution | Used in this exercise |
|----------------+------------+------------+------------+-----------------------|
| Blue | B2 | 490 nm | 10 m | - |
| Green | B3 | 560 nm | 10 m | - |
| Red | B4 | 665 nm | 10 m | Yes |
| NIR - Narrow 1 | B5 | 705 nm | 20 m | - |
| NIR - Narrow 2 | B6 | 740 nm | 20 m | - |
| NIR - Narrow 3 | B7 | 783 nm | 20 m | - |
| NIR - Wide | B8 | 842 nm | 10 m | - |
| NIR - Narrow 4 | B8A | 865 nm | 20 m | Yes |
| SWIR 1 | B11 | 1610 nm | 20 m | - |
| SWIR 2 | B12 | 2190 nm | 20 m | - |
|----------------+------------+------------+------------+-----------------------|
*** Simple OTB application in Python : exercise1.py
#+ATTR_LATEX: :float t :width 0.8\textwidth
[[file:Images/app-python-1.png]]
*** Chain OTB applications : exercise2.py
#+ATTR_LATEX: :float t :width 0.8\textwidth
[[file:Images/app-python-2.png]]
*** Chain OTB applications in-memory: exercise3.py
#+ATTR_LATEX: :float t :width 0.8\textwidth
[[file:Images/app-python-3.png]]
*** NoData management: exercise4.py
#+ATTR_LATEX: :float t :width 0.8\textwidth
[[file:Images/app-python-4.png]]
*** Water detection chain with NoData management: exercise4.py
#+ATTR_LATEX: :float t :width 0.8\textwidth
[[file:Images/app-python-5.png]]
*** Using a reference: Global Surface Water
#+ATTR_LATEX: :float t :width 0.8\textwidth
[[file:Images/app-python-6.png]]
*** Comparison with a reference: exercise5.py
#+ATTR_LATEX: :float t :width 0.8\textwidth
[[file:Images/app-python-7.png]]
** OTB Applications on Python API :guide:
*** Description :desc:
**** Summary
......@@ -568,7 +626,7 @@ ExtractROI.STARTX=140
4. Look at the 20161218 final NDVI mask. What are the lines detected as water?
*** Comparison with a reference
*** Comparison with a reference: exercise5.py
1. Open the image ~ref/occurrence_90W_0N.tif~ in QGIS or Monteverdi. What values do you observe
around the coordinates lon: -80.6767, lat: -5.91. Do you observe any zone with 90-100 occurrence?
......
#!/bin/bash
for f in workshopSlides-*.org
do
filename=$(basename "$f")
extension="${filename##*.}"
filename="${filename%.*}"
echo "Processing $f"
emacs -u penaluqs $filename.org --batch -f org-beamer-export-to-latex --kill
#add pdf version
sed -i '1 i \\\pdfminorversion=4' $filename.tex
#export to pdf
pdflatex -interaction nonstopmode $filename.tex
pdflatex -interaction nonstopmode $filename.tex
done
for f in workshopGuide-*.org
do
filename=$(basename "$f")
extension="${filename##*.}"
filename="${filename%.*}"
echo "Processing $f"
emacs -u penaluqs $filename.org --batch -f org-latex-export-to-latex --kill
#add pdf version
sed -i '1 i \\\pdfminorversion=4' $filename.tex
#export to pdf
pdflatex -interaction nonstopmode $filename.tex
pdflatex -interaction nonstopmode $filename.tex
done
for f in workshopSolution-*.org
do
filename=$(basename "$f")
extension="${filename##*.}"
filename="${filename%.*}"
echo "Processing $f"
emacs -u penaluqs $filename.org --batch -f org-latex-export-to-latex --kill
#add pdf version
sed -i '1 i \\\pdfminorversion=4' $filename.tex
#export to pdf
pdflatex -interaction nonstopmode $filename.tex
pdflatex -interaction nonstopmode $filename.tex
done
#+TITLE: Guide for OTB training courses
#+AUTHOR: OTB team
#+DATE: 2017
#+DATE: 2018
#+startup: beamer
#+startup: oddeven
......
#+TITLE: Guide for OTB training courses (Solutions)
#+AUTHOR: OTB Team
#+DATE: 2017
#+DATE: 2018
#+OPTIONS: H:4
#+LaTeX_CLASS: article
#+LaTeX_CLASS_OPTIONS: [a4paper,10pt,twoside,pdftex,openright]
......
#!/bin/bash
# Export install guide
for f in *.tex
do
filename=$(basename "$f")
extension="${filename##*.}"
filename="${filename%.*}"
# export to pdf
pdflatex -interaction nonstopmode $filename.tex
pdflatex -interaction nonstopmode $filename.tex
done
......@@ -865,10 +865,9 @@ Madagascar, UNESCO, Hawaii,Finland\ldots
\begin{block}{Follow-up}
\vspace{-0.2cm}
\begin{description}
\item[Look at the code?] \href{http://git.orfeo-toolbox.org}{git.orfeo-toolbox.org}
\item[Find a bug?] \href{http://bugs.orfeo-toolbox.org}{bugs.orfeo-toolbox.org}
\item[Agile?] \href{http://scrum.orfeo-toolbox.org}{scrum.orfeo-toolbox.org}
\item[Weather?] \href{http://dash.orfeo-toolbox.org}{dash.orfeo-toolbox.org}
\item[Look at the code?] \href{https://gitlab.orfeo-toolbox.org}{gitlab.orfeo-toolbox.org}
\item[Find a bug? Feature propositions?] \href{https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/issues}{gitlab.orfeo-toolbox.org/orfeotoolbox/otb/issues}
\item[Dashboard] \href{http://dash.orfeo-toolbox.org}{dash.orfeo-toolbox.org}
\end{description}
\end{block}
\end{frame}
......
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