Many thanks, this is much easier.
best,
aj
--- On Mon, 8/8/11, Koene Van Dijk <[log in to unmask]> wrote:
> From: Koene Van Dijk <[log in to unmask]>
> Subject: Re: [FSL] flipping masks
> To: [log in to unmask]
> Date: Monday, August 8, 2011, 8:46 PM
> You can also try the tool fslswapdim
> (http://www.fmrib.ox.ac.uk/fsl/avwutils/index.html)
>
> Probably:
> fslswapdim input_volume_name.nii -x y z
> output_volume_name.nii
>
> Best,
> Koene
>
>
> =============
>
> Hi,
>
> If you are in standard space then applying the following
> matrix
> with FLIRT (using the -applyxfm and -init options) - or the
> ApplyXFM GUI -
> should do the trick. Otherwise you will need to
> register to standard
> space and then concatenate the img2std the std_flip (here)
> and the
> std2img (inverse) transformations together to get an
> img_flip matrix.
>
> The matrix for the std_flip is:
> -1 0 0 180
> 0 1 0 0
> 0 0 1 0
> 0 0 0 1
>
> All the best,
> Mark
>
>
> On 8 Aug 2011, at 05:39, Adil Javed wrote:
>
> > Hi,
> > I created a roi mask on one side in fslview and want
> to flip it to match the contralateral side exactly. Is
> there anyway to do that in fsl? a simple script?
> >
> > many thanks,
> >
> > aj
> >
>
|