That's odd. <br><br>Is the moving image a lot smaller than the fixed image ? Samples are taken from the fixed image. If the moving image is a lot smaller, that could explain their mapping outside the moving image region.
<br><br>-karthik<br><br><br><div><span class="gmail_quote">On 2/12/07, <b class="gmail_sendername">Xabier Artaechevarria Artieda</b> <<a href="mailto:xabiarta@unav.es">xabiarta@unav.es</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Karthik,<br>Thanks for your answer.<br>I just set the maximum number of iterations to 174 and applied the<br>resulting transform to the moving image. Comparing it to the fixed<br>image, the overlapped seemed good.<br>I tried changing the number of spatial samples (from 1/10 to 1/9) and
<br>now the registration is working fine. I must admit I do not really<br>know why.<br>Regards,<br>Xabi<br><br><br><br><br>Karthik Krishnan <<a href="mailto:karthik.krishnan@kitware.com">karthik.krishnan@kitware.com</a>
> ha escrito:<br><br>> On 2/9/07, Xabier Artaechevarria Artieda <<a href="mailto:xabiarta@unav.es">xabiarta@unav.es</a>> wrote:<br>>><br>>> Hallo Christoph,<br>>> Thanks for the answer.<br>>> I checked after 174 iterations and the overlap seems in fact good,
<br>><br>><br>> How did you ascertain the fact that the overlap is good ? (I presume you<br>> checked the transform, but I don' tsee it printed in the log). There must be<br>> a significant drift in teh transform from teh initial position to the
<br>> position after 174 iterations to prompt this error.<br>><br>> DId you try resampling with the transform and overlaying the images to make<br>> sure that the transforms are headed in the right direction ?
<br>><br>> and<br>>> it is considerably better than at the first iteration. Do you think I<br>>> could solve the problem by using a higher number of spatial samples?<br>>> Now I am using one tenth of the total voxels.
<br>><br>><br>> 1/10th for MI is plenty.<br>><br>><br>>><br><br><br><br>----------------------------------------------------------------<br>Este mensaje ha sido enviado desde <a href="https://webmail.unav.es">
https://webmail.unav.es</a><br><br></blockquote></div><br><br clear="all"><br>