Next Article in Journal
Flow Control of Tractor Multi-Channel Hydraulic Tester Based on AMESim and PSO-Optimized Fuzzy-PID
Previous Article in Journal
Progress in “Clean Agriculture” for Nitrogen Management to Enhance the Soil Health of Arable Fields and Its Application by Remote Sensing in Hokkaido, Japan
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Morphological Estimation of Primary Branch Inclination Angles in Jujube Trees Based on Improved PointNet++

1
College of Information Engineering, Tarim University, Alaer 843300, China
2
Key Laboratory of Tarim Oasis Agriculture, Ministry of Education, Tarim University, Alaer 843300, China
3
College of Horticulture and Forestry, Tarim University, Alaer 843300, China
4
Xinjiang Production & Construction Corps Key Laboratory of Protection and Utilization of Biological Resources in Tarim Basin, College of Life Science and Technology, Tarim University, Alaer 843300, China
*
Author to whom correspondence should be addressed.
Agriculture 2025, 15(11), 1193; https://doi.org/10.3390/agriculture15111193
Submission received: 14 April 2025 / Revised: 24 May 2025 / Accepted: 26 May 2025 / Published: 30 May 2025
(This article belongs to the Section Digital Agriculture)

Abstract

The segmentation of jujube tree branches and the estimation of primary branch inclination angles (IAs) are crucial for achieving intelligent pruning. This study presents a primary branch IA estimation algorithm for jujube trees based on an improved PointNet++ network. Firstly, terrestrial laser scanners (TLSs) are used to acquire jujube tree point clouds, followed by preprocessing to construct a point cloud dataset containing open center shape (OCS) and main trunk shape (MTS) jujube trees. Subsequently, the Chebyshev graph convolution module (CGCM) is integrated into PointNet++ to enhance its feature extraction capability, and the DBSCAN algorithm is optimized to perform instance segmentation of primary branch point clouds. Finally, the generalized rotational symmetry axis (ROSA) algorithm is used to extract the primary branch skeleton, from which the IAs are estimated using weighted principal component analysis (PCA) with dynamic window adjustment. The experimental results show that compared to PointNet++, the improved network achieved increases of 1.3, 1.47, and 3.33% in accuracy (Acc), class average accuracy (CAA), and mean intersection over union (mIoU), respectively. The correlation coefficients between the primary branch IAs and their estimated values for OCS and MTS jujube trees were 0.958 and 0.935, with root mean square errors of 2.38° and 4.94°, respectively. In summary, the proposed method achieves accurate jujube tree primary branch segmentation and IA measurement, providing a foundation for intelligent pruning.

1. Introduction

Dormant pruning is a key aspect of fruit tree management, effectively controlling the shape of trees, optimizing nutrient distribution, reducing the risk of pests and diseases, and improving the yield and quality of fruit [1,2,3]. However, existing pruning practices primarily rely on manual labor, which is costly and inefficient. With the advancement of urbanization and the worsening shortage of agricultural labor, intelligent pruning technology has become an inevitable choice for orchard management [4,5]. Intelligent pruning relies on the precise 3D modeling of fruit tree structures and the extraction of branch information [6]. The complex orchard environment, irregular morphology of trees, and interfering factors such as lighting, weeds, leaves, and weather make branch information extraction highly challenging [7]. In recent years, the rapid development of point cloud technology and artificial intelligence has provided new approaches to address these challenges [8,9].
Branch IA measurement is a critical step in achieving intelligent pruning, and the acquisition of primary branch instances directly affects the accuracy of IA measurement approaches [10]. Mo et al. [11] proposed a partition-based segmentation method using high-resolution Digital Orthophoto Maps and trained the model on the Litchi-Citrus dataset, achieving a best Average Precision (AP) of 96.25% on the test set. Pérez-Borrero et al. [12] proposed an efficient strawberry instance segmentation method by optimizing the network architecture and regional grouping algorithm, achieving an inference speed of 10 fps and segmentation accuracy comparable to that of Mask R-CNN [13]. Ling et al. [14] addressed data quality and model performance issues in jujube branch detection by replacing the YOLOv8 backbone with GhostNetv2 for lightweight improvement, achieving an accuracy of 92.3% (a 2.4% increase over the baseline model). Although these studies have successfully distinguished individual branch instances using RGB images, the lack of 3D information makes it difficult to extract fruit tree structural data from 2D images, limiting their application in the context of dormant pruning.
With the rapid development of terrestrial laser scanners (TLSs) and computer technology, the acquisition of 3D point cloud data has become more efficient, and point cloud segmentation approaches have also advanced rapidly [15,16]. Existing point cloud segmentation methods can be broadly categorized into two types: machine learning-based methods and deep learning-based methods. Machine learning methods, such as Euclidean clustering [17] and support vector machines [18], typically rely on manually designed features [19,20,21]. Qiu et al. [22] combined the Laplacian skeletonization algorithm with the DBSCAN clustering algorithm to achieve point cloud segmentation and structural phenotypic feature extraction for apple trees. Itakura et al. [23] used FPFH features and k-means clustering for leaf and branch point classification, then segmented each branch instance with a region-growing algorithm. However, in real canopy environments, variations in lighting and complex backgrounds reduce the robustness of machine learning algorithms, making it difficult to accurately distinguish each primary branch instance in dormant fruit tree point clouds [7].
The segmentation of fruit tree point clouds and the extraction of branch information using deep learning techniques remain challenging tasks [24,25]. In 2017, Qi et al. [26] proposed the PointNet network to address the rotation invariance and disorder of point clouds, which can efficiently segment point clouds by independently processing each point and using max pooling to aggregate global features. Building on this, they introduced the PointNet++ algorithm, enabling part segmentation of individual objects and addressing challenges relating to local feature extraction [27]. Since then, researchers have used improved PointNet++ models to address various complex plant point cloud segmentation scenarios. For example, Guo et al. [25] integrated the ASAP attention module into PointNet++, achieving a semantic segmentation Acc of 0.95 and an Intersection over Union of 0.86. Sun et al. [28] used the PointNet++ part segmentation approach to merge the primary branches of apple trees, achieving 93.64% accuracy in branch count estimation and a 12.00% mean absolute percentage error in branch length estimation. However, applying PointNet++ for jujube tree point cloud segmentation and branch IA extraction remains challenging. The combination of deep learning and traditional clustering algorithms [25,29] has become a key approach for processing 3D plant data and extracting phenotypic parameters, enhancing the efficiency and accuracy of branch information extraction to support fruit tree pruning.
In summary, branch segmentation and primary branch inclination estimation of jujube trees based on TLS point clouds pose unaddressed challenges, relating to uneven point cloud density, complex tree structures, and large variations in branch curvature. To address the abovementioned issues, this study proposes a jujube tree primary branch IA estimation method based on an improved PointNet++ network. The main contributions of this work are summarized as follows: (1) the CGCM is introduced into PointNet++ to enhance the nonlinear feature extraction capability of the resulting model; (2) a residual feature fusion mechanism is incorporated to integrate shallow geometric features with deep semantic features, ensuring the effective transmission of high-level semantics; (3) a density-adaptive DBSCAN optimization strategy is proposed to dynamically adjust the epsilon neighborhood radius (eps), enhancing the branch instance segmentation performance of the model; (4) primary branch skeletons are extracted using the ROSA algorithm and primary branch IAs are accurately estimated through a weighted PCA method with dynamic window adjustment.

2. Materials and Methods

2.1. Experimental Site

