Skip to content

Docstring improvement for ConvertToMultiChannelBasedOnBratsClasses #8225

Closed

Description

@mingxin-zheng

Describe the bug

The docstring below was confusing to read for people who haven't worked on BRATS 18 before (e.g. me)

Convert labels to multi channels based on brats18 classes:

I would suggest to elaborate it as below:

Convert labels to multi channels based on brats18 classes, which include TC (Tumor core), WT (Whole tumor) and ET (Enhancing tumor) in order.
According to the [official page](https://www.med.upenn.edu/sbia/brats2018/data.html)
    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 subresion
    label 4 is the GD-enhancing tumor, which should be counted under ET, TC, WT subregions

Expected behavior
A clear and concise description of the function behavior and expected outputs

Additional context
Related issue: Project-MONAI/tutorials#1355
Related comment: Project-MONAI/VLM-Radiology-Agent-Framework#55 (comment)

Activity

  1. added a commit that references this issue on Dec 2, 2024
    fe3ed44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions