diff --git a/slides/illustrations/otb_logo.png b/slides/illustrations/otb_logo.png new file mode 100644 index 0000000000000000000000000000000000000000..329a6b9fdffc9248f5cd8d3bd7826755bb436cce Binary files /dev/null and b/slides/illustrations/otb_logo.png differ diff --git a/slides/illustrations/pansharpening_google_search_final_speedup.mp4 b/slides/illustrations/pansharpening_google_search_final_speedup.mp4 index 8303c80a79e5c145e215590bafb1d1598fb37116..c7306624f15c0d86550f58e9c5fb4d82bb54cbc0 100644 Binary files a/slides/illustrations/pansharpening_google_search_final_speedup.mp4 and b/slides/illustrations/pansharpening_google_search_final_speedup.mp4 differ diff --git a/slides/illustrations/pansharpening_memory_error_rasterio_speedup.mp4 b/slides/illustrations/pansharpening_memory_error_rasterio_speedup.mp4 index 1dcbc73e67b048810b48492c330d1883e258fe5c..c742617a259f380d65586808209ae1c237b02d27 100644 Binary files a/slides/illustrations/pansharpening_memory_error_rasterio_speedup.mp4 and b/slides/illustrations/pansharpening_memory_error_rasterio_speedup.mp4 differ diff --git a/slides/illustrations/pansharpening_pyotb_laptop_speedup.mp4 b/slides/illustrations/pansharpening_pyotb_laptop_speedup.mp4 index 1a786a1e3525d33151d958456fcf79baa8e0ab84..0cb6cd2b9f4991cab4c5139d04b5dbfdfeb2831b 100644 Binary files a/slides/illustrations/pansharpening_pyotb_laptop_speedup.mp4 and b/slides/illustrations/pansharpening_pyotb_laptop_speedup.mp4 differ diff --git a/slides/illustrations/thumbs_up.gif b/slides/illustrations/thumbs_up.gif new file mode 100644 index 0000000000000000000000000000000000000000..24f6f08198e38f1b8cd565bf973aba45fdfe648f Binary files /dev/null and b/slides/illustrations/thumbs_up.gif differ diff --git a/slides/index.html b/slides/index.html index 693f856e72a1b363c81620b7a1071d39c6548e86..3fa30b756749cdcb97964b0df6e4a9932408546b 100644 --- a/slides/index.html +++ b/slides/index.html @@ -25,9 +25,16 @@ <div class="slides"> <!-- I/ PREMIERE PAGE --> - <section data-background-image='illustrations/background.png'> - <h1>pyotb: A pythonic extension of Orfeo Toolbox</h1> + <section style="vertical-align: sub;" data-background-image='illustrations/background.png'> + </br> + <h1>pyotb</h1> + <h1small>A pythonic extension of Orfeo Toolbox</h1small> </br> + <h4small>a remote sensing Python library</h4small> + </br> + <figure> + <img src="illustrations/otb_logo.png" width=10%/> + </figure> <p>Nicolas Narçon<sup>1</sup>, Rémi Cresson<sup>1</sup>, Vincent Delbar<sup>2</sup></p> <p>(1) INRAE, (2) La TeleScop</p> <br> @@ -46,72 +53,38 @@ <section> <section data-background-image='illustrations/background.png'> - <h2>What a developer goes trough</h2> - <video data-autoplay width=70% src="illustrations/pansharpening_google_search_final_speedup.mp4"></video> - </section> - - <section data-background-image='illustrations/background.png'> - <h3>Issues</h3> - </br> - <img style='vertical-align:middle' src="illustrations/cons.png" width=5%/> - <span>Con n°1:</span> - </br></br> - <ul> - <li>Not many well-eshtablished Python Open Source remote sensing solutions -> trust?</li> - <li>Need to implement/adapt some algorithms -> loss of time</li> - </ul> - </br></br> - <br> + <h3>What a Python developer goes trough</h3> + <h4>Searching for pansharpening</h4> + <video data-autoplay width=70% data-src="illustrations/pansharpening_google_search_final_speedup.mp4"></video> </section> <section data-background-image='illustrations/background.png'> - <h2>Pansharpening in Python</h2> - <video data-autoplay width=70% src="illustrations/pansharpening_memory_error_rasterio_speedup.mp4"></video> + <h3>What a Python developer goes trough</h3> + <h4>Trying the pansharpening</h4> + <video data-autoplay width=70% data-src="illustrations/pansharpening_memory_error_rasterio_speedup.mp4"></video> </section> - <section> + <section data-background-image='illustrations/background.png'> + <h3>What a Python developer goes trough</h3> <figure> - <img src="illustrations/memory_error.png" width=80%/> + <img data-src="illustrations/memory_error.png" width=75%/> </figure> <figure> - <img src="illustrations/michael_meme.png" width=50%/> + <img data-src="illustrations/michael_meme.png" width=40%/> </figure> </section> - - - <section data-background-image='illustrations/background.png'> - <h3>Issues</h3> + <h3>What a Python developer goes trough</h3> </br> - <figure> - <img src="illustrations/cons.png" width=5%/> - <figcaption>Con n°2:</figcaption> - </figure> - <ul> - <li>Satellite image processing do not fit in RAM</li> - </ul> - - <span>Solution: by hand tiling ?</span> - <pre><code data-trim class="python"> - for i in range(0, size, chunk_size): - # Reading image - with rasterio.open('image.tif'): - ... - </code></pre> - + <img style='vertical-align:middle' data-src="illustrations/cons.png" width=3%/> + <span>Satellite image processing does not fit in RAM</span> <br> - </section> - - - <section data-markdown> - <textarea data-template> -### Whatever -| Test | Test | Description | -| ---- | ---------- | ----------- | -| 1 | 0 | ssss | - </textarea> + <img style='vertical-align:middle' data-src="illustrations/cons.png" width=3%/> + <span>Hard to find high-level Python Open Source remote sensing solutions</span> + + </section> </section> @@ -121,10 +94,25 @@ <section> <section data-background-image='illustrations/background.png'> - <h2>pyotb: remote sensing made easy</h2> - <video data-autoplay width=70% src="illustrations/pansharpening_pyotb_laptop_speedup.mp4"></video> + <h3>pyotb: remote sensing made easy</h3> + <video data-autoplay width=70% data-src="illustrations/pansharpening_pyotb_laptop_speedup.mp4"></video> </section> + <section data-background-image='illustrations/background.png'> + <h3>pyotb: remote sensing made easy</h3> + <img style='vertical-align:middle' data-src="illustrations/pros.png" width=3%/> + <span>Many already implemented remote sensing solutions in Orfeo Toolbox</span> + <br> + <img style='vertical-align:middle' data-src="illustrations/pros.png" width=3%/> + <span>Fits in RAM</span> + <br> + <img style='vertical-align:middle' data-src="illustrations/pros.png" width=3%/> + <span>Easy to write</span> + <figure> + <img data-src="illustrations/thumbs_up.gif" width=40%/> + </figure> + </section> + </section> @@ -133,6 +121,8 @@ <section> <section data-background-image='illustrations/background.png'> <h2>Performance comparison</h2> + pyotb : 4 minutes: 3 min for processing, using up to 8 CPU cores + 1 min for writing + rasterio simple browley : 11 minutes : 10 min, using 1 CPU core + 1 min for writing </section> </section> diff --git a/slides/otb.css b/slides/otb.css index 2d061a4892c03a7b01081d25572ff42fdb29251a..07b2bf4b29d03258fb30b48c8548ff55278b0d28 100644 --- a/slides/otb.css +++ b/slides/otb.css @@ -79,6 +79,7 @@ y { font-family: Impact, sans-serif;}, .reveal h4 { color: #000000;}, +.reveal h4small, .reveal h5, .reveal h6 { margin: 0 0 20px 0; @@ -89,10 +90,14 @@ y { letter-spacing: normal; text-transform: uppercase; text-shadow: none; - word-wrap: break-word; } + word-wrap: break-word; }, +.reveal h1small .reveal h1 { font-size: 3.77em; } + +.reveal h1small { + font-size: 2.11em; text-transform: none;} .reveal h2 { font-size: 2.11em; } @@ -102,9 +107,18 @@ y { .reveal h4 { font-size: 1em; } + +.reveal h4small { + color: #000000; + font-size: 0.9em; + text-transform: none; + font-style: italic;} .reveal h1 { text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.3), 0 3px 5px rgba(0, 0, 0, 0.2), 0 5px 10px rgba(0, 0, 0, 0.25), 0 20px 20px rgba(0, 0, 0, 0.15); } + + .reveal h1small { + text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.3), 0 3px 5px rgba(0, 0, 0, 0.2), 0 5px 10px rgba(0, 0, 0, 0.25), 0 20px 20px rgba(0, 0, 0, 0.15); } /********************************************* * OTHER