This commit is contained in:
Trygve 2024-05-06 14:16:04 +02:00
parent 77467594bd
commit 1ec3e8c778
3 changed files with 3115 additions and 8 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 88 KiB

View File

@ -5,16 +5,31 @@ author:
- Trygve og Esther - Trygve og Esther
--- ---
# What are contours
# Output of our program # Output of our program:
pretty pictures ![Contour map of Ås](kurver_ås.png)
# Marching squares
![By Nicoguaro; Adroitwhiz - File:Marching_squares_algorithm.svg, CC BY-SA 4.0, https://commons.wikimedia.org/w/index.php?curid=143418710](ms_wikipedia.svg)
# The logical flow of our program # The logical flow of our program
flowchart ```cpp
int main(int argc, const char* argv[])
# GDAL {
What is it? const char* filepath = argv[1];
HeightMap map(filepath);
map.blur(0.8)
auto lines = create_lines(&map, 5);
write_output_file(cellmaps, "out.geojson", &map);
}
```
# Performance # Performance
show the benchmarks | | Time |
|--------------------|--------------------|
| 12 threads | 41s |
| 1 thread | 116s |
# Problems we encountered