Dear experts,

I encountered following issue with freeview:

When two images with mutually different geometry are simultaneously loaded and one of them is saved (via save as), its pixel values get somewhat corrupted. There are strips in image with modified pixel values. It seems to affect only the latter image in the pair.

Example (001.mgz and brainmask.mgz have different geometry):

freeview brainmask.mgz orig/001.mgz

Then I saved 001.mgz as 001_2.mgz (using "save as") and loaded 001_2.mgz to freeview. The attached screenshots show original 001.mgz and 001_2.mgz with corrupted pixels. Note new oblique strips.

This is not only display issue. The mri_diff 001.mgz 001_2.mgz outputs:

diffcount 287447
Volumes differ in pixel data
maxdiff 966.00000000 at 171 255 30 0

I am using recent development version of freesurfer from 04/2017.

Regards,

Antonin Skoch