<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body 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>
<br>
<br>
On 04/03/2012 10:23 PM, Bradley Lowekamp wrote:
<blockquote cite="mid:9F64EA42-BF79-4BCF-977F-5FEE177BC2E8@mail.nih.gov"
 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 class="Apple-interchange-newline">
  <blockquote type="cite">
    <div style="word-wrap: break-word;">I understand the hack, but I
don't think that's a long-term solution.&nbsp;
    <div><br>
    </div>
    <div>(I don't want to modify these image properties - and I don't
think that it should be necessary)</div>
    <div><br>
    </div>
    <div>fran&ccedil;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 class="Apple-interchange-newline">
    <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 moz-do-not-send="true"
 href="mailto:rousseau@unistra.fr">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&ccedil;ois<br>
        <br>
_____________________________________<br>
Powered by <a moz-do-not-send="true" href="http://www.kitware.com/"
 target="_blank">www.kitware.com</a><br>
        <br>
Visit other Kitware open-source projects at<br>
        <a moz-do-not-send="true"
 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 moz-do-not-send="true"
 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 moz-do-not-send="true" 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 moz-do-not-send="true"
 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 apple-content-edited="true"><span class="Apple-style-span"
 style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><span
 class="Apple-style-span"
 style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;">
    <div style="word-wrap: break-word;"><span class="Apple-style-span"
 style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; 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&ocirc;le API</div>
    <div>Boulevard S&eacute;bastien Brant</div>
    <div>F-67400 ILLKIRCH</div>
    <div>tel : +33 3 68 85 44 89</div>
    <div>email :&nbsp;<a moz-do-not-send="true"
 href="mailto:rousseau@unistra.fr">rousseau@unistra.fr</a></div>
    <div><a moz-do-not-send="true"
 href="http://lsiit-miv.u-strasbg.fr/miv/19-ROUSSEAU-Francois.html">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 moz-do-not-send="true" href="http://www.kitware.com">www.kitware.com</a><br>
    <br>
Visit other Kitware open-source projects at<br>
    <a moz-do-not-send="true"
 href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
    <br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a class="moz-txt-link-freetext" href="http://www.kitware.com/products/protraining.php">http://www.kitware.com/products/protraining.php</a><br>
    <br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a class="moz-txt-link-freetext" href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a><br>
    <br>
Follow this link to subscribe/unsubscribe:<br>
<a class="moz-txt-link-freetext" href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br>
  </blockquote>
  </div>
  <br>
  <div><span class="Apple-style-span"
 style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><span
 class="Apple-style-span"
 style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;">
  <div style="word-wrap: break-word;"><span class="Apple-style-span"
 style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; 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; -x-system-font: none;"
 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; -x-system-font: none;"
 face="Helvetica" size="3">Bradley Lowekamp<span
 class="Apple-converted-space">&nbsp;</span><span
 class="Apple-converted-space">&nbsp;</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; -x-system-font: none;"
 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; -x-system-font: none;"
 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; -x-system-font: none;"
 face="Helvetica" size="3">National Library of Medicine<span
 class="Apple-converted-space">&nbsp;</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; -x-system-font: none;"
 face="Helvetica" size="3"><a moz-do-not-send="true"
 href="mailto:blowekamp@mail.nih.gov">blowekamp@mail.nih.gov</a></font></p>
  <br class="Apple-interchange-newline">
  </span></div>
  </span></span><br class="Apple-interchange-newline">
  </div>
  <br>
  </div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
--------------------------------
Francois Rousseau
LSIIT
P&ocirc;le API 
Boulevard S&eacute;bastien Brant  
F-67400 ILLKIRCH
tel : +33 3 68 85 44 89
email: <a class="moz-txt-link-abbreviated" href="mailto:rousseau@unistra.fr">rousseau@unistra.fr</a>
<a class="moz-txt-link-freetext" href="http://lsiit-miv.u-strasbg.fr/miv/fiche.php?id=19">http://lsiit-miv.u-strasbg.fr/miv/fiche.php?id=19</a>
--------------------------------
</pre>
</body>
</html>