论文信息

Xiner Qumu / Xuming Dan / Jianju Feng 等 14 人

bioRxiv (Cold Spring Harbor Laboratory)

论文解读

AI 辅助整理
方法
集成基础模型分割与自动性状计算,提供图形界面,无需编程。
发现
自动测量与手动测量高度一致(R²>0.95),处理时间减少约75%。
机会点
可扩展至更多物种和性状,探索不同分割模型对复杂背景的适应性,或集成深度学习提升精度。

论文摘要

从图像中标准化提取定量表型在植物生物学中日益重要,涵盖从生态学和进化研究到遗传学、育种及功能基因组学等领域。然而,随着大型图像数据集越来越多地用于性状分析,许多生物学相关性状(包括大小、形状、颜色和空间模式)仍依赖人工测量或零散的半自动化流程进行。这些局限性降低了通量、可重复性和可及性,尤其对缺乏计算专长的研究人员而言更为突出。在此,我们介绍BioIMA,一款用于从生物图像中快速、标准化提取表型的开源桌面工具。BioIMA将基于基础模型的图像分割与自动化性状计算相结合,使用户能够通过直观的图形界面从图像中提取定量测量数据,且无需进行模型训练。为验证其性能,我们对两个杨属(Populus)物种的节部形态性状进行了定量分析,因为这些测量通常耗时费力。自动测量结果与基于ImageJ的人工测量结果高度一致(R² > 0.95),同时将单张图像的处理时间缩短约75%(从约15秒降至约4秒)。BioIMA进一步应用于多种植物数据集,包括形态和背景条件各异的向日葵属(Helianthus)和杜鹃花属(Rhododendron)图像。尽管BioIMA是为植物表型分析而开发,但也可推广至其他关注区域大小、形状或颜色性状的生物样本。通过将可及性与标准化整合于轻量级本地应用中,BioIMA为生态学和进化研究中的图像表型分析提供了实用的社区资源。

全文

bioRxiv (Cold Spring Harbor Laboratory)

BioIMA: a one-click desktop tool for standardized extraction of phenotypic traits 1
from biological images 2
3
Xiner Qumu1,2,5#, Xuming Dan 1,2#, Jianju Feng3, Yangkai Cui1,2, Yi Gong 1,2, Yukang 4
Hou1,2, Qiang Lai 1,2, Zeng Wang 1,2, Yulin Zhang 1,2, Yiman Zhu 1,2, Yan Yu1,2, Feng 5
Zhang4, Marco Todesco5, Jing Wang1,2* 6
7
1Key Laboratory for Bio -Resources and Eco -Environment of Ministry of Education, 8
Laboratory for Ex Situ Conservation and Resource Utilization of Mountain Plants, 9
College of Life Science, Sichuan University, Chengdu, Sichuan, China 10
2Chengdu Botanical Garden, Chengdu, Sichuan, China 11
3 College of Horticulture and Forestry, Tarim University, Alar, China 12
4College of Ecology, Lanzhou University, Lanzhou, China 13
5Michael Smith Laboratories, Department of Botany, University of British Columbia, 14
Vancouver, British Columbia, Canada 15
16
17

These authors contribute equally to this work 18

*Corresponding author: wangjing2019@scu.edu.cn 19
20
preprint (which was not certified by peer review) is the author/funder. All rights reserved. No reuse allowed without permission.
The copyright holder for thisthis version posted September 3, 2026. ; https://doi.org/10.64898/2026.08.30.747465doi: bioRxiv preprint

Abstract 21
Standardized extraction of quantitative phenotypes from images is increasingly 22
important across plant biology, from ecological and evolutionary studies to genetics, 23
breeding, and functional genomics. However, as large image datasets are increasingly 24
used for trait analysis, many biologically relevant traits, including size, shape, color, 25
and spatial patterning, are still measured manually or using fragmented semi-automated 26
workflows. These limitations reduce throughput, reproducibility, and accessibility, 27
especially for researchers without computational expertise. Here, we present BioIMA, 28
an open-source desktop tool for rapid and standardized phenotyping from biological 29
images. BioIMA integrates foundation model-based segmentation with automated trait 30
computation, allowing users to extract quantitative measurements from images through 31
an intuitive graphical interface and without model training. To validate its performance, 32
we quantified a set of knot morphological traits in two Populus species, as these 33
measurements are typically time -consuming to perform manually. Automatic 34
measurements showed strong agreement with manual ImageJ-based measurements (R² > 35
0.95), while reducing per-image processing time by approximately 75% (from ~15 s to 36
~4 s). BioIMA was further applied to diverse plant datasets, including Helianthus and 37
Rhododendron images with varying morphologies and background conditions. 38
Although developed for plant phenotyping, BioIMA may also be extended to other 39
biological samples where region -based size, shape, or color traits are of interest. By 40
combining accessibility and standardization in a lightweight local application, BioIMA 41
provides a practical community resource for image -based phenotyping in ecological 42
and evolutionary studies. 43
Keywords 44
Image-based phenotyping; quantitative trait extraction; interactive segmentation; plant 45
morphology; graphical user interface; open-source software 46
preprint (which was not certified by peer review) is the author/funder. All rights reserved. No reuse allowed without permission.
The copyright holder for thisthis version posted September 3, 2026. ; https://doi.org/10.64898/2026.08.30.747465doi: bioRxiv preprint

