neurodebian / spm12

NeuroDebian packaging of SPM12 (official repo at https://github.com/spm)
https://neuro.debian.net/pkgs/matlab-spm8.html
Other
75 stars 64 forks source link

Reslicing from source to target image? #8

Open AI-ML-Enthusiast opened 2 years ago

AI-ML-Enthusiast commented 2 years ago

I want to reslice from 121x145x121 to 53x63x52. How can I do it? The spm_reslice() function can do it?

Thanks

gllmflndn commented 2 years ago

Hello @AI-ML-Enthusiast

For SPM-related questions, please use the SPM mailing list otherwise, for opening an issue or a pull request, please see the official SPM repositories.

If you have an image with the desired dimension and orientation, you can use it with spm_reslice by providing this image and the one you want to reslice in the first argument of the function. If you want to change the voxel size, you can also look at this: https://en.wikibooks.org/wiki/SPM/How-to#How_to_change_the_voxel_size_of_an_image?