Skip to content

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:

  1. Builds the crown envelope: the solid the crown occupies, cut into voxels. Each voxel records the fraction of its volume inside the crown.
  2. Chooses the occupied voxels: a weighted random draw that leaves gaps inside the envelope, so the crown is porous rather than solid.
  3. 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.

Four vertical sections through the same ponderosa pine crown at 0.5 metre resolution, side by side, from the crown base at 8.8 metres to the tree top at 22 metres. Panel 1, envelope: a solid crown about 7 metres wide, widest near its base and rounded at the top, with partial voxels along its edges. Panel 2, probability: the same crown shaded by its weight, lowest at the bottom and along the stem and highest at the top and outer edge. Panel 3, occupied: about half of the crown's voxels, scattered with gaps, sparse near the crown base and along the stem. Panel 4, bulk density: the occupied voxels in green, with partial edge voxels at a lower density than full ones. Four vertical sections through the same ponderosa pine crown at 0.5 metre resolution, side by side, from the crown base at 8.8 metres to the tree top at 22 metres. Panel 1, envelope: a solid crown about 7 metres wide, widest near its base and rounded at the top, with partial voxels along its edges. Panel 2, probability: the same crown shaded by its weight, lowest at the bottom and along the stem and highest at the top and outer edge. Panel 3, occupied: about half of the crown's voxels, scattered with gaps, sparse near the crown base and along the stem. Panel 4, bulk density: the occupied voxels in green, with partial edge voxels at a lower density than full ones.

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.

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_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_modelShapeWidest at
purves (default)species-specific profile from Purves et al. (2007)the crown base
betaspecies-group beta distribution, after Ferrarese et al. (2015)inside the crown, by species group
coneright circular conethe crown base
cylinderright circular cylinderthe same radius top to bottom
single_ellipsoidhalf-ellipsoid of revolutionthe crown base
dual_ellipsoidtwo half-ellipsoids joined at the crown midpointthe midpoint
single_paraboloidparaboloid of revolutionthe crown base
dual_paraboloidtwo paraboloids joined at the crown midpoint, the LANL Trees crown shapethe 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.

Eight vertical sections through the same tree, one per crown profile model, in two rows of four, each from the crown base at 8.8 metres to the tree top at 22 metres. In each, voxels fully inside the crown are shaded solid, voxels on its edge are shaded lighter, and a pink line traces the profile's radius on both sides of the stem. purves is widest near the base with a rounded top. beta is a narrower egg shape with a rounded base. cone narrows in straight lines to a point. cylinder is a straight-sided block. single_ellipsoid and single_paraboloid are widest at the base and taper upward, the paraboloid to a sharper top. dual_ellipsoid is an oval and dual_paraboloid a pointed oval, both widest at mid-height. Eight vertical sections through the same tree, one per crown profile model, in two rows of four, each from the crown base at 8.8 metres to the tree top at 22 metres. In each, voxels fully inside the crown are shaded solid, voxels on its edge are shaded lighter, and a pink line traces the profile's radius on both sides of the stem. purves is widest near the base with a rounded top. beta is a narrower egg shape with a rounded base. cone narrows in straight lines to a point. cylinder is a straight-sided block. single_ellipsoid and single_paraboloid are widest at the base and taper upward, the paraboloid to a sharper top. dual_ellipsoid is an oval and dual_paraboloid a pointed oval, both widest at mid-height.

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.

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 except beta uses it, so a tree is equally wide under each of them and only the shape changes. beta computes its own radius from the crown’s length.
  • inventory_column: a radius in meters read from a column of the inventory, such as the crown_radius that 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.

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:

LevelWhat it needsWhat it measuresWhat stays modelled
Allometric crownsspecies, DBH, height and crown base heightnothing about the crownwidth and shape
Measured crown radiusthe above, plus a crown-radius columneach crown’s widthshape
Measured crown shapethe above, plus a crown Feature from a CHMeach crown’s outline and top surfacethe 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. beta and the two dual_ 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.

