<DIV id=RTEContent>Just so u know . the data is in VTKDATA.zip on the site itself<BR><BR><B><I>Ziad Rahhal <ziz79@yahoo.com></I></B> wrote: <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hi Ana,<BR><BR>vtkVolume16Reader *v16 = vtkVolume16Reader::New();<BR>v16->SetDataDimensions (64,64);<BR>v16->SetImageRange (1,93);<BR>v16->SetDataByteOrderToLittleEndian();<BR><BR>// Here you need to pass the path of your DataSet<BR>"headsq"<BR>v16->SetFilePrefix (argv[1]); // Through command<BR>line<BR><BR>v16->SetDataSpacing (3.2, 3.2, 1.5);<BR><BR>In (v16->SetFilePrefix (argv[1]);) If you don't want<BR>to pass the path of your dataset as an argument in the<BR>command line then take off argv[1] and replace it with<BR>the path where you have your medical dataset. <BR>In my case it is:<BR><BR>v16->SetFilePrefix("c:\VTKData\Data\headsq\quarter");<BR>(Under Windows)<BR><BR>The headsq folder contains 93 slices with a
prefix<BR>"quarter" and a postfix the number of the slice, like<BR>quarter.1, quarter.2, etc. You must have this "headsq"<BR>folder in your VTKData.<BR><BR>Regards,<BR><BR>Ziad<BR><BR>--- Ana Sandro <GARUFA7000@HOTMAIL.COM>wrote:<BR><BR>> Hello,<BR>> <BR>> I'm looking the examples of vtk and I've problems<BR>> to run the Medical1.cxx <BR>> one.It's necessary to pass as an argument a series<BR>> of 2D slices that compose <BR>> a volume but I don't know where to find these<BR>> images.If someone could tell <BR>> me how to correctly execute the program I'd thank.<BR>> <BR>><BR>_________________________________________________________________<BR>> Móviles, DVD, cámaras digitales, coleccionismo...<BR>> Con unas ofertas que ni te <BR>> imaginas. http://www.msn.es/Subastas/<BR>> <BR>> _______________________________________________<BR>> This is the private VTK discussion list. <BR>> Please keep messages on-topic. Check the FAQ
at:<BR>> http://www.vtk.org/Wiki/VTK_FAQ<BR>> Follow this link to subscribe/unsubscribe:<BR>> http://www.vtk.org/mailman/listinfo/vtkusers<BR>> <BR><BR><BR><BR><BR>__________________________________ <BR>Start your day with Yahoo! - Make it your home page! <BR>http://www.yahoo.com/r/hs<BR>_______________________________________________<BR>This is the private VTK discussion list. <BR>Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<BR>Follow this link to subscribe/unsubscribe:<BR>http://www.vtk.org/mailman/listinfo/vtkusers<BR></BLOCKQUOTE><BR></DIV><p>
                <hr size=1> <a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=37474/*http://promo.yahoo.com/broadband/
">Yahoo! DSL</a> Something to write home about. Just $16.99/mo. or less