<div dir="ltr"><div><div><div>Hello Ibraheem,<br><br></div>Thanks for the additional information. Would you mind sharing the header of your NRRD file? The header of a NRRD file is in text format. You can open your file with a text editor, or print the beginning of the file in a terminal on a Unix system with one of the following commands: "cat", "more", or "head".<br></div><br></div>Francois<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 28, 2016 at 2:38 AM, Ibraheem via Insight-users <span dir="ltr"><<a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Francois,<br>
Thanks for your reply. Sure, it is a runtime error:<br>
terminate called after throwing an instance of 'itk::ExceptionObject'<br>
what(): /usr/local/include/ITK-4.10/<wbr>itkImageBase.hxx:187:<br>
itk::ERROR: Image(0x1754a90): A spacing of 0 is not allowed: Spacing is [0,<br>
0, 0]<br>
I think there are others who had same problem e.g. here<br>
<<a href="http://public.kitware.com/pipermail/insight-users/2013-February/047121.html" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>pipermail/insight-users/2013-<wbr>February/047121.html</a>><br>
Best regards,<br>
Ibraheem<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://itk-users.7.n7.nabble.com/ITK-users-Problem-displaying-a-specific-slice-tp37584p37588.html" rel="noreferrer" target="_blank">http://itk-users.7.n7.nabble.<wbr>com/ITK-users-Problem-<wbr>displaying-a-specific-slice-<wbr>tp37584p37588.html</a><br>
Sent from the ITK - Users mailing list archive at Nabble.com.<br>
<div class="HOEnZb"><div class="h5">______________________________<wbr>_______<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>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" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>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" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_<wbr>FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/insight-users</a><br>
</div></div></blockquote></div><br></div>