Skip to content

PMF Ground Classification Multithreading? #746

Answered by Jean-Romain
myerbro3 asked this question in Q&A
Discussion options

You must be logged in to vote

Is parallelizing this code something that I could do as a user?

It is probably a single line of code to change in the c++ source code here

void LAS::z_open(double resolution)

But we must ensure it is really parallelizable first.

If I were to use the above code, replacing csf() with pmf(), should I see an increase in performance compared to processing each .las individually?

You will read, classify and write multiple files simultaneously. It will very likely be more performant if done properly; don't use all cores, ensure your computer has enough memory, stuff like that. 64 GB is a lot but lidR is far from optimal in terms of memor…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Jean-Romain
Comment options

Answer selected by myerbro3
@myerbro3
Comment options

@Jean-Romain
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants