Panoptic Mapping with Fruit Completion and Pose Estimation for Horticultural Robots

Yue Pan, Federico Magistri, Thomas Läbe, Elias Marks, Claus Smitt, Chris McCool, Jens Behley, Cyrill StachnissarXiv 2023

TL;DR

This paper introduces an online, multi-resolution panoptic mapping system that allows horticultural robots to "see through" greenhouse clutter and reconstruct the complete 3D shape and 7 DoF pose of individual fruits. By combining learned 3D shape priors with an occlusion-aware differentiable rendering pipeline, the system achieves a 41% improvement in shape completion and a 52% improvement in pose estimation accuracy over existing methods, all in under a second per fruit.

What Problem Does This Paper Address?

For agricultural robots to successfully automate labor-intensive tasks like harvesting or precise yield estimation, they need high-fidelity 3D information about the crops. However, commercial greenhouses and orchards are highly cluttered environments. Fruits are frequently occluded by leaves, stems, or other fruits, leaving robots with partial and incomplete 3D observations.

While classical volumetric mapping algorithms can build 3D models of a scene, they cannot fill in these missing, non-visible parts of an object. Existing shape-completion methods either rely on rigid geometric templates that miss fine details, take too long to compute online, or fail when fruits appear in non-canonical poses and scales in the real world. This paper tackles the challenge of jointly estimating both the complete 3D shape and the full 7 degrees-of-freedom (DoF) pose (rotation, translation, and scale) of fruits directly within a globally consistent 3D map.

Methods

The authors propose an online mapping and optimization pipeline consisting of two main phases:

  1. Multi-Resolution Panoptic Mapping: As the robot moves, it uses an RGB-D camera and Mask R-CNN to segment fruit instances. The system builds a panoptic volumetric map where the background (leaves, stems) is mapped at a lower resolution (1 cm voxels) to save memory, while the target fruits are mapped at a high resolution (3 mm voxels) to preserve detail.
  2. Joint Shape and Pose Optimization: Once a fruit is no longer observed, its submap is frozen for reconstruction. The system leverages a pre-trained DeepSDF network—a neural network that encodes a general shape prior for a specific fruit species.

To align this shape prior with the real-world partial data, the authors use an occlusion-aware differentiable rendering pipeline. The system simultaneously optimizes the fruit's latent shape code ($z$) and its 7 DoF transformation matrix ($T_{ow}$) by minimizing a combination of three losses:

  • Surface consistency loss: Aligns the high-resolution submap points with the DeepSDF model's surface.
  • Depth and Mask rendering losses: Compares rendered 2D depth and silhouette masks against the robot's actual camera observations. Crucially, the pipeline identifies and ignores pixels where foreground objects (like leaves) block the fruit, preventing occlusions from corrupting the optimization.

Instead of slow gradient descent, the authors derive analytical Jacobians to solve the optimization problem using the Levenberg-Marquardt algorithm, ensuring fast and stable convergence.

Overview pipeline of the proposed mapping system

Datasets

The approach was evaluated on two main datasets:

  • Controlled Environment Dataset: A laboratory dataset of strawberries and sweet peppers used to benchmark shape completion against baseline methods.
  • Real-World Greenhouse Dataset: A new dataset collected using a mobile robot in a commercial sweet pepper greenhouse near Bonn, Germany. To establish ground truth, the authors harvested approximately 50 sweet peppers from the scene and scanned them using a sub-millimeter precision handheld LiDAR system.
Ground truth shape models obtained by harvesting and scanning fruits

Key Insights and Ideas

  • Multi-Resolution is Crucial for Shape Completion: Interestingly, mapping fruits at a higher resolution doesn't just make the map look better—it directly feeds better data into the shape completion pipeline. Switching from a fixed-resolution map to a multi-resolution map improved Chamfer distance accuracy by 28%.
  • Differentiable Rendering as an Occlusion Filter: By explicitly checking if a rendered depth value is significantly deeper than the measured depth, the algorithm successfully flags pixels occluded by leaves. This prevents the optimization from trying to "stretch" the fruit shape to match an overlapping leaf.
  • Analytical Jacobians Enable Online Use: Deriving exact analytical formulations for the derivatives allowed the system to bypass slow automatic differentiation during runtime, achieving the speed necessary for online robotic deployment.

Key Results

  • State-of-the-Art Accuracy: In the commercial greenhouse, the proposed method achieved a Chamfer Distance ($D_C$) of 5.29 mm, outperforming the best deep-learning baseline (CoRe at 6.90 mm) and geometry-based methods (CPD at 25.38 mm).
  • Reliable Pose Estimation: The system achieved an average rotation error ($E_{rot}$) of 11.48° and a translation error ($E_{tran}$) of 11.20 mm, representing a 52% improvement over baseline methods capable of pose estimation.
  • Fast Inference: The average inference time was 0.62 seconds per fruit, making it highly practical for real-time mapping applications.
Fig. 1: Our method is able to build a multi-resolution panoptic map (top) of a challenging commercial greenhouse environment online using a mobile horticultural robot equipped with RGB-D cameras (left). Furthermore, our method manages to jointly estimate the complete shape and pose of each fruit in the panoptic map (bottom).

Limitations and Future Work

While the system is robust, the authors note that highly noisy or extremely sparse partial inputs can occasionally lead to initialization failures, resulting in an incorrect orientation estimate (as shown in the failure case in Figure 7 of the paper).

Additionally, the current framework requires pre-training a separate DeepSDF model for each specific fruit category. Future work could explore multi-class shape priors capable of handling various crops simultaneously, or tighter integration with robotic motion planners to actively guide the robot to better viewpoints for ambiguous shapes.

Summary updated

BibTeX
@misc{pan2023panoptic,
  author = {Yue Pan and Federico Magistri and Thomas Läbe and Elias Marks and Claus Smitt and Chris McCool and Jens Behley and Cyrill Stachniss},
  title = {{Panoptic Mapping with Fruit Completion and Pose Estimation for Horticultural Robots}},
  year = {2023},
  eprint = {2303.08923},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.08923},
}
Figure