[MINC-users] Outputting overlay of co-registered MINC files directly to a file
Claude LEPAGE
claude at bic.mni.mcgill.ca
Tue Jan 20 15:31:32 EST 2015
Hi Paul,
Try something like this, in Perlish way:
`mincpik -clobber -slice 100 -axial -width 300 -lookup -spectral $input /tmp/axial.jpg`;
`mincpik -clobber -slice 100 -coronal -width 300 -lookup -spectral $input /tmp/coronal.jpg`;
`mincpik -clobber -slice 100 -sagittal -width 300 -lookup -spectral $input /tmp/sagittal.jpg`;
`montage -tile 3x1 -background black -geometry 300x300+1+1 /tmp/axial.jpg /tmp/coronal.jpg /tmp/sagittal.jpg image_t1.jpg`;
$input is you minc file in stx space. You can play with the
colour scheme if you don't like spectral.
I do the above in a script when I convert from DICOM/nii to minc
in order to check the sanity of the minc files.
Claude
More information about the MINC-users
mailing list