umr-amap / aRchi

R package aRchi. Tree architecture from terrestrial laser scanning (TLS) data
21 stars 6 forks source link

Create QSM in R #8

Closed Saadi4469 closed 2 years ago

Saadi4469 commented 2 years ago

Hello,

Thank you for the wonderful package, is there a way to create QSM in R? I don't have access to MATLAB to create QSMs nor am I familiar with it.

Thank you

oliviermartin7 commented 2 years ago

Hi,

Yes you can dot it. Please, check the readme:

Since the version 2.1.0 of the package, aRchi also provides the possibility to generate QSMs. To do so, three functions are provided :

skeletonize_pc() allow to build a skeleton.
smooth_skeleton().
add_radius() computes the radius of each cylinder based on point distance to the skeleton.

The aRchi's QSM method was designed to build very detailed QSMs from high quality TLS scans. However, it also allow to quickly reconstruct the coarse architecture of large point clouds of lower quality. A basic explaination of QSMs building in aRchi is shown in the figure bellow.

cheers,

Olivier