File size: 1,611 Bytes
4e72f71
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
license: apache-2.0
library_name: konfai
pipeline_tag: image-segmentation
tags:
- medical-imaging
- segmentation
- multimodal
- ct
- mri
- cbct
- konfai
---

# ImpactSeg β€” Multimodal Body Segmentation

Multimodal (**CBCT / MR / CT**) anatomical **body segmentation** (11 structures), built with
[**KonfAI**](https://github.com/vboussot/KonfAI). One model handles all three modalities.

## 🧩 Model

| Model | Input | Output | Labels | Ensemble |
|:--|:--|:--|:--:|:--:|
| `body` | Volume (CT / MR / CBCT) | Segmentation | 11 | 1 |

2.5D residual-encoder UNet Β· patch `[1, 192, 192]` Β· resampled to 3 mm.

## πŸš€ Usage

```bash
pip install impact_seg_konfai
impact-seg-konfai segment body -i input.nii.gz -o output/
```

- **Generic runner:** `konfai-apps infer VBoussot/ImpactSeg:body -i input.nii.gz -o output/`
- **Interactive:** [**SlicerKonfAI**](https://github.com/vboussot/SlicerKonfAI) β€” the βš™ *Advanced* dialog overrides patch size and batch size.

## ⚑ Performance & VRAM

Benchmarked on an **NVIDIA RTX PRO 5000 (24 GB)**. The batch size is **auto-selected from your free GPU VRAM**.

| Free VRAM | Batch (auto) | Peak VRAM |
|:--|:--|:--|
| 8 GB  | 160 | ~7 GB |
| 16 GB | 320 | ~14 GB |
| 24 GB | 512 | ~22 GB |

β‰ˆ **16 s / case** on the benchmark volume (scales with case size). Override with `--patch-size` / `--batch-size`.

## πŸ”— Links

- 🧠 **KonfAI:** [github.com/vboussot/KonfAI](https://github.com/vboussot/KonfAI)
- πŸ“¦ **PyPI:** [impact_seg_konfai](https://pypi.org/project/impact_seg_konfai/)
- πŸ“„ **Paper:** [arXiv:2510.21358](https://arxiv.org/abs/2510.21358)