[MINC-users] mincresample changes voxel values

Paul GRAVEL pgravel at bic.mni.mcgill.ca
Wed Jul 26 12:57:39 EDT 2006


Dear All,

I am combining manually_modified_labels using Display:

Display mri_stx_nuc.mnc -label label1.mnc -label label2.mnc ...

(All the label files are in the icbm_template_2.00mm.mnc
format/dimensions/origin.)

Then when I save the combined labels in Display, it does put the labels in
a different format than the icbm; which I guess is expected.

But when I use mincresample on the combined labels to bring them back to
the icbm_template_2.00mm.mnc format, some of the original label numbers
are changed, e.g. Original right_hippocampus_voxels=36, but resampled
right_hippocampus will have some voxels=36 and some voxels=37.
My question is why is that, and/or is there a work-around ?

I did use:
mincresample combined_labels_Display_format.mnc combined_labels_icbm_2mm.mnc -like /data/avgbrain/avgbrain1/brain/images/icbm_template_2.00mm.mnc
OR
mincresample -nearest_neighbour combined_labels_Display_format.mnc combined_labels_icbm_2mm.mnc -like /data/avgbrain/avgbrain1/brain/images/icbm_template_2.00mm.mnc

But same outcome...

Thanks in advance.

Best Regards,

Paul







More information about the MINC-users mailing list