[MINC-users] Mincinfo

Alex Zijdenbos alex at bic.mni.mcgill.ca
Sun Aug 24 13:20:06 EDT 2008


Hello all,

I'm attaching Mincinfo, an old perl script I wrote, at the time to
some extent to be able to run mincinfo on multiple files. Now later
versions of mincinfo can already do that, but I still like this script
as it allows you to have some control over the output formatting. I
just fixed it up to not depend on MNI::Spawn and friends but instead
use more standard perl libraries. I think it might be a useful
addition to the base minc distribution; and if not, well here it is
for anybody interested. I would check it in cvs myself but I wasn't
quite sure where one would put general utilities like this (of which I
am sure quite a number are floating around)

Example of use (a fixed-width font comes in handy :):

$ Mincinfo -quiet -tab -file -dimensions -trte site_project_123.001.*
site_project_123.001.flair.mnc.gz       46      256     256
8.0020000000000006679   0.11550000000000000544
site_project_123.001.pd.mnc.gz  54      256     256
3.2000000000000001776  0.021936001000000000111
site_project_123.001.t1.mnc.gz  110     256     256
0.021000000000000001305 0.0080000000000000001665
site_project_123.001.t2.mnc.gz  54      256     256
3.2000000000000001776  0.087744003000000000969

-- Alex


More information about the MINC-users mailing list