[vtkusers] Reading independent Data into VTK

Dominik Szczerba dominik at itis.ethz.ch
Mon Jan 25 17:57:16 EST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Ryan,

It is most certainly possible to read such files into VTK (esp. if your
matlab files are hdf5 based), but it will most certainly not be
frustration free, with the said frustration coming from the incomplete
documentation/examples/etc. If you are a novice then do get yourself
prepared for quite some learning curve - or paying quite some consulting.

Dominik

Ryan Bloor wrote:
>  Hi
>  
> Firstly, thanks for replying.
>  
> 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?
>  
> 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.
>  
> Any ideas?
>  
> Regards,
>  
> Ryan
>  
>> Date: Sun, 24 Jan 2010 21:29:45 +0100
>> From: dominik at itis.ethz.ch
>> To: ryanbloor at hotmail.com
>> CC: vtkusers at vtk.org
>> Subject: Re: [vtkusers] Reading independent Data into VTK
>>
> What is .mat? Matlab? Which version? The latest are based on hdf5, and
> it would make much more sense to read them in directly, and not via text
> file.
> 
> Dominik
> 
> Ryan Bloor wrote:
>> Hi,
> 
>> I am torn between which direction to take regarding importing a
>> particular DT-MRI dataset into VTK. The dataset is split into four files
>> with three representing the primary eigenvectors and the forth the
>> intensity values. These files are stored in a .mat file format.
> 
>> Is the most logical solution to convert the files to a text file and
>> then write a conversion script which converts these text files to .vtk
>> files? I have access to the various header information for the dataset,
>> e.g. dimensions, spacing etc...
> 
>> Or is there another way that I have perhaps overlooked?
> 
>> Any help would be greatly appreciated.
> 
>> Kind Regards,
> 
>> Ryan
> 
>> Do you have a story that started on Hotmail? Tell us now
>> <http://clk.atdmt.com/UKM/go/195013117/direct/01/>
> 
> 
>> ------------------------------------------------------------------------
> 
>> _______________________________________________
>> Powered by www.kitware.com
> 
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
> 
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
> 
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
> 

> Do you have a story that started on Hotmail? Tell us now
> <http://clk.atdmt.com/UKM/go/195013117/direct/01/>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkteIcQACgkQ/EBMh9bUuzKHUACeKRWSEIbopwnyf7/PjRRE/tk9
KhUAnRKfOEGbYRVzIJMogX6E8uQLtrFc
=dbpw
-----END PGP SIGNATURE-----



More information about the vtkusers mailing list