Please send me a minimal test case with the images (off the list, or it'll bounce) so we can reproduce the issue.<br><br><div><span class="gmail_quote">On 5/3/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;">I think the problem is in the way I set the mask, because:
<br> 1. I get no errors if I do not set it.<br> 2. The error comes out even if I try to calculate the metric between<br>an image and itself.</blockquote><div><br>Didi you initialize the transform to identity before starting the registration ?
</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> 3. I have also checked the mask by writing it to a file, and it looks ok.</blockquote>
<div><br>DId you ensure that the origin / spacing etc do match.. Remember the fixed/moving images, the mask, transform etc work in physical coordinates.<br></div></div><br>Thanks<br>-- <br>Karthik Krishnan<br>R&D Engineer,
<br>Kitware Inc.