Hi Jaakko,
Yes, you may use conn_module functionality to do this easily/quickly. First, remember to close any CONN project that you may have in the GUI (as conn_module functionality may interfere with any open CONN project). Then, you may use syntax like:
file_ImageInMNI = 'testImage.nii';
file_InverseCentering = 'icentering_meanuREST.mat';
file_InverseNormalization = 'iy_art_mean_auREST.nii';
conn_module('PREP', ...
'functionals', file_ImageInMNI, ...
'steps', {'functional_manualspatialdef','functional_manualorient'}, ...
'respatialdef', file_InverseNormalization, ...
'reorient', file_InverseCentering);
That will create a new file, named 'wtestImage.nii' in the example above, with the original image back in subject-space (in the same space as the functional data before normalization).
Hope this helps
Alfonso
Originally posted by Jaakko Hotta:
Hi,
I have preprocessed and analyzed my data with CONN. Now I wish to reverse some results from normalized MNI space to native space. To my understanding I first have to do
- inverse normalization and then
- inverse centering
I can do the inverse normalization in SPM Normalize (Write) tool applying iy_*.nii matrix, but what about the inverse centering? I found the icentering_***.mat file has the needed translations for x, y and z that I can apply manually in SPM Display tool, but I quess there should be a more automated way also?
Do you have any suggestions how to perform this to avoid error prone manual work :)
Best regards Jaakko Hotta
Threaded View
Title | Author | Date |
---|---|---|
Jaakko Hotta | Mar 26, 2025 | |
Alfonso Nieto-Castanon | Mar 28, 2025 | |