Skip to content

Commit 66ba7c3

Browse files
committed
Clarify documentation for GD-enhancing tumor label in ConvertToMultiChannelBasedOnBratsClasses
Signed-off-by: Abdessamad <abdoomis6@gmail.com>
1 parent fa94511 commit 66ba7c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

monai/transforms/utility/array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@ class ConvertToMultiChannelBasedOnBratsClasses(Transform):
10491049
which include TC (Tumor core), WT (Whole tumor) and ET (Enhancing tumor):
10501050
label 1 is the necrotic and non-enhancing tumor core, which should be counted under TC and WT subregion,
10511051
label 2 is the peritumoral edema, which is counted only under WT subregion,
1052-
label 4 is the GD-enhancing tumor, which should be counted under ET, TC, WT subregions.
1052+
the specified `et_label` (default 4) is the GD-enhancing tumor, which should be counted under ET, TC, WT subregions.
10531053
10541054
Args:
10551055
et_label: the label used for the GD-enhancing tumor (ET).

monai/transforms/utility/dictionary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1300,7 +1300,7 @@ class ConvertToMultiChannelBasedOnBratsClassesd(MapTransform):
13001300
Convert labels to multi channels based on brats classes:
13011301
label 1 is the necrotic and non-enhancing tumor core
13021302
label 2 is the peritumoral edema
1303-
label 4 is the GD-enhancing tumor
1303+
the specified `et_label` (default 4) is the GD-enhancing tumor
13041304
The possible classes are TC (Tumor core), WT (Whole tumor)
13051305
and ET (Enhancing tumor).
13061306

0 commit comments

Comments
 (0)