[MINC-users] Mritotal objective function value

haytham@umich.edu haytham@umich.edu
Mon Sep 13 14:29:03 2004


I am running the new mritotal to do some nonlinear registration:

mritotal -nonlinear in.mnc -transformation in_lin.xfm in_nonlin.xfm -clobber


I keep getting

Initial objective function val = nan
Final objective function value = nan

after minctracc finish running.




The minctracc command that mritotal calls for is as follows:

minctracc -clobber /tmp/in_8_blur.mnc average_305_8_blur.mnc /tmp/in_16_nl.xfm
-transformation in_lin.xfm -nonlinear -xcorr -step 8 8 8 -sub_lattice 6
-similarity 0.5 -iterations 12 -weight 0.5 -stiffness 0.5 -super 2


I used in_nonlin.xfm with mincresample to see the transformed volume with
register and it's not right.

Does anyone know what could be causing the "nan's". Is there a specific way in
modifying the parameters.


Note, the in.mnc has the following header

image: unsigned byte 0 to 255
image dimensions: zspace yspace xspace
    dimension name         length         step        start
    --------------         ------         ----        -----
    zspace                    256    -0.856018      -109.57
    yspace                    124      -1.4879       -92.25
    xspace                    256    -0.856018      -109.57

Thanks in advance. Hopefull, this would be my last question for the day.