Dear Matthew, I tried the following command with -copysform2qform and -copyqform2sform options, however I got the same error. fslswapdim comp001.nii LR PA IS -copysform2qform output ERROR: Inconsistent left-right order stored in sform and qform in file comp001 Using sform instead of qform values ERROR: Inconsistent left-right order stored in sform and qform in file comp001 Using sform instead of qform values ERROR: Inconsistent left-right order stored in sform and qform in file comp001 Using sform instead of qform values However I tried with this: fslorient -setqform -2 0 -0 90 0 2 -0 -126 0 0 2 -72 0 0 0 1 comp001.nii and apparently worked Thanks for your help! Kind regards Melanni ________________________________ De: FSL - FMRIB's Software Library <[log in to unmask]> en nombre de Matthew Webster <[log in to unmask]> Enviado: martes, 25 de junio de 2019 06:08 p. m. Para: [log in to unmask] Asunto: Re: [FSL] ERROR: Inconsistent left-right order stored in sform and qform Dear Melanni, Have you tried fslswapdim with the -copysform2qform or -copyqform2sform options to restore whichever transform has changed to it’s original value? Kind Regards Matthew -------------------------------- Dr Matthew Webster FMRIB Centre John Radcliffe Hospital University of Oxford > On 21 Jun 2019, at 17:31, melanni nanni <[log in to unmask]> wrote: > > Dear experts, > > I'm working with some functional images, that I got after run gRAICAR (a toolbox for melodic reproducibility). For some reason the resultant functional components has an inconsistant order acording to fslhd: > > qform_xorient Left-to-Right > qform_yorient Posterior-to-Anterior > qform_zorient Superior-to-Inferior > .. > sform_xorient Left-to-Right > sform_yorient Posterior-to-Anterior > sform_zorient Inferior-to-Superior > > Therefore any manipulation that I want to perform on these images (fslmaths, etc) I get the following error: > ERROR: Inconsistent left-right order stored in sform and qform in file comp001 Using sform instead of qform values > > Even after use fslorient -swapdim or fslswapdim, I get the same error. How can I change the order? > Thank you > > Melanni > > > > To unsubscribe from the FSL list, click the following link: > https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1 ######################################################################## To unsubscribe from the FSL list, click the following link: https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1 ######################################################################## To unsubscribe from the FSL list, click the following link: https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1