Disconnect to Connect: A Data Augmentation Method for Improving Topology Accuracy in Image Segmentation
Authors: Juan Miguel Valverde, Maja Østergaard, Adrian Rodriguez-Palomo, Peter Alling Strange Vibe, Nina Kølln Wittig, Henrik Birkedal, Anders Bjorholm Dahl
Organizations: DTU Compute, Technical University of Denmark, Denmark · A.I. Virtanen Institute, University of Eastern Finland, Finland · Department of Chemistry and iNANO, Aarhus University, Denmark
Accurate segmentation of thin, tubular structures (e.g., blood vessels) is challenging for deep neural networks. These networks classify individual pixels, and even minor misclassifications can break the thin connections within these structures. Existing methods that focus on improving topology accuracy, such as topology loss functions, require very precise training labels with the correct topology, which is difficult to obtain. Low image resolution and contrast can further complicate the annotation by causing these structures to appear disconnected. We present CoLeTra, a data augmentation method that improves topology accuracy, even on datasets with topologically inaccurate training labels. CoLeTra achieves this by artificially breaking the structures in the images while maintaining the original labels, incorporating to the models the prior knowledge that structures can be continuous even if they appear disconnected. Our extensive experiments, involving different architectures, loss functions, and datasets, demonstrate that CoLeTra leads to segmentations topologically more accurate while often improving the Dice coefficient and clDice. We also release a dataset specifically suited for image segmentation methods with a focus on topology accuracy. CoLetra's code can be found at https://jmlipman.github.io/CoLeTra.
Figures & tables
Figure 1: Left: Annotations missing important areas, compromising the structure’s true topology. Right: CoLeTra improves topology accuracy.
Figure 2: Overview of CoLeTra data augmentation.
Figure 3: Comparison of baselines (four datasets, two architectures, six loss functions) with and without CoLeTra. Red : statistically significant improvement. Table with all performance metrics in Appendix E .
Figure 4: Example segmentations on four datasets and the best-performing loss functions in terms of Betti error with DynUNet architecture, with and without CoLeTra. Arrows: topological errors fixed by CoLeTra.
Figure 5: Betti error and number of small ( < 30 pixels) connected components achieved with CoLeTra on the DRIVE dataset with different number of patches (a,b) and patch sizes (c,d). (CC: connected components)
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 6: Example of labels in the Narwhal dataset. Left shows orthogonal central slices from the volume, middle shows the labels, and right shows the two together.
Table 7Table 8
β0e (global)
β1e (global)
β2e (global)
β0e (local)
β1e (local)
β2e (local)
DRIVE
CE
baseline
114.2 (11.8)
35.5 (2.4)
—
1.3 (0.1)
0.2 (0.0)
—
+ CoLeTra
108.6 (10.2)
33.6 (2.9)
—
1.3 (0.1)
0.2 (0.0)
—
Dice
baseline
101.2 (10.8)
28.5 (3.3)
—
1.2 (0.1)
0.2 (0.0)
—
+ CoLeTra
93.2 (9.2)
26.2 (3.6)
—
1.1 (0.1)
0.2 (0.0)
—
RWLoss
baseline
77.0 (8.2)
29.1 (2.8)
—
1.0 (0.1)
0.2 (0.0)
—
+ CoLeTra
73.8 (6.2)
28.2 (3.1)
—
1.0 (0.1)
0.2 (0.0)
—
Appendix
Table 5: Global and local Betti Errors (DynUNet)
β0e (global)
β1e (global)
β2e (global)
β0e (local)
β1e (local)
β2e (local)
DRIVE
CE
baseline
121.0 (13.6)
34.9 (3.1)
—
1.4 (0.1)
0.2 (0.0)
—
+ CoLeTra
118.9 (13.7)
32.2 (2.8)
—
1.4 (0.2)
0.2 (0.0)
—
Dice
baseline
75.5 (19.4)
29.2 (3.4)
—
1.0 (0.2)
0.2 (0.0)
—
+ CoLeTra
69.4 (16.7)
27.8 (3.4)
—
0.9 (0.2)
0.2 (0.0)
—
RWLoss
baseline
58.7 (11.7)
29.9 (3.1)
—
0.8 (0.1)
0.2 (0.0)
—
+ CoLeTra
56.8 (11.2)
29.9 (3.0)
—
0.8 (0.1)
0.2 (0.0)
—
Appendix
Table 6: Global and local Betti Errors (AttentionUNet)
Table 7: Performance comparison between baseline models (trained with extensive data augmentation) and our CoLeTra on the two architectures, three datasets, and six loss functions.
Laboratory of Mathematics and Complex Systems (Ministry of Education), School of Mathematical Sciences, Beijing Normal University, Beijing, 100875, People’s Republic of China · State Key Laboratory of Remote Sensing Science, Faculty of Geographical Science, Beijing Normal University, Beijing, 100875, People’s Republic of China