Comments (6)
Generally, the file naming conventions between FreeSurfer and FastSurfer are the same. So you should be able to run the same commands with FastSurfer outputs as with FreeSurfer outputs.
Here, I would recommend to use change --subjects `cat done.txt`
to --subjectsfile done.txt
(assuming done.txt
has one subject per line). You also need to make sure the SUBJECTS_DIR enviroment variable is set correctly.
from fastsurfer.
Thanks a lot for the answer. After running recon-all with freesurfer I have a lot more files in the surf folder e.g.
![Bildschirmfoto 2024-07-15 um 13 51 22](https://private-user-images.githubusercontent.com/43185556/348693869-e9f8d6d5-3ab4-469b-b0dc-2d876b9b603a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM0MDQ1OTMsIm5iZiI6MTcyMzQwNDI5MywicGF0aCI6Ii80MzE4NTU1Ni8zNDg2OTM4NjktZTlmOGQ2ZDUtM2FiNC00NjliLWIwZGMtMmQ4NzZiOWI2MDNhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODExVDE5MjQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVjYjNiNzJhYjQxNjg2YTcxM2ZjYjQ3MDQ4NDZjZDg2NzkzZmQ4M2M0MDhiZDZmZjUzNzAwNTA5M2MwOWRkODYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.sCYg5x5SD74TtLm-txpc_paP81nqIVQOnv_NOSK-Vw0)
as after running FastSurfer (files mentioned above).
Do I need to give extra arguments to FastSurfer to get the same results?
I currently use
..
--fs_license /fs_license/license.txt \
--t1 /xy.nii \
--sid xy --sd /output \
--parallel --3T
with no extra arguments.
from fastsurfer.
The thickness, curvature, etc. information is stored in the {rh,lh}.{thick,curv,... }
files. The other files produced by FreeSurfer mostly concern other segmentation protocols (like a2009s -- FastSurfer only generates the aparc.DKTatlas surface segmentation) or smoothing of statistics (see fwhm).
I am not really sure, why you generated this many smoothed statistics in your reference run, but generally this is not the default FreeSurfer behavior. In any way, it is not necessary to have this statistic.
So I would expect you do not need to manually create other atlas-surface segmentations (call mris_ca_label
) as your command only processes the default (--parc <...>
not specified).
from fastsurfer.
I see.
But in the stats output of FastSurfer is no e.g. rh.aparc.stats and running:
aparcstats2table --subjects xy/ --hemi rh --meas thickness --tablefile rh_aparc_stats_thickness.tx
SUBJECTS_DIR : /FastSurfer
Parsing the .stats files
ERROR: Cannot find stats file /FastSurfer/xy/stats/rh.aparc.stats
(paths are correct)
from fastsurfer.
FastSurfer uses the the DKTatlas, so adding --parc aparc.DTKatlas.mapped
should solve this.
from fastsurfer.
Yes, we should document all this a little better. Freesurfer also generates the DKTatlas but it is not the default (although many people think it should be). The DKT it is only a minor modification from the older aparc with some clean up and a few unreliable labels merged.
In FastSurfer, you can use the --fs-aparc
flag which will generate more stats files, but will be a little slower obviously. For most applications the default DKTatlas.mapped one will be fine. This is the volume based DKT atlas segmentation mapped to the surface, so it does not even require a spherical non-linear registration.
from fastsurfer.
Related Issues (20)
- 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
- FastSurfer QuickSeg doesn't work with OASIS `.img` files HOT 3
- Docker build workflows HOT 5
- Model download issue HOT 22
- invalid index in smooth_aparc.py HOT 7
- FastSufer for multiple subjects HOT 4
- DKTAtlas instead of aparc.stats file in FastSurfer HOT 3
- recon_surf//functions.sh: line 38: -debug: command not found HOT 6
- no-cache argument for build.py HOT 2
- Updated Docker Image HOT 1
- Website hosting checkpoints down HOT 5
- Anterior/Posterior Commissure Segmentation HOT 6
- ERROR: FastSurfer asegdkt segmentation failed. HOT 8
- Surface module fail in dev HOT 6
- Reference to deprecated docker images in surface pipeline docs HOT 5
- Missing files compared to freesurfer HOT 5
- CerebNet support for submillimeter images? HOT 2
- Cannot use Fastsurfer with Apple M3 Pro HOT 11
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.