Skip to content

Commit 5d2016c

Browse files
committed
docs: update brats classes description
Signed-off-by: Vladislav Tumko <[email protected]>
1 parent 649c7c8 commit 5d2016c

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

monai/transforms/utility/array.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,12 +1051,11 @@ def __call__(
10511051

10521052
class ConvertToMultiChannelBasedOnBratsClasses(Transform):
10531053
"""
1054-
Convert labels to multi channels based on brats18 classes:
1055-
label 1 is the necrotic and non-enhancing tumor core
1056-
label 2 is the peritumoral edema
1057-
label 4 is the GD-enhancing tumor
1058-
The possible classes are TC (Tumor core), WT (Whole tumor)
1059-
and ET (Enhancing tumor).
1054+
Convert labels to multi channels based on `brats18 <https://www.med.upenn.edu/sbia/brats2018/data.html>`_ classes,
1055+
which include TC (Tumor core), WT (Whole tumor) and ET (Enhancing tumor):
1056+
label 1 is the necrotic and non-enhancing tumor core, which should be counted under TC and WT subregion,
1057+
label 2 is the peritumoral edema, which is counted only under WT subregion,
1058+
label 4 is the GD-enhancing tumor, which should be counted under ET, TC, WT subregions.
10601059
"""
10611060

10621061
backend = [TransformBackends.TORCH, TransformBackends.NUMPY]

0 commit comments

Comments
 (0)