Comments (3)
You would first need to convert the .img file to a nifti or mgz file. One way to do this is using mri_convert (from FreeSurfer, it is also part of our container, so you could change the --entrypoint or run interactively with bash).
mri_convert input.img output.mgz
from fastsurfer.
You would first need to convert the .img file to a nifti or mgz file. One way to do this is using mri_convert (from FreeSurfer, it is also part of our container, so you could change the --entrypoint or run interactively with bash).
mri_convert input.img output.mgz
Thank you. It is kind of awkward as it didn't work earlier.
I found the issue that caused the error earlier. You must need to have the corresponding .hdr
(Header) file to convert them using FreeSurfer. Earlier, I reorganized the dataset, and in the process, I deleted the header files without having any idea of their importance. Therefore, FreeSurfer, FSL, nibabel, simpleitk also failed to convert them.
If you have the corresponding .hdr
files, then FreeSurfer can convert them into .mgz
or .nii
perfectly.
However, I managed to batch-process them nicely using Brainder.. Then I can easily incorporate them into FastSurfer.
I am also closing this issue keeping the comments as others might find them useful.
from fastsurfer.
Technically, Fastsurfer should be able to use any file format that is compatible with nibabel. We just always use mgz and nifty, so our official support is only for those two.
from fastsurfer.
Related Issues (20)
- CC values all 0 in aseg+DKT.stats HOT 5
- input image contains negative values and gpu memory issue HOT 6
- Issue creating symbolic links when running fastsurfer-gpu.sif HOT 6
- Error during smooth_aparc.py mode HOT 1
- Error during smooth_aparc.py mode_filter HOT 5
- Biasfield-corrected image input of the segstats.py HOT 4
- Use of '--rm' argument in build.py results in a TypeError HOT 4
- Is it possible to get segstats of cerebellum after run FastSurfer pipeline? HOT 3
- Some zeros in aseg.stats HOT 8
- Fooocus colab stopping with this error HOT 4
- FastSurfer surf pipeline did not finish: Missing .label files (not enough memory for mris_sample_parc) HOT 11
- conform.py bug HOT 2
- srun_fastsurfer.sh on HPC, surface pipeline fails for hundreds but works for tens of subjects HOT 8
- Question about content of wmparc.DKTatlas.mapped.mgz HOT 1
- Support for lesion masks? HOT 1
- Unmatched ROIs in predicted segmentation and provided FastSurfer_ColorLUT.tsv HOT 23
- FastSurfer Segmentation Modules: disable conformation of input image to isometric spaces HOT 5
- Docker build workflows HOT 5
- Model download issue HOT 22
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastsurfer.