Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The segmentations are based on a priori templates in a standard space, so the images must be successfully registered to the template space for FIRST to work. This command will create a subdirectory sub-directory "slicesdir" which will contain a webpage visualizing each subject's registration:

[user@localhost temp]$ slicesdir   -p   ${FSLDIR}/data/standard/MNI152_T1_1mm.nii.gz gz   *_to_std_sub.nii.gz

 Open I recommend renaming this directory to "slicesdir_T1toMNI" since the subsequent step also creates a "slicesdir" sub-directory (see second scsreenshot).

Open the "index" web page to view:

 On the webpage, each subject's registered image (*_to_std_sub.nii.gz) will be displayed in sagittal, coronal, and axial views, with a red outline showing the edges from of the MNI152_T1_1mm standard brain. Open this webpage in any web browser. Check the User Guide for instructions on how to correct registrations.

Checking Segmentations

This Image Added

Link to Examples of Registration Errors.

Checking Segmentations

The first_roi_slicesdir  command will create another webpage in the slicesdir subfolder with segmentations displayed on each subject's T1 image. To view a single subject's ssegmentation (Say BOB101):

[user@localhost temp]$ first_roi_slicesdir   BOB101.nii.gz   BOB101_all_fast_firstseg.nii.gz

If the T1 images have the suffix "_t1", the following command will create another webpage in the slicesdir subfolder with segmentations displayed on each subject's T1 image:

[user@localhost temp]$ slicesdir  first_roi_slicesdir   *_t1T1.nii.gz gz   *_all_fast_firstseg.nii.gz

*_t1T1.nii.gz is the list of T1 images, and *_all_fast_firstseg.nii.gz is the list of segmentations. You could also specify these file by file.

If your T1 images are not distinguished with a suffix, create a new directory and copy the T1 files there. You can then specify the location of the T1 files; for example, if you have copied all T1 files to a sub-directory "allT1", the following command will work:

[user@localhost temp]$ first_roi_slicesdir   ./allT1/*_T1.nii.gz   *_all_fast_firstseg.nii.gz

To quickly copy all T1's, sort by file size; they should then be listed together, and easier to select all at once and copy.