Four 100 by 100 metre map panels of the same patch of open forest. Top left: the lidar canopy height model, separate green crowns on bare ground, with crown outlines and a pink dot at each tree top. Most of the ground is open. The other three panels colour each column by the tree that owns its top voxel, with the crown outlines drawn as thin lines. Allometric crowns: blocky round patches centred on each stem, some larger and some smaller than their outlines. Measured crown radius: round patches about as big as their outlines. Measured crown shape: patches that follow each outline's irregular shape. Four 100 by 100 metre map panels of the same patch of open forest. Top left: the lidar canopy height model, separate green crowns on bare ground, with crown outlines and a pink dot at each tree top. Most of the ground is open. The other three panels colour each column by the tree that owns its top voxel, with the crown outlines drawn as thin lines. Allometric crowns: blocky round patches centred on each stem, some larger and some smaller than their outlines. Measured crown radius: round patches about as big as their outlines. Measured crown shape: patches that follow each outline's irregular shape.

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 %.

Three vertical sections along the same 100 metre line, stacked, each showing voxels coloured by live foliage bulk density on a log scale from 0.01 to 2 kilograms per cubic metre, with the lidar CHM drawn on each as a stepped line that rises into separate crowns up to 19.6 metres tall. The same nine trees appear in each. Allometric crowns and measured crown radius: clusters of voxels centred on each stem whose tops and sides rise above or stop short of the CHM line in places. Measured crown shape: crowns whose tops follow the CHM line. Three vertical sections along the same 100 metre line, stacked, each showing voxels coloured by live foliage bulk density on a log scale from 0.01 to 2 kilograms per cubic metre, with the lidar CHM drawn on each as a stepped line that rises into separate crowns up to 19.6 metres tall. The same nine trees appear in each. Allometric crowns and measured crown radius: clusters of voxels centred on each stem whose tops and sides rise above or stop short of the CHM line in places. Measured crown shape: crowns whose tops follow the CHM line.

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.

Three 3D views of the same tree from the same camera, side by side, each a brown stem on a small disc with a crown of voxel cubes coloured by live foliage bulk density. Allometric crowns and measured crown radius: round, symmetric crowns of similar width. Measured crown shape: a crown of similar width with an uneven outline. Three 3D views of the same tree from the same camera, side by side, each a brown stem on a small disc with a crown of voxel cubes coloured by live foliage bulk density. Allometric crowns and measured crown radius: round, symmetric crowns of similar width. Measured crown shape: a crown of similar width with an uneven outline.

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.

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.

Three rows, one each for alpha, beta and rho. Each row has three vertical sections through the same ponderosa pine crown, shaded green by the share of 200 draws in which each voxel is occupied, and a line chart. Alpha 0, 1 and 4: at 0 the crown is evenly shaded. At 4 the outer shell is almost always occupied and a wide core around the stem is almost never occupied. The chart plots share occupied against depth inside the envelope. For alpha 0 it falls gently from 0.52 to 0.28 at 3.5 metres in. For alpha 1 it falls to zero at 3.5 metres and for alpha 4 at 2.5 metres. Beta 0, 1 and 4: at 0 the crown is evenly shaded top to bottom. At 4 the crown above 16 metres is almost always occupied and the crown below 12 metres almost never. The chart plots share occupied against height: a vertical line near 0.5 for beta 0, and curves that rise with height for 1 and 4. Rho 0.25, 0.5 and 0.75: the whole crown is occupied more often as rho grows, and the chart's three curves shift right. Three rows, one each for alpha, beta and rho. Each row has three vertical sections through the same ponderosa pine crown, shaded green by the share of 200 draws in which each voxel is occupied, and a line chart. Alpha 0, 1 and 4: at 0 the crown is evenly shaded. At 4 the outer shell is almost always occupied and a wide core around the stem is almost never occupied. The chart plots share occupied against depth inside the envelope. For alpha 0 it falls gently from 0.52 to 0.28 at 3.5 metres in. For alpha 1 it falls to zero at 3.5 metres and for alpha 4 at 2.5 metres. Beta 0, 1 and 4: at 0 the crown is evenly shaded top to bottom. At 4 the crown above 16 metres is almost always occupied and the crown below 12 metres almost never. The chart plots share occupied against height: a vertical line near 0.5 for beta 0, and curves that rise with height for 1 and 4. Rho 0.25, 0.5 and 0.75: the whole crown is occupied more often as rho grows, and the chart's three curves shift right.

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.

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.

