Hi,
Recently I ran into a problem regarding vtk surfaces created
and saved with FreeView.
My goal is to mark brain lesions and to save
the surface in the FreeSurfer surface format.
In the first step I
generated the surface of the lesion in FreeView and saved it in vtk
format. Secondly, I tried to convert the vtk surface with mris_convert
in the surf format.
Unfortunately, I received the following error:
$
mris_convert Tubers.vtk Tubers.surf
MRISreadVTK: error parsing POLYGONS
in file Tubers.vtk
mris_convert: could not read surface file Tubers.vtk
Please find the vtk file attached.
>From comparisons with older vtk
files generated by FreeView, I understood that recently polygons instead
of triangles are defined in the vtk file. Is there a way to extract the
surface triangles again?
Thanks,
Alex