box_dimension {rTwig} | R Documentation |
Box Dimension
Description
R port of Dominik Seidel's fractal analysis "box-dimension" metric.
Usage
box_dimension(
cloud,
x = 1,
y = 2,
z = 3,
lowercutoff = 0.01,
rm_int_box = FALSE,
plot = FALSE
)
Arguments
cloud |
A point cloud object |
x |
The column name or position of the x coordinates. Defaults to the first column. |
y |
The column name or position of the y coordinates. Defaults to the second column. |
z |
The column name or position of the x coordinates. Defaults to the third column. |
lowercutoff |
The smallest box size determined by the point spacing of the cloud in meters. Defaults to 1 cm. |
rm_int_box |
Remove the initial box as TRUE or FALSE. Defaults to FALSE. |
plot |
Plot the results. The user can specify "2D", "3D", or "ALL" plots. FALSE disables plotting. Defaults to FALSE. |
Value
Returns a list
References
Arseniou G, MacFarlane DW, Seidel D (2021). “Measuring the Contribution of Leaves to the Structural Complexity of Urban Tree Crowns with Terrestrial Laser Scanning.” Remote Sensing, 13(14). doi:10.3390/rs13142773.
Mandelbrot BB (1983). The fractal geometry of nature. Freeman.
Saarinen N, Calders K, Kankare V, Yrttimaa T, Junttila S, Luoma V, Huuskonen S, Hynynen J, Verbeeck H (2021). “Understanding 3D structural complexity of individual Scots pine trees with different management history.” Ecology and Evolution, 11(6), 2561-2572. doi:10.1002/ece3.7216.
Seidel D (2018). “A holistic approach to determine tree structural complexity based on laser scanning data and fractal analysis.” Ecology and Evolution, 8(1), 128-134. doi:10.1002/ece3.3661.
Seidel D, Annighöfer P, Stiers M, Zemp CD, Burkardt K, Ehbrecht M, Willim K, Kreft H, Hölscher D, Ammer C (2019). “How a measure of tree structural complexity relates to architectural benefit-to-cost ratio, light availability, and growth of trees.” Ecology and Evolution, 9(12), 7134-7142. doi:10.1002/ece3.5281.
Examples
## Calculate Box Dimension
file <- system.file("extdata/cloud.txt", package = "rTwig")
cloud <- read.table(file, header = FALSE)
output <- box_dimension(cloud, plot = "ALL")
output