[Insight-users] Fwd: Displaying .mat files

Ing. Arturo Vargas Olivares ing.arturo.vargas at gmail.com
Tue May 8 09:12:37 EDT 2012


---------- Forwarded message ----------
From: Ing. Arturo Vargas Olivares <ing.arturo.vargas at gmail.com>
Date: Tue, May 8, 2012 at 9:12 AM
Subject: Re: [Insight-users] Displaying .mat files
To: Bradley Lowekamp <brad at lowekamp.net>


Hello Bradley.

Many thanks for the information!!
It seems that I have found an alternative based in numpy arrays but I would
need to test it before.

Later I'll post my solution with details.


Arturo V.



On Mon, May 7, 2012 at 10:24 PM, Bradley Lowekamp <brad at lowekamp.net> wrote:

> Hello,
>
> 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.
>
> 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.
>
> By default SimpleITK uses ImageJ to display images from the sitk.Show
> method. More information about getting this setup can be found here:
>
>
> http://www.itk.org/Wiki/ITK_Release_4/SimpleITK/GettingStarted#Recommended_Software
>
> Brad
>
> On May 7, 2012, at 8:56 AM, Ing. Arturo Vargas Olivares wrote:
>
> > Hello friends.
> > I need your help.
> > 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.
> > Any help will be very appreciated.
> > BR
> > Arturo V.
> > _____________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Kitware offers ITK Training Courses, for more information visit:
> > http://www.kitware.com/products/protraining.php
> >
> > Please keep messages on-topic and check the ITK FAQ at:
> > http://www.itk.org/Wiki/ITK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120508/a8e67bb5/attachment.htm>


More information about the Insight-users mailing list