To acquire jujube tree data during the dormant period, the experiment was conducted at the horticultural experimental station of Tarim University (40°54′ N, 81°3′ E) in Alar City, Xinjiang Uygur Autonomous Region. This region features a typical temperate continental climate, with an average annual precipitation of less than 50 mm and a diurnal temperature difference of 15–20 °C, meeting the environmental requirements for jujube tree dormancy. The sampled jujube trees were 8 years old, planted at a spacing of 3 m × 4 m, and comprised two types of cultivated tree structures. In the open center shape (OCS), 3–5 primary branches emerged at a height of 60–80 cm above the ground, with no central trunk retained. In the main trunk shape (MTS), a central trunk was preserved, with branches distributed in a spiral pattern, forming a spindle-shaped canopy. Figure 1 illustrates the experimental site, the jujube orchard environment, and the typical tree structures of the two jujube types.

2.2. Jujube Tree Dataset

2.2.1. Jujube Tree Point Cloud Acquisition

Multi-station coordinated scanning of dormant jujube trees was conducted using the HS 1000i TLS (Wuhan Hi-Cloud Technology Co., Ltd., Wuhan, China; wavelength: 980 nm; ranging accuracy: 5 mm @ 40 m). The system setup is shown in Figure 2a. The TLS was configured with a pulse frequency of 100 kHz, vertical and horizontal resolutions of 0.0576° and 0.0128°, respectively, and a maximum range of 30 m per station. Six TLS stations were deployed to fully cover two rows of jujube trees (Figure 2b). Four peripheral stations (B1–B4) were positioned at the corners surrounding the tree group (C1–C8) to perform 120° sector scans for capturing of the outer point clouds. Two central stations (B5–B6) were symmetrically placed on either side of the central axis of the tree rows to perform 360° full-circle scans in order to capture the inner point clouds. Four spherical targets (A1–A4) were placed at the midpoints of the lines connecting each pair of adjacent peripheral stations. Multi-station point cloud registration was performed using the Iterative Closest Point algorithm. Rigid transformations were solved through least-squares optimization to align the scan data from each station with the target point clouds, resulting in a high-density 3D point cloud of jujube trees (Figure 2c).

2.2.2. Point Cloud Preprocessing

Raw point cloud data typically contain a large amount of noise and redundant information, such as ground points, buildings, and sensor noise, which must be removed through multi-stage filtering to improve the quality of the data (Figure 3). The specific process in this study is as follows: ground points are first removed using the Cloth Simulation Filtering (CSF) algorithm, which simulates the process of cloth draping and sinking to separate ground points from the jujube tree point cloud. As shown in Equation (1), the cloth is controlled by the elasticity coefficient ( k s ) and the bending coefficient ( k b ), gradually fitting the ground points during the sinking process. Ground points are identified by calculating the distance change ( Δ l i ) and angle change ( Δ θ i ) between the cloth and the point cloud points. Finally, the ground points are labeled and removed, while the remaining points are retained as the jujube tree point cloud, as illustrated in Figure 3a.
E = i = 1 n k s · Δ l i + k b · Δ θ i
d i > μ + α · σ
Then, the Statistical Outlier Removal (SOR) algorithm is used to clean noise and outliers in the jujube tree point cloud, as shown in Figure 3b. The method calculates the average distance ( d i ) between each point and its k nearest neighbors, removing outliers that exceed a predefined threshold. This criterion is expressed in Equation (2), where μ represents the mean of the average distances for all points, σ is the standard deviation of the distance distribution, and α is a user-defined deviation multiplier.
To support the training of deep learning models, the obtained single-tree jujube point clouds were then standardized and annotated, as shown in Figure 4. First, the 3D coordinates (x, y, z) were retained, and normal vectors (Nx, Ny, Nz) were calculated through neighborhood point analysis to provide enhanced geometric features. Then, manual annotation was performed using the open-source software CloudCompare v2.13.alpha, classifying the point cloud into trunk, primary branches, and secondary branches. Finally, data standardization was conducted through centroid translation, size normalization, and normal vector orientation correction.

2.2.3. Jujube Tree Dataset Overview

The jujube tree point cloud dataset constructed in this study was acquired using a TLS and built following the ShapeNet dataset standards [30]. It includes 78 jujube tree samples (42 MTS and 36 OCS), including raw point clouds, semantic labels, and metadata configuration files. Statistics obtained for the data show that MTS jujube trees had 5–18 primary branches per tree, for a total of 353 primary branches and 130 secondary branches. Meanwhile, the OCS jujube trees had 2–6 primary branches per tree, for a total of 118 primary branches and 311 secondary branches. To ensure model generalization and fair evaluation, the dataset was randomly divided into a training set of 62 trees and a test set of 16 trees. The dataset preserved the complete 3D topological structure of the jujube tree branches and, after pre-processing, could be fed into segmentation networks to support branch segmentation tasks for different tree structures.

2.3. Point Cloud Segmentation

2.3.1. Improvement of the PointNet++

As a classic point cloud processing network, PointNet++ employs a Set Abstraction (SA) layer that relies on an MLP to extract local features. However, the core component (i.e., the MLP) is limited by its linear combination nature, making it less effective in handling the complex nonlinear topological structures formed by intersecting jujube tree branches. Defferrard et al. [31] have proposed a spectral convolution based on Chebyshev polynomials, enabling localized filtering and effectively handling complex features in nonlinear structural data. Motivated by this approach, the Chebyshev Graph Convolution Module (CGCM) is proposed and embedded into the SA feature extraction process of PointNet++, forming the CGCM-PointNet++ network. The detailed architecture is shown in Figure 5.
Traditional spectral graph convolution requires eigendecomposition of the Laplacian matrix, which results in high computational complexity. In contrast, the CGCM approximates the graph Fourier transform through polynomial expansion, thus avoiding explicit eigendecomposition and reducing computational complexity while maintaining rotational invariance. The detailed architecture of the CGCM is shown in Figure 6. The module is constructed based on the normalized Laplacian matrix ( L ~ ), as shown in Equation (3):
L ~ = D 1 / 2 ( D A ) D 1 / 2
where A is the adjacency matrix constructed using the K-Nearest Neighbors (KNN) algorithm and D is the degree matrix, which is a diagonal matrix with each diagonal element D ii representing the degree of node i .
Chebyshev polynomial basis functions of orders 0 to 4 are recursively generated using the recurrence relation shown in Equation (4):
T n ( L ~ ) = 2 L ~ T n 1 ( L ~ ) T n 2 ( L ~ ) , T 0 = I , T 1 = L ~
where T n ( L ~ ) represents the n -th order Chebyshev polynomial based on the normalized Laplacian matrix ( L ~ ), and I is the identity matrix.
The output features of each polynomial order are concatenated along the channel dimension and processed using the weighted aggregation rule defined in Equation (5).
F poly = n = 0 4 W n · T n ( L ~ ) F in
where F in denotes the input graph feature matrix, typically with dimensions R N × C , where N is the number of nodes in the graph and C is the number of input feature channels; W n is a learnable weight matrix corresponding to the n -th order Chebyshev polynomial, used to weight features of different orders and adaptively extract important information from the graph; and F poly represents the output feature matrix after the Chebyshev polynomial graph convolution operation. Finally, the graph features F poly produced via Chebyshev polynomial graph convolution are added to the features F MLP extracted using the two-layer MLP in the residual branch. This sum is then passed through a ReLU activation to obtain the final output ( F out ), as shown in Equation (6):
F out = ReLU F poly + F MLP
This residual architecture integrates the basic semantic features extracted by the MLP with the higher-order geometric features modeled by the graph convolution, enhancing the ability to capture nonlinear features in jujube tree point clouds while preserving the integrity of the fundamental semantic information.

2.3.2. Instance Segmentation of Point Clouds

