[MINC-users] Convert file.tag into Analyze format

D. Louis Collins louis.collins@mcgill.ca
Sun Dec 19 03:41:05 2004


Anna,

When using Display, painted voxels can be saved as labels in a minc 
volume.  The minc volume will be byte valued, and will be in register 
with the volume used for painting.  You can save painted labels:
from the top menu -> T(file) -> W(save labels mnc) -> and then type in 
a filename at the command line.

this will save a minc volume of the labels (but the volume will be 
cropped to the smallest extent that covers the labels).  If you want 
the label volume to have voxel-to-voxel correspondance (for SPM 
analysis, for example), then do:

from the top menu -> T(file) -> 1(crop save labels) -> W(save labels 
mnc) -> and then type in a filename at the command line.

this way, your label volume will be as big as your original (same voxel 
extents) but might not be in the same order.  I believe that by 
default, the label volumes are in x,y,z order.

If you want the label volume to be exactly like the MRI volume (same 
voxel extents, same ordering) try:

mincresample -nearest labels.mnc -like mri.mnc labels_reordered.mnc

This command will resample the original labels.mnc file to be exactly 
like the mri volume in mri.mnc and put the result in 
labels_reordered.mnc.

hope this helps,

-Louis


On Dec 17, 2004, at 5:16 AM, Anna Caroli wrote:

> Dear MINC users,
> Does anybody know how to convert a .tag file into an Analyze one?
> To better explain the problem: I manually draw ROIs on MRIs using 
> Display
> software and I got files .tag; now I'd like to study MRIs (with ROIs 
> drawn)
> with SPM... How can I do that? Thanks a lot for your help and best 
> regards!
>
> Anna
>
> Laboratory of Epidemiology, Neuroimaging & Telemedicine
> IRCCS San Giovanni di Dio FBF - The National Center for Research and 
> Care of
> Alzheimer's Disease
> via Pilastroni 4, 25125 - Brescia, Italy
> Tel: +39 030 3501 361, Fax: +39 02 700 435 727 www.centroAlzheimer.it
>
>
> _______________________________________________
> MINC-users@bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>