[MINC-users] best_nonlin_reg.pl ?

Andrew Janke a.janke at gmail.com
Sat Feb 26 06:41:57 EST 2011


Hi Lisa,

> Finally, there is another script called nlpfit
> which also accomplishes non-linear fitting.

And FWIW, you can download it here:

   http://packages.bic.mni.mcgill.ca/scripts/nlpfit

As Claude mentioned the fit config is really what makes this work
though, an example for ICBM fitting of brains that I use is like this:

spencer:~$ cat work/pipes/ANDI/bin/fit.10-modelfit.conf
# ICBM nlin conf

@conf = (
   {'step' => 32, 'blur_fwhm' => 16, 'iterations' => 20},
   {'step' => 16, 'blur_fwhm' => 8,  'iterations' => 20},
   {'step' => 12, 'blur_fwhm' => 6,  'iterations' => 20},
   {'step' => 8,  'blur_fwhm' => 4,  'iterations' => 20},
   {'step' => 6,  'blur_fwhm' => 3,  'iterations' => 20},
   );

Note that this may or may not work for your data. The config file here
describes a progression of fitting from 32mm step sizes down to 6mm
with varying blur parameters along the way.


-- 
Andrew Janke
(a.janke at gmail.com || http://a.janke.googlepages.com/)
Brisbane->Australia    +61 (402) 700 883


More information about the MINC-users mailing list