Skip to Content
SensorsSensors
  • Article
  • Open Access

11 July 2025

20 Pages

Masks-to-Skeleton: Multi-View Mask-Based Tree Skeleton Extraction with 3D Gaussian Splatting

,
,
,
and
Graduate School of Information Science and Technology, The University of Osaka, 1-5 Yamadaoka, Suita 565-0871, Osaka, Japan
*
Author to whom correspondence should be addressed.
This article belongs to the Section Remote Sensors

Abstract

Accurately reconstructing tree skeletons from multi-view images is challenging. While most existing works use skeletonization from 3D point clouds, thin branches with low-texture contrast often involve multi-view stereo (MVS) to produce noisy and fragmented point clouds, which break branch connectivity. Leveraging the recent development in accurate mask extraction from images, we introduce a mask-guided graph optimization framework that estimates a 3D skeleton directly from multi-view segmentation masks, bypassing the reliance on point cloud quality. In our method, a skeleton is modeled as a graph whose nodes store positions and radii while its adjacency matrix encodes branch connectivity. We use 3D Gaussian splatting (3DGS) to render silhouettes of the graph and directly optimize the nodes and the adjacency matrix to fit given multi-view silhouettes in a differentiable manner. Furthermore, we use a minimum spanning tree (MST) algorithm during the optimization loop to regularize the graph to a tree structure. Experiments on synthetic and real-world plants show consistent improvements in completeness and structural accuracy over existing point-cloud-based and heuristic baseline methods.

1. Introduction

