[Insight-users] can't import a .vtk file with volview
Camilo Melani
camilomelani at gmail.com
Wed May 10 13:04:19 EDT 2006
Hi.
I want to see .vtk volume a file with volview, but volview don't
show any data.
After I change the header I can see the data properly.
Does anyone know if I'm missing something in my code, or it is a bug of
volview?
Thanks.
Camilo.
The header of the vtk file is
# vtk DataFile Version 3.0
VTK File Generated by Insight Segmentation and Registration Toolkit (ITK)
BINARY
DATASET STRUCTURED_POINTS
DIMENSIONS 50 70 30
SPACING 1.0000000000000000e+000 1.0000000000000000e+000
1.0000000000000000e+000
ORIGIN 0.0000000000000000e+000 0.0000000000000000e+000
0.0000000000000000e+000
POINT_DATA 105000
SCALARS scalars float 1
LOOKUP_TABLE default
I change the header for
# vtk DataFile Version 3.0
VTK File Generated by Insight Segmentation and Registration Toolkit (ITK)
BINARY
DATASET STRUCTURED_POINTS
DIMENSIONS 50 70 30
SPACING 1 1 1
ORIGIN 0 0 0
POINT_DATA 105000
SCALARS scalars float 1
LOOKUP_TABLE default
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20060510/29fcfc1e/attachment.htm
More information about the Insight-users
mailing list