[Insight-users] Reading .VTK image in ITK

Matt neurosciencematt at yahoo.com
Mon Oct 15 19:06:12 EDT 2007


The 3D deformation field (.vtk image) I am creating has gotten written to file with two different header files with the exact same code. The first time I ran my code my OS was Red Hat Linux. I can read this image. I am now using Cent Linux and am having a problem reading the second image (.vtk image). 

Header file that will read:

# vtk DataFile Version 3.0
VTK File Generated by Insight Segmentation and Registration Toolkit (ITK)
BINARY
DATASET STRUCTURED_POINTS
DIMENSIONS 82 56 41
SPACING 3.9443597793579102e+00 4.1964287757873535e+00 3.9157774448394775e+00
ORIGIN 0.0000000000000000e+00 0.0000000000000000e+00 0.0000000000000000e+00
POINT_DATA 188272
SCALARS scalars double 3
LOOKUP_TABLE default

Header file that will not read:

# vtk DataFile Version 3.0
VTK File Generated by Insight Segmentation and Registration Toolkit (ITK)
BINARY
DATASET STRUCTURED_POINTS
DIMENSIONS 82 56 41
SPACING 3.9443597793579102e+00 4.1964287757873535e+00 3.9157774448394775e+00
ORIGIN 0.0000000000000000e+00 0.0000000000000000e+00 0.0000000000000000e+00
POINT_DATA 188272
VECTORS vectors double
LOOKUP_TABLE default


Any suggestions?



       
---------------------------------
Shape Yahoo! in your own image.  Join our Network Research Panel today!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20071015/95a2c8f0/attachment.htm


More information about the Insight-users mailing list