How tree voxelization works
You are viewing in-progress documentation for v2. Switch to the stable version for the current production release.
Voxelization turns a tree inventory into a 3D canopy fuel grid. Each live tree in the inventory becomes a cluster of voxels holding its foliage, and the trees’ voxels are combined into one grid over the domain. This page explains each step, the settings that change it, and the parts of the model that are fixed. The requests are in Voxelize a tree inventory into a 3D canopy grid.
For one tree, voxelization:
- Builds the crown envelope: the solid the crown occupies, cut into voxels. Each voxel records the fraction of its volume inside the crown.
- Chooses the occupied voxels: a weighted random draw that leaves gaps inside the envelope, so the crown is porous rather than solid.
- Spreads the tree’s foliage mass over the occupied voxels, giving each a bulk density.
Then it adds the tree to the grid, summing with any crowns it overlaps.
The three steps for one ponderosa pine (45 cm DBH, 22 m tall, crown base height 8.8 m), shown as a vertical section through the stem at 0.5 m. 1: the envelope, shaded by the fraction of each voxel inside the crown. 2: the probability that each voxel is chosen. 3: the voxels chosen, 1,469 of the envelope’s 2,939. 4: the tree’s 50.1 kg of foliage spread over them. A voxel only partly inside the crown holds a matching share of the density. Illustrative, computed with fastfuels-core 0.18.0.
The crown envelope
Section titled “The crown envelope”Every crown runs from the crown base up to the tree’s height. The
crown base is the inventory’s crown_base_height column, so a tree 20 m tall
with a crown base height of 12 m has a crown 8 m long. Between those heights,
the envelope is a solid of revolution around the stem. Its shape comes from
the crown profile model, and its width from the maximum crown radius.
Crown profile models
Section titled “Crown profile models”crown_profile_model gives the radius of the crown at each height. The
models differ in where the crown is widest and how it narrows toward the top
and the base.
crown_profile_model | Shape | Widest at |
|---|---|---|
purves (default) | species-specific profile from Purves et al. (2007) | the crown base |
beta | species-group beta distribution, after Ferrarese et al. (2015) | inside the crown, by species group |
cone | right circular cone | the crown base |
cylinder | right circular cylinder | the same radius top to bottom |
single_ellipsoid | half-ellipsoid of revolution | the crown base |
dual_ellipsoid | two half-ellipsoids joined at the crown midpoint | the midpoint |
single_paraboloid | paraboloid of revolution | the crown base |
dual_paraboloid | two paraboloids joined at the crown midpoint, the LANL Trees crown shape | the midpoint |
purves and beta are fitted to measured crowns. purves gives each
species its own taper. beta assigns each species to one of ten species
groups and uses a beta-distribution curve fitted to that group. The six
geometric shapes are the same for every species, which makes them useful when
you want to match another model’s crowns or test how sensitive a fire
simulation is to crown shape.
The crown envelope of one ponderosa pine under each crown_profile_model,
as a vertical section through the stem at 0.5 m. The line is the profile’s
radius at each height. Each voxel is shaded by the fraction of its volume
inside it. Every profile but beta has the same maximum radius, so only the
shape changes. Illustrative, computed with fastfuels-core 0.18.0.
Maximum crown radius
Section titled “Maximum crown radius”The profile model gives the crown’s shape relative to its widest point.
max_crown_radius_source sets how wide that point is:
allometry(default): the Purves et al. (2007) maximum crown radius, from species, DBH, height and crown base height. Every profile exceptbetauses it, so a tree is equally wide under each of them and only the shape changes.betacomputes its own radius from the crown’s length.inventory_column: a radius in meters read from a column of the inventory, such as thecrown_radiusthat CHM crown segmentation measures, or radii you measured in the field. The profile model still sets the shape. A tree with no value in the column gets its allometric radius.
Where crown geometry comes from
Section titled “Where crown geometry comes from”The crown can be drawn entirely from the tree’s attributes, or partly from a canopy height model (CHM) of the stand. There are three levels:
| Level | What it needs | What it measures | What stays modelled |
|---|---|---|---|
| Allometric crowns | species, DBH, height and crown base height | nothing about the crown | width and shape |
| Measured crown radius | the above, plus a crown-radius column | each crown’s width | shape |
| Measured crown shape | the above, plus a crown Feature from a CHM | each crown’s outline and top surface | the crown’s bottom |
Allometric crowns are the default and work with any inventory. Every tree of the same species, size and crown base height gets the same crown. The equations describe an average tree, so in a stand whose crowns are wider or narrower than average, the canopy is too open or too closed.
Measured crown radius sets max_crown_radius_source to a radius column.
It fixes how much ground each crown covers, but every crown is still a solid
of revolution centred on its stem. A crown that leans into a gap becomes a
circle, and circles of neighbouring trees can overlap where the real crowns
only touch.
Measured crown shape sets crown_geometry_source to a
crown Feature,
which records each crown’s outline on a CHM. Each tree with a crown in the
Feature gets:
- Outline: the crown’s CHM cells, wherever they lie around the stem.
- Top: the CHM height of each of those cells.
- Bottom: the crown profile model, rising from the crown base. A profile
widest at the crown base gives a flat bottom.
betaand the twodual_profiles give a bottom that rises toward the crown’s edge.
Crowns from a Feature never overlap, because each CHM cell belongs to one
crown, and the top of the canopy follows the CHM cell by cell. A tree with no
crown in the Feature, whose crown does not contain its stem, or with no CHM
height above its crown base is drawn with a parametric crown instead. The
grid’s source.crown_geometry_counts records how many trees each case
applied to.
A 100 m square of an open stand north of the Blackfoot River, Montana, at each level. Top left: a 0.6 m lidar CHM with the crown Feature’s outlines and the tree tops. The other panels colour each column by the tree that owns its highest voxel. A tree keeps its colour across panels. Across the whole 400 m domain, the CHM is above 2 m over 27.9 % of the ground. Allometric crowns cover 33.1 %, measured radii 29.0 % and measured shapes 32.3 %.
A 100 m vertical slice through each grid, with the lidar CHM as a line. At the first two levels, each crown’s top is the tree’s height and its outline is a solid of revolution, so it can rise above or stop short of the CHM. Measured shapes take their top from the CHM, cell by cell.
One ponderosa pine from the same stand (21.5 m tall, 43.3 cm DBH, crown base height 9.2 m) at each level, at 1 m. Its crown covers 43 m² of ground with allometric crowns, 39 m² with its measured 3.1 m radius, and 40 m² with its measured outline. It holds about 46 kg of foliage at each level.
A CHM sees only the top of the canopy, and a CHM from aerial imagery, such as NAIP, is itself a model of canopy height. A tree that shares its CHM cells with a taller neighbour gets no crown in the Feature. For how the CHM source changes the trees you detect, see Why the source changes the count.
Which voxels are occupied
Section titled “Which voxels are occupied”A real crown is not a solid block of foliage. To leave gaps, voxelization fills only part of the envelope, choosing voxels at random with a weight for each one. Three parameters, from the FastFuels crown occupancy model (Marcozzi et al. 2025), control the draw:
- alpha sets the horizontal weight. Each voxel’s depth inside the envelope is its distance to the nearest point outside it, in any direction. The weight is the envelope’s greatest depth minus the voxel’s depth, raised to the power alpha, so it rises toward the envelope’s surface. At 0 every depth is equally likely. Larger values move foliage toward the outside of the crown and away from the stem.
- beta sets the vertical weight: the voxel’s height above the crown base, raised to the power beta. At 0 every height is equally likely. Larger values move foliage toward the top of the crown.
- rho is the share of the envelope’s voxels that are filled. The rest of the envelope is left empty.
The weights multiply, and voxels are drawn without replacement until the share rho is reached. The API uses alpha = 0.5, beta = 0.5 and rho = 0.5 for every crown, parametric or measured, except that a crown of fewer than 16 voxels is filled completely. These values are fixed. The request has no field for them.
The ponderosa pine from the figures above under different alpha (top), beta (middle) and rho (bottom), each with the other two at the API’s values. Each voxel is shaded by how often it is occupied over 200 draws with different seeds. The charts average that share by depth inside the envelope (alpha) or by height (beta and rho). Illustrative, computed with fastfuels-core 0.18.0.
The draw is random, so the request’s seed decides which voxels are chosen.
The same inventory, settings and seed always give the same grid, and the seed
is stored on the grid as source.seed. A different seed gives another
realization with the same statistics: the same mass in each tree, spread over
a different set of voxels.
How much foliage, and where it goes
Section titled “How much foliage, and where it goes”Foliage mass
Section titled “Foliage mass”biomass_source.equations sets the allometric equations that give each
tree’s foliage mass, in kilograms of dry weight:
nsvb(default): the USDA Forest Service National Scale Volume and Biomass equations (Westfall et al. 2023), from species, DBH and height.jenkins: the national equations of Jenkins et al. (2003), from DBH and species group.
With "type": "inventory_columns", biomass_source instead reads each
tree’s foliage mass, in kilograms, from a column of the inventory.
Foliage mass from each set of equations for four species, across DBH. Each tree’s crown base is at half its height, and its height rises with DBH to 34.2 m, because the NSVB equations also use height. Illustrative, computed with fastfuels-core 0.18.0.
The choice of equations changes how much fuel the canopy holds, by more than a factor of two for a large Douglas-fir. It does not change where the foliage goes.
Live and dead
Section titled “Live and dead”Voxelization uses only live trees. A tree whose fia_status_code is anything
other than 1 (live) is left out. A tree with no status counts as live.
component_states splits each tree’s foliage into a live share and a dead
share, the same for every tree. The default is all live. With a split of 0.9
live and 0.1 dead, each voxel’s foliage goes 90 % to
bulk_density.foliage.live and 10 % to bulk_density.foliage.dead.
Foliage is the only component that can be voxelized today. The request
accepts branchwood and fine, but the job fails.
Spreading the mass
Section titled “Spreading the mass”The tree’s foliage mass is spread evenly over its occupied voxels: every fully occupied voxel gets the same bulk density, and a voxel only partly inside the crown gets the same share of it as its volume fraction. The total is the tree’s foliage mass. This is the uniform method of the FastFuels paper. The API has no other.
Within each processing chunk, trees with parametric crowns are grouped by
species, DBH in 2.75 cm bins, height in 1 m bins and crown ratio
(1 − crown_base_height / height) in 0.1 bins. Each tree in a group takes a
crown and foliage mass drawn for the group’s first tree. A measured crown is
drawn for its own tree.
Because the mass is fixed and the volume is not, everything that changes the crown’s volume changes its density. A wider crown or a higher rho spreads the same foliage over more voxels, so each holds less.
The Blackfoot River stand at each level of crown geometry. Left: the foliage in each 1 m layer of height, nearly the same at every level. Right: how many voxels hold each bulk density. The three grids hold 38.6 t, 38.7 t and 39.1 t of foliage. Allometric crowns fill 249,000 voxels at a median 0.134 kg/m³. Measured radii fill 223,000 at 0.125 kg/m³, and measured shapes fill 243,000 at 0.110 kg/m³.
Capping bulk density
Section titled “Capping bulk density”A small crown that holds a lot of foliage can produce a few very dense voxels.
max_bulk_density sets an upper limit. In any voxel above it, the bulk density
is lowered to the limit, keeping its live and dead split, and
leaf_area_density is lowered with it. The foliage above the limit is removed
from the grid, so a capped grid holds less mass than the trees.
Voxel bulk density in the Blackfoot River measured-crown-shape grid, without
a limit and with max_bulk_density: 2. Below the limit the two grids are
the same. The 189 voxels above it are lowered to 2 kg/m³, which removes
242 kg, 0.62 % of the stand’s 39.1 t of foliage.
Combining trees into one grid
Section titled “Combining trees into one grid”Each tree’s voxels are added to the grid at the tree’s position. Where crowns overlap, the bands combine in one of two ways:
- Summed: the bulk density bands,
leaf_area_densityandvolume_fraction. Two crowns sharing a voxel give it the foliage of both. - Taken from the tallest tree:
spcd,tree_id,savr.foliageand the fuel moisture bands. The voxel records the tallest tree that occupies it. The grid is built in chunks. Where crowns from trees in neighbouring chunks overlap, the voxel records the tree from the chunk written last.
The grid’s vertical extent runs from the ground to the tallest crown top. It stores height above ground, not elevation, so combine it with a topography grid to place it on the terrain.
Resolution
Section titled “Resolution”resolution sets the voxel size: horizontal for x and y, vertical for z.
The default, 2 m by 1 m, is also QUIC-Fire’s default. A finer lattice traces
each crown’s outline and inner gaps more closely, and a crown of fewer than
16 voxels is filled solid, which happens more often at coarse resolutions.
Halving both sizes gives eight times as many voxels to store and compute.
The same trees and seed on two lattices, from the Blue Mountain canopy grid in the voxelize guide. The finer lattice traces each crown’s outline and gaps at four times the detail per section, for eight times the voxels over the whole grid.
Every grid in a combined export shares one lattice, so the canopy grid’s horizontal resolution is usually the one the fire model will run at.
| Band | Unit | What it holds |
|---|---|---|
bulk_density.foliage.live | kg/m**3 | live foliage per voxel volume, summed over crowns |
bulk_density.foliage.dead | kg/m**3 | dead foliage, from component_states |
leaf_area_density | 1/m | one-sided leaf area per voxel volume: foliage mass × the species’ specific leaf area |
savr.foliage | 1/m | the foliage surface-area-to-volume ratio of the tallest tree’s species group |
fuel_moisture.live, fuel_moisture.dead | % | the uniform moisture set in moisture_model. Live defaults to 100, dead to 10 |
spcd | the FIA species code of the tallest tree in the voxel | |
tree_id | the inventory tree_id of the tallest tree in the voxel, 0 where there is none | |
volume_fraction | 1 for each crown that occupies the voxel, summed over crowns |
Each requested band is stored on the same lattice, in the order requested. Only foliage bulk density carries mass. The other bands describe the voxels that hold it.
References
Section titled “References”- Ferrarese, J., Affleck, D., and Seielstad, C. (2015). Conifer crown profile models from terrestrial laser scanning. Silva Fennica 49(1).
- Jenkins, J. C., Chojnacky, D. C., Heath, L. S., and Birdsey, R. A. (2003). National-scale biomass estimators for United States tree species. Forest Science 49(1), 12–35.
- Marcozzi, A., Wells, L., Parsons, R., Mueller, E., Linn, R., and Hiers, J. K. (2025). FastFuels: Advancing wildland fire modeling with high-resolution 3D fuel data and data assimilation. Environmental Modelling & Software 183, 106214.
- Purves, D. W., Lichstein, J. W., and Pacala, S. W. (2007). Crown plasticity and competition for canopy space: a new spatially implicit model parameterized for 250 North American tree species. PLoS ONE 2(9), e870.
- Westfall, J. A., Coulston, J. W., Gray, A. N., Shaw, J. D., Radtke, P. J., et al. (2023). A national-scale tree volume, biomass, and carbon modeling system for the United States. Gen. Tech. Rep. WO-104, USDA Forest Service.
Where to go next
Section titled “Where to go next”- Voxelize a tree inventory into a 3D canopy grid — the request for each setting on this page.
- Create a crown Feature from a CHM — outline each crown for measured crown shapes.
- Generate a tree inventory from a CHM — detect trees and measure their crown radii.
- API reference — every field of the voxelize request.