vanandrew / brainextractor Goto Github PK
View Code? Open in Web Editor NEWA re-implementation of FSL's Brain Extraction Tool in Python
License: MIT License
A re-implementation of FSL's Brain Extraction Tool in Python
License: MIT License
$ brainextractor pp01_mp2rage_whole_brain_t1_std_defaced.nii.gz 1.nii.gz
Initializing...
Parameters: bt=0.500000, d1=20.000000, d2=10.000000, rmin=3.330000, rmax=10.000000
tmin: 0.000000, t2: 0.000000, t: 312.700000, t98: 3127.000000, tmax: 3999.000000
Center-of-Mass: [115.63921706 142.84159284 172.89465062]
Head Radius: 161.157240
Median within Head Radius: 1692.000000
Initializing surface...
Brain extractor initialization complete!
Running surface deformation...
Segmentation fault: 11
When I run BrainExtractor, sometimes the process stops suddenly with this:
process finished with exit code -1073741819 (0xc0000005)
How can I fix it? And what caused it?
Thanks!
Hi,
I am working on skull-stripping for brain scan. I have cross-sectional and longitudinal MRI brain scans data. When I use cross-sectional data, the brainextractor shows good result. However, the brainextractor shows bad in longitudinal data.
When I start the brainextractor for longitudinal data, it shows UserWarning: The voxels in this image are non-isotropic! Brain extraction settings may not be valid!
. So I view the pixdim in header, I get [-1. 1. 1. 2. 6.002 0. 0. 0. ]
.
What should I do for the python code when using brainextractor?
Thanks!
Hello, thank you for a nice implementation. I found some bug/limitation on it.
With some images I am getting error.
[FD] warnings.warn(
[FD] Traceback (most recent call last):
[FD] File "/mnt/c/Users/h492884/PycharmProjects/slicer_MER/slicer_plugin/model/Resources/py/bet.py", line 13, in <module>
[FD] bet.run()
[FD] File "/home/user/slic_build/python-install/lib/python3.9/site-packages/brainextractor/main.py", line 287, in run
[FD] self.step_of_deformation(
[FD] ValueError: array is too big; `arr.size * arr.dtype.itemsize` is larger than the maximum possible size.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.