|
3 | 3 | This folder contains several Jupyter notebooks to showcase different possible use cases of the [panoptica package](https://github.com/BrainLesion/panoptica). |
4 | 4 | The package allows to compute instance-wise segmentation quality metrics for 2D and 3D semantic- and instance segmentation maps by providing 3 core modules: |
5 | 5 |
|
6 | | -1. Instance Approximator |
7 | | -1. Instance Matcher |
8 | | -1. Panoptic Evaluator |
| 6 | +1. Instance Approximator: instance approximation algorithms in panoptic segmentation evaluation. Available now: connected components algorithm. |
| 7 | +1. Instance Matcher: instance matching algorithm in panoptic segmentation evaluation, to align and compare predicted instances with reference instances. |
| 8 | +1. Instance Evaluator: Evaluation of panoptic segmentation performance by evaluating matched instance pairs and calculating various metrics like true positives, Dice score, IoU, and ASSD for each instance. |
9 | 9 |
|
10 | | -## Use Case: Semantic Segmentation Input |
| 10 | + |
11 | 11 |
|
12 | | -<img src="./spine_seg/semantic/fig.png" alt="semantic_figure" height="300"/> |
| 12 | +## Use Cases |
13 | 13 |
|
14 | | -Even though for many biomedical segmentation problems, an instance-wise evaluation is highly relevant and desirable, they are still addressed as semantic segmentation problems due to lack of appropriate instance labels. |
| 14 | +### Semantic Segmentation Input |
| 15 | + |
| 16 | +<img src="https://github.com/BrainLesion/panoptica/blob/main/examples/figures/semantic.png?raw=true" alt="semantic_figure" height="300"/> |
| 17 | + |
| 18 | +Although for many biomedical segmentation problems, an instance-wise evaluation is highly relevant and desirable, they are still addressed as semantic segmentation problems due to lack of appropriate instance labels. |
15 | 19 |
|
16 | 20 | Modules [1-3] can be used to obtain panoptic metrics of matched instances based on a semantic segmentation input. |
17 | 21 |
|
18 | | -[Juypter Notebook Example](example_spine_semantic.ipynb) |
| 22 | +[Jupyter Notebook Example](https://github.com/BrainLesion/tutorials/tree/main/panoptica/example_spine_semantic.ipynb) |
19 | 23 |
|
20 | | -## Use Case: Unmatched Instances Input |
| 24 | +### Unmatched Instances Input |
21 | 25 |
|
22 | | -<img src="./spine_seg/unmatched_instance/fig.png" alt="unmatched_instance_figure" height="300"/> |
| 26 | +<img src="https://github.com/BrainLesion/panoptica/blob/main/examples/figures/unmatched_instance.png?raw=true" alt="unmatched_instance_figure" height="300"/> |
23 | 27 |
|
24 | | -It is a common issue that Instance segementation outputs have good segmentations with mismatched labels. |
| 28 | +It is a common issue that instance segementation outputs have good segmentations with mismatched labels. |
25 | 29 |
|
26 | | -For this case Modules [2-3] can be utilized to match the instances and report panoptic metrics. |
| 30 | +For this case modules [2-3] can be utilized to match the instances and report panoptic metrics. |
27 | 31 |
|
28 | | -[Juypter Notebook Example](example_spine_unmatched_instance.ipynb) |
| 32 | +[Jupyter Notebook Example](https://github.com/BrainLesion/tutorials/tree/main/panoptica/example_spine_unmatched_instance.ipynb) |
29 | 33 |
|
30 | | -## Use Case: Matched Instances Input |
| 34 | +### Matched Instances Input |
31 | 35 |
|
32 | | -<img src="./spine_seg/matched_instance/fig.png" alt="matched_instance_figure" height="300"/> |
| 36 | +<img src="https://github.com/BrainLesion/panoptica/blob/main/examples/figures/matched_instance.png?raw=true" alt="matched_instance_figure" height="300"/> |
33 | 37 |
|
34 | 38 | Ideally the input data already provides matched instances. |
35 | 39 |
|
36 | | -In this case Module 3 can be used to directly report panoptic metrics without requiring any internal preprocessing. |
| 40 | +In this case module 3 can be used to directly report panoptic metrics without requiring any internal preprocessing. |
37 | 41 |
|
38 | | -[Juypter Notebook Example](example_spine_matched_instance.ipynb) |
| 42 | +[Jupyter Notebook Example](https://github.com/BrainLesion/tutorials/tree/main/panoptica/example_spine_matched_instance.ipynb) |
0 commit comments