Skeletal structures of plants (e.g., tree branches) encode the fundamental topology and geometry of plants [1] and play a crucial role in agricultural and botanical analysis. Accurately estimating plant skeletons benefits various downstream tasks, including high-throughput phenotyping [2,3,4,5,6], plant-organ segmentation [7,8], and agri-tech applications such as robotic pruning and fruit harvesting [9,10].
Traditional methods of plant skeletonization typically rely on high-fidelity 3D point cloud input captured by expensive sensing systems, such as light detection and ranging (LiDAR) and structured light scanners. While LiDAR offers millimeter-level precision, its high cost and operational complexity limit broader applicability [11,12]. In contrast, photogrammetry-based multi-view image methods offer a more accessible choice [13]. However, the branches’ characteristics of low-texture contrast and thin nature often cause multi-view stereo (MVS) to yield noisy and fragmented point clouds, in which branches are often missing or disconnected.
Existing methods of tree skeleton estimation from 3D point clouds typically follow a two-stage routine: first, extracting an initial skeleton from the point clouds and then refining connectivity using heuristic or learning-based rules. Current approaches fall into three families. Among them, particle flow-based models require heavy parameter tuning [14,15,16]. Geometry-based methods, including thinning [17,18,19], clustering [20,21,22], and minimum spanning tree (MST) refinement [23,24,25], are effective under clean and complete data. Recent deep-learning methods like Smart-Tree and TreePartNet [22,26] demand large labelled sets and struggle with real-world noise.
To overcome the limitations of point-cloud-based skeletonization, we propose a mask-guided graph optimization framework that estimates a 3D tree graph structure directly from multi-view segmentation masks. We represent the skeleton as a graph, where nodes have their position and radii of branches, and the edges are represented as an adjacency matrix.
Given the rough initial graph extracted from MVS-based point clouds, we optimize it via 3D Gaussian splatting (3DGS) [27], projecting the graph skeleton onto the image plane. We minimize a multi-view silhouette loss so that the graph fits the observed silhouettes. The inherent blur of 3D Gaussians achieves robustness to appearance differences among views [27], resulting in camera pose errors and mask errors in our case.
Our method stands on the recent notable development of segmentation algorithms, where yielding accurate 2D masks is essential for guiding the mask-based refinement of the 3D skeleton. Currently, no segmentation model is trained explicitly for tree branches, especially under natural scenes’ diverse lighting and occlusion conditions. We, therefore, combine a recent language-grounded segmentation model, Lang-SAM (Language segment-anything, https://github.com/luca-medeiros/lang-segment-anything (accessed on 10 May 2025)), and an accurate segmentation model, BiRefNet-HQ [28], for acquiring accurate segmentation of tree branches.
Figure 1 illustrates the visual results of our method on real trees, where green regions represent predicted branches with their radii, blue points denote graph nodes, and red lines indicate branch connections, highlighting that our method faithfully extracts the graph structure as well as the tree shape as the nodes’ radii.
Figure 1. We reconstruct 3D branch structures using refined masks from multiple views, as shown in red. Transparent green overlays indicate the predicted tree shape and branch radii. Blue points and red lines represent graph nodes and branch connections, respectively.
Our key contribution is introducing a novel mask-guided optimization framework that estimates 3D tree-structured skeletons. By leveraging differentiable 3DGS, our method transforms the graph into soft silhouettes and aligns them with the multi-view masks. This design enables the model to mitigate pose and segmentation noise, yielding topologically valid and geometrically accurate skeletons without requiring point-cloud-specific tuning, as shown in our experiments comparing our method with the state-of-the-art tree skeletonization methods. Our implementation is available in the public GitHub repository (https://github.com/huntorochi/Masks-to-Skeleton, accessed on 18 May 2025).

3. Method

Our framework estimates accurate 3D plant skeletons from multi-view images, as shown in Figure 2. We first extract segmentation masks from multi-view images using the Lang-SAM and BiRefNet-HQ [28], which complementarily extract the semantic region information and fine details. We then initialize a rough tree graph structure by clustering the MVS-based 3DGS point cloud and the MST constraint. We convert the graph structure into Gaussian primitives for differentiable graph rendering and optimize the graph components with silhouette losses while considering tree structure validity.
Figure 2. Pipeline overview. The provided input images, two complementary mask generators, BiRefNet-HQ for high-resolution foreground masks, and Lang-SAM for language-guided object masks are fused into refined masks. We use the MST and clustering to obtain an initial graph. Finally, the initial graph is refined through multi-view masks, producing a 3D plant skeleton that is guaranteed to be a valid tree.

3.1. Preprocessing and Initialization

This section comprises two main components: (1) multi-model mask extraction and (2) graph initialization from filtered point clouds.

3.1.1. Mask Extraction

While our goal is not to propose a new segmentation method, obtaining a high-quality segmentation mask of trees is essential for supervising the graph optimization process described later. Accurate segmentation of plant masks in natural scenes has been challenging due to uncontrolled illumination and background clutter; however, we found that the recent development of image segmentation methods using foundation models enables reasonable segmentation of natural trees.
We adopt a two-stage strategy that combines the strengths of two foundation models: BiRefNet-HQ, a high-resolution foreground segmentation model, and Lang-SAM, a language-grounded model guided by text prompts. The fusion addresses the limitations of each model. BiRefNet-HQ generates spatially accurate masks but struggles to distinguish tree-only foreground from background clutter, while Lang-SAM lacks sufficient spatial resolution to capture fine structural details.
Specifically, given an RGB input image I R H × W × 3 , we first generate a foreground alpha mask M B { 0 , 1 } H × W with BiRefNet-HQ, which may contain objects other than the target tree but are judged as the foreground, as shown in Figure 3a. To suppress the leakage, we apply Lang-SAM with the text prompt “tree” to obtain the rough area of the target tree M L { 0 , 1 } H × W . Then, this is followed by the morphological closing Close ( · , s ) with a kernel size of s = 7 to reduce fragmentation artifacts, as shown in Figure 3b. Formally,
M ˜ L = Close ( M L , s ) .
Figure 3. Mask fusion pipeline. (a) The output of BirefNet-HQ retains fine structures but includes background noise (see light blue box). (b) Lang-SAM prediction before (top) and after (bottom) morphological closing, where closing fills small gaps. (c) The refined mask is obtained by combining both predictions, applying morphological filtering and connected component analysis to preserve only the main plant region. As a result, small background artifacts (red arrows) and ultra-thin branches (gray arrows) are effectively suppressed.
The final mask is computed by intersecting both masks and retaining only the largest connected component (see Figure 3c) as follows:
M final = LargestCC M B M ˜ L ,
where ∧ denotes element-wise logical AND, and LargestCC only retains the largest connected component.

3.1.2. Graph Initialization

In urban or roadside scenes, the camera motion is often restricted to part of the whole hemisphere, resulting in noisy and fragmented point clouds by MVS. We thus use 3DGS initialized by the MVS point cloud to further densify the points. Since both clouds often include unreliable outliers, we apply a multi-view mask consistency filtering, i.e., projecting each point into all views and retaining it only if its projection lies at least N min foreground masks.
Let P MVS = { p i R 3 } and P GS = { p i R 3 } denote the filtered point clouds from MVS and 3DGS, respectively. We then yield the dense point cloud as follows:
P init = P MVS P GS .
We clean P init using radius-based and statistical outlier removal, then apply K-means clustering. Let a tuple v i = ( c i , r i ) , ( 1 i K ) contain a cluster centroid c i R 3 and cluster’s median local radius r i R + . We connect the nodes using an MST algorithm, where the edge cost is defined as the Euclidean distance between c i , yielding the initial graph:
G init = V , E init = { ( c i , r i ) } i = 1 K , E init ,
where each node v i encodes the position and radius, and each edge ( i , j ) E init reflects a branch connection determined by the MST.
To enable the gradient-based optimization of the adjacency structure, we represent the graph connectivity using a differentiable adjacency matrix A R K × K . Specifically, we initialize adjacency probabilities with values close to 0 or 1 based on initial edges as follows:
A i j = 1 ϵ , ( i , j ) E init ϵ , ( i , j ) E init ,
where ϵ = 10 6 prevents gradient saturation. To facilitate optimization, we reparameterize the adjacency probabilities using the inverse sigmoid transformation:
A init = logit ( A ) = log A 1 A .

3.2. Mask-Guided Graph Refinement

3.2.1. Three-Dimensional Gaussian Splatting

Three-dimensional Gaussian splatting, introduced by Kerbl et al. [27], represents a scene as a set of anisotropic 3D Gaussians, facilitating efficient differentiable rendering. Each Gaussian primitive G is parameterized by a 3D center μ R 3 and a covariance matrix Σ R 3 × 3 :
G ( p ) = e 1 2 ( p μ ) Σ 1 ( p μ ) ,
where p R 3 denotes any 3D spatial location. The covariance matrix Σ is decomposed into a scaling matrix S = diag ( s 1 , s 2 , s 3 ) and a rotation matrix R SO ( 3 ) as follows:
Σ = R S S R .
In the 3DGS implementation, scale and rotation are represented by a scaling vector s = [ s 1 , s 2 , s 3 ] R 0 3 and the quaternion form q , respectively. Both parameters are optimized independently in the pipeline along with the optimization of Gaussian appearances { o , c } containing opacity o, and color c is represented as its RGB direct component (DC) and view-dependent spherical harmonics coefficients. The projected opacity α of a Gaussian at a pixel location is as follows:
α = 1 e o · G ( p ) .
In our pipeline, we specifically exploit opacity values to encode the probability of structural edges, which is detailed in the following section.

3.2.2. Mask-Guided Graph Refinement

Our key contribution is formulating the structural refinement of plant skeleton graphs as a self-supervised optimization problem using multi-view silhouette masks. Starting from the initial graph, we render Gaussian samples along each edge defined by the graph edges.
Formally, given an edge connecting node v i and v j with respective radii r i and r j , we uniformly sample points along the edge to create Gaussian primitives:
p n ( i j ) = c i + n N ( c j c i ) , r n ( i j ) = r i + n N ( r j r i ) , n = 0 , , N ,
where N denotes the number of sampled Gaussians per edge, ensuring dense coverage (we use N = 64 in all experiments).
To align the graph structure with silhouette masks, we initialize each Gaussian with isotropic scale parameters ( s x , s y , s z ) = ( r n ( i j ) , r n ( i j ) , r n ( i j ) ) and set the rotation and color parameters to fixed constants, which are not updated during optimization.
We explicitly parameterize edge existence probabilities using the differentiable adjacency matrix A defined earlier. The opacity of Gaussian primitives sampled along an edge ( i , j ) is thus directly tied to the adjacency probability A i j as follows:
o k ( i j ) = A i j = γ ( A i n i t ( i j ) ) ,
where γ ( · ) denotes the sigmoid activation.
During rendering, pixel-level opacity α is computed using the accumulation of projected Gaussian opacities, yielding a differentiable mask:
α ( x ) = 1 g G proj ( x ) ( 1 o g · G g ( x ) ) ,
where G proj ( x ) is the set of Gaussians projected onto pixel x .

3.3. Structure-Aware Graph Optimization

Our framework refines both the topology and geometry of the plant skeleton graph through two complementary objectives:
L total = L silhouette + L graph .

3.3.1. Silhouette Supervision

As described above, we render the graph structure using 3DGS and obtain a soft silhouette mask α ( x ) . We supervise this mask using the binary foreground segmentation mask M ( x ) extracted from multi-view images.
To guide the adjacency matrix A toward tree-like connectivity, we introduce a tree graph prior via a differentiable selective feature suppression (SFS) layer proposed in TreeFormer [42]. This layer converts an arbitrary graph to an MST-based tree graph in a differentiable manner, and thus, we convert the adjacency matrix A to the one representing an MST, A mst . We then obtain the MST graph’s soft silhouette mask α mst ( x ) in the same manner as computing the soft silhouette mask α ( x ) .
The final silhouette loss to minimize is as follows:
L silhouette = λ GS · L GS + λ MST · L MST ,
where
L GS = 1 | Ω | x Ω | α ( x ) M ( x ) | ,
L MST = 1 | Ω | x Ω | α mst ( x ) M ( x ) | ,
and Ω denotes the set of foreground-relevant pixels across all views, i.e., pixels within the union of all refined masks.
This setup encourages A to remain fully differentiable while being softly aligned with a plausible tree topology through silhouette supervision.

3.3.2. Graph Geometry Regularization

To encourage physically plausible and topologically meaningful structures, we incorporate five regularization terms inspired by trees’ characteristics:
Repulsion Loss L rep
Repulsion loss penalizes overly close node pairs using a Gaussian kernel:
L rep = i < j e c i c j 2 σ rep 2 .
Edge Length Loss L edge-short
Edge length loss penalizes short edges to suppress trivial links:
L edge-short = ( i , j ) E e c i c j 2 σ edge 2 .
Angle Fold Loss L angle
Angle fold loss penalizes sharp back-and-forth turns (i.e., zig-zag edges) by enforcing a minimum angle between consecutive edges. For each triple ( i , j , k ) sharing a common pivot node j, we compute the angle θ i j k formed between edges E ( i j ) and E ( j k ) , and apply the following:
L angle = ( i , j , k ) softplus cos θ i j k cos θ min .
Midpoint Direction Loss L mid
Midpoint direction loss penalizes directionally aligned edges that are spatially too close. For each edge pair ( i , j , k ) that shares a common node j, we consider the pair of edges E ( i j ) and E ( j k ) , and apply the loss if they are nearly collinear:
L mid = ( i , j , k ) softplus m ( i j ) m ( j k ) 2 d max ,
where m ( i j ) = 1 2 ( c i + c j ) and m ( j k ) = 1 2 ( c j + c k ) denote the midpoints of the two edges. We consider the pair only if the angle between the two edges satisfies the following:
cos ( θ i j k ) = ( c j c i ) ( c k c j ) c j c i · c k c j > τ dir .
Radius Lower Bound Loss L radius
Radius lower bound loss prevents branch radii from collapsing:
L radius = i E softplus ( r min r i ) .
We combine these terms into the full geometry-aware loss:
L graph = λ rep L rep + λ edge-short L edge-short + λ angle L angle + λ mid L mid + λ radius L radius .
Together, these modules form a fully differentiable pipeline that transforms raw 2D masks into a geometry- and topology-consistent 3D tree structure without the need for dataset-specific tuning or post-processing heuristics. The hyper-parameter settings are summarized in Section 4.1.

3.4. Overall Algorithm

To clearly illustrate our mask-guided tree skeleton reconstruction pipeline, we summarize our overall method in Algorithm 1.
Algorithm 1: Mask-Guided Tree Skeleton Reconstruction.
Sensors 25 04354 i001

4. Experiments

4.1. Implementation Details

We implement our method with PyTorch (v2.6.0) and 3DGS’s CUDA kernels for rasterization. All experiments were conducted on a Windows workstation equipped with an AMD 3970X CPU and an NVIDIA RTX 4090 GPU. Our method is implemented as a modular PyTorch framework, utilizing the gsplat rasterizer [43] for rendering.

Hyper-Parameters

We summarize all hyper-parameters used in the silhouette supervision and geometry-aware optimization. Unless otherwise specified, the following values are fixed throughout all experiments.
For silhouette loss, we set λ GS = 0.1 and λ MST = 1.0 . For geometry regularization, we fix all weights λ * = 0.05 and use thresholds σ rep = 2 cm , σ edge = 2 cm , θ min = 20 , τ dir = 0.90 , d max = 2 cm , and r min = 1 cm .

4.2. Dataset

We evaluate our method using two datasets that reflect both controlled and real-world conditions: one synthetic (hereafter referred to as the synthetic dataset) and one real-world (the real-world dataset), as illustrated in Figure 4.
Figure 4. Datasets used in our experiments. (a) Synthetic dataset. Blue boxes highlight L-system-based trees characterized by relatively straight and uniform branches, while pink boxes highlight Mtree-based trees exhibiting more pronounced curvature and significant diameter variation. (b) Real-world dataset. Images of urban and roadside trees were captured from the sidewalk side to minimize background clutter and occlusion.
We construct two subsets for synthetic data to reflect different modeling challenges. We build the first subset using a 3D extension of the L-system-based tree generation method from TreeFormer [42]. While the original method generates 2D tree structures for image annotation, we adapt it to produce procedurally generated 3D trees. This enables full control over structural parameters and access to ground-truth topology for quantitative evaluation. We generate 50 random trees with varying branching patterns and morphological complexity. These L-system trees are designed at a moderate scale, approximately 2–5 m in height, matching typical real-world sampling sizes.
To further diversify the dataset and introduce more complex structures, we additionally generate a second synthetic subset using a modular tree framework, Mtree (https://github.com/MaximeHerpin/modular_tree (accessed on 10 May 2025)). Similarly, we generate 50 random Mtree trees reaching up to 20 m in height. These trees exhibit significantly more curved and organically shaped branches, with pronounced diameter variations from trunk to terminal branches. These characteristics present a more challenging testbed for our method, particularly in accurately predicting branch radii.
Our real-world dataset consists of urban and roadside vegetation captured using a Sony α 7R V camera (Sony Group Corporation, Tokyo, Japan) at a nominal resolution of 9352 × 6254 pixels. The scenes include approximately 6 trees, comprising common street-side landscaping trees and ornamental species. Image capture is performed from the sidewalk side to avoid occlusions and suppress background clutter, resulting in partial views and permanent self-occlusions. These conditions introduce substantial visual challenges, including occluded branches, uneven lighting, and non-uniform background textures, thereby simulating practical constraints in real-world reconstruction tasks. We also note that some tree species exhibit anatomical irregularities, such as galls or nodal swellings, that introduce additional complexity during reconstruction.

4.3. Evaluation Metrics

We use complementary metrics to evaluate both spatial accuracy and topological fidelity of the predicted plant skeletons.

4.3.1. Chamfer Distance

To assess geometric similarity, we compute the bidirectional Chamfer distance between the predicted and ground-truth skeletons. For each skeleton, we sample points uniformly along every edge using fixed-length segments. Specifically, we use a spacing of 1 mm for L-system trees and 1 cm for Mtree trees, reflecting the scale differences between the two synthetic subsets. Let P pred and P gt denote the two resulting point clouds. The Chamfer distance is computed as follows:
CD ( P pred , P gt ) = 1 | P pred | p P pred min q P gt p q 2 2 + 1 | P gt | q P gt min p P pred q p 2 2 .
This captures both under-prediction and over-extension in the predicted graph structure.

4.3.2. Node and Edge Count

To evaluate topological correctness, we compare the number of key nodes and edges between the predicted and ground-truth graphs. We simplify each graph by removing intermediate points on straight-line segments and retaining only nodes with d e g r e e 2 (i.e., endpoints and branching points). The resulting simplified graph is denoted G simp , and we report the total number of nodes and edges in this graph as structural indicators. A well-predicted graph should match the ground truth in both key node count and structural connectivity.

4.3.3. Tree Rate

To evaluate how well the output graph satisfies the constraint, we calculate the probability that the output graph forms a tree structure. We consider a graph as a tree if it is connected and contains no cycles, i.e., | E | = | V | 1 .

4.4. Baselines

To ensure a comprehensive evaluation, we compare our method with two representative baselines: geometry-based and learning-based methods.

4.4.1. adTree

adTree [24] is a classical geometry-based pipeline for accurate and automatic 3D tree reconstruction. AdTree extracts an initial skeleton by building an MST based on Dijkstra’s shortest paths. It iteratively prunes redundant or noisy components, and cylinders are fitted through an optimization process to approximate branch geometry. As a purely geometric method, adTree does not rely on any learned parameters, making it robust to unseen species but sensitive to the completeness and density of the input point cloud. In practice, the default duplicate removal threshold ( 0.001 ) retains too many noisy points, leading to severely over-connected graphs (13,012 nodes vs. 28 in the ground truth). A higher threshold, like 0.1 , oversimplifies the structure. Following careful tuning, we adopt 0.05 , which generates a reasonable 26-node skeleton close to the ground truth, as shown in Figure 5.
Figure 5. Effect of duplication removal threshold in AdTree. Visual comparison under varying thresholds illustrates that the default value ( 0.001 ) leads to excessive node retention and an over-connected graph, artificially lowering the Chamfer score. A high threshold ( 0.1 ) oversimplifies the structure, while a moderate threshold ( 0.05 ) yields a result close to the ground truth with better structural fidelity (Red lines and blue dots denote the edges and nodes of the tree graph, respectively).

4.4.2. Smart-Tree

Smart-Tree [26] represents a recent learning-based method that approximates branch skeletons from point clouds using a supervised approach. It employs a sparse voxel convolutional neural network to predict each point’s radius and medial axis direction, followed by a greedy post-processing algorithm to extract the final skeleton. Unlike geometry-based methods that require species-specific parameter tuning, Smart-Tree learns structural priors from data and generalizes across diverse tree morphologies. However, it relies on large-scale supervised training and may degrade under domain shift.
To ensure a fair comparison, we normalize the input conditions across all methods. Specifically, we transform our predicted point cloud into the same upright orientation as the baselines and rescale it to match the overall bounding box dimensions of each baseline’s output. This process reduces discrepancies on a global scale and orientation, ensuring that structural evaluation focuses on skeleton quality rather than external input variation.

4.5. Results on the Synthetic Dataset

We evaluate all methods on two synthetic datasets with distinct structural properties: the L-system-based and Mtree datasets. Table 1 presents quantitative comparisons.
Table 1. Quantitative evaluation on synthetic datasets (Bold numbers indicate the best scores). The Chamfer distance measures geometric similarity. Δ | E | and Δ | N | represent the absolute differences in the number of predicted edges and nodes relative to the ground-truth counts (average graph sizes: 29.32 key nodes and 28.32 key edges for the L-system-based dataset; 15.36 key nodes and 14.40 key edges for the Mtree dataset).

4.5.1. L-System-Based Dataset

Figure 6 presents qualitative comparisons on the L-system-based dataset. From top to bottom, we show the ground-truth skeletons and results from our method, AdTree, and Smart-Tree. Visually, our method exhibits the closest alignment with the green masks in branch radii and node placement.
Figure 6. Qualitative results on the L-system-based dataset. From top to bottom: ground-truth skeletons, our method, AdTree, and Smart-Tree. We overlay green MST-based mask contours to visualize the alignment between predicted radii and ground-truth structure. Our method consistently achieves the most accurate and well-aligned predictions. AdTree tends to overfit straight structures with curved paths, while Smart-Tree suffers from over-segmentation and fails to reconstruct thin branches, despite its high point density (Red lines and blue dots denote the edges and nodes of the tree graph, respectively).
AdTree tends to generate overly curved structures, even when the underlying tree shape is relatively straight, which introduces geometric bias. Although Smart-Tree can produce dense point distributions, it often fails to capture thin branches, leading to incomplete skeletons and high Chamfer distance variance. Quantitatively, our method achieves the lowest average and standard deviation in Chamfer distance ( 0.19 ± 0.20 mm) and a minor error in node count. AdTree also performs relatively well in terms of connectivity, while SmartTree suffers from inconsistent predictions. Furthermore, ours is the only method that yields a valid tree in every test case (Tree Rate 100 % ), while both baselines produce graphs with cycles or disconnected parts (Tree Rate 0 % ).

4.5.2. Mtree Dataset

Figure 7 shows the more challenging Mtree dataset results. AdTree continues producing geometrically biased, over-curved structures due to its reliance on global point trends that can smooth nearby branches. Smart-Tree performs better overall but often fails to recover thin terminal branches.
Figure 7. Qualitative results on the Mtree dataset. From top to bottom: ground-truth skeletons, our method, AdTree, and Smart-Tree. As with the L-system results, green MST-based masks highlight branch regions. While all methods show similar trends, the increased curvature and diameter variation in Mtree trees amplify the weaknesses of AdTree and Smart-Tree. Our method remains the most faithful to the ground truth in both geometry and structure (Red lines and blue dots denote the edges and nodes of the tree graph, respectively).
Our method remains robust across these conditions, producing structurally complete skeletons and accurately modeling branch radii variation. We again achieve the lowest Chamfer distance ( 15.66 ± 8.12 cm) and perfect tree rate ( 100 % ), validating the strength of our mask-guided refinement and structure-aware graph optimization.

4.6. Results on the Real-World Dataset

We evaluate all methods on six real-world trees, including five common urban landscaping species and one potted plant. As shown in Figure 8 and Figure 9, the visual complexity of natural scenes, such as occlusion, irregular branching, and thin structures, amplifies the limitations of baseline methods.
Figure 8. Qualitative results on the real-world dataset. From top to bottom: point cloud, refined mask, our method, AdTree, and Smart-Tree. We overlay green MST-based mask contours to visualize the alignment between predicted radii and ground-truth structure. To enhance clarity, the visualization thickness of nodes (blue) and edges (red) is adjusted based on tree species.
Figure 9. Qualitative results on the real-world dataset. From top to bottom: point cloud, refined mask, our method, AdTree, and Smart-Tree. We overlay green MST-based mask contours to visualize the alignment between predicted radii and ground-truth structure. To enhance clarity, the visualization thickness of nodes (blue) and edges (red) is adjusted based on tree species.
AdTree continues to produce overly curved branches, especially in trunk-adjacent regions, as it globally fits trends in the point cloud and often merges nearby but distinct branches into a single curved trajectory. Smart-Tree, which is based on clustering, frequently produces disconnected components rather than coherent tree-like structures. Moreover, continuous geometry is often over-segmented due to local variations in point density along a single branch. It introduces spurious thin sub-branches, especially in denser regions, resulting in structural noise even along otherwise straight branches.
In addition, we observe that certain anatomical features, such as nodal swellings, galls, or terminal ends of branches, often receive disproportionately dense matches during MVS reconstruction. These localized point cloud accumulations are not representative of true geometric importance. However, they pose significant challenges for baseline methods: AdTree tends to overfit these regions, generating undesired curves near trunk junctions, while Smart-Tree often segments them into densely stacked components, introducing clutter and misinterpreted sub-structures.
In contrast, our method maintains structural connectivity and faithfully reconstructs branching geometry. Notably, even when refined 2D masks (shown in red) are incomplete in certain views, our model concludes plausible geometry by integrating the multi-view masks’ distribution through the soft blur of 3DGS. All reconstructed graphs are valid trees (tree rate 100 % ), and the alignment between predicted radii and the overlaid green MST masks confirms high fidelity in topology and shape.

4.7. Ablation Study

We conduct controlled ablations to isolate the effect of each major loss term. As shown in Figure 10, removing any of the two key objectives leads to degraded geometry and topology.
Figure 10. Ablation study on loss components. From left to right: refined mask, full model (ours), without L graph , without the SFS layer, and without both. All results are visualized on the same real-world scene with the predicted skeleton overlaid in green. Removing geometry regularization causes jagged edges and sharp angles, while removing the SFS layer disrupts edge connectivity realism. Removing both leads to severe geometry and topology degradation, confirming the importance of each loss term (Red lines and blue dots denote the edges and nodes of the tree graph, respectively).

4.7.1. Without Geometry Regularization ( L graph )

Disabling the graph geometry regularization leads to unnatural tree-like geometry. In particular, without constraints on edge length, angle smoothness, or directional spacing, the reconstructed graph loses key features in real plants, resulting in unnatural zig-zagging edges, sharp angular bends, and uneven node spacing.

4.7.2. Without an SFS Layer

The SFS layer softly reweights the predicted adjacency matrix to align with the MST structure. Unlike the geometric artifacts caused by removing L graph , which disrupts local angles and spacing, removing the SFS layer leads to incorrect edge connectivity. This topological inconsistency undermines the plausibility of branch bifurcations and the overall tree structure.

4.7.3. Without an SFS Layer and Geometry Regularization

Removing both the SFS layer and L graph combines the weaknesses of topological and geometric inconsistency. The predicted graph exhibits misplaced connections, zig-zagging edges, sharp angles, and uneven spacing. Without any structural prior, the graph fails to capture both the physical realism and the edge-connect logic of natural trees.

5. Conclusions

We introduced a differentiable graph optimization framework for reconstructing 3D tree skeletons from multi-view segmentation masks. Our method jointly refines node locations, branch radii, and edge probabilities by coupling an MST-initialized graph with 3D Gaussian rendering. Thanks to the parameterization of the adjacency matrix and the mask-guided optimization, every prediction yields a valid tree structure. On both synthetic and real-world datasets, we achieve a 100 % tree rate while significantly reducing Chamfer distance, node count error, and edge error compared to AdTree and Smart-Tree. The soft blur in 3DGS makes our approach robust to pose noise and partial mask inaccuracies.

Limitations and Future Work

Our datasets contain bare or lightly occluded branches. Heavy foliage may degrade mask quality and, by extension, silhouette supervision. We plan to collect leaf-on scenes and investigate joint leaf/branch segmentation to maintain accuracy under severe occlusion. Compared with purely geometric pipelines like AdTree, our mask-guided refinement adds roughly five minutes of optimization per tree on a single RTX 4090. Although acceptable for offline processing, this overhead prevents real-time deployment. Future work will explore incremental optimization and a lightweight neural renderer to shorten convergence time.

Author Contributions

Conceptualization, X.L. and F.O.; Data curation, X.L. and K.X.; Funding acquisition, F.O. and H.S.; Investigation, X.L.; Methodology, X.L. and F.O.; Supervision, F.O.; Visualization, X.L.; Writing—original draft preparation, F.O., X.L. and R.S.; Writing—review and editing, F.O., X.L., R.S. and H.S. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported in part by the Japan Science and Technology Agency (JST) Fusion Oriented Research for Disruptive Science and Technology (FOREST) under grant number JPMJFR206F (F.O.), and by the Japan Society for the Promotion of Science (JSPS) Grants-in-Aid for Scientific Research (KAKENHI) under grant numbers JP23H05491 (F.O.), JP25K03140 (F.O.), and JP22K17910 (H.S.).

Data Availability Statement

The datasets presented in this study are not readily available because they are currently being used in the preparation of other manuscripts. Requests to access the datasets should be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Chaudhury, A.; Godin, C. Skeletonization of plant point cloud data using stochastic optimization framework. Front. Plant Sci. 2020, 11, 773. [Google Scholar] [CrossRef] [Scilit]
  2. Gentilhomme, T.; Villamizar, M.; Corre, J.; Odobez, J.M. Towards smart pruning: ViNet, a deep-learning approach for grapevine structure estimation. Comput. Electron. Agric. 2023, 207, 107736. [Google Scholar] [CrossRef] [Scilit]
  3. Cabrera-Bosquet, L.; Fournier, C.; Brichet, N.; Welcker, C.; Suard, B.; Tardieu, F. High-throughput estimation of incident light, light interception and radiation-use efficiency of thousands of plants in a phenotyping platform. New Phytol. 2016, 212, 269–281. [Google Scholar] [CrossRef] [Scilit]
  4. Sheng, W.; Wen, W.; Xiao, B.; Guo, X.; Du, J.J.; Wang, C.; Wang, Y. An accurate skeleton extraction approach from 3D point clouds of maize plants. Front. Plant Sci. 2019, 10, 248. [Google Scholar] [CrossRef] [Scilit]
  5. Fan, G.; Nan, L.; Chen, F.; Dong, Y.; Wang, Z.; Li, H.; Chen, D. A new quantitative approach to tree attributes estimation based on LiDAR point clouds. Remote Sens. 2020, 12, 1779. [Google Scholar] [CrossRef] [Scilit]
  6. Kankare, V.; Holopainen, M.; Vastaranta, M.; Puttonen, E.; Yu, X.; Hyyppä, J.; Vaaja, M.; Hyyppä, H.; Alho, P. Individual tree biomass estimation using terrestrial laser scanning. ISPRS J. Photogramm. Remote Sens. 2013, 75, 64–75. [Google Scholar] [CrossRef] [Scilit]
  7. Gaillard, M.; Miao, C.; Schnable, J.; Benes, B. Sorghum segmentation by skeleton extraction. In Proceedings of the European Conference on Computer Vision (ECCV) Workshops, Online, 23–28 August 2020; pp. 296–311. [Google Scholar] [CrossRef] [Scilit]
  8. Miao, T.; Zhu, C.; Xu, T.; Yang, T.; Li, N.; Zhou, Y.; Deng, H. Automatic stem-leaf segmentation of maize shoots using three-dimensional point cloud. Comput. Electron. Agric. 2021, 187, 106310. [Google Scholar] [CrossRef] [Scilit]
  9. Arikapudi, R.; Vougioukas, S. Robotic Tree-fruit harvesting with arrays of Cartesian Arms: A study of fruit pick cycle times. Comput. Electron. Agric. 2023, 211, 108023. [Google Scholar] [CrossRef] [Scilit]
  10. Zahid, A.; Mahmud, M.S.; He, L.; Heinemann, P.; Choi, D.; Schupp, J. Technological advancements towards developing a robotic pruner for apple trees: A review. Comput. Electron. Agric. 2021, 189, 106383. [Google Scholar] [CrossRef] [Scilit]
  11. Liang, X.; Kankare, V.; Hyyppä, J.; Wang, Y.; Kukko, A.; Haggrén, H.; Yu, X.; Kaartinen, H.; Jaakkola, A.; Guan, F.; et al. Terrestrial laser scanning in forest inventories. ISPRS J. Photogramm. Remote Sens. 2016, 115, 63–77. [Google Scholar] [CrossRef] [Scilit]
  12. Olofsson, K.; Holmgren, J.; Olsson, H. Tree stem and height measurements using terrestrial laser scanning and the RANSAC algorithm. Remote Sens. 2014, 6, 4323–4344. [Google Scholar] [CrossRef] [Scilit]
  13. Wu, S.; Wen, W.; Wang, Y.; Fan, J.; Wang, C.; Gou, W.; Guo, X. MVS-Pheno: A portable and low-cost phenotyping platform for maize shoots using multiview stereo 3D reconstruction. Plant Phenomics 2020, 2020, 1848437. [Google Scholar] [CrossRef] [Scilit]
  14. Neubert, B.; Franken, T.; Deussen, O. Approximate image-based tree-modeling using particle flows. ACM Trans. Graph. 2007, 26, 88. [Google Scholar] [CrossRef]
  15. Zhang, X.; Li, H.; Dai, M.; Ma, W.; Quan, L. Data-driven synthetic modeling of trees. IEEE Trans. Vis. Comput. Graph. 2014, 20, 1214–1226. [Google Scholar] [CrossRef] [Scilit]
  16. Isokane, T.; Okura, F.; Ide, A.; Matsushita, Y.; Yagi, Y. Probabilistic plant modeling via multi-view image-to-image translation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Salt Lake City, UT, USA, 18–23 June 2018; pp. 2906–2915. [Google Scholar] [CrossRef] [Scilit]
  17. Gorte, B.; Pfeifer, N. Structuring laser-scanned trees using 3D mathematical morphology. Int. Arch. Photogramm. Remote Sens. 2004, 35, 929–933. [Google Scholar]
  18. Bucksch, A.; Lindenbergh, R.C. CAMPINO: A skeletonization method for point cloud processing. ISPRS J. Photogramm. Remote Sens. 2008, 63, 115–127. [Google Scholar] [CrossRef] [Scilit]
  19. Su, Z.; Zhao, Y.; Zhao, C.; Guo, X.; Li, Z. Skeleton extraction for tree models. Math. Comput. Model. 2011, 54, 1115–1120. [Google Scholar] [CrossRef] [Scilit]
  20. Xu, H.; Gossett, N.; Chen, B. Knowledge and heuristic-based modeling of laser-scanned trees. ACM Trans. Graph. 2007, 26, 19. [Google Scholar] [CrossRef] [Scilit]
  21. Yan, D.M.; Wintz, J.; Mourrain, B.; Wang, W.; Boudon, F.; Godin, C. Efficient and robust reconstruction of botanical branching structure from laser scanned points. In Proceedings of the IEEE International Conference on Computer-Aided Design and Computer Graphics (CAD/Graphics), Huangshan, China, 19–21 August 2009; pp. 572–575. [Google Scholar] [CrossRef] [Scilit]
  22. Liu, Y.; Guo, J.; Benes, B.; Deussen, O.; Zhang, X.; Huang, H. TreePartNet: Neural decomposition of point clouds for 3D tree reconstruction. ACM Trans. Graph. 2021, 40, 232. [Google Scholar] [CrossRef] [Scilit]
  23. Livny, Y.; Yan, F.; Olson, M.; Chen, B.; Zhang, H.; El-Sana, J. Automatic reconstruction of tree skeletal structures from point clouds. ACM Trans. Graph. 2010, 29, 151. [Google Scholar] [CrossRef] [Scilit]
  24. Du, S.; Lindenbergh, R.; Ledoux, H.; Stoter, J.; Nan, L. AdTree: Accurate, detailed, and automatic modelling of laser-scanned trees. Remote Sens. 2019, 11, 2074. [Google Scholar] [CrossRef] [Scilit]
  25. Zhen, W.; Zhang, L.; Fang, T.; Mathiopoulos, P.T.; Qu, H.; Dong, C.; Yuebin, W. A structure-aware global optimization method for reconstructing 3-D tree models from terrestrial laser scanning data. IEEE Trans. Geosci. Remote Sens. 2014, 52, 5653–5669. [Google Scholar] [CrossRef] [Scilit]
  26. Dobbs, H.; Batchelor, O.; Green, R.; Atlas, J. Smart-Tree: Neural medial axis approximation of point clouds for 3D tree skeletonization. In Proceedings of the Iberian Conference on Pattern Recognition and Image Analysis (IbPRIA), Alicante, Spain, 27–30 June 2023; pp. 351–362. [Google Scholar] [CrossRef] [Scilit]
  27. Kerbl, B.; Kopanas, G.; Leimkühler, T.; Drettakis, G. 3D Gaussian splatting for real-time radiance field rendering. ACM Trans. Graph. 2023, 42, 139:1–139:14. [Google Scholar] [CrossRef] [Scilit]
  28. Zheng, P.; Gao, D.; Fan, D.P.; Liu, L.; Laaksonen, J.; Ouyang, W.; Sebe, N. Bilateral reference for high-resolution dichotomous image segmentation. CAAI Artif. Intell. Res. 2024, 3, 9150038. [Google Scholar] [CrossRef] [Scilit]
  29. Okura, F. 3D modeling and reconstruction of plants and trees: A cross-cutting review across computer graphics, vision, and plant phenotyping. Breed Sci. 2022, 72, 31–47. [Google Scholar] [CrossRef] [Scilit]
  30. Ai, M.; Yao, Y.; Hu, Q.; Wang, Y.; Wang, W. An automatic tree skeleton extraction approach based on multi-view slicing using terrestrial LiDAR scans data. Remote Sens. 2020, 12, 3824. [Google Scholar] [CrossRef] [Scilit]
  31. Bucksch, A. A practical introduction to skeletons for the plant sciences. Appl. Plant Sci. 2014, 2, 1400005. [Google Scholar] [CrossRef] [Scilit]
  32. Huang, H.; Wu, S.; Cohen-Or, D.; Gong, M.; Zhang, H.; Li, G.; Chen, B. L1-medial skeleton of point cloud. ACM Trans. Graph. 2013, 32, 65. [Google Scholar] [CrossRef] [Scilit]
  33. Ziamtsov, I.; Navlakha, S. Machine learning approaches to improve three basic plant phenotyping tasks using three-dimensional point clouds. Plant Physiol. 2019, 181, 1425–1440. [Google Scholar] [CrossRef] [Scilit]
  34. Verroust, A.; Lazarus, F. Extracting skeletal curves from 3D scattered data. In Proceedings of the International Conference on Shape Modeling and Applications (SMA), Aizu-Wakamatsu, Japan, 1–4 March 1999; pp. 194–201. [Google Scholar] [CrossRef] [Scilit]
  35. Bartolozzi, J.; Kuruc, M. A hybrid approach to procedural tree skeletonization. In Proceedings of the ACM SIGGRAPH 2017 Talks, Los Angeles, CA, USA, 30 July–3 August 2017. [Google Scholar] [CrossRef] [Scilit]
  36. Cárdenas, J.L.; Ogayar, C.J.; Feito, F.R.; Jurado, J.M. Modeling of the 3D tree skeleton using real-world data: A survey. IEEE Trans. Vis. Comput. Graph. 2023, 29, 4920–4935. [Google Scholar] [CrossRef] [Scilit]
  37. Hartley, R.; Jayathunga, S.; Morgenroth, J.; Pearse, G. Tree branch characterisation from point clouds: A comprehensive review. Curr. For. Rep. 2024, 10, 360–385. [Google Scholar] [CrossRef] [Scilit]
  38. Zhang, Y.; Wang, L.; Zou, C.; Wu, T.; Ma, R. Diff3DS: Generating view-consistent 3D sketch via differentiable curve rendering. In Proceedings of the International Conference on Learning Representations (ICLR), Singapore, 24–28 April 2025. [Google Scholar]
  39. Choi, C.; Lee, J.; Park, J.; Kim, Y.M. 3Doodle: Compact abstraction of objects with 3D strokes. ACM Trans. Graph. 2024, 43, 107. [Google Scholar] [CrossRef] [Scilit]
  40. Xing, X.; Wang, C.; Zhou, H.; Zhang, J.; Yu, Q.; Xu, D. Diffsketcher: Text guided vector sketch synthesis through latent diffusion models. In Proceedings of the International Conference on Neural Information Processing Systems (NeurIPS), New Orleans, LA, USA, 10–16 December 2023; pp. 15869–15889. [Google Scholar]
  41. Li, T.M.; Lukáč, M.; Michaël, G.; Ragan-Kelley, J. Differentiable vector graphics rasterization for editing and learning. ACM Trans. Graph. 2020, 39, 193:1–193:15. [Google Scholar] [CrossRef] [Scilit]
  42. Liu, X.; Santo, H.; Toda, Y.; Okura, F. TreeFormer: Single-view plant skeleton estimation via tree-constrained graph generation. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), Tucson, AZ, USA, 26 February–6 March 2025. [Google Scholar] [CrossRef] [Scilit]
  43. Ye, V.; Li, R.; Kerr, J.; Turkulainen, M.; Yi, B.; Pan, Z.; Seiskari, O.; Ye, J.; Hu, J.; Tancik, M.; et al. gsplat: An open-source library for Gaussian splatting. J. Mach. Learn. Res. 2025, 26, 34:1–34:17. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.