The DBSCAN clustering algorithm has been widely used for point cloud instance segmentation due to its robustness to noise and the advantage of not requiring a predefined number of clusters [32,33]. In this study, a deep learning-based semantic segmentation method was employed to classify jujube tree point clouds into trunk, primary branch, and secondary branch categories, allowing for the assignment of corresponding semantic labels. Leveraging semantic priors, DBSCAN performs instance segmentation specifically on the primary branch category, thus enhancing the segmentation accuracy. However, DBSCAN relies on a fixed eps value, which can lead to adjacent clusters with small inter-cluster distances being incorrectly grouped into a single instance when applied to jujube tree point clouds with uneven density distribution, thereby affecting the segmentation accuracy. To address this issue, an adaptive eps adjustment strategy based on KNN statistics is introduced, which dynamically adjusts the neighborhood radius according to the local density characteristics of the point cloud data. The strategy first computes the k -nearest neighbor distance for each point, defined as follows:
d k ( x i ) = 1 k j = 1 k d ( x i , x ( j ) )
where x ( j ) denotes the j -th nearest neighbor of point x i , and d k ( x i ) represents the distance metric between x i and x ( j ) .
After obtaining the average k -nearest neighbor distance ( d k ( x ) ) for each point, a suitable eps value is determined using a quantile-based approach. As shown in Equation (8), P q represents the q -th quantile of d k ( x i ) meaning that in the ordered set of all d k ( x ) values, a proportion q of the points have k -nearest neighbor distances less than or equal to this value.
ε = P q d k ( x )
For example, when q = 85%, eps is set to the 85th percentile of d k ( x ) , meaning that 85% of the points have k-nearest neighbor distances less than or equal to this value. In dense regions of the point cloud, the k -nearest neighbor distances are small, resulting in smaller eps values, which helps to avoid incorrect merging of separate instances. In sparse regions, the k -nearest neighbor distances are larger, leading to larger eps values, which allows previously disconnected points to be grouped into the same cluster, effectively addressing the issue of uneven density.

2.4. Estimation of Primary Branch Inclination Angles

The curved growth of branches results in significant variations in curvature, which can cause deviations in principal direction estimation when using the PCA method, thereby affecting the accuracy of inclination estimation. To address this issue, this study proposes a primary branch IA estimation method that integrates ROSA [34] skeleton extraction with sliding-window weighted PCA. First, the ROSA algorithm is applied to the primary branch point cloud instance to extract a sequence of skeleton points (Figure 7a). Then, a depth-first search algorithm is used to traverse the topology constructed from the skeleton to determine the primary branch path (Figure 7b). To improve the accuracy of path selection, a directional continuity scoring strategy is introduced during the search process, as defined in Equation (9):
S p = i = 1 N p 1 v i · v i + 1 v i v i + 1 + λ N p
where v i = p i + 1 p i is the vector between adjacent points, λ is the weighting factor for path length, and N p is the number of points in the path. The depth-first search algorithm maximizes the scoring function ( S p ) to ensure that the primary branch path satisfies both directional continuity and spatial extensibility.
To address the curved characteristics of jujube primary branches, a dynamic window adjustment mechanism is designed to apply smaller windows in regions with significant curvature variation and larger windows in straighter regions. The average curvature within each window is calculated according to Equation (10):
κ = 1 m 2 i = 1 m 2 ( 1 cos θ i )
where cos θ i represents the cosine of the angle between vectors formed by three consecutive points ( p i 1 , p i , p i + 1 ), serving as an indicator of local curvature variation. When κ > 0.3, the window is reduced to 30% of its original length; otherwise, it is expanded to 70%, enabling adaptive processing across regions with different curvature levels.
In the inclination angle calculation stage, as shown in Figure 7c, PCA is performed on the point cloud within each window. The first principal component direction vector u j , which corresponds to the largest variance, is selected, and the global principal direction u final is obtained as a weighted average using the weights ω j , as defined in Equation (11):
u final = ω j u j ω j ,   ω j = | W j | · w j L w j 1
where W j is the number of points in the j -th window, and w j 1 and w j L denote the first and last points of the window, respectively, which are used to measure the spatial extent of the window.
The final primary branch inclination angle α is calculated as the angle between the global principal direction and the vertical direction, as defined in Equation (12).
α = arccos r × 180 π ,   r = | u z | u x 2 + u y 2 + u z 2
where r represents the normalized component of the global principal direction along the vertical axis, reflecting the cosine of the angle between the principal direction and the vertical direction. The inclination angle ( α ) is then computed using the arccosine function and converted to degrees. Combining dynamic window adjustment with a weighted principal component analysis strategy, this method effectively adapts to regions with varying curvature, improving the accuracy and stability of the primary branch IA estimate.

2.5. Evaluation Metrics

2.5.1. Point Cloud Semantic Segmentation

To evaluate the performance of the CGCM-PointNet++ network in the jujube tree branch segmentation task, four metrics were adopted: Acc, CAA, mIoU, and cross-entropy loss function (Loss). Acc measures the consistency between predicted values ( p i ) and ground truth labels ( y i ) across all samples. CAA is computed as the average of per-class accuracies ( Acc j ), reflecting the network’s performance balanced across different categories. mIoU quantifies the overlap between the predicted and actual regions using the intersection-over-union metric. During training, the Loss function is used to minimize the discrepancy between p i and y i , thereby enhancing the network’s performance. The specific calculation methods for Acc , CAA , mIoU , and Loss are provided in the following equations.
Acc = 1 m i = 1 m f i ,   f i = 1 y i = p i 0 y i p i
CAA = 1 c j = 1 c Acc j
mIoU = 1 c j = 1 c T P j T P j + F P j + F N j
Loss = i = 1 m y i log ( p i ) + ( 1 y i ) log ( 1 p i )

2.5.2. Primary Branch Inclination Estimation

The jujube tree IA extraction performance was evaluated using the coefficient of determination (R2—Equation (17)) and root mean square error (RMSE—Equation (18)). R 2 measures the goodness of fit between predicted and true values, with values closer to 1 indicating better fit, while RMSE quantifies the prediction error, with smaller values indicating lower error.
R 2 = 1 i = 1 N ( y i y ^ i ) 2 i = 1 N ( y i y - ) 2
RMSE = 1 N i = 1 N ( y i y ^ i ) 2
where N represents the total number of samples, y i represents the ground truth of the i -th sample, y ^ is the predicted value for the i -th sample, and y - is the mean of all true values.

2.5.3. DBSCAN Clustering

To evaluate the performance of the DBSCAN clustering algorithm, four commonly used evaluation metrics were selected: Adjusted Rand Index (ARI), Normalized Mutual Information (NMI), Fowlkes–Mallows Index (FMI), and Completeness. ARI evaluates the consistency of sample pairs by adjusting the RI for chance, reflecting how well pairs of samples are grouped together. NMI assesses the amount of information shared between the predicted clusters and the ground truth labels based on mutual information I ( U , L ) and entropies H ( U ) and H ( L ) . FMI computes the geometric mean of precision and recall using true positives ( TP ), false positives ( FP ), and false negatives ( FN ), indicating the trade-off between accuracy and completeness of the clustering. Completeness measures whether all samples from the same class are assigned to the same cluster, based on the conditional entropy H ( U | L ) , and reflects the integrity of clustering results. Higher values of ARI , NMI , FMI , and Completeness indicate better performance. The specific calculation methods are provided in the following equations.
ARI = RI E [ RI ] max ( RI ) E [ RI ]
NMI = 2 · I ( U , L ) H ( U ) + H ( L )
F M I = T P ( T P + F P ) · ( T P + F N )
Completeness = 1 H ( U | L ) H ( U )

3. Results

3.1. Semantic Segmentation of Jujube Tree Branches

3.1.1. Network Training

All experiments were conducted on a Dell server running the Ubuntu 20.04 operating system, equipped with a GeForce RTX 3060Ti 22GB GPU (driver version 470.141). The experimental environment was supported by CUDA 11.3 and cuDNN 8.2.0. Model development was carried out using the PyTorch 1.11.0 deep learning framework and trained within the Python 3.8 environment using PyCharm 2022.
The CGCM-PointNet++ model was trained for 300 epochs with the following parameter settings: batch size of 8, an initial learning rate of 0.001, weight decay of 1 × 10−4, a learning rate decay factor of 0.5, and a decay step size of 20 epochs. As shown in Figure 8, both Acc and Loss of CGCM-PointNet++ exhibited favorable trends during training. In the first 50 epochs, Acc increased rapidly while Loss decreased sharply. The model then gradually converged, with Acc stabilizing above 95% and Loss decreasing to around 0.1.

3.1.2. Comparison of Semantic Segmentation of Branches

In this study, six point cloud segmentation models were evaluated on the jujube tree point cloud dataset: PointNet [26], PointNet++ [27], DGCNN [35], PointNorm [36], PointMLP [37], and CGCM-PointNet++. As shown in Table 1, CGCM-PointNet++ achieved the best performance, with Acc, CAA, and mIoU reaching 97.27, 97.26, and 93.83%, respectively. These represent respective improvements of 1.33, 1.47, and 3.33% over the baseline PointNet++. This was further validated in specific canopy structure scenarios. For OCS jujube trees, the CGCM-PointNet++ achieved an OCS_mIoU of 95.2%, representing a 7.1% improvement over PointNet++. Although the MTS_mIoU for MTS jujube trees reached 92.47%, which was 0.53% lower than that of PointNet++, it still significantly outperformed PointNet (64.3%) and PointMLP (88.2%).
Compared with the other networks, PointNet performed the worst due to its reliance on a single global feature pooling mechanism, which limits its ability to model local geometric structures. Although PointNorm demonstrated adaptability to different tree structures (with only a 2.0% difference between OCS_mIoU and MTS_mIoU), its overall performance remained limited, with Acc at 87.69% and mIoU at 72.7%. DGCNN achieved an Acc of 90.06%, but its performance gap across different tree structures reached 6.0%. PointMLP achieved an Acc of 94.76%, but its mIoU (88.7%) still fell short compared to that of CGCM-PointNet++ (93.83%). Notably, CGCM-PointNet++ demonstrated stronger adaptability across different tree structures, with a performance gap of 2.73%, which was 2.17% lower than that of PointNet++ (4.9%). In summary, CGCM-PointNet++ demonstrated superior performance in both segmentation accuracy and adaptability to tree-like structures, which can be attributed to the integration of the CGCM module into the SA layers of PointNet++.
The visualization results of tree point cloud segmentation (Figure 9) demonstrate that CGCM-PointNet++ outperformed the other networks in jujube branch segmentation. The structures of the trunk, primary branches, and secondary branches were complete, with no obvious over-segmentation or incorrect segmentation, and were highly consistent with the ground truth (G.T.). In OCS jujube trees (Figure 9a,b), PointNet and DGCNN exhibited incorrect segmentation at the distal ends of primary and secondary branches, and point cloud adhesion occurred at their junctions, resulting in a noticeable boundary blur. PointNorm performed even worse in these regions (Figure 9a). PointMLP exhibited over-segmentation at the junction between the trunk and primary branches, where the base of some secondary branches was incorrectly classified as an extension of the primary branch (Figure 9b). PointNet++ showed incorrect segmentation at the junction between secondary and primary branches, with some secondary branch points mistakenly assigned to the primary branch region (Figure 9b). In MTS jujube trees, PointNet, PointNorm, DGCNN, and PointMLP all exhibited varying degrees of over-segmentation and incorrect segmentation (Figure 9c,d). Although PointNet++ achieved an mIoU of 93%, local patches of incorrect segmentation were still present within the primary branches (Figure 9c). In contrast, CGCM-PointNet++ maintained strong segmentation performance across both tree structure scenarios, with only slight over-segmentation at the junctions between primary and secondary branches, and its error range was significantly smaller than those of other networks.

3.2. Instance Segmentation of Jujube Tree Branches

Five methods were used to evaluate the instance segmentation performance based on the semantic segmentation results of the CGCM-PointNet++ network: Gaussian Mixture Model (GMM) [38], K-Means [39], Spectral Clustering (SC) [40], Mean-Shift [41], and DBSCAN [32]. To address the issue in which DBSCAN struggles to distinguish closely spaced instances in jujube tree point clouds due to density variations, this study introduces an adaptive eps strategy to improve the clustering performance. As shown in Table 2, the DBSCAN algorithm with the adaptive eps strategy demonstrated significant advantages across all four evaluation metrics: ARI (0.982), NMI (0.989), FMI (0.986), and Completeness (0.999). Mean-Shift showed noticeably lower performance in ARI (0.459) and Completeness (0.772) compared to the other algorithms, indicating its limited ability to effectively distinguish instances. SC, GMM, and K-Means all achieved ARI, NMI, and FMI scores above 0.8, demonstrating a certain level of clustering capability. However, their overall performance remained lower than that of the DBSCAN algorithm with the adaptive eps strategy.
Figure 10 illustrates the performance of the different clustering algorithms in primary branch instance segmentation of jujube trees, where different colors represent distinct individual instances. The DBSCAN algorithm with adaptive eps achieved the best segmentation results, showing a significant advantage in distinguishing closely spaced primary branch instances. For OCS jujube trees (Figure 10a,b), when the spacing between primary branch instances was relatively large, SC, K-Means, GMM, and DBSCAN all performed well. However, when the instances were closely spaced, SC, K-Means, and Mean-Shift exhibited severe incorrect segmentation, while GMM showed over-segmentation at the instance junctions. For MTS jujube trees (Figure 10c,d), the Mean-Shift, SC, K-Means, and GMM algorithms exhibited similar issues: they had difficulty distinguishing primary branch instances with small inter-instance distances, and multiple instances were incorrectly mixed within a single primary branch. In contrast, the DBSCAN algorithm with adaptive eps consistently avoided these problems, achieving accurate and complete segmentation of primary branch instances and overall superior performance compared to the other algorithms.

3.3. Skeleton Extraction of Jujube Tree Branches

The ROSA algorithm was used to extract skeletons from primary branch instances of jujube trees, and the results are shown in Figure 11. For OCS jujube trees (Figure 11a,c), it accurately captured the topological structure of the primary branches. Similarly, for MTS jujube trees (Figure 11b,d), it demonstrated high precision in reconstructing the complete branch morphology. The matching results between primary branch instances and the extracted skeletons (Figure 11e,f) further verify the accuracy of the proposed algorithm. Overall, the ROSA algorithm was found to effectively extract primary branch skeletons under different tree structures, providing reliable support for subsequent IA estimation.

3.4. Estimation of the Inclination Angle of Primary Branches

This study proposes a jujube primary branch inclination angle estimation method that combines dynamic window adjustment with weighted PCA. The accuracy of the proposed method was evaluated by comparing manually measured values with the estimated results. The experimental results demonstrate that the proposed method achieved high accuracy in estimating primary branch IAs for both OCS (Figure 12a) and MTS (Figure 12b) jujube trees. For OCS jujube trees, the primary branch inclination angle estimation achieved an R2 of 0.958 and an RMSE of 2.38°; for MTS jujube trees, the R2 was 0.935 and the RMSE was 4.94°. Additionally, both tree structures exhibited narrow 95% confidence intervals (red shaded areas) and 95% prediction intervals (blue shaded areas), indicating low variability in the estimation results and strong stability. The data points were uniformly distributed around the fitted curve without evident outliers, further validating the accuracy and reliability of the proposed method in primary branch IA estimation.

