From 5d2016c4dbe75aab01d5a121775d9e887a9c08bb Mon Sep 17 00:00:00 2001 From: Vladislav Tumko <56307628+vectorvp@users.noreply.github.com> Date: Sun, 1 Dec 2024 16:05:04 +0700 Subject: [PATCH] docs: update brats classes description Signed-off-by: Vladislav Tumko <56307628+vectorvp@users.noreply.github.com> --- monai/transforms/utility/array.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/monai/transforms/utility/array.py b/monai/transforms/utility/array.py index 1b3c59afdb..88773f5e2e 100644 --- a/monai/transforms/utility/array.py +++ b/monai/transforms/utility/array.py @@ -1051,12 +1051,11 @@ def __call__( class ConvertToMultiChannelBasedOnBratsClasses(Transform): """ - Convert labels to multi channels based on brats18 classes: - label 1 is the necrotic and non-enhancing tumor core - label 2 is the peritumoral edema - label 4 is the GD-enhancing tumor - The possible classes are TC (Tumor core), WT (Whole tumor) - and ET (Enhancing tumor). + Convert labels to multi channels based on `brats18 `_ classes, + which include TC (Tumor core), WT (Whole tumor) and ET (Enhancing tumor): + label 1 is the necrotic and non-enhancing tumor core, which should be counted under TC and WT subregion, + label 2 is the peritumoral edema, which is counted only under WT subregion, + label 4 is the GD-enhancing tumor, which should be counted under ET, TC, WT subregions. """ backend = [TransformBackends.TORCH, TransformBackends.NUMPY]