I was asking if we can get a copy of the datasets so that we can verify and fix the problem. They will be too big to e-mail. Can you place them somewhere so we can access them?<br><br>Bill<br><br><div class="gmail_quote">On Fri, Oct 21, 2011 at 5:09 AM, Hui Tang - TNW <span dir="ltr">&lt;<a href="mailto:H.Tang@tudelft.nl">H.Tang@tudelft.nl</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">




<div>
<div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10pt;">
<p>Dear all,</p>
<p> </p>
<p>Thanks a lot fot this!!!!!!!</p>
<p> </p>
<p>Bill, I donot know really what you mean with Point to datasets.........how can I oint that?</p>
<p>Jim, I never change origins on purpose, and I have no idea these origins were changed after a filter.............what can I do with it?</p>
<p>Arnaud, Hans,thank you tooo for your quick reply</p>
<p>Thanks!</p>
<p> </p>
<p>Best,</p>
<p> </p>
<p>Hui<br>
</p>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<hr>
<div style="direction: ltr;"><font size="2" color="#000000" face="Tahoma"><b>Van:</b> Bill Lorensen [<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>]<br>
<b>Verzonden:</b> donderdag 20 oktober 2011 23:39<br>
<b>Aan:</b> Hui Tang - TNW<br>
<b>CC:</b> <a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a>; Jim Miller; Jimbo<br>
<b>Onderwerp:</b> Re: [Insight-users] Inputs do not pccupy the same physical space!<br>
</font><br>
</div><div><div></div><div class="h5">
<div></div>
<div>Hui,<br>
<br>
We recently added this check. Looks like we need to add a tolerance to the check.<br>
<br>
I&#39;ved cc&#39;ed Jim Miller. He added the new check.<br>
<br>
Can you point us to the datasets?<br>
<br>
Bill<br>
<br>
<div class="gmail_quote">On Thu, Oct 20, 2011 at 2:31 PM, Hui Tang - TNW <span dir="ltr">
&lt;<a href="mailto:H.Tang@tudelft.nl" target="_blank">H.Tang@tudelft.nl</a>&gt;</span> wrote:<br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
<div>
<div style="font-family: Tahoma; direction: ltr; color: rgb(0, 0, 0); font-size: 10pt;">
<p>Dear ITK user,</p>
<p> </p>
<p>I got this error </p>
<p> </p>
<p>terminate called after throwing an instance of &#39;itk::ExceptionObject&#39;<br>
  what():  /home/htang/Programs/ITK4/ITK/Modules/Core/Common/include/itkImageToImageFilter.hxx:253:<br>
itk::ERROR: xxxxxxxxxxxtImageFilter(0x166f080): Inputs do not occupy the same physical space!<br>
InputImage Origin: [0.117188, 12.0703, 104.7], InputImage1 Origin: [0.117188, 12.0703, 104.7]<br>
</p>
<p>when I read one image.</p>
<p> </p>
<p>I did </p>
<p>software1.exe -i input.mhd -o output1.mhd</p>
<p>software2.exe -m output1.mhd -n input2.mhd -o output2.mhd</p>
<p> </p>
<p>software1 is built on ITK3</p>
<p>software2 is built on ITK4</p>
<p> </p>
<p>If I replace output1.mhd with  input2.mhd , software 2 does not give any error.
</p>
<p>(do  software2.exe -m input2.mhd -n input2.mhd -o output2.mhd)</p>
<p> </p>
<p>The weird thing is if I visually check output1.mhd and  inpput2.mhd, they do not look different, but their position of origion  differs slightly.</p>
<p> </p>
<p> the origins are:</p>
<p>5.000000000005e-07</p>
<p style="text-indent: 0px; margin: 0px;">11.9531125</p>
<p style="text-indent: 0px; margin: 0px;">104.4</p>
<p> </p>
<p>and </p>
<p> </p>
<p>4.99188999997235e-07</p>
<p style="text-indent: 0px; margin: 0px;">11.9531254992</p>
<p style="text-indent: 0px; margin: 0px;">104.400004148079</p>
<p style="text-indent: 0px; margin: 0px;"> </p>
<p style="text-indent: 0px; margin: 0px;">I would appreciate you if you can help me to solve this problem, thanks a lot!!!</p>
</div>
</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.html" target="_blank">http://www.kitware.com/products/protraining.html</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>
</div></div></div>
</div>
</div>

</blockquote></div><br>