<div>Hi Bradley</div><div> </div><div>Have you ever tried to test the 'SimpleGaussian.py' example? how can I test it?</div><div> </div><div>I'm interested in test this example, I think it has sitk methods that can help me to understand the tool. I'm new in ITK and I'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"><<a href="mailto:brad@lowekamp.net" target="_blank">brad@lowekamp.net</a>></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>
> Hello friends.<br>
> I need your help.<br>
> I'm new in the world of SimpleITK and I'm starting a PhD research and I need to know more about image segmentation tools. By the mean time I'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>
> Any help will be very appreciated.<br>
> BR<br>
> Arturo V.<br>
</div></div>> _____________________________________<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.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 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>