3.5. Ablation Experiments

The CGCM module consists of three submodules: a polynomial term (Poly), Chebyshev graph convolution (ChebPoly), and a residual block (ResBlock). To evaluate the contribution of each submodule within CGCM-PointNet++, ablation experiments were conducted, the results of which are presented in Table 3. When no submodules were introduced, the baseline model PointNet++ achieved an Acc of 95.94% and a mean mIoU of 90.54%, indicating certain limitations in handling complex geometric structures. Incorporating the Poly submodule, the constructed PolyNet had an improved Acc of 96.50%, suggesting that the polynomial transformation enhances the model’s ability to extract nonlinear features. With the further addition of the ResBlock to form PolyResNet, the Acc increased to 96.78%, demonstrating the effectiveness of the residual structure in feature propagation and model stability. Incorporating both the Poly and ChebPoly submodules, the constructed ChebPolyNet achieved an Acc of 96.93%, validating the advantage of ChebPoly in terms of high-order feature modeling. Finally, the CGCM-PointNet++ model, constructed by incorporating the Poly, ChebPoly, and ResBlock submodules, achieved the best performance, with an Acc of 97.27% and an mIoU of 93.83%. This result confirms the synergistic effects of the three components: Poly enhances nonlinear feature representation, ChebPoly further strengthens high-order feature processing, and ResBlock ensures effective deep feature propagation.

4. Discussion

4.1. Analysis of Point Cloud Data Acquisition

High-quality acquisition of point cloud data forms the foundation for plant structural modeling and phenotypic parameter extraction and constitutes a critical prerequisite for subsequent high-precision point cloud segmentation and estimation of primary branch IA. In this study, TLS was employed for data acquisition. By performing multi-station scans and using spherical targets for registration, the three-dimensional phenotypic information of jujube trees was captured efficiently and accurately. Compared with 2D imaging methods that depend on natural or artificial illumination [42], TLS is insensitive to environmental lighting variations, operates stably under diverse illumination conditions, and is well suited to complex natural environments such as orchards and forested areas. Compared with the approximately 3 min per plant required by conventional binocular reconstruction [43], our multi-station TLS method acquired data from 78 jujube trees in 43 min, averaging about 33 s per tree, demonstrating strong field applicability and time-efficiency advantages. Additionally, to enhance data quality, the CSF and SOR were applied in combination to eliminate redundant ground points and outlier noise, providing robust support for subsequent segmentation, skeleton extraction, and IA estimation.

4.2. Analysis of Point Cloud Segmentation

Accurate segmentation of jujube tree branches and extraction of branch instances are critical for primary branch IA estimation. In this study, we propose a novel approach that integrates CGCM-PointNet++ with an optimized DBSCAN algorithm to extract jujube branch instances. The CGCM-PointNet++ model enhances semantic segmentation performance on jujube tree point clouds, while the optimized DBSCAN algorithm mitigates cluster over-segmentation and erroneous merging under uneven point-cloud density distributions. Our results align with those of Liu et al. [44], who incorporated a Transformer attention module into the PointNet++ model to enhance feature-extraction accuracy and applied the HDBSCAN algorithm for organ-level segmentation of cotton plant point clouds, successfully isolating leaves, bolls, and branches and extracting their phenotypic parameters. Similarly, Guo et al. [25] proposed a novel approach that combines ASAP-PointNet with an optimized DBSCAN algorithm for organ-level segmentation of cabbage point clouds. They demonstrated that the ASAP-PointNet model significantly improves semantic segmentation performance on cabbage point clouds, while the optimized DBSCAN algorithm effectively addresses challenges such as overlapping leaves and color similarity.

4.3. Analysis of Inclination Angle Estimation

Skeleton information, as a simplified representation of a model’s topological and geometric structure, can intuitively capture the morphological characteristics of branched plant architectures and has become a fundamental basis for extracting plant phenotypic information [45,46]. Wang et al. [47] applied a Laplacian-based skeletonization algorithm, first denoising the point cloud with a multi-pass filtering scheme before extracting the skeleton, and then obtained directional vectors for both the stem and the petiole to compute the angle between them for leaf IA. Compared with their approach, the ROSA algorithm employed in this study demonstrates superior robustness in skeleton topology reconstruction, particularly in preserving branch detail integrity and trunk continuity. Furthermore, by integrating a weighted PCA method with a dynamically adjustable window, we reduce the estimation bias introduced by significant local branch curvature variations in conventional PCA, thereby improving the stability and accuracy of primary branch IA estimation.

4.4. Analysis of Experimental Results

The proposed CGCM-PointNet++ model achieved an OA of 97.27%, CAA of 97.26%, and mIoU of 93.83% on the jujube tree point cloud test set, and likewise demonstrated outstanding performance in the ablation experiments. The DBSCAN algorithm with adaptive eps exhibited significant advantages, confirming its efficacy in branch instance segmentation. The ROSA algorithm efficiently extracted the primary branch skeleton across different tree architectures. In primary branch IA estimation, OCS and MTS jujube trees both showed high agreement with manual measurements, yielding R2 values of 0.958 and 0.935 and RMSE of 2.38° and 4.94°, respectively, thereby validating the accuracy of the proposed IA estimation method. In summary, this study offers a feasible technical pathway for fruit tree structural modeling and extraction of key phenotypic parameters, and provides a research basis for digital orchard management and intelligent pruning.

5. Conclusions

The segmentation of jujube tree branches and the estimation of primary branch IAs are critical for achieving intelligent pruning, as the results directly impact the effectiveness of the pruning task. However, in this context, branch segmentation and primary branch IA estimation based on TLS point clouds pose several challenges, relating to uneven point cloud density, complex jujube tree structures, and significant branch curvature variations. To address these challenges, this study proposed a primary branch IA estimation method based on an improved PointNet++ network, which was shown to successfully achieve accurate segmentation of jujube tree branches and precise estimation of primary branch IAs. First, jujube tree point cloud data were acquired using TLS scanning, and CloudCompare was used for point cloud annotation, normal vector calculation, and normalization, resulting in a dataset suitable for training a segmentation network. Next, the PointNet++ network was improved by integrating the CGCM module into the SA layer to enhance its feature extraction capability for jujube tree point clouds. Instance segmentation of primary branch point clouds was then achieved using the DBSCAN algorithm with an adaptive eps strategy. Finally, the ROSA algorithm was used to extract primary branch skeleton points, allowing the inclination angles to be estimated using a weighted PCA method with dynamic window adjustment. From the experimental results, the improved PointNet++ achieved an Acc of 97.27%, a CAA of 97.26%, and an mIoU of 93.83%. In primary branch IA estimation, the results for OCS and MTS jujube trees showed high consistency with manual measurements, with R2 values of 0.958 and 0.935, and RMSE values of 2.38 and 4.94°, respectively. In summary, the proposed method enables accurate jujube tree branch segmentation and IA measurement, offering a solid theoretical foundation and technical support for intelligent pruning.

Author Contributions

Conceptualization, T.T. and R.N.; data curation, L.S., C.X. and C.L.; formal analysis, T.T.; funding acquisition, M.S.; investigation, L.Z.; methodology, T.T. and C.S.; project administration, M.S. and F.Y.; resources, J.P.; software, L.S.; supervision, R.N., C.S. and F.Y.; validation, L.S.; visualization, L.S.; writing—original draft, L.S.; writing—review and editing, R.N. and C.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Xinjiang Production and Construction Corps Science and Technology Project, Southern Xinjiang key industry innovation and development support plan, grant number 2023AB063.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Acknowledgments

We would like to thank the Key Laboratory of Tarim Oasis Agriculture, Ministry of Education, and Xinjiang Production and Construction Corps for providing the experimental equipment, and the Horticultural Experimental Station for supplying the experimental materials. Their support was essential to the success of this study.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Zhang, B.; Chen, X.G.; Zhang, H.M.; Shen, C.J.; Fu, W. Design and performance test of a jujube pruning manipulator. Agriculture 2022, 12, 552. [Google Scholar] [CrossRef]
  2. Ma, B.J.; Du, J.; Wang, L.; Jiang, H.Y.; Zhou, M.C. Automatic branch detection of jujube trees based on 3D reconstruction for dormant pruning using the deep learning-based method. Comput. Electron. Agric. 2021, 190, 106484. [Google Scholar] [CrossRef]
  3. Kolmanič, S.; Strnad, D.; Kohek, Š.; Benes, B.; Hirst, P.; Žalik, B. An algorithm for automatic dormant tree pruning. Appl. Soft Comput. 2021, 99, 106931. [Google Scholar] [CrossRef]
  4. Xie, B.B.; Jin, Y.C.; Faheem, M.; Gao, W.J.; Liu, J.Z.; Jiang, H.K.; Cai, L.J.; Li, Y.X. Research progress of autonomous navigation technology for multi-agricultural scenes. Comput. Electron. Agric. 2023, 211, 107963. [Google Scholar] [CrossRef]
  5. Akbar, S.A.; Elfiky, N.M.; Kak, A. A novel framework for modeling dormant apple trees using single depth image for robotic pruning application. In Proceedings of the IEEE International Conference on Robotics and Automation, Stockholm, Sweden, 16–21 May 2016; pp. 5136–5142. [Google Scholar]
  6. Li, Y.L.; Zhang, Z.Y.; Wang, X.F.; Fu, W.; Li, J.B. Automatic reconstruction and modeling of dormant jujube trees using three-view image constraints for intelligent pruning applications. Comput. Electron. Agric. 2023, 212, 108149. [Google Scholar] [CrossRef]
  7. Qiao, Y.C.; Hu, Y.H.; Zheng, Z.Z.; Qu, Z.H.; Wang, C.; Guo, T.F.; Hou, J.C. A diameter measurement method of red jujubes trunk based on improved PSPNet. Agriculture 2022, 12, 1140. [Google Scholar] [CrossRef]
  8. 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]
  9. Lei, X.H.; Yuan, Q.C.; Xyu, T.; Qi, Y.N.; Zeng, J.; Huang, K.; Sun, Y.H.; Herbst, A.; Lyu, X.L. Technologies and Equipment of Mechanized Blossom Thinning in Orchards: A Review. Agronomy 2023, 13, 2753. [Google Scholar] [CrossRef]
  10. Wu, B.X.; Zheng, G.; Chen, Y.; Yu, D.S. Assessing inclination angles of tree branches from terrestrial laser scan data using a skeleton extraction method. Int. J. Appl. Earth Obs. Geoinf. 2021, 104, 102589. [Google Scholar] [CrossRef]
  11. Mo, J.W.; Lan, Y.B.; Yang, D.Z.; Wen, F.; Qiu, H.B.; Chen, X.; Deng, X.L. Deep learning-based instance segmentation method of litchi canopy from UAV-acquired images. Remote Sens. 2021, 13, 3919. [Google Scholar] [CrossRef]
  12. Pérez-Borrero, I.; Marín-Santos, D.; Gegúndez-Arias, M.E.; Cortés-Ancos, E. A fast and accurate deep learning method for strawberry instance segmentation. Comput. Electron. Agric. 2020, 178, 105736. [Google Scholar] [CrossRef]
  13. He, K.; Gkioxari, G.; Dollár, P.; Girshick, R. Mask r-cnn. In Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy, 22–29 October 2017; pp. 2961–2969. [Google Scholar]
  14. Ling, S.K.; Wang, N.Y.; Li, J.B.; Ding, L.P. Accurate Recognition of Jujube Tree Trunks Based on Contrast Limited Adaptive Histogram Equalization Image Enhancement and Improved YOLOv8. Forests 2024, 15, 625. [Google Scholar] [CrossRef]
  15. Sun, Y.Z.; Zhang, Z.X.; Sun, K.; Li, S.; Yu, J.L.; Miao, L.X.; Zhang, Z.G.; Li, Y.; Zhao, H.J.; Hu, Z.B. Soybean-MVS: Annotated three-dimensional model dataset of whole growth period soybeans for 3D plant organ segmentation. Agriculture 2023, 13, 1321. [Google Scholar] [CrossRef]
  16. Westling, F.; Underwood, J.; Bryson, M. A procedure for automated tree pruning suggestion using LiDAR scans of fruit trees. Comput. Electron. Agric. 2021, 187, 106274. [Google Scholar] [CrossRef]
  17. Gamal, A.; Wibisono, A.; Wicaksono, S.B.; Abyan, M.A.; Hamid, N.; Wisesa, H.A.; Jatmiko, W.; Ardhianto, R. Automatic LIDAR building segmentation based on DGCNN and euclidean clustering. J. Big Data 2020, 7, 102. [Google Scholar] [CrossRef]
  18. Suthaharan, S. Support vector machine. In Machine Learning Models and Algorithms for Big Data Classification: Thinking with Examples for Effective Learning; Springer: Boston, MA, USA, 2016; Volume 36, pp. 207–235. [Google Scholar]
  19. Sa, I.; Lehnert, C.; English, A.; McCool, C.; Dayoub, F.; Upcroft, B.; Perez, T. Peduncle detection of sweet pepper for autonomous crop harvesting—Combined color and 3-D information. IEEE Robot. Autom. Lett. 2017, 2, 765–772. [Google Scholar] [CrossRef]
  20. Wahabzada, M.; Paulus, S.; Kersting, K.; Mahlein, A.-K. Automated interpretation of 3D laserscanned point clouds for plant organ segmentation. BMC Bioinform. 2015, 16, 248. [Google Scholar] [CrossRef]
  21. Jin, S.C.; Su, Y.J.; Wu, F.F.; Pang, S.X.; Gao, S.; Hu, T.Y.; Liu, J.; Guo, Q.H. Stem–leaf segmentation and phenotypic trait extraction of individual maize using terrestrial LiDAR data. IEEE Trans. Geosci. Remote Sens. 2018, 57, 1336–1346. [Google Scholar] [CrossRef]
  22. Qiu, T.; Cheng, L.L.; Jiang, Y. 3D characterization of tree architecture for apple crop load estimation. In Proceedings of the 2022 ASABE Annual International Meeting, Houston, TX, USA, 17–20 July 2022; p. 1. [Google Scholar]
  23. Itakura, K.; Miyatani, S.; Hosoi, F. Estimating tree structural parameters via automatic tree segmentation from LiDAR point cloud data. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2021, 15, 555–564. [Google Scholar] [CrossRef]
  24. Saeed, F.; Li, C. Plant organ segmentation from point clouds using Point-Voxel CNN. In Proceedings of the 2021 ASABE Annual International Virtual Meeting, Online, 12–16 July 2021; p. 1. [Google Scholar]
  25. Guo, R.C.; Xie, J.L.; Zhu, J.X.; Cheng, R.F.; Zhang, Y.; Zhang, X.H.; Gong, X.J.; Zhang, R.W.; Wang, H.; Meng, F.F. Improved 3D point cloud segmentation for accurate phenotypic analysis of cabbage plants using deep learning and clustering algorithms. Comput. Electron. Agric. 2023, 211, 108014. [Google Scholar] [CrossRef]
  26. Qi, C.R.; Su, H.; Mo, K.; Guibas, L.J. Pointnet: Deep learning on point sets for 3d classification and segmentation. In Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR 2017), Honolulu, HI, USA, 21–26 July 2017; pp. 652–660. [Google Scholar]
  27. Qi, C.R.; Yi, L.; Su, H.; Guibas, L.J. Pointnet++: Deep hierarchical feature learning on point sets in a metric space. In Proceedings of the Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, Long Beach, CA, USA, 4–9 December 2017; pp. 1–5. [Google Scholar]
  28. Sun, X.M.; He, L.L.; Jiang, H.H.; Li, R.; Mao, W.L.; Zhang, D.; Majeed, Y.; Andriyanov, N.; Soloviev, V.; Fu, L.S. Morphological estimation of primary branch length of individual apple trees during the deciduous period in modern orchard based on PointNet++. Comput. Electron. Agric. 2024, 220, 108873. [Google Scholar] [CrossRef]
  29. Ao, Z.R.; Wu, F.F.; Hu, S.H.; Sun, Y.; Su, Y.J.; Guo, Q.H.; Xin, Q.C. Automatic segmentation of stem and leaf components and individual maize plants in field terrestrial LiDAR data using convolutional neural networks. Crop J. 2022, 10, 1239–1250. [Google Scholar] [CrossRef]
  30. Chang, A.X.; Funkhouser, T.; Guibas, L.; Hanrahan, P.; Huang, Q.; Li, Z.; Savarese, S.; Savva, M.; Song, S.; Su, H. Shapenet: An information-rich 3d model repository. arXiv 2015, arXiv:1512.03012. [Google Scholar]
  31. Defferrard, M.; Bresson, X.; Vandergheynst, P. Convolutional neural networks on graphs with fast localized spectral filtering. Adv. Neural Inf. Process. Syst. 2016, 29, 1–9. [Google Scholar]
  32. Ferrara, R.; Virdis, S.G.P.; Ventura, A.; Ghisu, T.; Duce, P.; Pellizzaro, G. An automated approach for wood-leaf separation from terrestrial LIDAR point clouds using the density based clustering algorithm DBSCAN. Agric. For. Meteorol. 2018, 262, 434–444. [Google Scholar] [CrossRef]
  33. Wang, C.; Ji, M.; Wang, J.; Wen, W.; Li, T.; Sun, Y. An improved DBSCAN method for LiDAR data segmentation with automatic Eps estimation. Sensors 2019, 19, 172. [Google Scholar] [CrossRef]
  34. Tagliasacchi, A.; Zhang, H.; Cohen-Or, D. Curve skeleton extraction from incomplete point cloud. ACM Trans. 2009, 28, 71. [Google Scholar] [CrossRef]
  35. Wang, Y.; Sun, Y.B.; Liu, Z.W.; Sarma, S.E.; Bronstein, M.M.; Solomon, J.M. Dynamic graph cnn for learning on point clouds. ACM Trans. Graph. 2019, 38, 146. [Google Scholar] [CrossRef]
  36. Zheng, S.; Pan, J.Q.; Lu, C.J.; Gupta, G. Pointnorm: Dual normalization is all you need for point cloud analysis. In Proceedings of the 2023 International Joint Conference on Neural Networks (IJCNN), Gold Coast, Australia, 18–23 June 2023; pp. 1–8. [Google Scholar]
  37. Ma, X.; Qin, C.; You, H.X.; Ran, H.X.; Fu, Y. Rethinking network design and local geometry in point cloud: A simple residual MLP framework. arXiv 2022, arXiv:2202.07123. [Google Scholar] [CrossRef]
  38. Belton, D.; Moncrieff, S.; Chapman, J. Processing tree point clouds using Gaussian Mixture Models. ISPRS Ann. Photogramm. Remote Sens. Spat. Inf. Sci. 2013, 2, 43–48. [Google Scholar] [CrossRef]
  39. Miao, Y.L.; Li, S.; Wang, L.Y.; Li, H.; Qiu, R.C.; Zhang, M. A single plant segmentation method of maize point cloud based on Euclidean clustering and K-means clustering. Comput. Electron. Agric. 2023, 210, 107951. [Google Scholar] [CrossRef]
  40. Ma, T.; Wu, Z.Z.; Feng, L.; Luo, P.; Long, X. Point cloud segmentation through spectral clustering. In Proceedings of the 2nd International Conference on Information Science and Engineering, Hangzhou, China, 4–6 December 2010; pp. 1–4. [Google Scholar]
  41. Carreira-Perpiñán, M.Á. A review of mean-shift algorithms for clustering. arXiv 2015, arXiv:1503.00687. [Google Scholar] [CrossRef]
  42. Wang, H.; Zhang, W.; Yang, G.; Lei, L.; Han, S.; Xu, W.; Chen, R.; Zhang, C.; Yang, H. Maize ear height and ear–plant height ratio estimation with LiDAR data and vertical leaf area profile. Remote Sens. 2023, 15, 964. [Google Scholar] [CrossRef]
  43. Shen, J.; Wu, T.; Zhao, J.; Wu, Z.; Huang, Y.; Gao, P.; Zhang, L. Organ segmentation and phenotypic trait extraction of cotton seedling point clouds based on a 3D lightweight network. Agronomy 2024, 14, 1083. [Google Scholar] [CrossRef]
  44. Liu, F.-Y.; Geng, H.; Shang, L.-Y.; Si, C.-J.; Shen, S.-Q. A cotton organ segmentation method with phenotypic measurements from a point cloud using a transformer. Plant Methods 2025, 21, 37. [Google Scholar] [CrossRef]
  45. Zhu, T.; Ma, X.; Guan, H.; Wu, X.; Wang, F.; Yang, C.; Jiang, Q. A method for detecting tomato canopies’ phenotypic traits based on improved skeleton extraction algorithm. Comput. Electron. Agric. 2023, 214, 108285. [Google Scholar] [CrossRef]
  46. 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]
  47. Wang, Y.; Liu, Q.; Yang, J.; Ren, G.; Wang, W.; Zhang, W.; Li, F. A method for tomato plant stem and leaf segmentation and phenotypic extraction based on skeleton extraction and supervoxel clustering. Agronomy 2024, 14, 198. [Google Scholar] [CrossRef]
