FMRIB-Software-Library / support

Public FSL issue tracker and support portal
4 stars 0 forks source link

BUG: Images are not aligned in FSLeyes #8

Closed pauldmccarthy closed 3 years ago

pauldmccarthy commented 3 years ago

Checklist

Describe the problem

Hi, I am trying to look at two images in FSLeyes, but they appear on different parts of the screen. They are from the same subject, so should be aligned, but appear like this instead:

image

I've attached the images to this issue. Any help would be appreciated!

MNI152_T1_2mm_brain_mask.nii.gz

MNI152_T1_2mm.nii.gz

Also, sometimes when I start up FSLeyes, all of the icons look like bums. What's with that?

image

pauldmccarthy commented 3 years ago

Hi, this mis-alignment can happen when the voxel-to-world transformation of one of the images has been changed somehow. For example, if you created and saved your mask image in a MATLAB session, the transformation may not have been saved correctly.

If you are 100% sure that the images are voxel-aligned (i.e. the same voxel corresponds to the same anatomical location in both images), you can use the fslcpgeom command to copy the transformation information from one image to the other. For example:

fslcpgeom MNI152_T1_2mm MNI152_T1_2mm_brain_mask

I'm not sure about your other issue, sorry.