[Insight-users] error when reading a vtk image file

Luis Ibanez luis.ibanez at kitware.com
Mon Apr 16 08:02:55 EDT 2007


Hi qf1234546,

Thanks for sending the header of your .vtk file.

As you can see from the "DATASET POLYDATA" entry,
this file *does not contain an image*.

    Instead, it contains a polygonal structure.



If you need a synthetic sphere image
you can get one at:

http://public.kitware.com/pub/itk/Data/Synthetic/

you can take the sphere.mhd and sphere.raw.gz files.

Decompress the sphere.raw.gz file,  and then
pass the sphere.mhd file as input to your program.


   Regards,


      Luis


------------------
qf1234546 wrote:
>  
>  
> Hi
>  
> Here are the first 10 lines of "sphere.vtk"
> # vtk DataFile Version 3.0
> vtk output
> ASCII
> DATASET POLYDATA
> POINTS 1307 float
> 0.461602 -0.018446 -0.115989 0.202784 0.359481 -0.217858 -0.481417 
> -0.046787 0.167623
> -0.028388 -0.193602 -0.329748 -0.087584 0.116513 -0.399884 0.310978 
> -0.239208 -0.176146
> -0.303314 0.043035 -0.515252 -0.256717 -0.39897 0.177429 0.393919 
> -0.388691 -0.207638
> -0.225987 -0.368634 -0.367823 -0.142556 -0.187471 -0.613449 0.405923 
> -0.12839 -0.433595
> 0.107094 0.05873 -0.53405 0.179737 -0.358912 0.264171 0.270291 0.167529 
> -0.267412
>  
> 
> Thank you
> 
> 
> 
> ------------------------------------------------------------------------
> ¼ÑÄÜPowerShotÊýÂëÏà»úÓн±Õ÷¼¯ÖÐÎÄÃû»î¶¯£¬¿ªÊ¼À²£¡ 
> <http://adclient.163.com/event.ng/Type=click&FlightID=83743&AdID=85326&TargetID=635&Values=31,43,51,60,72,81,90,100,110,312,330,332,499,582,733,734&Redirect=http://adclient.dentsu.com.cn/html.ng/adspec%3DFlash%26adtype%3Dfu_dong_tu_biao%26affiliate%3Dnetease%26campaignid%3D857%26channel%3Dpindao3%26log%3D0%26params.styles%3Dclickcmd%3F> 
> 


More information about the Insight-users mailing list