The R-workflow for urban forest classification and individual crown parameterization is implemented as a standalone script containing the individual processing steps and generating output files for the results.
- Up-to-date installation of R (≥ 3.5.0)
- Installation of RTools for building R packages
- IDE like RStudio might be helpful
- Fork the repository from GitHub
- Open the RStudio project file to start a new R session and set the working directory to the project directory
- In RStudio open the R Markdown file
- Run either the complete script or individual chunks of code
- The first chunk of codes checks if all required packages are installed
- If the installation causes trouble, you might try a stepwise installation of the required packages
- The second chunk of code defines the input paths
- By default, the paths point to the supplied test data
- The third chunk of code sets the workflow variables
- Variables may need adjustment according to input LiDAR data specifications or the available multispectral image
- By default, the output paths point to the results directory