# Amodal Segmentation and Trait Extraction of On-Branch Soybean Pods with a Synthetic Dual-Mask Dataset

**Authors:** Kaiwen Jiang, Wei Guo, Wenli Zhang

PMC · DOI: 10.3390/s25206486 · Sensors (Basel, Switzerland) · 2025-10-21

## TL;DR

This paper introduces a new method for accurately analyzing soybean pods on branches using synthetic data and advanced segmentation techniques to handle occlusions.

## Contribution

A novel pipeline combining synthetic data generation and amodal segmentation for non-destructive soybean pod trait extraction.

## Key findings

- The model achieves high precision in visible and amodal segmentation of on-branch soybean pods.
- Synthetic data improves performance across models, showing effective occlusion reasoning.
- Key traits like seed per pod and pod dimensions are extracted with high accuracy.

## Abstract

We address the challenge that occlusions in on-branch soybean images impede accurate pod-level phenotyping. We propose a lab on-branch pipeline that couples a prior-guided synthetic data generator (producing synchronized visible and amodal labels) with an amodal instance segmentation framework based on an improved Swin Transformer backbone with a Simple Attention Module (SimAM) and dual heads, trained via three-stage transfer (synthetic excised → synthetic on-branch → few-shot real). Guided by complete (amodal) masks, a morphology-driven module performs pose normalization, axial geometric modeling, multi-scale fused density mapping, marker-controlled watershed, and topological consistency refinement to extract seed per pod (SPP) and geometric traits. On real on-branch data, the model attains Visible Average Precision (AP) 50/75 of 91.6/77.6 and amodal AP50/75 of 90.1/74.7, and incorporating synthetic data yields consistent gains across models, indicating effective occlusion reasoning. On excised pod tests, SPP achieves a mean absolute error (MAE) of 0.07 and a root mean square error (RMSE) of 0.26; pod length/width achieves an MAE of 2.87/3.18 px with high agreement (R2 up to 0.94). Overall, the co-designed data–model–task pipeline recovers complete pod geometry under heavy occlusion and enables non-destructive, high-precision, and low-annotation-cost extraction of key traits, providing a practical basis for standardized laboratory phenotyping and downstream breeding applications.

## Full-text entities

- **Species:** Glycine max (soybean, species) [taxon 3847]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12567918/full.md

## Figures

10 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12567918/full.md

## References

50 references — full list in the complete paper: https://tomesphere.com/paper/PMC12567918/full.md

---
Source: https://tomesphere.com/paper/PMC12567918