Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions karios/api/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,21 +43,21 @@ class RuntimeConfiguration:

Attributes:
output_directory: Directory where results will be written
pixel_size: Optional pixel size in meters. Ignored if image resolution
can be read from input images
title_prefix: Optional prefix for chart titles (max 26 characters)
gen_kp_mask: Whether to generate a TIFF mask based on key points
gen_delta_raster: Whether to generate intermediate products (dx/dy raster)
generate_kp_chips: Whether to generate KP chip images
dem_description: Optional DEM source description for plots
enable_large_shift_detection: Whether to detect and correct large pixel shifts
pixel_size: Optional pixel size in meters. Ignored if image resolution
can be read from input images
title_prefix: Optional prefix for chart titles (max 26 characters)
dem_description: Optional DEM source description for plots
"""

output_directory: Path
pixel_size: Optional[float]
title_prefix: Optional[str]
gen_kp_mask: bool
gen_delta_raster: bool
generate_kp_chips: bool
dem_description: Optional[str]
enable_large_shift_detection: bool
pixel_size: Optional[float] = None
title_prefix: Optional[str] = None
dem_description: Optional[str] = None
2 changes: 1 addition & 1 deletion karios/report/commons.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def mean_profile(values: Series, positions: Series, bin_size: int = 20) -> MeanP
dic = {"val": values, "po": position_group}
df = DataFrame.from_dict(dic)
group = df.groupby("po")
groups_positions = np.int16(group["po"].mean() * bin_size + bin_size / 2)
groups_positions = (group["po"].first() * bin_size + bin_size // 2).astype(np.int32)
nb_pos = group["val"].count()
mean_values = group["val"].mean()
values_std = group["val"].std()
Expand Down
2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# conda install -n karios -c conda-forge --file requirements_dev.txt
bandit==1.7.5
isort==5.13.2
black==24.4.2
black==26.3.1
pre-commit==3.6.0
pydocstyle==6.3.0
pylint==3.0.3
Expand Down
Binary file added site/source/_images/02_dx_sk_before.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/source/_images/03_dy_sk_before.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/source/_images/04_ce_sk_before.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/source/_images/ov_sks_before.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions site/source/_includes/endnote.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```{note}
* You can cite KARIOS Tool by using [Saunier, S., Canonicy, P., Louis, J., Debaecker, V., & Albinet, C. (2024). KARIOS : A fast & efficient open source tool for geometric deformation analysis (1.0). The Very High-resolution Radar & Optical Data Assessment (2023) Workshop (VH RODA), ESA-ESRIN, Frascati (Italy)](https://doi.org/10.5281/zenodo.10598328)
* Many thanks to Telespazio for this open source tool.
Binary file added site/source/_static/_images/02_dx_sk_before.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/source/_static/_images/03_dy_sk_before.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/source/_static/_images/04_ce_sk_before.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/source/_static/_images/ov_sks_before.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 11 additions & 12 deletions site/source/_static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,21 @@
src: url('_fonts/TekneLDOVariable.ttf') format('woff');
}

/* @font-face {
font-family: 'Public Sans Thin';
font-style: normal;
font-weight: normal;
src: local('Public Sans Thin'), url('_static/fonts/PublicSans-Thin.woff') format('woff');
@font-face {
font-family: 'Public Sans Thin';
font-style: normal;
font-weight: normal;
src: local('Public Sans Thin'), url('_static/fonts/PublicSans-Thin.woff') format('woff');
}

@font-face {
font-family: 'Public Sans Medium';
font-style: normal;
font-weight: normal;
src: local('Public Sans Medium'), url('_static/fonts/PublicSans-Medium.woff') format('woff');
} */

font-family: 'Public Sans Medium';
font-style: normal;
font-weight: normal;
src: local('Public Sans Medium'), url('_static/fonts/PublicSans-Medium.woff') format('woff');
}

html {
*/ html {
--pst-font-family-base-system: 'Public Sans Regular';
--pst-color-primary: #37424a !important;
--pst-color-secondary: #6B92B2 !important;
Expand Down
Binary file added site/source/algorithm.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/source/case_study/01_overview_3m.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/source/case_study/01_overview_filter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/source/case_study/02_dx_3m.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/source/case_study/02_dx_filter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/source/case_study/02_dx_sk_before.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/source/case_study/03_dy_3m.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/source/case_study/03_dy_filter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/source/case_study/03_dy_sk_before.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/source/case_study/04_ce_3m.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/source/case_study/04_ce_filter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/source/case_study/04_ce_sk_before.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/source/case_study/align.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions site/source/case_study/ccm.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
(ccm)=

# CCM Processing

```{note}
Coming soon
```

```{include} ../_includes/endnote.md
Binary file added site/source/case_study/chris.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions site/source/case_study/edap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
(edap)=

# EDAP Processing

```{note}
Coming soon
```

```{include} ../_includes/endnote.md
Binary file added site/source/case_study/formule1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/source/case_study/global_greenland.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/source/case_study/global_poland.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/source/case_study/global_toulouse.png
Binary file added site/source/case_study/greenland1.png
Binary file added site/source/case_study/greenland2.png
Binary file added site/source/case_study/greenland3.png
Binary file added site/source/case_study/greenland4.png
75 changes: 45 additions & 30 deletions site/source/case_study/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,64 +10,79 @@ it works in MD with myst_parser by enabling myst extension fieldlist
:hidden:
:maxdepth: 2

prisma
sen2like
skysat
proba
mss
```

This show how KARIOS is useful for our works.

<!-- SYNTAX
https://sphinx-design.readthedocs.io/en/latest/grids.html#placing-a-card-in-a-grid
WARNING : We use card in grid-item instead of grid-item-card due to vertical spacing issue

For click
https://sphinx-design.readthedocs.io/en/latest/cards.html#clickable-cards
ccm
edap

Grid works in MD thanks to myst extension colon_fence
-->
```

<!-- Grid start herer -->

:::::{grid} 2
<!-- item 1 -->
::::{grid-item}
:::{card} PRISMA
:link: prisma
:::{card} SKYSAT / LiDAR Processing
:link: skysat
:link-type: ref

```{todo}
Write short description
```
KARIOS matching process between Skysat and LiDAR high resolution images using downsampling and Laplacian optimization

:::
::::
<!-- EO item 1 -->

<!-- item 2 -->
::::{grid-item}
:::{card} Sen2like
:link: sen2like
:::{card} PROBA/CHRIS Processing
:link: proba
:link-type: ref

```{todo}
Write short description
```
CHRIS images registration using template matching and TPS low/native resolution refinement

:::
::::
<!-- EO item 2 -->

<!-- item 3 -->
::::{grid-item}
:::{card} MSS
:link: mss
:::{card} MSS Processing
:link: mss_cs
:link-type: ref

```{todo}
Write short description
```
Landsat MSS geometric correction using TPS

:::
::::
<!-- EO item 3 -->

:::::
<!-- item 4 -->
::::{grid-item}
:::{card} CCM Copernicus
:link: ccm
:link-type: ref

```{note}
Coming soon
```
:::
::::

<!-- EO item 4 -->

<!-- item 5 -->
::::{grid-item}
:::{card} EDAP Processing
:link: edap
:link-type: ref

```{note}
Coming soon
```
:::
::::
<!-- EO item 5 -->

::::
<!-- EO Grid -->
Binary file added site/source/case_study/lap_3m.png
Binary file added site/source/case_study/lap_after.png
Binary file added site/source/case_study/lap_before.png
Loading
Loading