<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi<BR>
<BR>
Firstly, thanks for replying. <BR> <BR>
The files are probably from at least version 7, though I am unaware of the exact number. They are Matlab files, yes. Does VTK support .mat files? <BR>
<BR>
My end goal is to visualise a heart in 3D using these .mat files as input. But as a simple test; displaying a 2D image of a particular slice would be great. I have managed it in matlab but the problem of input and conversion in VTK is holding me back and frustrating me. <BR>
<BR>
Any ideas?<BR>
<BR>
Regards,<BR>
<BR>
Ryan<BR>
<BR>> Date: Sun, 24 Jan 2010 21:29:45 +0100<BR>> From: dominik@itis.ethz.ch<BR>> To: ryanbloor@hotmail.com<BR>> CC: vtkusers@vtk.org<BR>> Subject: Re: [vtkusers] Reading independent Data into VTK<BR>> <BR>> -----BEGIN PGP SIGNED MESSAGE-----<BR>> Hash: SHA1<BR>> <BR>> What is .mat? Matlab? Which version? The latest are based on hdf5, and<BR>> it would make much more sense to read them in directly, and not via text<BR>> file.<BR>> <BR>> Dominik<BR>> <BR>> Ryan Bloor wrote:<BR>> > Hi,<BR>> > <BR>> > I am torn between which direction to take regarding importing a<BR>> > particular DT-MRI dataset into VTK. The dataset is split into four files<BR>> > with three representing the primary eigenvectors and the forth the<BR>> > intensity values. These files are stored in a .mat file format.<BR>> > <BR>> > Is the most logical solution to convert the files to a text file and<BR>> > then write a conversion script which converts these text files to .vtk<BR>> > files? I have access to the various header information for the dataset,<BR>> > e.g. dimensions, spacing etc...<BR>> > <BR>> > Or is there another way that I have perhaps overlooked?<BR>> > <BR>> > Any help would be greatly appreciated.<BR>> > <BR>> > Kind Regards,<BR>> > <BR>> > Ryan<BR>> > <BR>> > Do you have a story that started on Hotmail? Tell us now<BR>> > <http://clk.atdmt.com/UKM/go/195013117/direct/01/><BR>> > <BR>> > <BR>> > ------------------------------------------------------------------------<BR>> > <BR>> > _______________________________________________<BR>> > Powered by www.kitware.com<BR>> > <BR>> > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<BR>> > <BR>> > Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<BR>> > <BR>> > Follow this link to subscribe/unsubscribe:<BR>> > http://www.vtk.org/mailman/listinfo/vtkusers<BR>> <BR>> -----BEGIN PGP SIGNATURE-----<BR>> Version: GnuPG v1.4.9 (GNU/Linux)<BR>> <BR>> iEYEARECAAYFAktcrbEACgkQ/EBMh9bUuzK33QCfTeEQnJaF0VIKX9q7BJg74d1/<BR>> qKMAn0OQpQlzJZTZ48hmZZN3uZcqyanT<BR>> =eLo8<BR>> -----END PGP SIGNATURE-----<BR>                                            <br /><hr />Do you have a story that started on Hotmail? <a href='http://clk.atdmt.com/UKM/go/195013117/direct/01/' target='_new'>Tell us now</a></body>
</html>