File size: 2,145 Bytes
a00b393
873a11f
 
 
 
a00b393
 
873a11f
a00b393
 
873a11f
 
 
 
 
 
5d2df83
 
 
 
 
873a11f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5d2df83
873a11f
 
 
 
 
 
 
 
 
 
5d2df83
873a11f
 
 
 
 
 
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
56
57
58
59
60
61
62
63
64
65
---
title: DoseMetrics
emoji: 🏥
colorFrom: blue
colorTo: green
sdk: docker
pinned: false
license: cc-by-nc-sa-4.0
---

# DoseMetrics - Radiotherapy Dose Analysis

A Streamlit application for analyzing radiotherapy dose distributions and creating interactive visualizations for radiation therapy treatment planning.

## Features

- **Instructions**: Get started with comprehensive usage guidelines and examples
- **Dosimetric Analysis**: Comprehensive dose analysis with DVH calculations, dose statistics, and interactive visualizations
- **Geometric Comparison**: Analyze geometric differences between structure sets including dice coefficient, Hausdorff distance, and volume overlaps
- **Gamma Analysis**: Perform gamma analysis to compare dose distributions between reference and evaluated plans
- **Compliance Checking**: Evaluate treatment plans against clinical constraints and dose limits

## Usage

1. Select a task from the sidebar
2. Upload your dose distribution (`.nii.gz` format) and structure masks
3. View and download the analysis results

**Note**: This app requires you to upload your own medical imaging data. No sample data files are included in the Space due to file size restrictions.

## Data Format

The app expects:
- Dose files: NIfTI format (`.nii.gz`)
- Structure masks: NIfTI format (`.nii.gz`)

## About

DoseMetrics provides tools for medical physicists and radiation oncologists to analyze treatment plans, including:

- Dose-volume histogram (DVH) calculation
- Treatment plan quality metrics (conformity indices, homogeneity indices)
- Compliance checking against clinical constraints
- Geometric analysis of structures
- Interactive visualizations

For more information, visit the [GitHub repository](https://github.com/contouraid/dosemetrics).

## Citation

If you use DoseMetrics in your research, please cite:

```bibtex
@software{dosemetrics,
  author = {Kamath, Amith},
  title = {DoseMetrics: Tools for Radiotherapy Dose Analysis},
  year = {2024},
  url = {https://github.com/contouraid/dosemetrics}
}
```

## License

This project is licensed under CC BY-NC-SA 4.0. See the LICENSE file for details.