<DIV id=RTEContent>Hi All,</DIV> <DIV> </DIV> <DIV>I am trying to do volume registration between two sets of images. One set consists of 9 slices of CT abdominal images and other set is affine transformed version of the first set. Following are components of my registration framework.</DIV> <DIV> </DIV> <DIV>Metric: MutualInformationImageToImageMetric</DIV> <DIV>Interpolator: LinearInterpolateImageFunction</DIV> <DIV>Optimizer: RegularStepGradientDescentOptimizer</DIV> <DIV>Transform: AffineTransform (with CenteredTransformInitializer) </DIV> <DIV> </DIV> <DIV>I have added an observer that prints out transformation parameter at every iteration.</DIV> <DIV> </DIV> <DIV>When I run the code, it reads in both set of volumes but gives out an error message while initiating registration. I get the following error message before I see any iteration parameters.</DIV> <DIV> </DIV> <DIV>Description: itk::ERROR:
MutualInformationImageToImageMetric(014CDF90): All the sampled point mapped to outside of the moving image.</DIV> <DIV> </DIV> <DIV>I found this post <A href="http://public.kitware.com/pipermail/insight-users/2002-October/001231.html">http://public.kitware.com/pipermail/insight-users/2002-October/001231.html</A> and tried all the combinations suggested.. (i.e. translationScale, steplength, maxNumberOfIterations) But no luck so far..</DIV> <DIV> </DIV> <DIV>If metric is changed to MeanSquaresImageToImageMetric and all other components are kept same, the code runs fine.</DIV> <DIV> </DIV> <DIV>Any help is appreciated !!</DIV><p>
                <hr size=1> <a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=36035/*http://music.yahoo.com/unlimited/">Yahoo! Music Unlimited - Access over 1 million songs. Try it free.</a>