Skip to content

Conversation

@m-reuter
Copy link
Member

@m-reuter m-reuter commented Oct 4, 2024

This PR adds scripts for template creation and running both template (base) and long.
Entry script is long_fastsurfer.sh that runs everything sequentially.

@m-reuter
Copy link
Member Author

m-reuter commented Oct 7, 2024

I successfully ran this on a case from OASIS (1mm isotropic, 2 time points). Other resolutions and time points still need testing.

The script long_fastsurfer.sh is running a full case with all time points sequentially. The steps are:

  1. setup of base/template with long_prepare_template.sh
  2. running of template through run-fastsurfer.sh --base ...
  3. running of each time point through run-fastsurfer.sh --long ...

2 and 3 can be split into seg_only and surf_only. Also the segmentation of the longitudinal time points in 3 can principally be run in parallel with step 2, only the surface module in 3 needs to wait until the base (step 2) is completely done.

dkuegler and others added 4 commits October 8, 2024 20:02
- Add checks for unsupported run_fastsurfer.sh arguments: --t1, --t2, --sid, --seg_only, surf_only
  -> --t2 is not currently supported, because this would need adapted pre-processing and multiple images
- Consistent formatting of Error Messages
- Fix incorrect formatting of arrays (@ vs. *)

run_fastsurfer.sh
- Change help text for longitudinal flags (point to long_fastsurfer.sh). In most cases, these flags should not be used by regular users, who should use long_fastsurfer.sh instead.
Minor updates to the longitudinal stream
@m-reuter m-reuter mentioned this pull request Oct 8, 2024
@m-reuter m-reuter merged commit 1b9ddc1 into Deep-MI:dev Oct 8, 2024
@m-reuter m-reuter deleted the long branch October 8, 2024 18:49
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

Successfully merging this pull request may close these issues.

2 participants