CSPM manual co-registration
Open MATLAB
Type: spm fmri
Select CSPM toolbox
In the next window, select ‘Projects’:
In the Project window, select your project (HCP) and click the button ‘Manual coreg to MNI’:
An error box pops up; the command the button is supposed to run is copied to the clipboard. Click ok and go back to the main MATLAB window. Paste the command from the clipboard and hit the return button.
Alternatively, you can skip steps 2-6 and type this command directly into MATLAB, all subject scans in the project will be loaded. Wait.
cspm_project_coreg2mni (48)
In the next window, select a subject, then a scan (either the T1 or the resting state scan in this case).
Click the orange button ‘SPM – Open MNI (reference)’ to open the standard brain in SPM
Then open the subject’s scan (here resting state scan)
Details:
The text ‘MNI (ref) “single_subj_t1.nii” ….’ Is the path to the MNI standard brain.
If you hover over the text, it shows the path.
If you right-click, you get the options to either
Open the MNI file; or
Open the folder where the MNI file is stored on the C-drive
Open the MNI scan in SPM by clicking the top orange button (~30 seconds):
This window then opens; the MNI file is named single_subj_t1.nii
Next, open the subject image you want to register to standard space using the second orange button “SPM – Open raw (match to MNI)”, named “XXXX_raw.nii”
If you select the T1 image in the left window under “HCP MRI’s”, the T1 will open when you hit this orange button; if you select the resting state on the left, it will open the resting state scan.
Using the coordinate box on the left bottom, we want to adjust the position of the brain relative to the MNI brain, including the position and alignment with respect to the cross hairs.
When you think you have matched the subject’s scan as closely as possible to the MNI position/orientation, return to the project window and click the orange button “copy from SPM”
Check the box “overwrite existing”
Click “Save to Selected Study”
NOTE:
The bottom coordinates are retrieved from copying them from the SPM window.
The greyed out values on the top under “Rigid Body Shift” only appear AFTER the actual co-registration. If this subject’s scan has not previously been co-registered the boxes will be empty. “Last saved” shows when changes were applied last.
You can also open and view the nifti files in MRICRON using the white buttons, which loads faster than SPM.
White buttons open files in MRICRON (shown here), orange buttons in SPM:
Nifti – MNI
Nifti – Raw
Nifti - Project
The project scan gets copied and co-registered only when the "Copy and Coreg" button is clicked for that project. If that has not been done once, then there will be no project file. If the coreg parameters are changed, they will not be applied until the "Copy and Coreg" is clicked again.