Hi
The errors seem to indicate that the magnitude and phase diff images do not share the same orientation or resolution. Try using spm_check_registration in SPM to check the information about the orientation, voxel size, and bounding box of those images to see if that helps you figure out what is the specific difference between the two images (this may indicate that you are selecting the incorrect fieldmap images, but it could also indicate that one of those images has been coregistered -e.g. to the functional data- while the other hasn't).
Best
Alfonso
Originally posted by Mihir Walvekar:
Hello,
Firstly I add the phasediff and magnitude files to the fmaps in other imaging options, I select them both and add them together, there is a first and last magnitude images in the same magnitude.nii file and one phase diff files. Atleast theoretically both of them have the same size. Then, I add a few more steps to preprocessing, namely: "Creation of Voxel Displacement Maps for Susceptibility Distortion Correction" and "Susceptibility Distortion Creation using Voxel Displacement Maps" to the preprocessing pipelene. When I run preprocessing, I get the following error below.
I also tried using a spm topup script to externally extract the VDM files but the error I get there too is similar. "Images don't have the same orientation and voxel size."
Any help would be appreciated, thanks!
Performing functional Label current functional files as "original functional data"
Importing results to CONN project
saved /data/mgh-meditation/mihir/initial_guionly_sub002Jhana.mat
Preparing functional Center to (0,0,0) coordinates (translation) separately for each run/session
Performing functional Center to (0,0,0) coordinates (translation) separately for each run/session
Importing results to CONN project
Functional centering translation x/y/z = [0 0 0] (Subject 1)
saved /data/mgh-meditation/mihir/initial_guionly_sub002Jhana.mat
Preparing functional Creation of voxel-displacement maps (VDM) for Susceptibility Distortion Correction
2024-Sep-05 10:31 : ERROR DESCRIPTION:
Error using spm_check_orientations
The orientations etc must be identical for this
procedure.
Error in spm_read_vols (line 25)
spm_check_orientations(V);
Error in conn_setup_preproc (line 3423)
phaseabs=spm_read_vols(vol);
Error in conn (line 1443)
ok=conn_setup_preproc('',varargin{2:end});
Error in conn_menumanager (line 125)
feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end});
CONN22.v2407
SPM12 + DAiSS DEM FieldMap MEEGtools
Matlab v.2022b
project: CONN22.v2407
Threaded View
Title | Author | Date |
---|---|---|
Mihir Walvekar | Sep 5, 2024 | |
Alfonso Nieto-Castanon | Sep 6, 2024 | |