Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

View brain image and segmented image. #47

Open
adarsheng1 opened this issue Apr 9, 2019 · 4 comments
Open

View brain image and segmented image. #47

adarsheng1 opened this issue Apr 9, 2019 · 4 comments

Comments

@adarsheng1
Copy link

How we can view the brain MRI and finally the segmented image.

@Lafite-Yu
Copy link

@adarsheng1
Copy link
Author

Thank you Lafite-Yu for the code. I was able to successfully execute it. I have generated the .npz model for enhance and necrotic tumor. How can I know that which type of Tumor it is by executing the code on an input file of type .nii.gz

@Lafite-Yu
Copy link

According to the readme document of this project, you should train one model for one task, relatively. And I didn't change this, you can change the code in train.py or use command like python train.py --task edema to train to separate the edema part of the tumor.

    parser.add_argument('--task', type=str, default='all', help='all, necrotic, edema, enhance')
    # there are 4 labels in targets:
    # Label 0: background
    # Label 1: necrotic and non-enhancing tumor
    # Label 2: edema
    # Label 4: enhancing tumor

You can see know more about that in train.py.

@Lafite-Yu
Copy link

There are four values in the segmentation results of the BraTS dataset, shown as previous comment.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants