<div>Hi Bradley</div><div> </div><div>Have you ever tried to test the &#39;SimpleGaussian.py&#39; example? how can I test it?</div><div> </div><div>I&#39;m interested in test this example, I think it has sitk methods that can help me to understand the tool. I&#39;m new in ITK and I&#39;m trying with SimpleITK first.</div>
<div> </div><div><br><br> </div><div class="gmail_quote">On Mon, May 7, 2012 at 10:24 PM, Bradley Lowekamp <span dir="ltr">&lt;<a href="mailto:brad@lowekamp.net" target="_blank">brad@lowekamp.net</a>&gt;</span> wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">Hello,<br>
<br>
I am not sure that ITK can directly read all .mat images. There is the HDF5 image IO that may work for a subset, but I have never tried this combination my self.<br>
<br>
If you are using SimpleITK with Python, you may look for mat image reader in another python package such as scipy. They should be able to export the image to a numpy array, then this can be imported into SimpleITK with the sitk.CreateimageFromArray() method.<br>

<br>
By default SimpleITK uses ImageJ to display images from the sitk.Show method. More information about getting this setup can be found here:<br>
<br>
<a href="http://www.itk.org/Wiki/ITK_Release_4/SimpleITK/GettingStarted#Recommended_Software" target="_blank">http://www.itk.org/Wiki/ITK_Release_4/SimpleITK/GettingStarted#Recommended_Software</a><br>
<br>
Brad<br>
<div><div class="h5"><br>
On May 7, 2012, at 8:56 AM, Ing. Arturo Vargas Olivares wrote:<br>
<br>
&gt; Hello friends.<br>
&gt; I need your help.<br>
&gt; I&#39;m new in the world of SimpleITK and I&#39;m starting a PhD research and I need to know more about image segmentation tools. By the mean time I&#39;d like to know how to open or display images using SimpleITK. The images are in the .mat format (MATLAB) and I also have python and installed in my PC.<br>

&gt; Any help will be very appreciated.<br>
&gt; BR<br>
&gt; Arturo V.<br>
</div></div>&gt; _____________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Kitware offers ITK Training Courses, for more information visit:<br>
&gt; <a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the ITK FAQ at:<br>
&gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <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>