check_qsm_multistem: Correction of QSM for multistem trees.

Description Usage Arguments Value Author(s) Examples

View source: R/check_qsm_multistem.R

Description

Correction of QSM for multistem trees.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
check_qsm_multistem(
  qsm = "cyl_data*.txt",
  bifurcation_threshold = 1.5,
  percentage = 40,
  diameter_treshold = 0.035,
  min_tree_height = 2,
  plot_orders = F,
  plot_parts = F,
  replace_qsm = F
)

Arguments

qsm

A file containing a QSM, e.g. cyl_data_*.txt

bifurcation_threshold

Height threshold (in meter) under which bifurcation of an additional trunk is allowed. Default 1.5

percentage

Percentage difference in radius between potential new trunk and main trunk. Default 40.0

diameter_treshold

Minimum diameter (in meter) threhold for potential additional trunks. Default 0.035

min_tree_height

Minimum tree height for searching for additional trunks. Default 2.0

plot_orders

Plot branching orders original and checked QSM. Default to FALSE

plot_parts

QSM for each detected stem (column tree_part). Default to FALSE

replace_qsm

Should input QSM file be replaced. If FALSE _multistem.txt is added to file name. Default to FALSE

Value

The path to the corrected QSM file.

Author(s)

Matthias Kunz, last updated: 27.04.2019

Examples

1
check_qsm_multistem("cyl_data*.txt", 1.5, 40.0, 0.035, 2.0, FALSE, FALSE, FALSE)

spatial-mk/tre3d documentation built on April 1, 2020, 5:26 p.m.