You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Macenko-Aug [\[1\]](#reference) (inspired by [StainTools](https://github.com/Peter554/StainTools))
16
18
17
19
## Installation
18
20
@@ -47,9 +49,19 @@ norm, H, E = normalizer.normalize(I=t_to_transform, stains=True)
47
49
48
50

49
51
52
+
## Implemented algorithms
53
+
54
+
| Algorithm | numpy | torch | tensorflow |
55
+
|-|-|-|-|
56
+
| Macenko |✓|✓|✓|
57
+
| Reinhard |✓|✓|✓|
58
+
| Modified Reinhard |✓|✓|✓|
59
+
| Multi-target Macenko |✗|✓|✗|
60
+
| Macenko-Aug |✓|✓|✓|
61
+
50
62
## Backend comparison
51
63
52
-
Macenko runtime results using different backends with 10 runs per image size on a Intel(R) Core(TM) i5-8365U CPU @ 1.60GHz.
64
+
Runtimes using the Macenko algorithm using different backends. Metrics were calculated from 10 repeated runs for each quadratic image size on an Intel(R) Core(TM) i5-8365U CPU @ 1.60GHz.
53
65
54
66
| size | numpy avg. time | torch avg. time | tf avg. time |
@@ -66,7 +78,8 @@ Macenko runtime results using different backends with 10 runs per image size on
66
78
67
79
-[1] Macenko, Marc et al. "A method for normalizing histology slides for quantitative analysis." 2009 IEEE International Symposium on Biomedical Imaging: From Nano to Macro. IEEE, 2009.
68
80
-[2] Reinhard, Erik et al. "Color transfer between images." IEEE Computer Graphics and Applications. IEEE, 2001.
69
-
-[3] Roy, Santanu et al. "Modified Reinhard Algorithm for Color Normalization of Colorectal Cancer Histopathology Images". 2021 29th European Signal Processing Conference (EUSIPCO). IEEE, 2021.
81
+
-[3] Roy, Santanu et al. "Modified Reinhard Algorithm for Color Normalization of Colorectal Cancer Histopathology Images". 2021 29th European Signal Processing Conference (EUSIPCO), IEEE, 2021.
82
+
-[4] Ivanov, Desislav et al. "Multi-target stain normalization for histology slides". arXiv (preprint). 2024.
0 commit comments