Dear Andras,
I'm a bit confused by your vtk file - as it seems to have 9 dimensions!
I'm not very familiar with the range of possible vtk files, but the type
of vtk file we use starts like this:
# vtk DataFile Version 3.0
this file was written using fslvtkio
ASCII
DATASET POLYDATA
POINTS 664 float
78.8393 132.749 55.5782
77.5801 132.06 56.1432
Whereas yours is like this:
# vtk DataFile Version 3.0
vtk output
ASCII
DATASET POLYDATA
POINTS 594 float
-18.4674 -24.3872 0.9 -18.3427 -24.1791 0.9 -18.2181 -23.9711 0.9
-18.1354 -24.0874 0.9 -17.9938 -24.1583 0.9 -17.8107 -24.1927 0.9
I think this is probably the major cause of problems.
All the best,
Mark
On 14 Feb 2011, at 09:50, András Jakab MD wrote:
> Dear experts,
>
> I wish to map a vtk mesh to a high-res image. When doing that segmentation fault messages keep appearing without completing the job.
>
> The files are ascii vtk files, not generated with FIRST.
> The command line looks like this, with the names obscured:
>
> first_utils --meshToVol -m /***.vtk -i /***/data/standard/MNI152_T1_1mm.nii.gz -l 1 -o /my.output.file
> mesh read0
> Segmentation fault
>
> run_mesh_utils --doFillMesh -i /***/data/standard/MNI152_T1_1mm.nii.gz -m /***.vtk -o /my.output.file
> Bus error
>
> An example mesh which generates the same error is attached.
>
> Is there a way to resolve this problem?
>
> Thank you very much
> András Jakab MD
>
>
> <VPLa.vtk>
|