[Insight-users] can't import a .vtk file with volview

Karthik Krishnan Karthik.Krishnan at kitware.com
Wed May 10 13:24:35 EDT 2006


Hi Camilo,

Please see
http://public.kitware.com/pipermail/insight-users/2006-March/017113.html

HTH
-karthik

Camilo Melani wrote:

> 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
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Insight-users mailing list
>Insight-users at itk.org
>http://www.itk.org/mailman/listinfo/insight-users
>  
>


More information about the Insight-users mailing list