<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div><br></div><div>Thank you for reporting the issue.</div><div><br></div><div>Looking at the source code shows what is going on:</div><div><br></div><div><a href="http://itk.org/gitweb?p=SimpleITK.git;a=blob;f=Code/IO/src/sitkShow.cxx;h=b3d9f9b4e03d955470b22f5e8638405430bc6fef;hb=HEAD">http://itk.org/gitweb?p=SimpleITK.git;a=blob;f=Code/IO/src/sitkShow.cxx;h=b3d9f9b4e03d955470b22f5e8638405430bc6fef;hb=HEAD</a></div><div><br></div><div>It appears that for windows the 64-bit program files directory is not searched. This code is due for a major over-haul to improve robustness and flexibility.</div><div><br></div><div><br></div><div>As for your linux issue, I need a little more information.</div><div><br></div><div>What version of linux?</div><div><br></div><div>Where is you imageJ installed, and what is the path to the executable?</div><div><br></div><div>Is the imageJ program in your path?</div><div><br></div><div>Brad</div><div><br></div><div><br><div><div>On Feb 12, 2012, at 9:34 PM, Nadim Farhat wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi, <br><br>i have installed, simpleITK on my machine and i am running it via ipython, <br>now simpleITK seems to run nicely am not having any problem so far however when i try and issue the command.<br>import SimpleITK as simple<br>
# executes nicely<br>sampleImage = simple.ReadImage("something.jpg")<br><br># doesn't execute. <br>sitk.Show( sampleImage )<br><br>#it gives me the following<br><br>The filename, directory name, or volume label syntax is incorrect.<br>
my <br>%env shows the path to ImageJ<br>c:\\ImageJ\\;',<br><br>i am running a 64 bit windows, imagej 64 bit, python 64 bit and all associated stuff are 64 bit .<br><br>ps same problem on another machine running linux <br>
<br>SimpleITK.Show( ) is not finding imagej <br>even if i added to path <br><br>Thank your for your help.<br>
_____________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<br><a 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>http://www.kitware.com/products/protraining.html<br><br>Please keep messages on-topic and check the ITK FAQ at:<br>http://www.itk.org/Wiki/ITK_FAQ<br><br>Follow this link to subscribe/unsubscribe:<br>http://www.itk.org/mailman/listinfo/insight-users<br></blockquote></div><br><div>
<span class="Apple-style-span" style="font-size: 12px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; 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; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">========================================================</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Bradley Lowekamp<span class="Apple-converted-space">&nbsp;</span><span class="Apple-converted-space">&nbsp;</span></font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Medical Science and Computing for</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Office of High Performance Computing and Communications</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">National Library of Medicine<span class="Apple-converted-space">&nbsp;</span></font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; "><a href="mailto:blowekamp@mail.nih.gov">blowekamp@mail.nih.gov</a></font></p><br class="Apple-interchange-newline"></span></div></span><br class="Apple-interchange-newline">
</div>
<br></div></body></html>