Introduction
In modern agriculture, plant phenotyping—the quantitative measurement of physical traits—is a cornerstone of crop breeding and precision farming. While 3D imaging provides a comprehensive view of plant architecture, its adoption has been hindered by the "annotation bottleneck." Current 3D segmentation models typically require vast amounts of manually labeled data, which is both labor-intensive and difficult to generalize across species. IPENS (Interactive Plant Extraction via NeRF-SAM2) addresses this by introducing an interactive, unsupervised framework that rapidly extracts high-quality 3D point clouds of plant organs without the need for pre-labeled 3D training datasets.
The IPENS Framework
The IPENS pipeline integrates Neural Radiance Fields (NeRF) with the Segment Anything Model 2 (SAM2) to "lift" 2D semantic information into 3D space, bypassing the need for 3D-labeled training data entirely.
The process consists of several key stages:
- 3D Reconstruction: Utilizing COLMAP for camera tracking and the
nerfactomodel, the system generates a high-fidelity 3D radiance field from a short video (approx. 20 seconds). - Interactive Prompting: Users provide simple point or box prompts on select 2D frames. To automate this, the framework incorporates YOLOv11 for target detection. A "Positive-Negative-Positive" strategy is employed to refine these prompts and prevent background interference.
- 2D-to-3D Mask Lifting: SAM2 propagates masks across the video sequence, which are then projected into 3D space via mask inverse rendering to iteratively refine a 3D mask.
- Occlusion Handling (SSIM Algorithm): To manage self-occlusion in complex plant structures, an algorithm based on the Structural Similarity Index Measure (SSIM) identifies "rear-view" frames, allowing the model to re-initialize tracking when organs reappear.
- Post-Processing: Morphological inpainting and denoising ensure a coherent, hole-free 3D point cloud.
Data Acquisition and Annotation
The framework was validated using two specialized datasets: the Multimodal and Multitask Rice (MMR) dataset (86 plants, >3,300 organs) and the Multimodal and Multitask Wheat (MMW) dataset (35 plants). These datasets serve as a benchmark for grain-level 3D instance segmentation, a significantly more difficult task than whole-plant segmentation.
Key Results and Performance
IPENS demonstrates significant improvements in both accuracy and efficiency over existing unsupervised methods:
- Segmentation Accuracy: The model achieved a mean Intersection over Union (mIoU) of 63.72% for rice and 89.68% for wheat, significantly outperforming other unsupervised methods like CrossPoint.
- Phenotypic Precision: Traits extracted from the 3D point clouds showed high correlation with manual measurements. For instance, wheat spike volume achieved an $R^2$ of 0.9956, while leaf surface area reached an $R^2$ of 1.00 for wheat and 0.84 for rice. Leaf length and width measurements showed $R^2$ values between 0.87 and 0.99.
- Computational Efficiency: The system is approximately 3.3x faster than previous iterations (e.g., SA3D), completing the entire pipeline from extraction to trait calculation in roughly three minutes per plant.
Conclusion and Future Directions
IPENS provides a robust solution for rapid, grain-level 3D phenotyping without the burden of manual 3D annotation. While current limitations include high VRAM requirements for multi-target segmentation and the need for a wind-free environment for NeRF reconstruction, future work will focus on memory optimization and adapting the system for field-based unmanned phenotyping vehicles equipped with multi-view imaging systems.
Summary updated