<DIV id=RTEContent>Just so u know . the data is in VTKDATA.zip on the site itself<BR><BR><B><I>Ziad Rahhal &lt;ziz79@yahoo.com&gt;</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-&gt;SetDataDimensions (64,64);<BR>v16-&gt;SetImageRange (1,93);<BR>v16-&gt;SetDataByteOrderToLittleEndian();<BR><BR>// Here you need to pass the path of your DataSet<BR>"headsq"<BR>v16-&gt;SetFilePrefix (argv[1]); // Through command<BR>line<BR><BR>v16-&gt;SetDataSpacing (3.2, 3.2, 1.5);<BR><BR>In (v16-&gt;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-&gt;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>&gt; Hello,<BR>&gt; <BR>&gt; I'm looking the examples of vtk and I've problems<BR>&gt; to run the Medical1.cxx <BR>&gt; one.It's necessary to pass as an argument a series<BR>&gt; of 2D slices that compose <BR>&gt; a volume but I don't know where to find these<BR>&gt; images.If someone could tell <BR>&gt; me how to correctly execute the program I'd thank.<BR>&gt; <BR>&gt;<BR>_________________________________________________________________<BR>&gt; Móviles, DVD, cámaras digitales, coleccionismo...<BR>&gt; Con unas ofertas que ni te <BR>&gt; imaginas. http://www.msn.es/Subastas/<BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; This is the private VTK discussion list. <BR>&gt; Please keep messages on-topic. Check the FAQ
 at:<BR>&gt; http://www.vtk.org/Wiki/VTK_FAQ<BR>&gt; Follow this link to subscribe/unsubscribe:<BR>&gt; http://www.vtk.org/mailman/listinfo/vtkusers<BR>&gt; <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