There are four different objective functions that can be used for minimization in the optimization routines. These functions are cross-correlation, normalized intensity difference, stochastic sign change and minimization of the variance of the pixel ratios (vol1/vol2). When masks are specified on the command line, only data in the masked region participates in the evaluation of the objective function.
from minctracc -help: Optimization objective functions. (default = -xcorr) -xcorr: Use cross correlation. -zscore: Use normalized difference. -ssc: Use stochastic sign change. -vr: Use variance of ratio vol1/vol2 -groups: Number of groups for ratio calculations. Default value: 16 -threshold: Lower limit for voxel threshold Default value: 0 0 -speckle: percent speckle noise to add to source Default value: 5
In more detail, the choices are:
where: (point to point multiply)
(sum of all points squared)
(sum of all points squared)
where is the old voxel value,
is the mean voxel value (within
the mask) for the one volume and
is the standard deviation of
voxels (in the mask) for the volume. The objective function is:
where the summation is done over all voxels in the lattice.