TI also have this problem, but I do not even got half voxel difference in origin<div><br></div><div>I tried to simply read one image, and write that image, and during writing the origin is slightly changed.........................................<br>
<br><div class="gmail_quote">On Wed, Apr 4, 2012 at 9:37 AM, françois 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">
<u></u>


  

<div bgcolor="#ffffff" text="#000000">
I understand the usefulness of this checking.<br>
<br>
However, im my case, images have same direction, same spacing, same
size, but a slightly different origin (half a voxel). <br><div><div class="h5">
<br>
<br>
On 04/03/2012 10:23 PM, Bradley Lowekamp wrote:
<blockquote type="cite">If you add two images with different spacing, direction
and orientation, what do you expect the output image information to be?
  <div><br>
  </div>
  <div>Brad</div>
  <div><br>
  <div>
  <div>On Apr 3, 2012, at 3:14 PM, francois rousseau wrote:</div>
  <br>
  <blockquote type="cite">
    <div style="word-wrap:break-word">I understand the hack, but I
don&#39;t think that&#39;s a long-term solution. 
    <div><br>
    </div>
    <div>(I don&#39;t want to modify these image properties - and I don&#39;t
think that it should be necessary)</div>
    <div><br>
    </div>
    <div>françois<br>
    <div><br>
    </div>
    <div><br>
    </div>
    <div><br>
    <div>
    <div>On Apr 3, 2012, at 6:38 PM, Hui Tang wrote:</div>
    <br>
    <blockquote type="cite">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" target="_blank">rousseau@unistra.fr</a>&gt;</span>
wrote:<br>
      <blockquote class="gmail_quote" style="border-left:1px solid rgb(204,204,204);margin:0pt 0pt 0pt 0.8ex;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>
    </blockquote>
    </div>
    <br>
    <div><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium">
    <div style="word-wrap:break-word"><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium">
    <div style="word-wrap:break-word">
    <div>--</div>
    <div>---------------------------</div>
    <div>Francois Rousseau</div>
    <div>LSIIT</div>
    <div>Pôle API</div>
    <div>Boulevard Sébastien Brant</div>
    <div>F-67400 ILLKIRCH</div>
    <div>tel : <a href="tel:%2B33%203%2068%2085%2044%2089" value="+33368854489" target="_blank">+33 3 68 85 44 89</a></div>
    <div>email : <a href="mailto:rousseau@unistra.fr" target="_blank">rousseau@unistra.fr</a></div>
    <div><a href="http://lsiit-miv.u-strasbg.fr/miv/19-ROUSSEAU-Francois.html" target="_blank">http://lsiit-miv.u-strasbg.fr/miv/19-ROUSSEAU-Francois.html</a></div>
    </div>
    </span></div>
    </span></span></div>
    <br>
    </div>
    </div>
    </div>
_____________________________________<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><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:12px;white-space:normal;font-family:Helvetica;word-spacing:0px">
  <div style="word-wrap:break-word"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:12px;white-space:normal;font-family:Helvetica;word-spacing:0px">
  <p style="margin:0px"><font style="font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;font-size:12px;line-height:normal;font-size-adjust:none;font-stretch:normal" face="Helvetica" size="3">========================================================</font></p>

  <p style="margin:0px"><font style="font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;font-size:12px;line-height:normal;font-size-adjust:none;font-stretch:normal" face="Helvetica" size="3">Bradley Lowekamp<span> </span><span> </span></font></p>

  <p style="margin:0px"><font style="font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;font-size:12px;line-height:normal;font-size-adjust:none;font-stretch:normal" face="Helvetica" size="3">Medical Science and Computing for</font></p>

  <p style="margin:0px"><font style="font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;font-size:12px;line-height:normal;font-size-adjust:none;font-stretch:normal" face="Helvetica" size="3">Office of High Performance Computing and
Communications</font></p>
  <p style="margin:0px"><font style="font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;font-size:12px;line-height:normal;font-size-adjust:none;font-stretch:normal" face="Helvetica" size="3">National Library of Medicine<span> </span></font></p>

  <p style="margin:0px"><font style="font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;font-size:12px;line-height:normal;font-size-adjust:none;font-stretch:normal" face="Helvetica" size="3"><a href="mailto:blowekamp@mail.nih.gov" target="_blank">blowekamp@mail.nih.gov</a></font></p>

  <br>
  </span></div>
  </span></span><br>
  </div>
  <br>
  </div>
</blockquote>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888"><pre cols="72">-- 
--------------------------------
Francois Rousseau
LSIIT
Pôle API 
Boulevard Sébastien Brant  
F-67400 ILLKIRCH
tel : <a href="tel:%2B33%203%2068%2085%2044%2089" value="+33368854489" target="_blank">+33 3 68 85 44 89</a>
email: <a href="mailto:rousseau@unistra.fr" target="_blank">rousseau@unistra.fr</a>
<a href="http://lsiit-miv.u-strasbg.fr/miv/fiche.php?id=19" target="_blank">http://lsiit-miv.u-strasbg.fr/miv/fiche.php?id=19</a>
--------------------------------
</pre>
</font></span></div>

<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>
<br></blockquote></div><br></div>