diff --git a/_includes/figure.html b/_includes/figure.html deleted file mode 100644 index dbd25ac..0000000 --- a/_includes/figure.html +++ /dev/null @@ -1,36 +0,0 @@ -{%- assign img_path = include.path | remove: ".jpg" | remove: ".jpeg" | remove: ".png" | remove: ".tiff" -%} - -
- - -{% if site.imagemagick.enabled %} -{% for i in site.imagemagick.widths -%} - -{% endfor -%} -{% endif %} - - - - - - - {%- if include.caption -%}
{{ include.caption }}
{%- endif %} - -
diff --git a/_projects/1_project.md b/_projects/1_project.md index 38c8157..092d4ca 100644 --- a/_projects/1_project.md +++ b/_projects/1_project.md @@ -23,13 +23,13 @@ To give your project a background in the portfolio page, just add the img tag to
-{% include figure.html path="assets/img/1.jpg" title="example image" class="img-fluid rounded z-depth-1" %} +{% include figure.liquid path="assets/img/1.jpg" title="example image" class="img-fluid rounded z-depth-1" %}
-{% include figure.html path="assets/img/3.jpg" title="example image" class="img-fluid rounded z-depth-1" %} +{% include figure.liquid path="assets/img/3.jpg" title="example image" class="img-fluid rounded z-depth-1" %}
-{% include figure.html path="assets/img/5.jpg" title="example image" class="img-fluid rounded z-depth-1" %} +{% include figure.liquid path="assets/img/5.jpg" title="example image" class="img-fluid rounded z-depth-1" %}
diff --git a/_projects/sap.md b/_projects/sap.md index a79a76b..50f079b 100644 --- a/_projects/sap.md +++ b/_projects/sap.md @@ -25,8 +25,7 @@ updated. [test]: https://github.com/fguiotte/sap/tree/master/test [cover]: https://app.codecov.io/gh/fguiotte/sap/tree/master/sap - -## Installation +## Installation To start tinkering images with the package, you just have to: @@ -53,7 +52,7 @@ plt.imshow(filtered_image) plt.show() ``` -## Slower launch +## Slower launch This package is a combination of three submodules. @@ -72,8 +71,6 @@ area = t.get_attribute('area') filtered_image = t.reconstruct(area < 100) ``` - - ### Profiles The second submodule `sap.profiles` is provided to compute *Attribute @@ -99,7 +96,6 @@ The third submodule is `sap.spectra`. We use it to compute Pattern Spectra of trees and to display them. Pattern Spectra can be useful to set thresholds of attribute filters and Attribute Profiles. - ```python import rasterio as rio # Reads and writes geospatial raster data from matplotlib import pyplot as plt # Display plots and images @@ -130,10 +126,8 @@ plt.show() ![](/assets/img/sap_2.png){.img-fluid .z-depth-1 .rounded} - To go further, please have a look to the [online documentation][doc-api]. - This package has been used, amongst other projects, to perform an experimental comparison of the attribute profiles and their variations in a published paper [^1].