← Papers

Paper record

A spontaneous keypoints connection algorithm for leafy plants skeletonization and phenotypes extraction.

Zhen Wang · Xiangnan He · Yuting Wang · Chenxue Yang · Beilei Fan · Qingbo Zhou · Xian Li

Frontiers in Plant Science · 24 Oct 2025 · 10.3389/fpls.2025.1641255

Abstract

Introduction: Leaf phenotypes are key indicators of plant growth status. Existing deep learning-based leaf skeletonization typically requires extensive manual labeling, long training, and predefined keypoints, which limits scalability. We developed a training-free and label-free approach that connects spontaneously detected keypoints to generate leaf skeletons for leafy plants. Methods: The method comprises random seed-point generation and adaptive keypoint connection. For plants with random leaf morphology, we determine a threshold for the angle difference among any three consecutive adjacent points and iteratively identify keypoints within circular search neighborhoods to trace leaf skeletons. For plants with regular leaf morphology, we fit the skeleton trajectory by minimizing curvature. We validated the approach on vertical and front-view images of orchids (covering random and regular morphological cases) and extracted five phenotypic parameters from the resulting skeletons. Generalization was further assessed on a maize image dataset. Results: On orchid images, the proposed approach achieved an average curvature fitting error of 0.12 and an average leaf recall of 92%. Five orchid phenotypic parameters were accurately derived from the skeletons. The method also showed effective skeletonization on maize, indicating cross-species applicability. Discussion: By eliminating manual labels and training, this approach reduces annotation effort and computational overhead while enabling precise geometric phenotype calculation from skeleton-based keypoints. Its effectiveness on both randomly distributed and regularly shaped leafy plants suggests suitability for high-throughput plant phenotyping workflows.

Code and data availability

The paper uses a publicly available single-plant maize image dataset (hosted on datasetninja) as its generalization-test input; the orchid images and the authors' algorithm code have no stated public deposit in the supplied blocks.

Datasetpublic

Using the publicly available single-plant maize dataset (Dataset URL: https://datasetninja.com/maize-whole-plant-image-dataset ), which captured images of a single maize plant over 113 days—with 1 vertical view and 12 front view images taken each day—the spontaneous keypoints connection algorithm was applied to both a front view ( Figure 9 ) and a vertical view image ( Figure 9 ) from 10 different days

Open resource ↗datasetninja · maize-whole-plant-image-dataset · lines:429-438