-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresults_complex.qmd
35 lines (26 loc) · 1.32 KB
/
results_complex.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
title: "Complex tasks"
author:
- name: Piotr Tompalski
email: [email protected]
format: html
engine: knitr
lightbox: true
date: 08/15/2024
date-modified: today
code-block-bg: true
code-block-border-left: "#31BAE9"
---
The complex tasks described below consist of multiple individual steps executed within a single processing workflow, closely simulating real-world scenarios. When processing point cloud data, routines often involve a series of tasks performed sequentially, where data is read, processed, and saved at each stage. However, `lasR` allows users to build processing pipelines where the input data is read only once. This approach significantly reduces the overall processing time.
## Complex task 1
This processing routine included three tasks: generate DEM, normalize the point cloud, and generate CHM. The following `lasR` pipeline was developed:
```{r, echo=F, message=F, warning=F}
source("R/0_setup.R")
x <- benchmark_tasks %>% filter(task_id == "complex_task1") %>% pull(task_call_lasR)
x <- str_remove_all(string = x, pattern = " ")
cat(x)
```
The total processing time for data processed sequentially was calculated by summing the processing times of the three basic tasks included in the routine.
### Results
![](graphics/result_tasks_complex1.png)
![](graphics/result_tasks_complex1_delta.png)