Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Brain Extraction #55

Closed
Niko-k98 opened this issue Feb 7, 2024 · 5 comments
Closed

Brain Extraction #55

Niko-k98 opened this issue Feb 7, 2024 · 5 comments
Assignees
Labels
documentation Improvements or additions to documentation question Further information is requested

Comments

@Niko-k98
Copy link

Niko-k98 commented Feb 7, 2024

Is the Brain extraction and masking currently functional in this repo or should I stick to the BraTS tool-kit repo for the time being?

@neuronflow
Copy link
Collaborator

It is functional. However, the documentation and tutorials still need to be prepared.

What is the issue you are facing?

You can use the package like this:
https://github.com/BrainLesion/preprocessing/blob/main/example_modality_centric_preprocessor.py

For brain extraction, set bet to True for each modality you want to skullstrip.

@neuronflow neuronflow self-assigned this Feb 7, 2024
@neuronflow neuronflow added documentation Improvements or additions to documentation question Further information is requested labels Feb 7, 2024
@Niko-k98
Copy link
Author

Niko-k98 commented Feb 7, 2024

I just wanted to verify functionality. i was able to get it to work on an nrrd file of an mri, however the deskulled output had less slices than the initial file, is this to be expected? Thank you for your assistance

@neuronflow
Copy link
Collaborator

so far I tested the pipeline with .nii.gz files. No experience with nrrd yet.

You can use any file structure you want. You just need to provide input and output paths.

Output files will have the resolution of the SRI24 atlas:
155x240x240

@neuronflow
Copy link
Collaborator

closed until more information is provided.

@neuronflow
Copy link
Collaborator

@Niko-k98
we now have some API changes and a first small tutorial:
https://github.com/BrainLesion/tutorials/tree/main/preprocessing

Your feedback is appreciated :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants