(Real2Sim)−1: 3D Branch Point Cloud Completion for Robotic Pruning in Apple Orchards

Tian Qiu, Alan Zoubi, Nikolai Spine, Lailiang Cheng, Yu Jiang

TL;DR

This paper introduces a novel closed-loop approach, (Real2Sim)<sup>−1</sup>, to address the critical challenge of incomplete 3D point cloud data in agricultural robotics, specifically for robotic pruning in apple orchards. By generating realistic simulated apple trees and using them to train a joint point cloud completion and skeletonization model, they achieve significant improvements in branch characterization accuracy, paving the way for more precise and efficient robotic pruning.

What Problem Does This Paper Address?

Robotic pruning in agriculture holds immense promise for addressing labor shortages and improving efficiency. However, a major bottleneck is the ability of robots to accurately perceive the complex 3D geometry and topology of trees. Point clouds captured in real-world orchard environments are often incomplete and noisy due to factors like high tree density, occlusions, and adverse weather. This lack of complete data severely limits the accuracy of subsequent tasks, such as identifying branches for pruning, which is crucial for optimizing crop load, fruit quality, and tree vitality. Existing methods struggle with this data scarcity, and manual parameterization for simulations is time-consuming and error-prone.

Methods

The core of this work is the (Real2Sim)<sup>−1</sup> framework, which comprises two key components:

  • Real2Sim Data Generation Pipeline: This pipeline generates realistic 3D apple tree models for simulation. It leverages existing apple tree structural data (from AppleQSM) to create detailed 3D models without manual parameterization. This is a significant improvement over traditional simulation methods that require extensive manual input.
  • Joint Completion and Skeletonization Model: This is a deep learning model, implemented using a transformer encoder and a joint decoder, designed to perform two tasks simultaneously:
  • Point Cloud Completion: Filling in missing parts of the incomplete real-world point clouds.
  • Skeletonization: Extracting the underlying skeletal structure of the branches. The model is trained using a Generative Adversarial Network (GAN) framework and incorporates a novel variance loss function. This loss helps to enforce the geometric properties of cylindrical branches by minimizing the variance of distances between surface points and skeleton points, leading to more coherent and accurate completions. The model is trained in a two-stage process, first on a general dataset and then fine-tuned on the simulated data.

Datasets

  • Real-World Field Dataset (COB2022): A dataset of 106 branches from 9 apple trees, collected using a terrestrial laser scanner (TLS). This dataset is used for evaluating the Sim2Real performance.
  • Simulated Datasets:
    • FB (Fusion Branch): Generated using the Real2Sim pipeline from real-world data. This dataset aims to capture realistic geometric and topological features.
  • NB (Nozeran Branch): Generated using the Nozeran tree growth model in L-Py, which creates more abstract and less realistic tree structures. This dataset serves as a comparison to highlight the importance of realistic simulation data.

Key Insights and Ideas

  • The Power of Realistic Simulation: The study strongly emphasizes that the quality and realism of simulated data are paramount for effective Sim2Real transfer. The FB dataset, generated with the Real2Sim pipeline, significantly outperforms the NB dataset in enabling accurate completion and characterization.
  • Joint Completion and Skeletonization is Crucial: Performing completion and skeletonization simultaneously, rather than as separate steps, leads to better results. The skeletal information acts as a strong prior, guiding the completion process and improving topological accuracy.
  • Novel Variance Loss for Geometric Regularization: The proposed variance loss is a key innovation. It leverages the inherent cylindrical nature of branches to enforce more accurate and consistent geometry, especially in areas with high incompleteness or complex curvature.
  • (Real2Sim)<sup>−1</sup> as a Closed-Loop Solution: The paper frames the entire process as a closed-loop system, highlighting its potential for broader applications beyond apple pruning, particularly in domains facing data scarcity.

Key Results

  • Improved Branch Characterization: The Joint-GSV model (joint completion/skeletonization with variance loss) achieved significant reductions in characterization errors compared to baseline methods and other models:
  • Mean Absolute Error (MAE) for branch diameter reduced by 75%.
  • MAE for branch angle reduced by 8%.
  • Superior Completion Quality: Qualitatively, the Joint-GSV model produced more accurate and biologically plausible completions, with better alignment and fewer missed segments compared to other models like AdaPoinTr-FB.
  • Zero-Shot Generalization: The trained model demonstrated effective performance on real-world data without requiring any additional real-world training data, showcasing strong zero-shot generalization capabilities.
  • Quantitative Completion Metrics: The CD-l₁ metric showed that Joint-GS and Joint-GSV outperformed AdaPoinTr-FB in completion accuracy.

Limitations and Future Work

  • Limitations of NB Dataset: The NB dataset, while useful for comparison, is noted for its simplistic geometry and lack of intricate structures, which limits its effectiveness for training highly accurate models.
  • Future Work:
    • Direct Tree-Level Training: The authors plan to train the joint model directly on full tree point clouds to improve efficiency and leverage global tree information.
  • Robot Integration: The next step involves transferring the generated pruning maps to robots for real-world pruning operations.
  • Broader Applicability: The (Real2Sim)<sup>−1</sup> framework is envisioned for wider adoption across various agricultural domains and other fields facing data scarcity.

Summary updated

BibTeX
@misc{qiu2024real,
  author = {Tian Qiu and Alan Zoubi and Nikolai Spine and Lailiang Cheng and Yu Jiang},
  title = {{(Real2Sim)<sup>−1</sup>: 3D Branch Point Cloud Completion for Robotic Pruning in Apple Orchards}},
  year = {2024},
  eprint = {2404.05953},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.05953},
}
Figure