Hi I've a problem with spm_realign in SPM8 Matlab. I'm trying to obtain movement parameters using as reference the mean image. I've tried to set the rtm flag to 1, 0 or [ ] but always I obtain the same result respect the first volume. This is my code: flags.rtm=1; spm_realign(P,flags); What I'm doing wrong? Thanks