<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hi, Humayun,<br>
<br>
Not a direct anwer to your question:<br>
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.<br>
<br>
(This supposes you own the MatLab program that writes the file.<br>
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-)<br>
<br>
HTH<br>
<br>
Jean-Pierre<br>
<br>
<br>
<br>
On 12/08/2010 06:03 AM, Humayun Irshad wrote:
<blockquote
cite="mid:AANLkTi=KQmka7CYgXL4+Wz4Jzo0NBUFN_h+D3NSZWEVB@mail.gmail.com"
type="cite">Dear all,
<div><br>
</div>
<div>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.</div>
<div>There is structure in .Mat File that i want to read.<br
clear="all">
<br>
-- <br>
-- <br>
Best Regards, <br>
<br>
Humayun Irshad<br>
<br>
Pakistan<br>
<br>
Cell: +92-333-6128780<br>
<br>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_____________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at
<a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Kitware offers ITK Training Courses, for more information visit:
<a class="moz-txt-link-freetext" href="http://www.kitware.com/products/protraining.html">http://www.kitware.com/products/protraining.html</a>
Please keep messages on-topic and check the ITK FAQ at:
<a class="moz-txt-link-freetext" href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Jean-Pierre Roux
CNRS UMR 5220, INSERM U1440
Laboratoire en lutte!
<a class="moz-txt-link-freetext" href="http://www.creatis.univ-lyon1.fr">http://www.creatis.univ-lyon1.fr</a>
<a class="moz-txt-link-freetext" href="http://www.sauvonslarecherche.fr/">http://www.sauvonslarecherche.fr/</a></pre>
</body>
</html>