Figure 1. Experimental site and typical jujube tree structures: (a) location of the experimental site in China; (b) geographic information of the experimental site; (c) environment of the jujube orchard; (d) TLS data acquisition layout; (e) MTS jujube tree structure; (f) OCS jujube tree structure.
Figure 1. Experimental site and typical jujube tree structures: (a) location of the experimental site in China; (b) geographic information of the experimental site; (c) environment of the jujube orchard; (d) TLS data acquisition layout; (e) MTS jujube tree structure; (f) OCS jujube tree structure.
Agriculture 15 01193 g001
Figure 2. Jujube tree point cloud data collection process: (a) TLS system setup; (b) layout of the acquisition stations and site; (c) raw point cloud data.
Figure 2. Jujube tree point cloud data collection process: (a) TLS system setup; (b) layout of the acquisition stations and site; (c) raw point cloud data.
Agriculture 15 01193 g002
Figure 3. Point cloud filtering and optimization: (a) ground points removal using CSF; (b) noise points removal using SOR; (c) jujube tree point cloud after cleaning irrelevant structures.
Figure 3. Point cloud filtering and optimization: (a) ground points removal using CSF; (b) noise points removal using SOR; (c) jujube tree point cloud after cleaning irrelevant structures.
Agriculture 15 01193 g003
Figure 4. Jujube tree point cloud processing workflow: (a) raw point cloud; (b) simplified point cloud retaining (x, y, z) coordinates; (c) normal vector calculation; (d) structural annotation; (e) downsampling via farthest point sampling; (f) point cloud after downsampling and normalization.
Figure 4. Jujube tree point cloud processing workflow: (a) raw point cloud; (b) simplified point cloud retaining (x, y, z) coordinates; (c) normal vector calculation; (d) structural annotation; (e) downsampling via farthest point sampling; (f) point cloud after downsampling and normalization.
Agriculture 15 01193 g004
Figure 5. Network architecture of CGCM-PointNet++. The CGCM module is introduced into the SA layers of PointNet++ to gradually downsample and extract local nonlinear features from the point cloud. Feature Propagation layers are then used to progressively upsample and restore the structure to the original point cloud, enabling the aggregation of feature information at each point. This process ultimately achieves fine-grained semantic segmentation of trunks, primary branches, and secondary branches.
Figure 5. Network architecture of CGCM-PointNet++. The CGCM module is introduced into the SA layers of PointNet++ to gradually downsample and extract local nonlinear features from the point cloud. Feature Propagation layers are then used to progressively upsample and restore the structure to the original point cloud, enabling the aggregation of feature information at each point. This process ultimately achieves fine-grained semantic segmentation of trunks, primary branches, and secondary branches.
Agriculture 15 01193 g005
Figure 6. Composition of the CGCM module. The module generates multi-order Chebyshev polynomials based on the normalized Laplacian matrix to extract and concatenate high-order geometric features, which are then aggregated through polynomial convolution. In addition, a residual branch is introduced to extract basic semantic features, which are combined with the graph convolution output via element-wise addition, enabling joint modeling of nonlinear structural patterns and semantic information.
Figure 6. Composition of the CGCM module. The module generates multi-order Chebyshev polynomials based on the normalized Laplacian matrix to extract and concatenate high-order geometric features, which are then aggregated through polynomial convolution. In addition, a residual branch is introduced to extract basic semantic features, which are combined with the graph convolution output via element-wise addition, enabling joint modeling of nonlinear structural patterns and semantic information.
Agriculture 15 01193 g006
Figure 7. Workflow of primary branch IA extraction in jujube trees: (a) skeleton points of the trunk and primary branches extracted based on instance segmentation, where different colors represent different primary branch instances and red dots indicate the extracted skeleton points; (b) determined primary branch path; (c) process of inclination angle estimation based on PCA with dynamic window adjustment.
Figure 7. Workflow of primary branch IA extraction in jujube trees: (a) skeleton points of the trunk and primary branches extracted based on instance segmentation, where different colors represent different primary branch instances and red dots indicate the extracted skeleton points; (b) determined primary branch path; (c) process of inclination angle estimation based on PCA with dynamic window adjustment.
Agriculture 15 01193 g007
Figure 8. Visualization of the CGCM-PointNet++ network training process: (a) accuracy values during training; (b) loss values during training.
Figure 8. Visualization of the CGCM-PointNet++ network training process: (a) accuracy values during training; (b) loss values during training.
Agriculture 15 01193 g008
Figure 9. Visualization of semantic segmentation results by different networks on the jujube tree point cloud dataset: (a) OCS sample 1; (b) OCS sample 2; (c) MTS sample 1; (d) MTS sample 2.
Figure 9. Visualization of semantic segmentation results by different networks on the jujube tree point cloud dataset: (a) OCS sample 1; (b) OCS sample 2; (c) MTS sample 1; (d) MTS sample 2.
Agriculture 15 01193 g009
Figure 10. Visualization of instance segmentation results using different clustering algorithms: (a) OCS instance 1; (b) OCS instance 2; (c) MTS instance 1; (d) MTS instance 2.
Figure 10. Visualization of instance segmentation results using different clustering algorithms: (a) OCS instance 1; (b) OCS instance 2; (c) MTS instance 1; (d) MTS instance 2.
Agriculture 15 01193 g010
Figure 11. Visualization of jujube tree branch skeleton extraction results: (a) OCS branch instance. (b) MTS branch instance; (c) skeleton extraction result of OCS branch; (d) skeleton extraction result of MTS branch; (e) matching result of OCS branch; (f) matching result of MTS branch.
Figure 11. Visualization of jujube tree branch skeleton extraction results: (a) OCS branch instance. (b) MTS branch instance; (c) skeleton extraction result of OCS branch; (d) skeleton extraction result of MTS branch; (e) matching result of OCS branch; (f) matching result of MTS branch.
Agriculture 15 01193 g011
Figure 12. Relationship between estimated and measured values of primary branch IAs: (a) OCS jujube trees; (b) MTS jujube trees.
Figure 12. Relationship between estimated and measured values of primary branch IAs: (a) OCS jujube trees; (b) MTS jujube trees.
Agriculture 15 01193 g012
Table 1. Comparison of test results on the dataset using different segmentation networks.
Table 1. Comparison of test results on the dataset using different segmentation networks.
ModelAccCAAmIoUOcs_mIoUMts_mIoU
PointNet84.4783.1869.675.064.3
PointNorm87.6985.2872.773.771.7
DGCNN90.0687.880.075.069.0
PointMLP94.7694.3588.789.388.2
PointNet++95.9495.7990.588.193.0
Ours97.2797.2693.8395.292.47
Table 2. Instance segmentation results for different clustering algorithms.
Table 2. Instance segmentation results for different clustering algorithms.
MethodARINMIFMICompleteness
Mean-Shift0.459 0.717 0.584 0.772
SC0.810 0.856 0.846 0.869
GMM0.846 0.890 0.873 0.878
K-Means0.861 0.910 0.884 0.898
DBSCAN0.982 0.989 0.986 0.999
Table 3. Performance comparison of different submodule combinations.
Table 3. Performance comparison of different submodule combinations.
ModelPolyChebPolyResBlockAccCAAmIoUOcs_mIoUMts_mIoU
PointNet++95.9495.7990.5492.9788.10
PolyNet96.5096.4092.293.0291.42
PolyResNet96.7896.6792.7893.2992.26
ChebPolyNet96.9396.5992.5293.4291.62
CGCM-PointNet++97.2797.2693.8395.2092.47
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.

