What to do about SPM8 Yosemite Matlab2014b failure to reorient images to origin

1 view (last 30 days)
Dear SPM users, I'm trying to reorient some fMRI data prior to slice retiming on an iMac computer. I open the T1 for each subject using the Display function and press the crosshair button to identify current origin. Then I move the cursor to the AC, enter the reversed offset and apply the reorientation to all subject files. The processing starts and the progress bar changes ("Reorienting images"). When the processing stops, either nothing happens or the Display function reloads the data, but the origin is in the same position, or slightly away from where it was initially. The timestamp for the headers of these images does change, indicating that they have been reoriented, albeit incorrectly. I have tried to run this operation for about 6 subjects, and I have also tried to restart SPM. No error message appears.
Please let me know what suggestions you have for troubleshooting this issue.
  1 Comment
Elisa Cargnelutti
Elisa Cargnelutti on 11 Feb 2021
Hi!
I just encountered the same problem when using the Display function on SPM12, but I also got this error message:
Operands to the || and && operators must be convertible to logical scalar values.
Error in uigetputfile_helper/getFilterFileAndPath (line 283)
elseif ((~contains(file, '*')) && (~contains(ext, '*')) &&
...
Error in uigetputfile_helper/parseArguments (line 147)
[dialog_filter, dialog_filename, dialog_pathname] =
getFilterFileAndPath(dialog_filter);
Error in uigetputfile_helper (line 27)
[dialog_filter, dialog_title, dialog_filename, dialog_pathname,
dialog_multiselect] = parseArguments();
Error in uiputfile (line 111)
[filename, pathname, filterindex] = uigetputfile_helper(1, varargin{:});
Error in spm_image (line 241)
[f,p] = uiputfile(fnm);
Error while evaluating UIControl Callback.
I tried to fix it by following different suggestions, but nothing changed. What could have been happened? I’ve always used this procedure without any problem, so I can't understand what happened since the last time I ran it.
Any ideas?

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!