Four line charts in a two by two grid, of foliage mass in kilograms against DBH from 5 to 80 centimetres, one each for lodgepole pine, ponderosa pine, Douglas-fir and red maple, each with an nsvb line and a jenkins line. The lines are close for small trees and separate as DBH grows. At 80 centimetres jenkins gives more foliage in every panel: 187 against 163 kilograms for ponderosa pine, about 1.6 times more for lodgepole pine and red maple, and about 2.5 times more for Douglas-fir, 264 against 104 kilograms. Four line charts in a two by two grid, of foliage mass in kilograms against DBH from 5 to 80 centimetres, one each for lodgepole pine, ponderosa pine, Douglas-fir and red maple, each with an nsvb line and a jenkins line. The lines are close for small trees and separate as DBH grows. At 80 centimetres jenkins gives more foliage in every panel: 187 against 163 kilograms for ponderosa pine, about 1.6 times more for lodgepole pine and red maple, and about 2.5 times more for Douglas-fir, 264 against 104 kilograms.

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.

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.

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.

Two charts. Left: foliage in tonnes per 1 metre height layer against height, with three nearly identical lines for allometric crowns, measured crown radius and measured crown shape, all peaking at about 3 tonnes near 8 metres. Right: the number of filled voxels against live foliage bulk density on a log scale. The allometric line peaks highest, at about 16,000 voxels near 0.24 kilograms per cubic metre. The two measured lines peak at about 11,000 voxels near 0.15 to 0.17 kilograms per cubic metre. Two charts. Left: foliage in tonnes per 1 metre height layer against height, with three nearly identical lines for allometric crowns, measured crown radius and measured crown shape, all peaking at about 3 tonnes near 8 metres. Right: the number of filled voxels against live foliage bulk density on a log scale. The allometric line peaks highest, at about 16,000 voxels near 0.24 kilograms per cubic metre. The two measured lines peak at about 11,000 voxels near 0.15 to 0.17 kilograms per cubic metre.

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³.

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.

A log-log chart of how many filled voxels fall at each live foliage bulk density, from 0.001 to 20 kilograms per cubic metre. The no-limit line and the capped line overlap everywhere below 2, peaking near 0.15. Above 2, the no-limit line continues as a thin tail of a few voxels out to about 12, while the capped line ends with a spike at 2, marked by a dashed vertical line. A log-log chart of how many filled voxels fall at each live foliage bulk density, from 0.001 to 20 kilograms per cubic metre. The no-limit line and the capped line overlap everywhere below 2, peaking near 0.15. Above 2, the no-limit line continues as a thin tail of a few voxels out to about 12, while the capped line ends with a spike at 2, marked by a dashed vertical line.

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.

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_density and volume_fraction. Two crowns sharing a voxel give it the foliage of both.
  • Taken from the tallest tree: spcd, tree_id, savr.foliage and 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 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.

Two vertical sections along the same 100 metre line, stacked, sharing one green color scale for live foliage bulk density from 0 to about 0.67 kilograms per cubic metre. The top section, at 2 m horizontal and 1 m vertical, shows crowns as coarse blocks. The bottom section, at 1 m horizontal and 0.5 m vertical, shows the same stand with finer, more ragged crown outlines and more gaps inside each crown. Two vertical sections along the same 100 metre line, stacked, sharing one green color scale for live foliage bulk density from 0 to about 0.67 kilograms per cubic metre. The top section, at 2 m horizontal and 1 m vertical, shows crowns as coarse blocks. The bottom section, at 1 m horizontal and 0.5 m vertical, shows the same stand with finer, more ragged crown outlines and more gaps inside each crown.

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.

BandUnitWhat it holds
bulk_density.foliage.livekg/m**3live foliage per voxel volume, summed over crowns
bulk_density.foliage.deadkg/m**3dead foliage, from component_states
leaf_area_density1/mone-sided leaf area per voxel volume: foliage mass × the species’ specific leaf area
savr.foliage1/mthe 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
spcdthe FIA species code of the tallest tree in the voxel
tree_idthe inventory tree_id of the tallest tree in the voxel, 0 where there is none
volume_fraction1 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.

  • 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.