contour-creator/documentation/report.md

20 lines
1.3 KiB
Markdown
Raw Normal View History

2024-03-21 14:10:28 +00:00
## Group: Trygve and Esther
2024-04-10 10:32:22 +00:00
# Functionality
Our program usees the marching squares algorithm to create a vector contour map from a raster heightmap.
The cli interface is `gdal_contour [OPTIONS] <src_filename> <dst_filename>` with these options:
```
-i <elevation intervall> Interval between contours
-f <format> Fileformat to output
```
# data structure and input/output
![](ER_diagram.svg)
2024-03-21 14:10:28 +00:00
# Responsibilities:
2024-05-07 20:26:36 +00:00
Esther will create the algorithm itself with multithreading. This will essentially be a function that takes a grid of pixels as input and returns a similar grid of cells.
2024-03-21 14:10:28 +00:00
Trygve will take care of reading in the tiff file into our own datastructure and creating a vector image from the output of the algorithm.
2024-05-07 20:26:36 +00:00
# Special interest
Calculated some statistical estimates for the average, variance and standard deviation for the pixels in the image. Also tried to calculate the steepness around each pixel. However, we didn't manage to get the Gdal to work for this.
2024-03-21 14:10:28 +00:00
# How do you plan to make it easily verifiable that your objectives are reached?
We can compare against the `gdal_contour` cli program which is a implementation widely used in other software. We can compare speed, memory usage and the result itself.
2024-04-10 10:32:22 +00:00
Each step in our program also produces a output which we can be worked on and evaluated independently.