reta-benchmark-eval
The RETA Benchmark for Retinal Vascular Tree Analysis — Lyu et al. (2021) (arXiv:2111.11658, 2021)
What this evaluates
Evaluates the accuracy and structural consistency of retinal vascular tree annotations across pixel, vessel segment, and network levels, ensuring topological correctness and geometrical plausibility.
Datasets
- RETA Benchmark — total 81; splits: train (54), test (27)
Metrics
multi_stage_annotation (primary) — range: other
- Expert-driven validation across three stages: (1) pixel-level binary mask correction, (2) structure-level artery/vein classification, and (3) network-level topological validation. Topological rules require bifurcation degree ≤ 3 and no graph cycles (verified via minimum spanning tree comparison). Geometrical rules flag abnormalities if focal diameter variation >3px, parent calibre < child calibre, bifurcation angle >150°, or tortuosity index >5.
Input / output format
Input: Resized color fundus images (1024×1024) with black background, optionally enhanced via CLAHE or LCE. Provided as PNG images and MATLAB .mat files containing original/enhanced images, FOV masks, and annotation structures.
Output: Binary vessel masks, artery/vein segmentation masks, 1-pixel width skeletons, bifurcation/terminal landmark points, vascular tree graphs, and thick/thin vessel masks with abnormal location labels.
Scoring recipe
def evaluate_annotation(pred_mask, pred_av, pred_skeleton, pred_graph, gold_mask, gold_av):
# Stage 1: Pixel-level accuracy
pixel_acc = compute_iou(pred_mask, gold_mask)
# Stage 2: Structure-level A/V consistency
av_acc = compute_pixel_accuracy(pred_av, gold_av)
# Stage 3: Topological validation
topo_valid = (max_degree(pred_graph) <= 3) and (not has_cycles(pred_graph, method='MST'))
# Stage 4: Geometrical validation
geo_valid = (max_diameter_variation(pred_skeleton) <= 3) and \
(all(parent_calibre >= child_calibre) for edges in pred_graph) and \
(max_bifurcation_angle(pred_graph) <= 150) and \
(max_tortuosity_index(pred_skeleton) <= 5)
return {'pixel_acc': pixel_acc, 'av_acc': av_acc, 'topo_valid': topo_valid, 'geo_valid': geo_valid}
Common pitfalls
- Down-sampling to 1024×1024 causes loss of tiny lesions (<15 pixels), specifically 2/3,497 microaneurysms and 18/11,642 hard exudates.
- A/V classification strictly uses three classes (artery, vein, crossing) without an 'uncertain' category, unlike RITE, LES-AV, and HRF-AV.
- Skeletonization fails at image borders where partial vessel cross-sections fall outside the frame, requiring manual correction.
- Graph construction explicitly excludes the optic disk (OD) region to prevent unreliable tangled vessel graphs.
Evidence (verbatim from paper)
The proposed method is able to control inter-annotator variability and intra-annotator variability because trained annotator performs on multi-stage annotation and subsequent label disambiguation. Accuracy of arterial/venous pixel-level annotation is of greater importance because it could ensure reliable annotations of vessel skeletons, bifurcation and trees shown in Figure 1. Also, a completed and reliable binary vessel masks depends on annotation quality of arterial and venous vessels.
Citation
@misc{lyu2021reta,
title={The RETA Benchmark for Retinal Vascular Tree Analysis},
author={Lyu et al. (2021)},
year={2021},
note={arXiv:2111.11658}
}
1---2name: reta-benchmark-eval3description: Evaluates the accuracy and structural consistency of retinal vascular tree annotations across pixel, vessel segment, and network levels, ensuring topological correctness and geometrical plausibility. Use when the user wants to benchmark on RETA Benchmark, or asks about evaluating this task. Reports multi_stage_annotation.4---56# reta-benchmark-eval78> The RETA Benchmark for Retinal Vascular Tree Analysis — Lyu et al. (2021) (arXiv:2111.11658, 2021)910## What this evaluates1112Evaluates the accuracy and structural consistency of retinal vascular tree annotations across pixel, vessel segment, and network levels, ensuring topological correctness and geometrical plausibility.1314## Datasets1516- **RETA Benchmark** — total 81; splits: train (54), test (27)1718## Metrics1920- `multi_stage_annotation` **(primary)** — range: other21 - Expert-driven validation across three stages: (1) pixel-level binary mask correction, (2) structure-level artery/vein classification, and (3) network-level topological validation. Topological rules require bifurcation degree ≤ 3 and no graph cycles (verified via minimum spanning tree comparison). Geometrical rules flag abnormalities if focal diameter variation >3px, parent calibre < child calibre, bifurcation angle >150°, or tortuosity index >5.2223## Input / output format2425**Input**: Resized color fundus images (1024×1024) with black background, optionally enhanced via CLAHE or LCE. Provided as PNG images and MATLAB .mat files containing original/enhanced images, FOV masks, and annotation structures.2627**Output**: Binary vessel masks, artery/vein segmentation masks, 1-pixel width skeletons, bifurcation/terminal landmark points, vascular tree graphs, and thick/thin vessel masks with abnormal location labels.2829## Scoring recipe3031```python32def evaluate_annotation(pred_mask, pred_av, pred_skeleton, pred_graph, gold_mask, gold_av):33 # Stage 1: Pixel-level accuracy34 pixel_acc = compute_iou(pred_mask, gold_mask)35 # Stage 2: Structure-level A/V consistency36 av_acc = compute_pixel_accuracy(pred_av, gold_av)37 # Stage 3: Topological validation38 topo_valid = (max_degree(pred_graph) <= 3) and (not has_cycles(pred_graph, method='MST'))39 # Stage 4: Geometrical validation40 geo_valid = (max_diameter_variation(pred_skeleton) <= 3) and \41 (all(parent_calibre >= child_calibre) for edges in pred_graph) and \42 (max_bifurcation_angle(pred_graph) <= 150) and \43 (max_tortuosity_index(pred_skeleton) <= 5)44 return {'pixel_acc': pixel_acc, 'av_acc': av_acc, 'topo_valid': topo_valid, 'geo_valid': geo_valid}45```4647## Common pitfalls4849- Down-sampling to 1024×1024 causes loss of tiny lesions (<15 pixels), specifically 2/3,497 microaneurysms and 18/11,642 hard exudates.50- A/V classification strictly uses three classes (artery, vein, crossing) without an 'uncertain' category, unlike RITE, LES-AV, and HRF-AV.51- Skeletonization fails at image borders where partial vessel cross-sections fall outside the frame, requiring manual correction.52- Graph construction explicitly excludes the optic disk (OD) region to prevent unreliable tangled vessel graphs.5354## Evidence (verbatim from paper)5556> The proposed method is able to control inter-annotator variability and intra-annotator variability because trained annotator performs on multi-stage annotation and subsequent label disambiguation. Accuracy of arterial/venous pixel-level annotation is of greater importance because it could ensure reliable annotations of vessel skeletons, bifurcation and trees shown in Figure 1. Also, a completed and reliable binary vessel masks depends on annotation quality of arterial and venous vessels.5758## Citation5960```bibtex61@misc{lyu2021reta,62 title={The RETA Benchmark for Retinal Vascular Tree Analysis},63 author={Lyu et al. (2021)},64 year={2021},65 note={arXiv:2111.11658}66}67```6869- arXiv: 2111.11658