[Insight-developers] More Orientation Fixes (BUG 0008098)

Hans Johnson hans-johnson at uiowa.edu
Fri Nov 14 00:13:04 EST 2008


Hello All,

A few more bugs with regards to having Orientation turned on have been
found, fixed, and submitted.

(0008098) computing physical mapped location was not being computed
correctly when images are treated as oriented images.  It seems that some
more testing will need to be done, and then perhaps a new set of reference
images may be necessary.

======================================================================
In addition, would you please review the code at these locations?

itkMeanSquareRegistrationFunction.txx:128:    fixedGradientSquaredMagnitude
+= vnl_math_sqr( fixedGradient[j] ) * m_FixedImageSpacing[j];
itkMeanSquareRegistrationFunction.txx:172:    update[j] = speedValue *
fixedGradient[j] * vnl_math_sqr(m_FixedImageSpacing[j]) /
itkNCCRegistrationFunction.txx:162:        fixedGradientSquaredMagnitude +=
vnl_math_sqr( fixedGradient[j] ) * m_FixedImageSpacing[j];
itkSymmetricForcesDemonsRegistrationFunction.txx:225:
movingGradient[dim] *= 0.5 / m_FixedImageSpacing[dim];

I don¹t know for sure if these calculations are still correct now that
orientation is taken into account.

Hans

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20081113/0538c9ae/attachment.htm>


More information about the Insight-developers mailing list