What I did is set one of the input image as reference image, copy the original point of that reference image to the other inputs.<br>anotherImage-&gt;SetOrigin(referenceImage-&gt;GetOrigin() );<div>And then run your codes<br>
<div class="gmail_quote">On Tue, Apr 3, 2012 at 5:28 PM, francois rousseau <span dir="ltr">&lt;<a href="mailto:rousseau@unistra.fr">rousseau@unistra.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi everyone,<br>
<br>
is there a way to disable this checking condition in ITK filters?<br>
<br>
(basically, for my application, I know that the images do not share exactly the same physical space but I want to perform pixelwise computation (subtraction, etc.))<br>
<br>
thank you very much<br>
François<br>
<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</blockquote></div><br></div>