Evaluates an instance segmentation model's ability to accurately delineate and separate individual microstructural objects in high-resolution electron micrographs, particularly under varying instance densities. Use when the user wants to benchmark on UniEM-3M, or asks about evaluating this task. Reports mAP@0.5.
Scanned 9/11/2026
Install to Claude Code
npx -y skills add qhjqhj00/research-skills-pool --skill uniem3m-segmentation-eval --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Uniem3m Segmentation Eval?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/qhjqhj00-uniem3m-segmentation-eval)More formats (shields.io, HTML) on the badges page.
---
name: uniem3m-segmentation-eval
description: Evaluates an instance segmentation model's ability to accurately delineate and separate individual microstructural objects in high-resolution electron micrographs, particularly under varying instance densities. Use when the user wants to benchmark on UniEM-3M, or asks about evaluating this task. Reports mAP@0.5.
metadata:
skill_kind: dataset_eval
source_arxiv: 2508.16239
bibtex_key: wang2025uniem3m
confidence: high
---
# uniem3m-segmentation-eval
> UniEM-3M: A Universal Electron Micrograph Dataset for Microstructural Segmentation and Generation — Wang et al. (2025) (arXiv:2508.16239, 2025)
## What this evaluates
Evaluates an instance segmentation model's ability to accurately delineate and separate individual microstructural objects in high-resolution electron micrographs, particularly under varying instance densities.
## Datasets
- **UniEM-3M** — total 5091; splits: test (-1)
## Metrics
- `mAP@0.5` **(primary)** — range: [0, 1]
- Mean Average Precision computed at an IoU threshold of 0.5. AP for a single image is defined as |TP| / (|TP| + |FP| + |FN|), where predicted masks matching ground truth masks over the threshold are counted as TP. Mean AP is the average across all images.
- `PQ@0.5` — range: [0, 1]
- Panoptic Quality at an IoU threshold of 0.5, measuring combined segmentation and recognition quality for instance separation.
## Input / output format
**Input**: Raw electron micrograph images (original resolution for evaluation; 1024×1024 crops used during training).
**Output**: Predicted instance masks and associated bounding boxes/labels per image.
## Scoring recipe
```python
def compute_ap(pred_masks, gt_masks, iou_thresh=0.5):
tp, fp, fn = 0, 0, 0
for pred, gt in match_instances(pred_masks, gt_masks, iou_thresh):
if iou(pred, gt) >= iou_thresh:
tp += 1
else:
fp += 1
fn = len(gt_masks) - tp
return tp / (tp + fp + fn)
def compute_map(predictions, ground_truths):
return mean([compute_ap(p, g) for p, g in zip(predictions, ground_truths)])
```
## Common pitfalls
- The paper uses a simplified AP definition (single IoU threshold precision) rather than the standard COCO multi-threshold AP.
- Anchor-based methods fail in dense scenes due to NMS bottlenecks, so flow/vector-field methods are required for high-instance-density micrographs.
- Evaluation is performed on original resolution images, not the 1024×1024 training crops.
## Evidence (verbatim from paper)
> Evaluation metrics. We adopt standard metrics for instance segmentation: mean Average Precision (mAP) for mask accuracy, and Panoptic Quality (PQ) (Kirillov et al. 2019) at 0.5 for combined segmentation and recognition quality. Following stardist (Schmidt et al. 2018), we use AP calculated by AP = |TP| / (|TP| + |FP| + |FN|) at an IoU threshold T, where the predicted masks matching true masks over T are regarded as TP. Mean AP is the average AP of all images.
## Citation
```bibtex
@misc{wang2025uniem3m,
title={UniEM-3M: A Universal Electron Micrograph Dataset for Microstructural Segmentation and Generation},
author={Wang et al. (2025)},
year={2025},
note={arXiv:2508.16239}
}
```
- arXiv: 2508.16239
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!