Code Monkey home page Code Monkey logo

Comments (6)

dkuegler avatar dkuegler commented on August 12, 2024

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.txthas one subject per line). You also need to make sure the SUBJECTS_DIR enviroment variable is set correctly.

from fastsurfer.

MeIngBest avatar MeIngBest commented on August 12, 2024

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

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.

dkuegler avatar dkuegler commented on August 12, 2024

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.

MeIngBest avatar MeIngBest commented on August 12, 2024

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.

dkuegler avatar dkuegler commented on August 12, 2024

FastSurfer uses the the DKTatlas, so adding --parc aparc.DTKatlas.mapped should solve this.

from fastsurfer.

m-reuter avatar m-reuter commented on August 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.