[MINC-users] Questions about MNI-Autoreg

Sylvain MILOT sylvain at bic.mni.mcgill.ca
Tue Dec 13 18:13:15 EST 2005


Hello,

well that can be a little tricky depending on which version of mritotal you're
using (since the model filenames and the standard directories have changed) but the options are :

mritotal -model ... -modeldir ...

I suppose mritotal -listmodels could be useful :-)

For the latest version (will look different for older versions) you can do the following to find the basename of the model files:

>grep '$ModelDir' `which mritotal`
use vars qw($ModelDir $Model $Protocol
       ["-modeldir", "string", 1, \$ModelDir,
#@GLOBALS    : site-specific: $ModelDir, $Model, $Protocol
   $ModelDir     = "$FindBin::Bin/../share/mni_autoreg";
   # Make sure that $Model has path + basename (by appending $ModelDir
   $ModelDir .= "/" if ($ModelDir ne "" && $ModelDir !~ m|/$|);
   $Model = $ModelDir . $Model unless $Model =~ m|^/|;

>which mritotal
/usr/local/bic/bin/mritotal

>ls /usr/local/bic/bin/../share/mni_autoreg/colin27*blur*
/usr/local/bic/bin/../share/mni_autoreg/colin27_t1_tal_lin_16_blur.mnc  /usr/local/bic/bin/../share/mni_autoreg/colin27_t1_tal_lin_4_blur.mnc
/usr/local/bic/bin/../share/mni_autoreg/colin27_t1_tal_lin_2_blur.mnc   /usr/local/bic/bin/../share/mni_autoreg/colin27_t1_tal_lin_8_blur.mnc

so this would translate to

mritotal -model colin27_t1_tal_lin ...

HTH,

Sylvain

On Tue, 13 Dec 2005, (Jessie) Ting Guo wrote:

> Hey Andrew,
>
> Do you know how to change the mni_autoreg_model? mni_autoreg uses
> mni-305.mnc as the default. I want to use colin27 instead. How can I do it?
>
> Thank you very much!
>
> Jessie
>
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>

---
Sylvain Milot (sylvain at bic.mni.mcgill.ca)
              (trinity at bic.mni.mcgill.ca)
Brain Imaging Centre
Montreal Neurological Institute
Webster 2B, Room 208
Montreal, Qc., Canada, H3A 2B4
Phone  : (514) 398-4965, Fax: 398-8948
Mobile : (514) 712-1768
Office : 527 Av Des Pins O., Room 204
         Montreal, Qc., H2W 1S4





More information about the MINC-users mailing list