run_treeseg: runs treeSeg.exe (USDA FUSION) across a bunch of .dtm caanopy...

View source: R/run_treeseg.R

run_treesegR Documentation

runs treeSeg.exe (USDA FUSION) across a bunch of .dtm caanopy surfaces

Description

runs treeSeg.exe (USDA FUSION) across a bunch of .dtm caanopy surfaces

Usage

run_treeseg(
  dir_dtms = NA,
  dtm_paths = NA,
  dir_out = NA,
  ht_threshold = 40,
  switches = "/shape",
  treeseg_path = "c:\\fusion\\treeseg.exe",
  ncore = 4
)

Arguments

dir_dtms

(character - optional) must provide either dir_dtm - a directory with .dtm CSM files - or dtm_paths

dtm_paths

(character - optional) must provide either dtm_paths - a vector of .dtm CSM paths - or dir_dtm

dir_out

(character - required) where to send outputs

ht_threshold

(numeric or character - required) minimum height to be segmented

switches

(character - optional) switches to treeseg.exe, see fusion documentation

treeseg_path

(character - required) where is the .exe located

ncore

(integer - optional) number of cores to use for processing, defaults to 4

Details

runs treeSeg.exe (USDA FUSION) across a bunch of .dtm caanopy surfaces


Revision History

1.0 5/8/2020 FUnction created

Value

<Delete and Replace>

Author(s)

Jacob Strunk <Jacob.strunk@usda.gov>

See Also

run_canopyModel
project_create

Examples


run_treeseg(
   dir_dtms = "D:\\Box\\VMARS\\Projects\\DAP_evaluation_Meston\\R\\DAP_Lidar_analysis\\RSForInvt\\canopymodel\\individual"
   ,dtm_paths = NA
   ,dir_out = "D:\\Box\\VMARS\\Projects\\DAP_evaluation_Meston\\R\\DAP_Lidar_analysis\\RSForInvt\\ITD"
   ,switches = "/shape"
   ,treeseg_path = "c:\\fusion\\treeseg.exe"
   ,ncore = 4
 )


jstrunk001/RSForInvt documentation built on April 18, 2022, 11:03 p.m.