Skip to content

Commit 43d4919

Browse files
Add section on annotating large instances for model training (#9425)
I added a section on annotating large instances for model training. --------- Co-authored-by: Tom Herold <tom.herold@scalableminds.com>
1 parent 0f871f9 commit 43d4919

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed
2.16 MB
Loading

docs/tutorials/trainingdata_annotation.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Tutorial: Annotating Ground Truth Data for ML in WEBKNOSSOS
22

3-
When preparing ground truth data for machine learning, accurate and consistent annotations are essential. The following guidelines will help you create high-quality training data in WEBKNOSSOS for [training AI models](./../automation/ai_training.md) for segmentation.
3+
When preparing ground truth data for machine learning, accurate and consistent annotations are essential. The following guidelines will help you create high-quality training data in WEBKNOSSOS for [training AI models](./../automation/ai_training.md) for segmentation.
4+
5+
While this guide focuses on dense neuron segmentation, the same principles largely apply to instance segmentation; see the end of the page for specific considerations when annotating large instances such as somata or nuclei.
46

57
For detailed instructions on using WEBKNOSSOS for annotation, please watch our [Beginner’s Guide](../getting_started.md) and/or our tutorial on [Volume Annotations](./volume_annotation.md).
68

@@ -98,6 +100,19 @@ A careful review of your annotations can prevent mistakes that might impact mode
98100

99101
*Data attribution: Briggman et al., 2024, GAUSS-EM, guided accumulation of ultrathin serial sections with a static magnetic field for volume electron microscopy*
100102

103+
## Annotation for instance segmentation (e.g. nuclei, somata)
104+
105+
When annotating instances for model training, only label the specific structures of interest instead of performing dense segmentation of the entire bounding box. Each instance should still be assigned a unique segment ID, and consistency across annotations remains critical.
106+
107+
![Example of soma ground truth annotation.](./images/tutorial_trainingdata_08_soma_ground_truth_example.png)
108+
109+
*Data attribution: Loomba et al., Science 2022, Connectomic comparison of mouse and human cortex*
110+
111+
For large structures such as somata, nuclei, or blood vessels, it is recommended to work at a lower resolution (e.g. Mag 16), using the coarsest magnification that still allows accurate annotation. In WEBKNOSSOS, this can be achieved by creating a new volume layer with restricted resolution.
112+
113+
![youtube-video](https://www.youtube.com/embed/i6aFzvztK74)
114+
115+
The annotation does not need to exceed the precision of the chosen magnification, which enables more efficient use of annotation tools while maintaining sufficient quality. As with dense annotations, verify the 3D shape of each instance and ensure that no relevant structures within the defined bounding box are missed.
101116

102117
---
103118

0 commit comments

Comments
 (0)