8000 prepare_microbleed_data command · Issue #3 · v-sundaresan/microbleed-detection · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

prepare_microbleed_data command #3

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

Open
SolerseYSU opened this issue Nov 25, 2023 · 1 comment
Open

prepare_microbleed_data command #3

SolerseYSU opened this issue Nov 25, 2023 · 1 comment
9DF2

Comments

@SolerseYSU
Copy link

@v-sundaresan
Hello, I'm stuck on using your prepare_microbleed_data command.
Can you tell me how I'm supposed to specify the directories for the input images and output images by showing me a specific command example?
Also, how are we supposed to organize our data? should all of our .nii files be zipped in a .nii.gz format and then prepared through the command above?
Can anyone who succeeded in using this module help me?

Thank you for your great code btw.

@EllieMo
Copy link
EllieMo commented Oct 29, 2024

I had similar issues with the prepare_microbleed_data command. I ended up going into the code to see what it does and then preprocessed my data myself. It seems to me that you only need ${outname}_preproc.nii.gz in your input folder for microbleednet to run.

> # REORIENTING FLAIR AND T1 IMAGES TO STD SPACE
> $FSLDIR/bin/fslreorient2std ${inpfile}.nii.gz ${TMPVISDIR}/INPUT.nii.gz
> 
> # PREPROCESSING OF FLAIR IMAGE
> $FSLDIR/bin/bet ${TMPVISDIR}/INPUT.nii.gz ${TMPVISDIR}/INPUT_brain.nii.gz
> $FSLDIR/bin/fast -B --nopve ${TMPVISDIR}/INPUT_brain.nii.gz
> ${FSLDIR}/bin/imcp ${TMPVISDIR}/INPUT_brain_restore.nii.gz ${outdir}/${outname}_preproc.nii.gz
> 

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

No branches or pull requests

2 participants
0