UniFLM: United Segmentation and Measurement on Fetal Limb Ultrasonic Image
Authors: Zeen Zhou, Qiuhua Chen, Xiaojun Cao, Changmao Chen, Chao Sun, Bo Du
Organizations: Academy of Advanced Interdisciplinary Studies, Wuhan University, Wuhan, China · School of Computer Science, Wuhan University, Wuhan, China · Guangzhou Women and Children’s Medical Center, Guangzhou, China · School of Computer Science, National Engineering Research Center for Multimedia Software, and Hubei Key Laboratory of Multimedia and Network Communication Engineering, Institute of Artificial Intelligence, Wuhan University, Wuhan 430072, China
Prenatal ultrasound examination is crucial for assessing fetal limb development and detecting congenital anomalies. However, existing artificial intelligence models often overlook fetal lethal skeletal dysplasias due to the lack of high-quality annotated data and a unified framework for multiple long bones. Moreover, generic segmentation models struggle with the inherent noise and semantic gaps in ultrasound images. To address these challenges, we construct the Fetal Limb Bones (FLB) dataset, comprising high-quality annotations for the humerus, femur, tibia-fibula, and radius-ulna. Furthermore, we propose UniFLM (United Segmentation and Measurement on Fetal Limb Ultrasonic Image), a unified framework for automatic cross-plane segmentation and measurement. UniFLM incorporates a Semantic Alignment Skip Connection (SASC) module to bridge the semantic gap between encoder and decoder features, and a Positive Sampling (PoSamp) strategy to filter noise and extract essential semantic information. Finally, a Point Regression Mapping (PRM) module is introduced to learn clinician annotation patterns for precise bone length measurement. Extensive experiments conducted on the FLB dataset and the public FetalP5 benchmark demonstrate that UniFLM achieves competitive performance with consistent generalization across four bone categories and external multi-center data, supported by comprehensive statistical validation including Bland-Altman agreement analysis and bootstrap confidence intervals. The source code is publicly available at https://github.com/chosen1203/UniFLM.
Figures & tables
Figure 1: The overall architecture of UniFLM. The backbone consists of a 6-stage Encoder ( En ) and a 5-stage Decoder ( De ). (1) SASC : Multi-scale encoder features Ie are projected and aligned via the centralized SASC module. (2) PoSamp : The Positive Sampling module at the bottleneck filters noise from feature Z to generate Z∗ . (3) Segmentation & PRM : The decoder outputs an initial mask; initial points Pini are extracted and fed into the PRM module to predict the final measurement points Ppred .
Figure 2: Detailed structure of the proposed modules. Left (SASC): Multi-scale features Iie are projected and tokenized, concatenated into Ice , then refined via Channel Cross-Attention (CCA) and Spatial Cross-Attention (SCA) before re-projection to original resolutions. Right (PoSamp): The deepest feature Z is filtered by a learned gating mechanism to produce Z∗ via residual connection.
Figure 3: Representative samples from the FLB dataset showing (a) Femur, (b) Humerus, (c) Forearm, and (d) Leg. Red contours denote expert annotations.
Figure 4: Distribution of samples across the four bone categories in the FLB dataset, showing gestational age distribution within each category.
Model
Femur
Humerus
Dice (%)
IoU (%)
Dice (%)
IoU (%)
UNet [ 29 ]
82.66±4.21
72.49±5.11
87.06±3.87
78.92±4.45
UNet++ [ 42 ]
88.56±2.15
80.88±2.76
89.43±1.98
81.61±2.55
Attention U-Net [ 23 ]
87.21±2.54
79.15±3.12
88.76±2.31
80.42±2.95
SwinUNet [ 6 ]
78.99±5.42
67.90±6.78
78.99±5.01
67.51±6.12
TransUNet [ 10 ]
87.14±2.89
78.96±3.45
89.47±2.12
81.63±2.68
Table 1: Quantitative comparison on the FLB dataset (Mean ± SD across test samples). Bold : best; Underline : second best.
Comparison
Femur
Humerus
Forearm
Leg
UniFLM vs. UNet
< 0.001
< 0.001
< 0.001
< 0.001
UniFLM vs. UNet++
0.087
0.124
0.002
0.012
UniFLM vs. SAM-US
0.035
0.041
< 0.001
0.004
UniFLM vs. VM-UNet
0.156
0.203
0.028
0.033
UniFLM vs. U-KAN
0.092
0.118
0.015
0.041
Table 2: Statistical significance ( p -values from paired t -tests). Values <0.05 (bold) indicate significance at the 95% confidence level.
Module
Dice (%)
SASC
PoSamp
PRM
Femur
Humerus
Forearm
Leg
✗
✗
✗
86.96±0.52
89.43±0.45
68.36±0.78
73.69±0.65
✓
✗
✗
87.82±0.48
89.36±0.42
67.02±0.82
73.05±0.68
✗
✓
✗
87.55±0.50
89.57±0.40
68.53±0.75
72.21±0.70
✓
✓
✗
88.70±0.42
90.06±0.35
69.55±0.68
73.80±0.58
✓
✓
✓
89.90±0.38
90.76±0.32
70.55±0.62
74.50±0.52
Table 3: Ablation study on module effectiveness (Mean Dice ± SD across 3 seeds).
Method
Femur
Humerus
Forearm
Leg
MED / MAE
MED / MAE
MED / MAE
MED / MAE
Geometric (skeleton)
4.21±1.2 / 1.85±0.5
3.98±1.1 / 1.72±0.4
6.54±1.8 / 2.89±0.7
7.12±2.0 / 3.15±0.8
Geometric (ellipse)
3.87±1.0 / 1.68±0.4
3.65±0.9 / 1.58±0.4
5.98±1.6 / 2.64±0.6
6.45±1.8 / 2.85±0.7
Regression (direct)
3.45±0.9 / 1.52±0.4
3.21±0.8 / 1.41±0.3
5.12±1.4 / 2.26±0.6
5.78±1.6 / 2.55±0.6
PRM (ours)
2.89±0.7 / 1.27±0.3
2.76±0.6 / 1.21±0.3
4.38±1.2 / 1.93±0.5
4.91±1.4 / 2.17±0.5
Table 4: Impact of PRM on measurement accuracy (Mean ± SD). MED: Mean Endpoint Distance (px), MAE: Mean Absolute Error (mm).
Figure 5: Cumulative Distribution Function (CDF) of measurement errors. The vertical dashed line indicates the clinically acceptable threshold of 2.0 mm.
Figure 6: Performance across gestational age groups. (a) Dice coefficient distribution. (b) Measurement error (MAE) distribution.
Figure 7: Robustness analysis under varying noise levels.
Table 6: Inter-observer variability analysis (measurement error in mm, Mean ± SD).
Metric
FLB (Private)
FetalP5 (Public)
Mean
± SD
Mean
± SD
Dice (%)
88.39
8.76
85.11
12.82
mIoU (%)
79.92
9.58
75.64
14.25
MAE (px)
7.65
4.84
13.83
–
Bland-Altman Bias (px)
−0.76
–
–
–
95% LoA (px)
[−25.0,+23.5]
–
–
–
Table 7: Cross-dataset generalization: UniFLM performance on the public FetalP5 dataset (Femur plane, n=809 ) vs. the private FLB test set ( n=300 femurs).
Research Ireland Centre for Research Training in Machine Learning · School of Medicine, University College Dublin, Dublin, Ireland · School of Computer Science, University College Dublin, Dublin, Ireland +1