Share and Cite

MDPI and ACS Style

Shang, L.; Yan, F.; Teng, T.; Pan, J.; Zhou, L.; Xia, C.; Li, C.; Shi, M.; Si, C.; Niu, R. Morphological Estimation of Primary Branch Inclination Angles in Jujube Trees Based on Improved PointNet++. Agriculture 2025, 15, 1193. https://doi.org/10.3390/agriculture15111193

AMA Style

Shang L, Yan F, Teng T, Pan J, Zhou L, Xia C, Li C, Shi M, Si C, Niu R. Morphological Estimation of Primary Branch Inclination Angles in Jujube Trees Based on Improved PointNet++. Agriculture. 2025; 15(11):1193. https://doi.org/10.3390/agriculture15111193

Chicago/Turabian Style

Shang, Linyuan, Fenfen Yan, Tianxin Teng, Junzhang Pan, Lei Zhou, Chao Xia, Chenlin Li, Mingdeng Shi, Chunjing Si, and Rong Niu. 2025. "Morphological Estimation of Primary Branch Inclination Angles in Jujube Trees Based on Improved PointNet++" Agriculture 15, no. 11: 1193. https://doi.org/10.3390/agriculture15111193

APA Style

Shang, L., Yan, F., Teng, T., Pan, J., Zhou, L., Xia, C., Li, C., Shi, M., Si, C., & Niu, R. (2025). Morphological Estimation of Primary Branch Inclination Angles in Jujube Trees Based on Improved PointNet++. Agriculture, 15(11), 1193. https://doi.org/10.3390/agriculture15111193

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop