Angle measurement of stems and slender crop organs is often constrained in natural field environments. Manual measurement cannot fully meet the needs of large-scale cultivation, due to the unstable performance caused by cluttered backgrounds, irregular organ boundaries, local curvature, and multi-view projection distortion. Non-destructive measurement is often required for the field robustness of angle phenotyping for crop slender organs. In this study, a growth angle measurement was developed using a fast segment anything model with skeleton-geometric constraints (FS-SGC). A task-oriented workflow was also constructed to integrate zero-shot instance segmentation, global-topology-guided geometric feature extraction, and vector-based angle estimation. (1) Fast segment anything model (FastSAM) was adopted as the front-end segmentation model to isolate target organs from complex scenes without task-specific dense annotation training. A multi-scale region-of-interest cascade strategy was then introduced to progressively refine local target regions, suppress redundant background interference, and generate high-quality binary masks for individual target organs. (2) A topology-constrained skeleton extraction was designed to preserve continuity and endpoint integrity during thinning. The extracted skeleton was further used to construct a global geometric envelope, indicating the dominant structural extent and directional trend of the target organ. Local ridge-like geometric features were extracted in multi-scale space using a Hessian-matrix-based strategy. Subtle structural information was retained along slender organs. Local directional deviations were corrected to complement global description. (3) Key feature points were converted into vectors using least-squares edge updating. Organ growth angle was estimated from the fitted directional structure under the global geometric envelope. In field deployment, a geometric correction with a calibration board was further incorporated to reduce projection distortion caused by non-orthogonal image acquisition, particularly for the geometric fidelity under multi-view imaging. The model was finally evaluated on a self-constructed rapeseed stem dataset. Among them, 330 images were collected from growth stages and structural forms. The cross-organ generalization was further examined on a public wheat flag leaf dataset. Experiments were conducted against representative geometry-, edge-, contour-, and segmentation-assisted approaches. Results showed that the best performance was achieved with a coefficient of determination (R2) of 0.928 2 and a root mean square error (RMSE) of 2.078° on the rapeseed stem dataset. The model outperformed the reference ones in terms of mean absolute error (MAE), RMSE, R2, Pearson correlation coefficient (r), and agronomic tolerance compliance rate (ATCR), with an acceptable pipeline processing time of 0.366 0 s per sample. The workflow was more effective for organs with slender morphology, irregular boundaries, local bending, or background interference, where conventional ones were more likely to produce biased direction estimation. Ablation experiments further demonstrated that each module contributed positively to the final performance: High-quality target isolation was essential for reliable angle estimation; topology-constrained skeleton extraction improved structural continuity and directional stability; and local geometric features with Hessian matrix compensated directional deviations that coarse global envelopes failed to fully resolve alone. Furthermore, an R2 of 0.993 2 was obtained on the wheat flag leaf dataset, indicating better adaptability over crops, organs, and image characteristics. In addition, the geometric correction with a calibration board improved field measurement reliability under non-orthogonal imaging, particularly with the high average angular error (within 1.8°) caused by perspective distortion. Overall, the FS-SGC model can provide an effective solution to measure crop slender organs using zero-shot segmentation, topology-preserving skeleton analysis, local geometric enhancement, and least-squares vector fitting within a unified workflow. The high accuracy was achieved on both self-constructed and public datasets, indicating robust adaptability to slender and irregular plant structures and practical applicability under field imaging after geometric correction. The findings can provide technical support for fine-scale characterization of crop slender-organ architecture, lodging phenotyping, and non-destructive monitoring in smart agriculture. A feasible technical pathway can also be offered for high-throughput extraction of structural traits for crop phenomics in field environments.
Publications
- Article type
- Year
- Co-author
Year
Issue
Transactions of the Chinese Society of Agricultural Engineering 2026, 42(18): 50-61
Published: 30 September 2026
Downloads:0
Total 1
京公网安备11010802044758号