Introduction 47
Image-based phenotyping has become an essential approach in ecological, and 48
evolutionary research, enabling quantitative characterization of traits such as size, 49
shape, color, and pattern across increasing spatial and temporal scales (Jiang & Li, 2020; 50
Murphy et al., 2024) . The rapid development of imaging technologies has greatly 51
expanded the capacity to collect phenotypic data. However, extracting biologically 52
meaningful information from these images remains a major bottleneck (Furbank & 53
Tester, 2011; Gill et al., 2022) . This constraint persists as phenotypic measurements 54
often lag behind advances in genomics and data acquisition, limiting our ability to link 55
genotype, phenotype, and environment. With the increasing demand for various types 56
of phenotypic measurements in plant sciences, there is a growing need for customized 57
tools and approaches to rapidly extract biologically relevant information from images. 58
Despite progress in imaging technologies, trait extraction in plant, ecological, and 59
evolutionary research still relies heavily on manual measurement or fragmented semi -60
automated workflows, e.g., combining ImageJ -based segmentation with separate 61
scripts for measurement and statistical export (Gehan et al., 2017; Schneider et al., 62
2012). Manual phenotyping is labor-intensive, time-consuming, and prone to observer 63
bias, particularly when applied to complex morphologies or moderate to large sample 64
sizes (Fahlgren et al., 2015). While dedicated image analysis tools exist, many require 65
programming expertise that limits their adoption among biologists without 66
computational backgrounds (Pieruschka & Schurr, 2019) . As a result, the transition 67
from raw images to analyzable trait data remains a practical bottleneck even in research 68
groups that already have imaging infrastructure in place. 69
Recent advances in foundation models for computer vision, such as the Segment 70
Anything Model (SAM), provide new opportunities for flexible and generalizable 71
image segmentation (Kirillov et al., 2023) . These models enable prompt -based and 72
zero-shot (i.e., not requiring dedicated training) segmentation across diverse image 73
domains, reducing the need for task-specific training and annotated datasets. However, 74
preprint (which was not certified by peer review) is the author/funder. All rights reserved. No reuse allowed without permission.
The copyright holder for thisthis version posted September 3, 2026. ; https://doi.org/10.64898/2026.08.30.747465doi: bioRxiv preprint

existing applications of such models in plant and ecological research have largely 75
focused on segmentation or annotation tasks alone (Abbey & Meroz, 2026; Williams et 76
al., 2024). As a result, a gap remains between advances in segmentation models and 77
practical tools for extracting biologically meaningful, analysis -ready phenotypic data, 78
such that even researchers who adopt SAM -based segmentation must still rely on 79
separate, often manual, steps to extract and organize trait data. 80
Here we present BioIMA, an open-source, one-click desktop application designed 81
to bridge the gap between image segmentation and quantitative trait extraction. To 82
demonstrate its utility, we used tree knot morphology as a representative use case. Knot 83
morphology is closely related to wood quality, but its quantitative measurement is often 84
labor-intensive and time consuming when performed manually. This has motivated 85
continued efforts toward automated measurement and detection in forestry research 86
(Duchateau et al., 2013; Roussel et al., 2014) . Furthermore, we evaluated BioIMA on 87
diverse plant image datasets encompassing varied morphologies and imaging 88
conditions, supporting its broad applicability to any dataset where region -based traits 89
such as size, shape, or color are of interest and require measurement. 90
Materials and methods 91
Tool Architecture and Implementation 92
BioIMA is implemented using the Avalonia UI framework, which enables cross 93
platform desktop deployment on Windows and macOS through a unified graphical 94
interface (Figure 1). The software is distributed as a self-contained installable package 95
with all required dependencies, allowing local use without manual configuration of 96
deep learning environments. Image segmentation is powered by embedded models 97
currently including SAM (Kirillov et al., 2023) and mobile SAM (Zhang et al., 2023), 98
which are executed locally through ONNX Runtime for efficient inference without 99
internet connectivity. Source code, documentation, example datasets, and a user manual 100
are publicly available on GitHub (https://github.com/jingwanglab/BioIMA). 101
preprint (which was not certified by peer review) is the author/funder. All rights reserved. No reuse allowed without permission.
The copyright holder for thisthis version posted September 3, 2026. ; https://doi.org/10.64898/2026.08.30.747465doi: bioRxiv preprint

102
Figure 1 | Overview of the BioIMA workflow and interaction options. BioIMA supports prompt-103
based SAM segmentation with optional manual refinement to obtain a finalized mask for each 104
region of interest. The finalized mask is scale -calibrated and used to derive quantitative 105
morphological traits, including area, perimeter, shape descriptors, RGB and CIE Lab values, HEX 106
color codes and color distribution summaries. Results are exported as a CSV table and color 107
summary images, and masks/labels can be saved for downstream use. 108
109
Input and automatic segmentation processing pipeline 110
BioIMA accepts standard image formats, including JPEG, PNG, and TIFF, and is 111
designed to process biological images with complex backgrounds or subtle object 112
boundaries. After image loading, users initiate segmentation with a lightweight prompt, 113
either a click indicating the target region or an interactively defined bounding box. The 114
embedded model then generates a pixel-level mask for the region of interest, which can 115
be reviewed immediately. When necessary, the mask can be refined by adding 116
additional prompts or through manual polygon editing. This interactive workflow 117
allows segmentation results to be adjusted before downstream trait extraction. 118
119
preprint (which was not certified by peer review) is the author/funder. All rights reserved. No reuse allowed without permission.
The copyright holder for thisthis version posted September 3, 2026. ; https://doi.org/10.64898/2026.08.30.747465doi: bioRxiv preprint

Scale calibration and trait extraction 120
All morphological measurements are computed from the finalized binary mask. To 121
report traits in real units, BioIMA supports scale calibration tailored to each image using 122
an in-frame scale bar. Users define a reference line on a known length (e.g., a scale bar) 123
and provide its true value, allowing conversion from pixel units to physical units 124
(Schneider et al., 2012). 125
Then, the tool performs instant phenotyping processing to extract relevant 126
morphological traits, including area, perimeter, major axis length, aspect ratio, 127
circularity metrics, equivalent diameter, and line-based measurements (length and angle) 128
(Bradski, 2000; Gehan et al., 2017) . In addition, color features are computed in both 129
RGB and CIE Lab spaces, including mean RGB values, Lab coordinates, and HEX 130
color codes. BioIMA also includes an optional color correction step that uses a user 131
selected neutral white or gray reference region to partially reduce color bias caused by 132
lighting, camera settings, or scanning conditions. Subsequent color measurements and 133
color distribution analyses are performed on the corrected image. For regions with 134
heterogeneous or patterned coloration, BioIMA provides a color distribution module 135
that uses k means clustering to partition pixels within the selected region into dominant 136
color classes. Users can specify the number of color clusters according to their analysis 137
needs, and BioIMA then estimates the relative proportion of each color class. The 138
resulting color summary can be exported as a report, allowing users to inspect 139
representative colors, color proportions, and region level color statistics. These traits 140
are calculated using standard computer vision operations (mask binarization, contour 141
extraction, and shape descriptors based on boundaries) to ensure interpretability and 142
reproducibility (Bradski & Kaehler, 2000; Van der Walt et al., 2014) . All outputs are 143
compiled into structured phenotype tables (CSV format), enabling direct integration 144
with downstream statistical, ecological, or genomic analyses. Segmentation masks can 145
also be exported for reinspection or reuse. 146
147
Dataset and validation 148
We evaluated BioIMA on a knot image dataset from two desert poplar species, 149
preprint (which was not certified by peer review) is the author/funder. All rights reserved. No reuse allowed without permission.
The copyright holder for thisthis version posted September 3, 2026. ; https://doi.org/10.64898/2026.08.30.747465doi: bioRxiv preprint

Populus euphratica and Populus alba var. pyramidalis, which were collected in March 150
2023 in Xinjiang, China. These species represent ecologically important woody plants 151
in arid regions (Guo et al., 2025; Ma et al., 2018), and knot morphology in their stems 152
provides a tractable case for validating image -based trait extraction given its discrete 153
boundaries and measurable geometry. Images were acquired using a SONY A7RM3 154
camera equipped with a Sigma 24 -70 mm F2.8 DG DN ART lens under standardized 155
lighting and background conditions, with a physical scale bar included in each frame 156
(see image acquisition section; Figure S1). Measurement validity was assessed by 157
comparison with manual measurements obtained in ImageJ (Schneider et al., 2012) as 158
a reference standard. For each image, knot area, major axis length, and perimeter were 159
measured independently: once using BioIMA's automated segmentation pipeline, and 160
once by a single trained observer performing manual polygon annotation in ImageJ. 161
Agreement between methods was evaluated using linear regression ( R²) and Bland -162
Altman analysis (Bland & Altman, 1986) to quantify systematic bias and limits of 163
agreement. Operational efficiency and repeatability were assessed on a randomly 164
selected subset of images (n = 100). Each image was measured five times by the same 165
observer with each method. All statistical analyses were performed in R (v4.1.2) (R 166
Core Team, 2024). 167
Results 168
Interface Overview and Workflow 169
BioIMA combines image visualization, mask inspection, scale calibration, trait 170
measurement, and data export within a single graphical workspace (Figure 2). For each 171
selected region, the interface displays an overlaid mask preview and calibrated 172
measurements, allowing users to inspect segmentation quality before exporting trait 173
data. The tool supports two workflows for trait extraction. In the automatic mode, 174
SAM-based interactive segmentation generates a region mask from minimal user input, 175
such as a single click or bounding box. Users can review and refine the mask and accept 176
preprint (which was not certified by peer review) is the author/funder. All rights reserved. No reuse allowed without permission.
The copyright holder for thisthis version posted September 3, 2026. ; https://doi.org/10.64898/2026.08.30.747465doi: bioRxiv preprint

it, after which morphological traits are computed immediately from the finalized mask 177
(Figure 2a, b). In the manual mode, users define regions using drawing tools such as 178
lines and polygons, and the same measurement pipeline is applied to the annotated 179
region. When automated boundaries require correction, or when manual delineation is 180
preferred, users can refine masks or define regions. Scale calibration, color 181
summarization, and CSV export are integrated into the same workflow to support 182
standardized trait extraction and downstream reuse (Figure 2c -e), The exported trait 183
fields and their definitions are provided in Table S1. 184
185
186
Figure 2 | BioIMA workflow and representative analysis outputs. (a) Users generate 187
segmentation masks from point, box, or manual outline prompts and review the resulting masks 188
interactively. (b) After mask confirmation, BioIMA computes quantitative traits from the selected 189
region, including morphological measurements and color analysis summaries. The color analysis 190
module reports RGB, HEX, and CIE Lab values together with color distribution profiles that can be 191
preprint (which was not certified by peer review) is the author/funder. All rights reserved. No reuse allowed without permission.
The copyright holder for thisthis version posted September 3, 2026. ; https://doi.org/10.64898/2026.08.30.747465doi: bioRxiv preprint

adjusted using different cluster numbers (k). (c) Scale calibration converts pixel measurements into 192
physical units using an in-frame reference, while color correction reduces color bias using a white 193
or gray reference region. (d) Representative quantitative outputs, including morphological 194
measurements and color distribution summaries derived from finalized masks. (e) Export module 195
showing structured CSV outputs, color summary images, and measurement records for downstream 196
analysis. 197
198
Accuracy, agreement, and throughput benchmarking 199
Measurement agreement between BioIMA and ImageJ was evaluated using the 200
knot image dataset from two Populus species. Representative examples illustrate the 201
corresponding BioIMA segmentation and ImageJ manual delineation of the same knot 202
region (Figure 3a, b). We compared three traits derived from masks (knot area, 203
perimeter, and major axis length) between BioIMA and ImageJ measurements (Figure 204
3c-e). Across all three traits, BioIMA measurements showed strong linear agreement 205
with ImageJ, with coefficients of determination of R²= 0.99 for area and R²= 0.96 for 206
both perimeter and length. Bland -Altman analysis of knot area measurements further 207
indicated limited systematic bias, with most observations falling within the 95% limits 208
of agreement (Figure 3f). Visual inspection suggested that the few outlying cases were 209
mainly associated with larger knots or visually ambiguous boundaries. 210
We next quantified throughput using a repeated measurement experiment on 100 211
knot images measured five times each ( 𝑁 = 500 per method). ImageJ exhibited a 212
broader time distribution (median 14.445 s; IQR 12.284 -17.069 s), whereas BioIMA 213
achieved substantially faster and more consistent processing times (median 3.534 s; 214
IQR 2.530-4.454 s) (Figure 3g), corresponding to a 75.5% reduction in median time per 215
image. Raw measurements and replicate timing data for this benchmark are provided 216
in supplementary Table S2. 217
preprint (which was not certified by peer review) is the author/funder. All rights reserved. No reuse allowed without permission.
The copyright holder for thisthis version posted September 3, 2026. ; https://doi.org/10.64898/2026.08.30.747465doi: bioRxiv preprint

218
Figure 3 | Benchmarking BioIMA with ImageJ on knot measurements. (a) 219
Representative knot region segmented using BioIMA. (b) Corresponding knot region 220
manually delineated in ImageJ. (c -e) Agreement between BioIMA and ImageJ 221
measurements for knot perimeter (c), major axis length (d), and area (e). The dashed 222
line indicates the 1:1 reference line, and R² values are shown for each trait. (f) Bland -223
Altman analysis of knot area measurements, showing the mean difference and 95% 224
limits of agreement. (g) Comparison of per-image measurement time between BioIMA 225
and ImageJ. Boxplots show the distribution of measurement times across repeated 226
measurements, with BioIMA reducing median measurement time by 75.5%. 227
228
preprint (which was not certified by peer review) is the author/funder. All rights reserved. No reuse allowed without permission.
The copyright holder for thisthis version posted September 3, 2026. ; https://doi.org/10.64898/2026.08.30.747465doi: bioRxiv preprint

Application to diverse plant organs and imaging conditions 229
To illustrate BioIMA’s applicability beyond the knot dataset used for benchmarking, 230
we applied the same prompt-guided workflow to representative plant images spanning 231
different organs and acquisition conditions (Figure 4). These examples included woody 232
structures, leaves, seeds, flowers, fruits, belowground tissues, and a non-plant 233
biological structure with measurements including region segmentation, color summary, 234
size and shape traits, and line or angle based traits. For images containing multiple 235
objects, regions were selected and measured sequentially rather than through fully 236
automated multi object detection. Using the same comparison framework as in the knot 237
benchmark, we further evaluated BioIMA on Helianthus inflorescence and 238
Rhododendron petal datasets (Figure 4a, b). BioIMA showed high agreement with 239
ImageJ for area measurements in both datasets ( R² = 0.93-0.97; Fig. S2), supporting 240
application of the same workflow beyond knot images. Raw measurements used for 241
this additional validation are provided in supplementary Table S3. Together, these 242
examples show that BioIMA can be applied across a broad range of plant organs and 243
imaging contexts while maintaining a consistent workflow for trait extraction and 244
export. 245
preprint (which was not certified by peer review) is the author/funder. All rights reserved. No reuse allowed without permission.
The copyright holder for thisthis version posted September 3, 2026. ; https://doi.org/10.64898/2026.08.30.747465doi: bioRxiv preprint

246
Figure 4 | Examples of BioIMA applied to diverse plant organs and other biological 247
samples. (a,b) Ad ditional comparisons between BioIMA and ImageJ for area 248
measurements in Rhododendron petals and Helianthus inflorescences, each image was 249
measured five times; the Rhododendron validation included 10 images (50 250
measurements total), and the Helianthus validation included 20 images (100 251
measurements total). Scatter plots show agreement between methods, with dashed lines 252
indicating the identity relationship; representative original and segmented examples are 253
shown as insets. (c-j) Representative applications of the same workflow to user selected 254
regions across different imaging contexts and trait types. Examples include (c) leaf 255
region segmentation using a box prompt, (d) sequential measurement of multiple seeds 256
within a single image , (e) line and angle measurements on leaves, (f) fruit size 257
measurement, (g) sequential size measurement of cone like reproductive structures, (h) 258
preprint (which was not certified by peer review) is the author/funder. All rights reserved. No reuse allowed without permission.
The copyright holder for thisthis version posted September 3, 2026. ; https://doi.org/10.64898/2026.08.30.747465doi: bioRxiv preprint

flower region and stem length segmentation under a complex field background, (i) color 259
distribution analysis of a patterned bird beak region as an example of applying BioIMA 260
to non-plant biological samples. (j) Measurement of clubroot associated root swelling 261
in Orychophragmus violaceus. The selected region illustrates how BioIMA can support 262
delineation and quantification of disease-related root structures with low color contrast 263
from surrounding tissue. 264
Discussion 265
Plant genomics has entered a big data era, yet a persistent challenge in plant and 266
ecological research is that the generation of genomic and environmental data often 267
outpaces the acquisition of standardized phenotypic measurements (Furbank & Tester, 268
2011; Tardieu et al., 2017). This gap is particularly acute when trait acquisition relies 269
on manual measurement, which remains labor-intensive, sensitive to observer bias, and 270
difficult to standardize across large or heterogeneous datasets (Giuffrida et al., 2018). 271
Image-based phenotyping provides an important route for scaling trait acquisition, but 272
many existing workflows still require substantial manual annotation, parameter 273
adjustment, or programming before image regions can be converted into quantitative 274
measurements suitable for downstream analyses. 275
BioIMA was developed to address this practical gap. It uses prompt -guided 276
segmentation as an intermediate step and converts selected image regions directly into 277
calibrated morphological and color traits. This design is useful for biological images in 278
which boundaries are difficult to define automatically, such as woody tissues, 279
overlapping organs, field photographs, or samples with heterogeneous backgrounds 280
(Okyere et al., 2023; Zenkl et al., 2022). By integrating locally executed segmentation, 281
scale calibration, interactive mask inspection, and direct export of quantitative trait 282
tables and color distribution reports within a graphical interface, BioIMA streamlines 283
image-based phenotyping and reduces the time and expertise required to generate 284
standardized image derived traits. 285
preprint (which was not certified by peer review) is the author/funder. All rights reserved. No reuse allowed without permission.
The copyright holder for thisthis version posted September 3, 2026. ; https://doi.org/10.64898/2026.08.30.747465doi: bioRxiv preprint

The benchmarking results suggest that BioIMA can produce measurements that are 286
highly consistent with ImageJ -based manual measurement while substantially 287
improving efficiency. Across multiple traits measures on different tissue types (wood 288
knots, petals, inflorescences), BioIMA showed strong agreement with ImageJ, 289
indicating that prompt -guided segmentation can provide reliable quantitative 290
measurements for this use case. The Bland -Altman analysis further suggested limited 291
systematic bias for most samples, although larger or visually ambiguous features (e.g., 292
wood knots) remained more prone to deviation. This pattern is expected because 293
ambiguous boundaries affect both manual and automated measurements, and it 294
highlights the value of keeping users in the loop for mask inspection and correction 295
(Pachitariu & Stringer, 2022) . The reduction in median processing time by 75.5% 296
further supports the potential of BioIMA for studies that require repeated or large-scale 297
trait extraction. 298
Although the main validation focused on knot morphology in two Populus species, 299
the broader prompt and measure workflow is not restricted to this trait. The additional 300
examples across leaves, flowers, fruits, seeds, roots, and other plant structures illustrate 301
that BioIMA can be applied to diverse regions of interest when an interpretable mask 302
can be obtained. The color distribution example on a patterned bird beak further 303
suggests that the same region-based workflow may be extended to non-plant biological 304
structures where localized color or pattern traits are of interest. These examples should 305
be viewed as demonstrations of applicability rather than full quantitative validation for 306
every organ or imaging condition. Additional benchmarking on specific traits, species, 307
and imaging environments will be important for future studies, especially when 308
BioIMA is used for highly complex backgrounds, overlapping objects, or traits with 309
subtle color and texture variation (Jiang & Li, 2020) . Nevertheless, while the current 310
implementation supports local deployment and avoids the need for model training, 311
performance still depends on image quality, object contrast, and the suitability of the 312
selected prompt. Therefore, clear image acquisition protocols and routine mask 313
inspection remain essential for reproducible use. To improve scalability while 314
addressing the current reliance on user -guided target selection, we are incorporating 315
preprint (which was not certified by peer review) is the author/funder. All rights reserved. No reuse allowed without permission.
The copyright holder for thisthis version posted September 3, 2026. ; https://doi.org/10.64898/2026.08.30.747465doi: bioRxiv preprint

automated instance detection and batch processing functions for large image collections. 316
These functions are intended to reduce manual effort while preserving user oversight, 317
which remains important because fully automatic segmentation can be unreliable in 318
complex biological scenes (Kirillov et al., 2023; Okyere et al., 2023). 319
Overall, BioIMA provides a practical resource for converting biological images 320
into standardized phenotype tables through an accessible desktop workflow. By 321
integrating foundation model -based segmentation, scale -calibrated measurement, 322
interactive quality control, and structured data export within a single interface, BioIMA 323
streamlines quantitative phenotyping and reduces the time and expertise required to 324
generate analysis-ready trait data. As biological image collections continue to expand, 325
tools that make trait extraction more accessible and reproducible will be increasingly 326
important for linking phenotypes with genomic, environmental, and experimental data 327
across plant, ecological, and evolutionary research. 328
Author contributions 329
J.W. and X.Q. conceived the study. X.Q., X.D., J.F., Y .C., Y .G., Y .H., Q.L. Z.W., Y .Z., 330
Y .Z. handled the sampling and analyzed the knot data. X.Q. developed the BioIMA tool. 331
X.Q., X.D., and J.W wrote the manuscript, with revision from M.T. All authors 332
approved the final version of the manuscript. 333
334
Data availability 335
All data required to evaluate the conclusion from the study are provided within the main 336
text and/or the supplementary materials. The BioIMA and the associated manual are 337
provided at https://github.com/jingwanglab/BioIMA. 338
preprint (which was not certified by peer review) is the author/funder. All rights reserved. No reuse allowed without permission.
The copyright holder for thisthis version posted September 3, 2026. ; https://doi.org/10.64898/2026.08.30.747465doi: bioRxiv preprint

Acknowledgements 339
This work was supported by the National Key Research and Development Program of 340
China (2022YFD2201200) to J.W. 341
Conflict of interest 342
The authors declare no competing interests. 343
References 344
Abbey, A., & Meroz, Y . (2026). Segment any plant (SAP): Foundation-model segmentation for plant 345
time-series phenotyping [Preprint]. bioRxiv. https://doi.org/10.64898/2026.03.11.711099 346
Bland, J. M., & Altman, D. (1986). Statistical methods for assessing agreement between two methods of 347
clinical measurement. The Lancet, 327(8476), 307–310. 348
Bradski, G., & Kaehler, A. (2000). OpenCV . Dr. Dobb’ s Journal of Software Tools, 3(2), 1–81. 349
Duchateau, E., Longuetaud, F., Mothe, F., Ung, C., Auty, D., & Achim, A. (2013). Modelling knot 350
morphology as a function of external tree and branch attributes. Canadian Journal of Forest 351
Research, 43(3), 266–277. https://doi.org/10.1139/cjfr-2012-0365 352
Fahlgren, N., Gehan, M. A., & Baxter, I. (2015). Lights, camera, action: High -throughput plant 353
phenotyping is ready for a close-up. Current Opinion in Plant Biology, 24, 93–99. 354
Furbank, R. T., & Tester, M. (2011). Phenomics technologies to relieve the phenotyping bottleneck. 355
Trends in Plant Science, 16(12), 635–644. 356
Gehan, M. A., Fahlgren, N., Abbasi, A., Berry, J. C., Callen, S. T., Chavez, L., Doust, A. N., Feldman, 357
M. J., Gilbert, K. B., & Hodge, J. G. (2017). PlantCV v2: Image analysis software for high -358
throughput plant phenotyping. PeerJ, 5, e4088. 359
Gill, T., Gill, S. K., Saini, D. K., Chopra, Y ., De Koff, J. P., & Sandhu, K. S. (2022). A comprehensive 360
review of high -throughput phenotyping and machine learning for plant stress phenotyping. 361
Phenomics, 2(3), 156–183. https://doi.org/10.1007/s43657-022-00048-z 362
Giuffrida, M. V ., Chen, F., Scharr, H., & Tsaftaris, S. A. (2018). Citizen crowds and experts: Observer 363
variability in image -based plant phenotyping. Plant Methods , 14(1), 12. 364
https://doi.org/10.1186/s13007-018-0278-7 365
Guo, X., Li, J., Zhang, J., Wei, C., & Li, Z. (2025). Vegetation growth improvement Inadequately 366
represents the ecological restoration of the Populus euphratica forests in Xinjiang, China. 367
Ecological Indicators, 170, 113086. https://doi.org/10.1016/j.ecolind.2025.113086 368
Jiang, Y ., & Li, C. (2020). Convolutional neural networks for image -based high -throughput plant 369
phenotyping: A review. Plant Phenomics, 2020, 4152816. https://doi.org/10.34133/2020/4152816 370
Kirillov, A., Mintun, E., Ravi, N., Mao, H., Rolland, C., Gustafson, L., Xiao, T., Whitehead, S., Berg, 371
preprint (which was not certified by peer review) is the author/funder. All rights reserved. No reuse allowed without permission.
The copyright holder for thisthis version posted September 3, 2026. ; https://doi.org/10.64898/2026.08.30.747465doi: bioRxiv preprint

A. C., Lo, W.-Y. , D o l l a r, P. , & G i r s h i c k , R . ( 2 0 2 3 ) . S e g m e n t a n y t h i n g . I n P r o c e e d i n g s o f t h e 372
IEEE/CVF International Conference on Computer Vision (pp. 4015–4026). 373
https://openaccess.thecvf.com/content/ICCV2023/html/Kirillov_Segment_Anything_ICCV_2023374
_paper.html 375
Ma, J., Wan, D., Duan, B., Bai, X., Bai, Q., Chen, N., & Ma, T. (2018). Genome sequence and genetic 376
transformation of a widely distributed and cultivated poplar. Plant Biotechnology Journal, 17(2), 377
451–460. https://doi.org/10.1111/pbi.12989 378
Murphy, K. M., Ludwig, E., Gutierrez, J., & Gehan, M. A. (2024). Deep Learning in Image-Based Plant 379
Phenotyping. Annual Review of Plant Biology , 75(1), 771–795. https://doi.org/10.1146/annurev-380
arplant-070523-042828 381
Okyere, F. G., Cudjoe, D., Sadeghi-Tehran, P., Virlet, N., Riche, A. B., Castle, M., Greche, L., Mohareb, 382
F., Simms, D., & Mhada, M. (2023). Machine learning methods for automatic segmentation of 383
images of field-and glasshouse-based plants for high-throughput phenotyping. Plants, 12(10), 2035. 384
Pachitariu, M., & Stringer, C. (2022). Cellpose 2.0: How to train your own model. Nature Methods, 385
19(12), 1634–1641. 386
Pieruschka, R., & Schurr, U. (2019). Plant Phenotyping: Past, Present, and Future. Plant Phenomics, 387
2019, 7507131. https://doi.org/10.34133/2019/7507131 388
R Core Team. (2024). R: A Language and Environment for Statistical Computing . R Foundation for 389
Statistical Computing. https://www.R-project.org/ 390
Roussel, J.-R., Mothe, F., Krähenbühl, A., Kerautret, B., Debled-Rennesson, I., & Longuetaud, F. (2014). 391
Automatic knot segmentation in CT images of wet softwood logs using a tangential approach. 392
Computers and Electronics in Agriculture, 104, 46–56. 393
Schneider, C. A., Rasband, W. S., & Eliceiri, K. W. (2012). NIH Image to ImageJ: 25 years of image 394
analysis. Nature Methods, 9(7), 671–675. 395
Tardieu, F., Cabrera-Bosquet, L., Pridmore, T., & Bennett, M. (2017). Plant phenomics, from sensors to 396
knowledge. Current Biology, 27(15), R770–R783. 397
Van der Walt, S., Schönberger, J. L., Nunez-Iglesias, J., Boulogne, F., Warner, J. D., Yager, N., Gouillart, 398
E., & Yu, T. (2014). scikit-image: Image processing in Python. PeerJ, 2, e453. 399
Williams, D., Macfarlane, F., & Britten, A. (2024). Leaf only SAM: A segment anything pipeline for 400
zero-shot automated leaf segmentation. Smart Agricultural Technology, 8, 100515. 401
Zenkl, R., Timofte, R., Kirchgessner, N., Roth, L., Hund, A., Van Gool, L., Walter, A., & Aasen, H. (2022). 402
Outdoor plant segmentation with deep learning for high-throughput field phenotyping on a diverse 403
wheat dataset. Frontiers in Plant Science, 12, 774068. 404
Zhang, C., Han, D., Qiao, Y ., Kim, J. U., Bae, S. -H., Lee, S., & Hong, C. S. (2023). Faster segment 405
anything: Towards lightweight SAM for mobile applications [Preprint]. arXiv. 406
https://doi.org/10.48550/arXiv.2306.14289 407
408
409
410
411
preprint (which was not certified by peer review) is the author/funder. All rights reserved. No reuse allowed without permission.
The copyright holder for thisthis version posted September 3, 2026. ; https://doi.org/10.64898/2026.08.30.747465doi: bioRxiv preprint

Figures and tables 412
Figure 1 | Overview of the BioIMA workflow and interaction options . BioIMA 413
supports prompt-based SAM segmentation with optional manual refinement to obtain 414
a finalized mask for each region of interest. The finalized mask is scale -calibrated and 415
used to derive quantitative morphological traits, including area, perimeter, shape 416
descriptors, RGB and CIE Lab values, HEX color codes and color distribution 417
summaries. Results are exported as a CSV table and color summary images, and 418
masks/labels can be saved for downstream use. 419
Figure 2 | BioIMA workflow and representative analysis outputs. (a) Users generate 420
segmentation masks from point, box, or manual outline prompts and review the 421
resulting masks interactively. (b) After mask confirmation, BioIMA computes 422
quantitative traits from the selected region, including morphological measurements and 423
color analysis summaries. The color analysis module reports RGB, HEX, and CIE Lab 424
values together with color distribution profiles that can be adjusted using different 425
cluster numbers (k). (c) Scale calibration converts pixel measurements into physical 426
units using an in -frame reference, while color correction reduces color bias using a 427
white or gray reference region. (d) Representative quantitative outputs, including 428
morphological measurements and color distribution summaries derived from finalized 429
masks. (e) Export module showing structured CSV outputs, color summary images, and 430
measurement records for downstream analysis. 431
Figure 3 | Benchmarking BioIMA with ImageJ on knot measurements. (a) 432
Representative knot region segmented using BioIMA. (b) Corresponding knot region 433
manually delineated in ImageJ. (c -e) Agreement between BioIMA and ImageJ 434
measurements for knot perimeter (c), major axis length (d), and area (e). The dashed 435
line indicates the 1:1 reference line, and R² values are shown for each trait. (f) Bland -436
Altman analysis of knot area measurements, showing the mean difference and 95% 437
limits of agreement. (g) Comparison of per-image measurement time between BioIMA 438
and ImageJ. Boxplots show the distribution of measurement times across repeated 439
measurements, with BioIMA reducing median measurement time by 75.5%. 440
preprint (which was not certified by peer review) is the author/funder. All rights reserved. No reuse allowed without permission.
The copyright holder for thisthis version posted September 3, 2026. ; https://doi.org/10.64898/2026.08.30.747465doi: bioRxiv preprint

Figure 4 | Examples of BioIMA applied to diverse plant organs and other biological 441
samples. (a,b) Ad ditional comparisons between BioIMA and ImageJ for area 442
measurements in Rhododendron petals and Helianthus inflorescences, each image was 443
measured five times; the Rhododendron validation included 10 images (50 444
measurements total), and the Helianthus validation included 20 images (100 445
measurements total). Scatter plots show agreement between methods, with dashed lines 446
indicating the identity relationship; representative original and segmented examples are 447
shown as insets. (c-j) Representative applications of the same workflow to user selected 448
regions across different imaging contexts and trait types. Examples include (c) leaf 449
region segmentation using a box prompt, (d) sequential measurement of multiple seeds 450
within a single image , (e) line and angle measurements on leaves, (f) fruit size 451
measurement, (g) sequential size measurement of cone like reproductive structures, (h) 452
flower region and stem length segmentation under a complex field background, (i) color 453
distribution analysis of a patterned bird beak region as an example of applying BioIMA 454
to non-plant biological samples. (j) Measurement of clubroot associated root swelling 455
in Orychophragmus violaceus. The selected region illustrates how BioIMA can support 456
delineation and quantification of disease-related root structures with low color contrast 457
from surrounding tissue. 458
Figure S1 | Preparation and representative examples of the Populus knot image 459
dataset used for validation. 460
(a,b) Field sampling and collection of felled log materials. (c,d) Preparation of knot 461
containing plank samples. (e,f) Representative validation images from Populus 462
euphratica (e) and Populus alba var. pyramidalis (f), which were used for comparison 463
between BioIMA and ImageJ measurements. Images include in frame scale references 464
for calibration. 465
Figure S2 | Additional validation of BioIMA area measurements on Helianthus 466
inflorescence and Rhododendron petal images. 467
BioIMA area measurements were compared with ImageJ manual measurements using 468
independent Rhododendron petal and Helianthus inflorescence image datasets. The left 469
preprint (which was not certified by peer review) is the author/funder. All rights reserved. No reuse allowed without permission.
The copyright holder for thisthis version posted September 3, 2026. ; https://doi.org/10.64898/2026.08.30.747465doi: bioRxiv preprint

panels show BioIMA -ImageJ measurement agreement, with orange dashed lines 470
indicating the 1:1 identity line; R² and p values are shown in each panel. The right panels 471
show Bland-Altman analyses, with red dashed lines indicating mean bias and yellow 472
dashed lines indicating the 95% limits of agreement. Both datasets showed high 473
agreement between methods 474
Table S1 | BioIMA exported trait fields and definitions. List of trait fields exported 475
by BioIMA in CSV format, including label metadata, morphometric measurements, 476
RGB/HEX/Lab color summaries, and color distribution outputs. 477
Table S2 | Raw Populus knot measurement and timing benchmark data. Raw 478
BioIMA and ImageJ benchmark data for Populus knot images. The first sheet contains 479
measurement time records used for the software throughput comparison in Fig. 3g. The 480
second sheet contains paired morphometric measurements used for the method -481
comparison and Bland -Altman analyses in Fig. 3c -f, including knot perimeter, major 482
axis length, and knot area. (excel) 483
Table S3 | Raw Helianthus and Rhododendron validation data. Raw BioIMA and 484
ImageJ measurements for Helianthus inflorescence and Rhododendron petal area 485
validation, including sample identifiers and measurement values used to generate Fig. 486
S2. (excel) 487
preprint (which was not certified by peer review) is the author/funder. All rights reserved. No reuse allowed without permission.
The copyright holder for thisthis version posted September 3, 2026. ; https://doi.org/10.64898/2026.08.30.747465doi: bioRxiv preprint

论文原文与出版信息

bioRxiv (Cold Spring Harbor Laboratory)
查看论文原文

继续探索