[Insight-users] How to read .Mat File using ITK + C++
Jean-Pierre Roux
jpr at creatis.insa-lyon.fr
Wed Dec 8 11:07:45 EST 2010
Hi, Humayun,
Not a direct anwer to your question:
In attached document, a MatLab function that exports a 1D/2D/3D/4D
Matlab object as a .mhd + .raw file, readable with the relevant ITK or
VTK method.
(This supposes you own the MatLab program that writes the file.
If you dont, you will have to create 'nanually' -vith vi, notepad,
textedit or whatever else- an accurate .mhd file to use your .mat file,
that is not so easy, because the .mat files have a header you need to
skip -I don't know haow to calculate header size-)
HTH
Jean-Pierre
On 12/08/2010 06:03 AM, Humayun Irshad wrote:
> Dear all,
>
> I am new user of ITK. I am trying to read a .MAT file in ITK + C++.
> But unable to read it. Can you any guide me and send me the code of
> reading .Mat file.
> There is structure in .Mat File that i want to read.
>
> --
> --
> Best Regards,
>
> Humayun Irshad
>
> Pakistan
>
> Cell: +92-333-6128780
>
>
> _____________________________________
> 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.html
>
> 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
>
--
Jean-Pierre Roux
CNRS UMR 5220, INSERM U1440
Laboratoire en lutte!
http://www.creatis.univ-lyon1.fr
http://www.sauvonslarecherche.fr/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20101208/ff083a8b/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: write_Mat2mhd.m
URL: <http://www.itk.org/pipermail/insight-users/attachments/20101208/ff083a8b/attachment.txt>
More information about the Insight-users
mailing list